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
Reliable packet lost(56) ???

 
Post new topic   Reply to topic Printable version
 View previous topic  MervBot toggle_objects() error with sy... Post :: Post Capture the Flag  View next topic  
Author Message
AgentSteel
Newbie


Joined: Jun 13 2004
Posts: 12
Offline

PostPosted: Tue Jun 22, 2004 12:07 am    Post subject: Reliable packet lost(56) ??? Reply to topic Reply with quote

Reliable packet lost(56) to: Assault-Bot (pending=735513 current=735768 diff=255)


This shows up in *log 3 or 4 times just before my bot disconnects. Seems to happen with high load, 5k/s or more, and possibly related to when I am actually playing the game while bot is running from my same box.

Any ideas on what this means? I've asked around and have come up with no info sofar.

I noticed this first when I created a statbox that did alot of objon objoff messages... bot didn't last 5 minutes.

Thanks for any help.
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Tue Jun 22, 2004 12:28 am    Post subject: Reply to topic Reply with quote

I am not sure, as I am definately not in anyway shape nor form familar w/ the protocol; but is the bot a sysop? I'm not sure if you hit it with a *lowbandwidth 1, will do any good..
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


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

PostPosted: Tue Jun 22, 2004 12:29 am    Post subject: Reply to topic Reply with quote

Taking a guess, it seems as if your bot-server connection lagged enough where there was a backup of reliable packets, so much so that it filled up the buffer (which looks to be 256 packets). Thus, the server could no longer even attempt to buffer reliable packets, so it kicked your bot.

I'd recommend you cut back on how many messages you send. It looks like you are probably trying to send like 500 messages in a second, and your connection cannot handle this. What bot type are you using, like Merv? Also, it isn't hard to add into your bot its own private message buffering system, in which you can make it only send like 10 messages a second, thus to prevent server spamming, and also to prevent loss of syncing between client and server.
Back to top
View users profile Send private message Add User to Ignore List Send email
AgentSteel
Newbie


Joined: Jun 13 2004
Posts: 12
Offline

PostPosted: Tue Jun 22, 2004 2:07 am    Post subject: Reply to topic Reply with quote

Thank you for responding.

I have a message buffer that sends message every 100ms... perhaps I should increase that delay???

This is the javacore by Dock>... and bot IS sysop with *bandwidth 30000. Granted... my bot does send alot of messages... but at any one time the max bytes per second is ~5000 and I have a 384/384 dsl.

Hmmm... I'm really stumped. I'm sure MGB is right about the server buffer being filled because I have plenty of available bandwidth, cpu, and memory. I was under the impression that sysop can send unlimited messages... and my messages are even buffered and sent at delayed intervals.

Any ideas on what packet 56 is? It always says 56 in the message, so that is some sort of identifier related to the error.
Back to top
View users profile Send private message Add User to Ignore List
Mr Ekted
Movie Geek


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

PostPosted: Tue Jun 22, 2004 4:39 am    Post subject: Reply to topic Reply with quote

MGB you are right, except that it's the server trying to send reliable packets to the bot. Maybe the bot is issuing a ton of *info etc. Or it could be that the network is broken S2C or C2S somehow.
_________________
4,691 irradiated haggis!
Back to top
View users profile Send private message Add User to Ignore List
Underlord
Novice


Gender:Gender:Male
Joined: Feb 17 2004
Posts: 55
Offline

PostPosted: Tue Jun 22, 2004 10:20 pm    Post subject: Reply to topic Reply with quote

56 is a S2C *watchdamage packet

your bot/connect lagged so much that 256 reliable packets got backed up

isolate the problem by limiting the number of packets being sent/received so fast
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Tue Jun 22, 2004 10:39 pm    Post subject: Reply to topic Reply with quote

also try shutting off lowbandwidth then also; since this doubles the packets...
Back to top
View users profile Send private message Add User to Ignore List
AgentSteel
Newbie


Joined: Jun 13 2004
Posts: 12
Offline

PostPosted: Thu Jun 24, 2004 12:48 am    Post subject: Reply to topic Reply with quote

Ok, this is the conclusion I've reached.

Since *info *einfo and *watchdamage are all sent as reliable messages... and if you have high enough load... a mere 1000 or 2000ms lag at any one time could be enough to fill up the server's send buffer and boot your bot.

Would have been nice to have *watchdamage be unreliable or another equivilant that was unreliable... or have sysop's be given a larger buffer on the server.

In any case... my solution is to either place the bot on the local network as the server to eliminate the possibility of lag, or simply start turning off bot features which sort of sucks, or spread the features over multiple bots.

Thanks for your help guys.
Back to top
View users profile Send private message Add User to Ignore List
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Thu Jun 24, 2004 2:18 pm    Post subject: Reply to topic Reply with quote

Quote:
mere 1000 or 2000ms lag

thats quite a bit, 1 or 2 seconds sa_tongue.gif Most zones won't allow you if you're over 700
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
AgentSteel
Newbie


Joined: Jun 13 2004
Posts: 12
Offline

