Toribash
Bug Test Done.


Result:

http://forum.toribash.com/tori_boosters.php Logged in as iServerBot
Desc for notset: iServerBot's server
Created by: iServerBot
^04MotaDaniK
^07Darkness is rising. Respect admins and players!
wushufixed.tbm
20
iServerBot joined the spectators
op [spirit]smeebob <- No bug when auto oping An oldschooler

iServerBot: hey
iServerBot:
[spirit]smeebob: nice
iServerBot: hmmm
iServerBot: is there any spam
iServerBot: ?
[spirit]smeebob: hhrrm?
[spirit]smeebob: not that I can see
op [Dark]Gamerbad

[Dark]Gamerbad: ok no bug
--------------------
i also did my own(i just randomly found it) a bug on my own
This is when i`m using MY account as the bot and i`m playing with MY account in the same room:
http://forum.toribash.com/tori_boosters.php Logged in as [iBot]Gamerbad
Desc for notset: [iBot]Gamerbad's server
Created by: [iBot]Gamerbad
^04BugTesting!
^07Darkness is rising. Respect admins and players!
wushufixed.tbm
20
[iBot]Gamerbad joined the spectators
[I joins Wth account: [Dark]Gamerbad.]

op [iBot]Gamerbad <-- Bot Trys to op me but i dunno whats happening

op [iBot]Gamerbad
op [iBot]Gamerbad
op [iBot]Gamerbad
op [iBot]Gamerbad
op [iBot]Gamerbad
op [iBot]Gamerbad
op [iBot]Gamerbad
op [iBot]Gamerbad
op [iBot]Gamerbad
op [iBot]Gamerbad
op [iBot]Gamerbad
And soo on.....
Last edited by Gamerbad; Mar 16, 2009 at 06:41 PM.
Helge Sverre - System Developer
https://helgesverre.com
Thnanks, Gamerbad.
I will think of your found bug. Good thing that oldschoolers are oppable now. Toriagents too I guess.
EDIT: The reason of the bug: Than you tipe "/op gamerbad" the toriserver ops the gamerbad with lowest user ID. As the bot was the first who logged in, it's opping itself. iBot sees that one of gamerbads is unoped and trys to op him again. Loop.
EDIT2: I see the only way to avoid this bug. Do anyone know: is it possible to op not by name but by user ID? I'm almost shure that this is possible.
Last edited by iLLepidus; Mar 16, 2009 at 07:40 PM.
Originally Posted by iLLepidus View Post
EDIT2: I see the only way to avoid this bug. Do anyone know: is it possible to op not by name but by user ID? I'm almost shure that this is possible.

Um but dosent t bot when using my acc have the same ID as me when playing ?
Helge Sverre - System Developer
https://helgesverre.com
Originally Posted by iLLepidus View Post
No every time u login u get session user ID.

Ok nice soo thats how your gonna fix it ?
Helge Sverre - System Developer
https://helgesverre.com
Originally Posted by iLLepidus View Post
STILL: is it possible to op not by name but by user ID?

..hmm if you use /status then checks the ID Then op but...can you script that ?
Helge Sverre - System Developer
https://helgesverre.com
That's not what I mean.
Program already knows every user ID.
But is there way to write to server smth. like /op #124315
to op user with ID 124315?
Originally Posted by iLLepidus View Post
That's not what I mean.
Program already knows every user ID.
But is there way to write to server smth. like /op #124315
to op user with ID 124315?

ok
Helge Sverre - System Developer
https://helgesverre.com