Page 1 of 1

!maplink, Bots and STFU

Posted: 15 Nov 2006, 22:14
by iamacup
whoever wrote the bot that replies to the !maplink command, can you make it stfu. every single bot in the lobby replies to the command, and its kinda annoying.

ive reactivated cookiebot so, you can at least turn off that feature for now.

you cant really have a feature that returns info to a user on a bot that is distrobuted between multiple users, or you get many returns of the same info.

Posted: 15 Nov 2006, 22:38
by AF
Also, licho's springie bot doesnt use the same type of !maplink as cookiebot. cookiebot uses a customized script specially made, and has support for things like parameters and different typs of searches aswella s providing UF a backend with which to do other thigns.

For example UF used to use cookiebot to pm tournemant players before it started.

Posted: 20 Nov 2006, 17:35
by Licho
Well it's now disabled on most springies, but cookiebot isn't there again. So I think that some minor spam is still better than no response.

Posted: 20 Nov 2006, 18:53
by AF
Nobody ever tells me when cookiebot is down, and everyone always assumes its best to wait for me to login and run a single command

Posted: 20 Nov 2006, 19:02
by iamacup
or you could fix it so it restarts itself?

Posted: 20 Nov 2006, 19:22
by Licho
I didnt even know we are supposed to tell you .. What happens to it anyway that it needs user intervention? Some HW problem with machine?

Posted: 20 Nov 2006, 19:40
by iamacup
no the machine is up 24/7 cookiebot dies, i dont know why, maybe AF does :P

Posted: 20 Nov 2006, 21:54
by LordMatt
If its simple to do, you could tell me how to restart cookiebot and I could keep an eye on it when I'm idling in the lobby. I think cookiebot usually dies because the lobby server restarts and it doesn't ever come back on.

Posted: 20 Nov 2006, 23:12
by Licho
Hmm can't it just reconnect? :)

Posted: 21 Nov 2006, 02:16
by hrmph
I usually restart cookiebot when its down, although cup needs to tell me what server its on now-days.

Posted: 21 Nov 2006, 02:42
by MrNubyagi
discriminatingly banned by decimator

Posted: 21 Nov 2006, 04:33
by Chojin
$> screen
$> while true; do ./cookiebot; done

Then press ctrl+a, d to leave the screen.

You can always reattach the screen session with screen -r.

Posted: 21 Nov 2006, 14:26
by AF
That would lead to hundreds possibly thousands of cookie bots instances laying idle.

There was a routine that lead to cookiebot reconnecting but it was borked so I disabled it.

And iamacup doesn't know how to install the screen package so I cant debug cookiebot either.

Cookiebot disconnects if someone kicks it, or iamacups server goes down or is rebooted, or if the server is restarted or if the server detects a time out and kicks cookie bot..

Posted: 21 Nov 2006, 14:45
by Tobi
No, Chojin is right. His shell script makes sure exactly 1 cookiebot instance is running at every time. (provided it doesn't detach itself from console)