Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Command delay

 
Post new topic   Reply to topic Printable version
 View previous topic  Updating Version Post :: Post creating zone n stuff like that  View next topic  
Author Message
Guest



Offline

PostPosted: Tue Jul 19, 2005 8:23 pm    Post subject: Command delay Reply to topic Reply with quote

Noticed something with are bots, when they send like 30 commands in a straight line (lets say burning all of a ships items), it seems to do a few every 5 seconds. like pulses, but eventually finishes. I checked all the chatdelay settings and so on, cant find anything.
Back to top
Guest



Offline

PostPosted: Tue Jul 19, 2005 8:24 pm    Post subject: Reply to topic Reply with quote

Also, is there a problem with watchdamage? Or is it in a module im not loading
Back to top
Guest
Guest


Offline

PostPosted: Tue Jul 19, 2005 8:25 pm    Post subject: Reply to topic Reply with quote

*typos
Back to top
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Tue Jul 19, 2005 8:27 pm    Post subject: Reply to topic Reply with quote

?insmod watchdamage
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Guest



Offline

PostPosted: Tue Jul 19, 2005 8:36 pm    Post subject: Reply to topic Reply with quote

though so, thanks man
Back to top
Guest



Offline

PostPosted: Tue Jul 19, 2005 8:43 pm    Post subject: Reply to topic Reply with quote

any idea about the first item?
Back to top
Guest



Offline

PostPosted: Tue Jul 19, 2005 8:49 pm    Post subject: Reply to topic Reply with quote

Also, server keeps deadlocking at random

E <deadlock> deadlock detected, aborting
Killed
Back to top
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Tue Jul 19, 2005 8:56 pm    Post subject: Reply to topic Reply with quote

Log in so you can edit your posts.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
phong
Seasoned Helper


Gender:Gender:Male
Joined: Jul 19 2005
Posts: 156
Offline

PostPosted: Tue Jul 19, 2005 9:33 pm    Post subject: Reply to topic Reply with quote

Also, arena sounds?
Back to top
View users profile Send private message Add User to Ignore List Send email
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Tue Jul 19, 2005 10:23 pm    Post subject: Reply to topic Reply with quote

the bot does not think it's sysop. This happens every once in a while when logging in a bot for who knows what reason. I solved it by just editing mervbot to think it's always a sysop
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Guest



Offline

PostPosted: Tue Jul 19, 2005 11:03 pm    Post subject: Reply to topic Reply with quote

that for arena sounds or the delay in sending msgs/commands
Back to top
Muskrat
Server Help Squatter


Age:38
Joined: Aug 24 2004
Posts: 829
Location: Swamp
Offline

PostPosted: Wed Jul 20, 2005 1:06 am    Post subject: Reply to topic Reply with quote

Bak was talking about the delay, for mervbot to send an arena msg with sound you would put:
Code: Show/Hide
sendPublic(SND_Hallellula, "Blah Blah");

These are the other sound codes:
Code: Show/Hide
enum Chat_SoundBytes
{                     
   SND_None,            // 0  = Silence
   SND_BassBeep,         // 1  = BEEP!
   SND_TrebleBeep,         // 2  = BEEP!
   SND_ATT,            // 3  = You're not dealing with AT&T
   SND_Discretion,         // 4  = Due to some violent content, parental discretion is advised
   SND_Hallellula,         // 5  = Hallellula
   SND_Reagan,            // 6  = Ronald Reagan
   SND_Inconceivable,      // 7  = Inconceivable
   SND_Churchill,         // 8  = Winston Churchill
   SND_SnotLicker,         // 9  = Listen to me, you pebble farting snot licker
   SND_Crying,            // 10 = Crying
   SND_Burp,            // 11 = Burp
   SND_Girl,            // 12 = Girl
   SND_Scream,            // 13 = Scream
   SND_Fart,            // 14 = Fart1
   SND_Fart2,            // 15 = Fart2
   SND_Phone,            // 16 = Phone ring
   SND_WorldUnderAttack,   // 17 = The world is under attack at this very moment
   SND_Gibberish,         // 18 = Gibberish
   SND_Ooooo,            // 19 = Ooooo
   SND_Geeee,            // 20 = Geeee
   SND_Ohhhh,            // 21 = Ohhhh
   SND_Ahhhh,            // 22 = Awwww
   SND_ThisGameSucks,      // 23 = This game sucks
   SND_Sheep,            // 24 = Sheep
   SND_CantLogIn,         // 25 = I can't log in!
   SND_MessageAlarm,      // 26 = Beep
   SND_StartMusic = 100,   // 100= Start music playing
   SND_StopMusic,         // 101= Stop music
   SND_PlayOnce,         // 102= Play music for 1 iteration then stop
   SND_VictoryBell,      // 103= Victory bell
   SND_Goal            // 104= Goal!
};



