Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2015-05-11 11:11:07

kurtv13
Member
From: Everywhere
Joined: 2015-04-24
Posts: 59

Question regarding player ID's

If I join in the same room twice, does each copy of myself get a different player ID or are they given the same player ID?


Pfffffttt

Offline

#2 2015-05-11 11:19:16

DarkDragon4900
Member
Joined: 2015-03-17
Posts: 251

Re: Question regarding player ID's

You can't join the same room twice unless you're the owner.
And yes, each one of you gets a different ID.

Offline

#3 2015-05-11 11:42:54

1448
Formerly alkazam1448
From: Numberland
Joined: 2015-04-12
Posts: 683
Website

Re: Question regarding player ID's

And that will mess up your code. The end.

Offline

#4 2015-05-11 11:44:35

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

Re: Question regarding player ID's

alkazam1448 wrote:

And that will mess up your code. The end.

Never did for me, honesrly.
Guess it's just how you make your bots.

Offline

Wooted by: (2)

#5 2015-05-11 12:17:46, last edited by DarkDragon4900 (2015-05-11 12:18:16)

DarkDragon4900
Member
Joined: 2015-03-17
Posts: 251

Re: Question regarding player ID's

den3107 wrote:
alkazam1448 wrote:

And that will mess up your code. The end.

Never did for me, honesrly.
Guess it's just how you make your bots.

Neither had it for me.
Although, sometimes you get an item already added exception.
And that can be fixed by adding a bool isTheBot in the Player class or simply using a Player bot = new Player(); with seperate data so it doesn't conflict with the Players list.

Offline

#6 2015-05-11 12:36:13

goeyfun
Member
From: Mighty Japan
Joined: 2015-02-18
Posts: 667

Re: Question regarding player ID's

i store my Botid and make a exception


Ug3JzgO.png

Offline

#7 2015-05-11 14:11:35

darkblades
Member
From: New MLG City/Weed Town
Joined: 2015-03-21
Posts: 122

Re: Question regarding player ID's

it works for me
I belong to case add (id, username)
your bot belongs to case init (id, username)

don't need an exception lol


Sample Text.

Doritos/Mountain Dew eater.
420 No scoping 69 scrubs per day
Always smoke weed everyday.

Known for: #getrekt Bot (possible revive with new stuff?)

Offline

#8 2015-05-11 15:35:49, last edited by goeyfun (2015-05-11 15:36:05)

goeyfun
Member
From: Mighty Japan
Joined: 2015-02-18
Posts: 667

Re: Question regarding player ID's

no i need to know whether the bot successfully send something*

*or something similar i forget


Ug3JzgO.png

Offline

goeyfun1431354949503602

Board footer

Powered by FluxBB

[ Started around 1732436069.6851 - Generated in 0.294 seconds, 13 queries executed - Memory usage: 1.45 MiB (Peak: 1.58 MiB) ]