PostPosted: Thu Jun 24, 2004 3:06 pm    Post subject: Reply to topic Reply with quote

Ya.... point is that with large enough load even 700ms could get your bot booted. We aren't talking a constant 700ms ping... but one 700ms ping spike. And given the nature of networking being bursty and spiky and the problem compounding with distance and routers, its not uncommon at all to get a large spike once and awhile.... even once every 24 hours would be annoying.

All bot programmers should be aware of this limit... at some point you will have to disable features, or spread them over multiple bots.
Back to top
View users profile Send private message Add User to Ignore List
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Thu Jun 24, 2004 3:18 pm    Post subject: Reply to topic Reply with quote

or stop trying to use *watchdamage biggrin.gif
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Mr Ekted
Movie Geek


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

PostPosted: Thu Jun 24, 2004 3:48 pm    Post subject: Reply to topic Reply with quote

Most zones run their bots on the server itself, or on a machine right next to the server.
Back to top
View users profile Send private message Add User to Ignore List
AgentSteel
Newbie


Joined: Jun 13 2004
Posts: 12
Offline

PostPosted: Thu Jun 24, 2004 4:09 pm    Post subject: Reply to topic Reply with quote

Hehe, but *watchdamage is so cool!

I am hoping to get my bot moved to the sscx botserver (the box next to the server ala Ekted icon_smile.gif )... but yarkim is so anal about security that I have to work through other people. Bleh.

Maybe the ASSS guys will address this problem, and everyone switches to ASSS, and then... and then... *sigh* oh well. icon_smile.gif In any case I'm glad I found this forum, and thanks again for the help in understanding this problem.

(If anyone cares the critical load is about 65 players w/ *watchdamage on with SSS settings. At this point any relatively large ping spike will get your bot booted. I'm also suspicious that since the server is buffering unsent/unacknowleged packets it probably has a timed delay between all sends... and thus, you could have so many packets being sent to you under delay that you will fill up the unsent buffer even w/o a ping spike... something to ponder anyway).
Back to top
View users profile Send private message Add User to Ignore List
Mr Ekted
Movie Geek


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

PostPosted: Thu Jun 24, 2004 5:00 pm    Post subject: Reply to topic Reply with quote

yarekim controls access to all machines and to the network itself for all of SSCX. He is a really smart guy, and his diligence over security keeps us up and running. He is also a very nice person, but you can imagine how many people are trying to "get things" from him all the time. I can sympathize.
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Thu Jun 24, 2004 6:54 pm    Post subject: Reply to topic Reply with quote

He is nice, but is very extremely busy, and normally not get thing's done for like two weeks... :/ but it's alright.. just mostly irritating especially when ya need something lol biggrin.gif
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


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

PostPosted: Fri Jun 25, 2004 12:04 am    Post subject: Reply to topic Reply with quote

About switching to ASSS.

Don't do it unless you meet these three requirements:
1.) You need it. This one is very important. Don't move if you want 1 feature it can offer.
2.) You can code. This is a must. You wont find anyone who will do it for you.
3.) Slightly insane. Self explanatory. Usually fufilled by #2.
4.) You have no population to speak of. I made the mistake of not knowing this, and switched while I had a regular population. Only now, 8 months later do I have a population close to what I lost.

If you meet those, you can *think* about moving to ASSS.

In other words, make your bot work for you tongue.gif
_________________
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
AgentSteel
Newbie


Joined: Jun 13 2004
Posts: 12
Offline

PostPosted: Fri Jun 25, 2004 5:23 pm    Post subject: Reply to topic Reply with quote

Ya, if I were in yar's shoes I would probably as anal or more anal about security than him.
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Fri Jun 25, 2004 8:40 pm    Post subject: Reply to topic Reply with quote

If subgame had that one simple command biggrin.gif i'd be happy tongue.gif so I'm going need to ignore the comment about, "Don't move if you want 1 feature it can offer. " tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sat Jun 26, 2004 12:46 am    Post subject: Reply to topic Reply with quote

what command is that?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sat Jun 26, 2004 1:20 am    Post subject: Reply to topic Reply with quote

*warpto but not.. warpto w/ subgame switches the ship's direction... I just need more like *hopto x y .. w/o changing the ships dynamics..

Also being able to tell the server to send all position packets to the bot would help biggrin.gif
Back to top
View users profile Send private message Add User to Ignore List
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Tue Jun 29, 2004 3:39 pm    Post subject: Reply to topic Reply with quote

If you are talking about '?botfeature seeallposn' you might as well just make a module for faster response times.
Since I loaded up linux to figure out why I said what is in d1st0rt's sig. I might as well code the ?moveto command, should be easier than doing ctrl+alt+del then ctrl+f to find that my scroll wheel is messed up and typing a reply closes IE making all topics marked as read -glare at ekted-.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Tue Jun 29, 2004 10:44 pm    Post subject: Reply to topic Reply with quote

It was because your ftp stuff only worked after the first time
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot 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: 36 page(s) served in previous 5 minutes.

phpBB Created this page in 0.510549 seconds : 46 queries executed (92.3%): GZIP compression disabled