But, you were talking about asss first right? Oh well, I'm so confused...
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Wed Jul 20, 2005 1:59 am    Post subject: Reply to topic Reply with quote

Bak wrote:
the bot does not think it's sysop. This happens every once in a while when logging in a bot for who knows what reason. I solved it by just editing mervbot to think it's always a sysop


What makes a bot "think" it's sysop? Do you do *listmod after logging in? Is there something I missed in the login reply packet that says what access you have?
_________________
4,691 irradiated haggis!
Back to top
View users profile Send private message Add User to Ignore List
Cerium
Server Help Squatter


Age:43
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Wed Jul 20, 2005 2:08 am    Post subject: Reply to topic Reply with quote

Well, the bots arent merv, so thats out (as well as what ekted just said).

My uneducated guess is that the original chat message -- which contains the sound code -- is dropped after its processed as a command. ASSS probably doesnt tranfer the sound code for arena/zone messages.
Assuming this is the problem, it would probably be an easy bug to fix, and someone less lazy than I should get on it.
_________________
There are 7 user(s) ignoring me right now.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:42
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Wed Jul 20, 2005 3:20 am    Post subject: Reply to topic Reply with quote

Mr Ekted wrote:
Is there something I missed in the login reply packet that says what access you have?

Based upon the login response packet (0x0A), if the client checksum is 0xFFFFFFFF, then you know you have moderator access, and subgame will let you play sounds, that the client should show private frequencies, ?flags should show flag locations (ok, this isn't there anymore), etc. I used this for my bot core so it would refuse to enter any zone unless it was at least a mod, to prevent abuse.

I'm assuming this is what Mervbot does to say if it allows the sound flag to be set on outgoing messages.
Back to top
View users profile Send private message Add User to Ignore List Send email
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Wed Jul 20, 2005 5:01 am    Post subject: Reply to topic Reply with quote

Yeah, sound codes aren't propagated to command handlers. It would require one of: changing the command callback signature (which would require changing a ton of code, and be annoying for the 99% of commands that don't use sounds), adding another type of command handler (which is just annoying and messy), or doing the really disgusting hack that I have in mind (which would be, well, really disgusting). Since there are so few commands that want sound codes, I'm slightly leaning toward the really disgusting hack.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Cerium
Server Help Squatter


Age:43
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Wed Jul 20, 2005 7:03 am    Post subject: Reply to topic Reply with quote

Merv does both:
It checks for the -1 checksum, but when found, it does nothing more than print a message about having VIP.
Once logged in, it sends *listmod to determine if it has smod/sysop.


Grel, any idea on what would cause messages to be sent/relayed in small bursts?
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Chambahs
Power attack
Power attack


Joined: Jun 19 2005
Posts: 820
Offline

PostPosted: Wed Jul 20, 2005 9:08 am    Post subject: Reply to topic Reply with quote

uhhh, maybe the bot is lagging?
Back to top
View users profile Send private message Add User to Ignore List
Guest



Offline

PostPosted: Wed Jul 20, 2005 12:12 pm    Post subject: Reply to topic Reply with quote

bot is on the same box, connecting through localhost/127.0.0.1
Back to top
Cerium
Server Help Squatter


Age:43
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Wed Jul 20, 2005 3:53 pm    Post subject: Reply to topic Reply with quote

Also, the bot was the first thing we checked. Theres no delay present on subgame. Its something specific to ASSS.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 41 page(s) served in previous 5 minutes.

phpBB Created this page in 0.505457 seconds : 44 queries executed (87.0%): GZIP compression disabled