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
Help! Strangeness that I must put to an end!

 
Post new topic   Reply to topic Printable version
 View previous topic  Windows compile Post :: Post Problems with asss from client  View next topic  
Author Message
Nerusai
Newbie


Joined: Aug 28 2004
Posts: 17
Offline

PostPosted: Fri Jan 28, 2005 8:07 pm    Post subject: Help! Strangeness that I must put to an end! Reply to topic Reply with quote



It's all about the bottom 4 lines, a new incomining connection from [pid-1], which then manages to generate a playeraction disconnect without ever generating a playeraction connect.

Now I don't excactly know whether this is a bug or a feature, but I really need to make sure that my PA_DISCONNECT simply does nothing on these never connected connections because I do some major unloading there and it will crash me.
Back to top
View users profile Send private message Add User to Ignore List
Nerusai
Newbie


Joined: Aug 28 2004
Posts: 17
Offline

PostPosted: Fri Jan 28, 2005 8:26 pm    Post subject: Reply to topic Reply with quote

Checking a player's ->status before doing anything is no solution, both a 'good' and a 'bad' player have the status S_LEAVING_ZONE when the callback triggers.
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 Jan 28, 2005 9:53 pm    Post subject: Reply to topic Reply with quote

Set a loaded flag when they enter.

Check it when they leave.
_________________
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
Nerusai
Newbie


Joined: Aug 28 2004
Posts: 17
Offline

PostPosted: Fri Jan 28, 2005 10:45 pm    Post subject: Reply to topic Reply with quote

For a bypass that works.

Anyway, strangely enough this only affected people that were not me, I could generate any name and enter without such an even occuring.
Back to top
View users profile Send private message Add User to Ignore List
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Sat Jan 29, 2005 2:39 am    Post subject: Reply to topic Reply with quote

That's very strange, and shouldn't happen. Looking into it now...
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Sat Jan 29, 2005 3:40 am    Post subject: Reply to topic Reply with quote

Actually, it's not strange at all. It's very easy to trigger. But it still shouldn't have been happening.

I have a small hacky fix for it, but I decided to take the opportunity to clean up some messy code in the player state machine. So my new fix is bigger and more likely to introduce bugs, but probably better in the long run. We'll see how it works out when I release 1.3.6 (soon).
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
-Smong-
Guest


Offline

PostPosted: Sat Jan 29, 2005 6:36 am    Post subject: Reply to topic Reply with quote

You could check the player's arena, but that might be invalid by the time it gets to PA_DISCONNECT.
Back to top
Chambahs
Guest


Offline

PostPosted: Sat Jan 29, 2005 9:19 am    Post subject: Reply to topic Reply with quote

(patiently waits for 1.3.6...lol without it, i have no zone tongue.gif
Back to top
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: 28 page(s) served in previous 5 minutes.

phpBB Created this page in 0.418184 seconds : 32 queries executed (94.6%): GZIP compression disabled