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
AS3 Bug, or bot core bug? YOU DECIDE!

 
Post new topic   Reply to topic Printable version
 View previous topic  Thor Prox Post :: Post When is..  View next topic  
Author Message
Cerium
Server Help Squatter


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

PostPosted: Thu Apr 14, 2005 10:17 pm    Post subject: AS3 Bug, or bot core bug? YOU DECIDE! Reply to topic Reply with quote

d1st0rt brought an interesting bug to my attention... Im not entirely sure which side the problems on (probably mine), so I decided to throw this in trash talk and let MGB move it if he feels the need to do so.

Anyway...
I cant seem to get hybrid to connect to an AS3 server. As far as Ive been able to determine, the server seems to not be responding to the client key (0x00, 0x01). I dont know if its just not getting the packet, if the packet is being constructed incorrectly and ignored or whats going on.

Ive mentioned this to grel both in game (in team and ?message) and email, and he seems to be perma AFK. If anyone else wants to help me figure this out let me know either here, in game, or email (Cerium@gmail.com)

-C


----------
Update:
Packet 'trace'... if you can call it that:
Code: Show/Hide

$> AS.Update        Attempting to connect to ss://216.34.65.183:5000
Key: -637195156
SEND: 0x00 0x01 0x6C 0x2C 0x05 0xDA 0x01 0x00
$> Hybrid.Warning   Connection timed out. [Spawn: TestBot, ID: 0]
SEND: 0x00 0x07
$> AS.Update        Disconnected. Waiting 5000ms...
hybrid.core.events.Disconnected@1f4689e
$> AS.Update        Attempting to connect to ss://216.34.65.183:5000
Key: -792992747
SEND: 0x00 0x01 0x15 0xE4 0xBB 0xD0 0x01 0x00
$> Hybrid.Warning   Connection timed out. [Spawn: TestBot, ID: 0]
$> AS.Update        Disconnected. Waiting 5000ms...
hybrid.core.events.Disconnected@f7f540
$> AS.Update        Attempting to connect to ss://216.34.65.183:5000
Key: -1971167499
SEND: 0x00 0x01 0xF5 0x5E 0x82 0x8A 0x01 0x00
$> Hybrid.Warning   Connection timed out. [Spawn: TestBot, ID: 0]


Last edited by Cerium on Thu Apr 14, 2005 10:51 pm, edited 1 time in total
Back to top
View users profile Send private message Add User to Ignore List AIM Address
CypherJF
I gargle nitroglycerin


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

PostPosted: Thu Apr 14, 2005 10:19 pm    Post subject: Reply to topic Reply with quote

Probably its own issue because AFAIK asss is able to be connected to with both VIE enc and Continuum enc w/o issues... :/
_________________
Performance is often the art of cheating carefully. - James Gosling
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: Thu Apr 14, 2005 10:20 pm    Post subject: Reply to topic Reply with quote

Jesus christ that was fast.

Yeah, I had no problems connecting to asss previously so I assumed everything worked. I didnt even know it was broken until dist mentioned it to me. Thing is, it connects to subgame servers no problem...
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Dr Brain
Flip-flopping like a wind surfer


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

PostPosted: Thu Apr 14, 2005 10:52 pm    Post subject: Reply to topic Reply with quote

Do other bots (esp MERV) connect? I ask not in the general case, but in your specific case.

There are numerous settings issues that could stop a bot from connecting, and I'd like to have it stated early on in the thread that you've tested a MERVBot in your asss zone with the same username and password.
_________________
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
Cerium
Server Help Squatter


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

PostPosted: Thu Apr 14, 2005 11:01 pm    Post subject: Reply to topic Reply with quote

Well MERV connects fine... so its safe to assume its something I screwed up... but im not seeing it.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Cerium
Server Help Squatter


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

PostPosted: Fri Apr 15, 2005 2:23 pm    Post subject: Reply to topic Reply with quote

Ok, so weve determined without a doubt that its the core. Theres something im overlooking thats causing this issue.

What I dont understand, is what kind of bug could cause this behavior? When connecting to a subgame server, theres no problems. However, when attempting to connect to an ASSS server, either the server isnt getting the intial packet, or its ignoring it.

Someone clue me in... im busting my head against a wall...
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Cerium
Server Help Squatter


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

PostPosted: Sat Apr 16, 2005 3:01 pm    Post subject: Reply to topic Reply with quote

Ok, so anyone whos curious... Ive figured out the problem. I feel like a dumbass for missing this, so feel free to flame.

1) The core was attempting to encrypt packets prior to receiving the server key. This didnt really encrypt anything, it was just changing the last two bytes in the client key to something OTHER than 0x01 0x00.

2) ASSS seems to ignore connections if the client protocol version isnt 'subspace' or 'continuum'.

3) Subgame on the other hand, seems to only check for 'continuum' and assumes anything else is 'subspace'. This explains why the bug was still allowing the core to function on subgame servers, while ASSS servers were silently giving my bots the finger.


The only thing Id like to see change, is perhaps have ASSS print a warning to the console when such a packet is ignored, or maybe even have it send the disconnect packet as a response, rather than simply ignoring it.

I know its my own fault, but this would have taken me all of 30 seconds to find/fix had there been some kind of notification.

-C
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sun Apr 17, 2005 10:52 am    Post subject: Reply to topic Reply with quote

Hybrid connects with a different protocol than 'subspace'?

Edit: Fixed, thanks Brain. I get these new fangled Java things mixed up. icon_razz.gif
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.


Last edited by Cyan~Fire on Sun Apr 17, 2005 10:47 pm, edited 1 time in total
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Dr Brain
Flip-flopping like a wind surfer


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

PostPosted: Sun Apr 17, 2005 11:11 am    Post subject: Reply to topic Reply with quote

Uh? No one has been talking about TWCore in this thread.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
D1st0rt
Miss Directed Wannabe


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

PostPosted: Sun Apr 17, 2005 9:33 pm    Post subject: Reply to topic Reply with quote

When TWCore tries to log in, it says the login packet is the wrong size (117)
_________________

Back to top
View users profile Send private message Add User to Ignore List 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: Sun Apr 17, 2005 11:09 pm    Post subject: Reply to topic Reply with quote

Cyan~Fire wrote:
Hybrid connects with a different protocol than 'subspace'?

Edit: Fixed, thanks Brain. I get these new fangled Java things mixed up. icon_razz.gif


When the encryption is broken, yes =)
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: 50 page(s) served in previous 5 minutes.

phpBB Created this page in 0.688964 seconds : 34 queries executed (96.3%): GZIP compression disabled