Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Skyrunner

Pages: 1 ... 43 44 [45] 46 47 ... 762
661
Other Games / Re: Robocraft - F2P Minecraft + World of Tanks
« on: August 04, 2015, 10:00:54 am »
Plasma bombeerrr

It gets chewed apart really fast by SMGs though so I haven't played Robocraft for the past few days.

662
Other Games / Re: Robocraft - F2P Minecraft + World of Tanks
« on: July 30, 2015, 03:58:29 am »
For the last couple games I keep dc'ing from matches. I fly around, nobody sees me, I do no damage... strangely, I do see people move and die. Some people even nick me for a little damage.

663
General Discussion / Re: Things that made you sad today thread.
« on: July 29, 2015, 10:03:59 pm »
I know I've kinda disappeared mid-game for a lot of my forum games. Haven't recieved hate mail yet...!

664
Other Games / Re: Robocraft - F2P Minecraft + World of Tanks
« on: July 28, 2015, 10:09:14 pm »
But Mk5 parts are for roughly level 30ish, while the mk8 ones are lv 60ish!

665
Other Games / Re: Robocraft - F2P Minecraft + World of Tanks
« on: July 28, 2015, 09:54:54 pm »
So um, I was lv32 yesterday (max Mk5 parts) and when I logged in today I suddenly became 68... what happened? @_@

666
Other Games / Re: Robocraft - F2P Minecraft + World of Tanks
« on: July 28, 2015, 11:30:57 am »
Also the boss battle queue is incredibly long... it's been 6 minutes and there's still 130 more people in the queue to go.

667
Other Games / Re: Robocraft - F2P Minecraft + World of Tanks
« on: July 28, 2015, 11:24:34 am »
Why is queuing up as a platoon so broken?

668
General Discussion / Re: Things that made you sad today thread.
« on: July 27, 2015, 11:36:01 am »
Hate not being able to sleep.

669
This reminds me of that screenshot someone posted a while ago with a stackoverflow question about addition in Javascript. Everyone was telling him to download some library for a function therein. The one dude who mentioned a + operator was downvoted to oblivion.

I think it was a joke, but it was pretty funny :D

670
MDN for .join()!

tldr: yourArray.join("") returns a string where everything in the array is joined with the "", which is nothing.

You can also try "," for commas and " " for spaces.


Bonus fact: You can do the same in Python! "".join(list)

671
I am pretty sure the issue with javascript isn't the dynamic typing but the weak typing. It has a ton of implicit casting, too. like array to string or int to string.

672
edit: whoops, misread

673
I'm not sure what the main question is, but I'll try answering the sub-questions.

Quote
Now, what I think is happening based on what you wrote and what I've been trying to figure out, is that the "test" array will never match the "myName" variable because one is a string and the other is an array. But in this case, instead of returning an empty array, shouldn't it return "Your name wasn't found!" because hits should be 0?

Let's try it out in the Javascript console!

['T','E','S','T'] == ['T','E','S','T']
> false

It looks like two arrays won't match even if they have the 'same' content.

I don't see any "test"s in the code you posted though. Did you make sure to post the right version of your code?


Quote
Can you explain what "test = test.concat(text[j])" means and how it works?

Here's a documentation link. Googling for whatever usually turns up help. It says:

Quote from: MDN
The concat() method returns a new array comprised of the array on which it is called joined with the array(s) and/or value(s) provided as arguments.

So... if you have

var A = ["T", "E"]
var B = ["S", "T"]
var C = A.concat(B)

C would be ["T", "E", "S", "T"]
A, B would be unaltered.

There are more examples on the linked page!

(as an aside, doing A + B gives you a string with the content "T,E,S,TT,E,S,T")

Quote
I'm assuming that "log.push" is the same as "console.log"?

I have never seen log.push before, so I'm assuming it's a CodeAcademy-only construct.

674
Einsteinian Roulette / Re: The Doctor's Cipher.
« on: July 25, 2015, 07:51:33 am »
I want to solve thiiiis :( I feel that I'm out of ideas though

675
Creative Projects / Re: IRLRPG (HabitRPG Clone) [Status: In Progress]
« on: July 25, 2015, 02:30:05 am »
PTW

Pages: 1 ... 43 44 [45] 46 47 ... 762