Server Help

ASSS Questions - chatnet bot only registers one command

Anonymous - Tue Jan 05, 2010 3:00 am
Post subject: chatnet bot only registers one command
My internet is down so I have to use my phone, but on the lastest release of asss for linux x86, when i send two commands, it only does the first once. If i do a command or send a bunch of text, then do GO:arena, it works. I tried doing the one with multiple commands. dont have that symbol on phone, but its like, ?(bar)lock(bar)timer 3. it works when I do it on continuum, but the exact string fails on chatnet. is this a bug or was it done on purpose.[/code][/b]
Hakaku - Tue Jan 05, 2010 4:23 am
Post subject:
What exactly are you sending in the first place? There should be no reason why the multi character | isn't working, or that the behaviour between Continuum and a client using the ChatNet protocol is any different. Chances are that the origin of the bug is right at your client.

I can't really help you without seeing your code, since it all works perfectly fine for me. The best thing you can do is log everything that you're sending and receiving.
BDwinsAlt - Tue Jan 05, 2010 1:22 pm
Post subject:
This was funny. I had tried recompiling, and restarting both my both and asss and it didn't work still. I restarted my computer, and it started working. I'm not exactly sure why this happened, but a good ole reboot worked. Now I need to figure out why I can't set Chat:FloodLimit. I see it in Core.c, but I can't change it in conf no matter what I try. The bot is sending a lot of public and private messages. I need to make the limit more or find a way to bypass it. I created a seperate file in groupdef.dir called HSFour.
Is there anything I can add to make it bypass the FloodLimit?

Code: Show/Hide

; conf/groups/hsfour

; what groups can this group control
higher_than_default

; prefix chars
prefix_+

; commands
cmd_lock
cmd_unlock
privcmd_setship
cmd_timer

The above commands are the only ones it uses (other than GO)

The only time the bot shut's up is during the stats being displayed.

Code: Show/Hide

votedthe1 has exhausted all his/her lives. R.I.P.
[PRIV TO VOTEDTHE1:?setship 9]

+------------------------------------------+
| Name               |  Kills  |   Deaths     
+------------------------------------------+
| BDwinsAlt         |    5     |      0         
| votedthe1         |    0     |      5         
+------------------------------------------+
---> Freq 1 Wins! <---


It gets to the votedthe1 line in that stats box and shuts up.
Hakaku - Tue Jan 05, 2010 10:11 pm
Post subject:
ASSS has a time delay between sending messages back to a ChatNet client, mainly for bandwidth purposes. The default setting for that is [Net] ChatMessageDelay=20. You also have to be careful about the FloodLimit, FloodShutup and CommandLimit settings in [Chat]. It seems pretty clear to me that your bot is getting auto silenced for flooding chat. Although you can bypass these three by adding the line "unlimitedchat" in your group command setting file.
BDwinsAlt - Tue Jan 05, 2010 10:32 pm
Post subject:
Hakaku wrote:
ASSS has a time delay between sending messages back to a ChatNet client, mainly for bandwidth purposes. The default setting for that is [Net] ChatMessageDelay=20. You also have to be careful about the FloodLimit, FloodShutup and CommandLimit settings in [Chat]. It seems pretty clear to me that your bot is getting auto silenced for flooding chat. Although you can bypass these three by adding the line "unlimitedchat" in your group command setting file.


Ok, this fixed my issue. Although for some reason those chat options cant be changed even if they are in the conf file. Thanks.
Hakaku - Tue Jan 05, 2010 10:40 pm
Post subject:
Are you putting them in Global.conf? They won't work if you put them in the arena file.
BDwinsAlt - Wed Jan 06, 2010 12:57 am
Post subject:
I did not try global.conf. I figured it could be change per arena. I think it should be that way anyway. I have a bot that only needs strict powers in one arena. I think the best way is to have the unlimitedchat, and have those commands in the groupdef. Then just restrict that bot to that group in that one arena. I've never tried, but is there a way to restrict someone to a group for one arena?

Example:
Name = Group(Arena)
UB-DuelBot = HSFour (#4v4)

EDIT: Nevermind, I just realized you can add [Arena Name].
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group