Iris2.de

Iris2-Forum
It is currently Thu Mar 28, 2024 2:23 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Oct 10, 2008 11:18 pm 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
just stumbled upon yet another very ugly uo hack...

# uo-protocol change for clientversion 6.0.1.7 and later : 0x08 kPacket_Drop_Object is now one byte longer

there seem to be other protocol changes as well,
i made a wiki page for listing info on this :

http://iris2.de/index.php/Clientversion ... _and_later

i made a function ClientVersionIsPost6017() that can be used to check which version iris reports to the server, so we can later add the protocol changes to our code using it,
but until those changes are coded in iris, the maximum version that iris supports is 6.0.1.6

i also added a check at startup that prevents iris from launching if a higher version string was configured, as iris would loose sync with the server after the first changed packet was sent or received.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 21, 2009 7:01 am 
Offline

Joined: Sat Feb 21, 2009 6:35 am
Posts: 1
I'm writing my own packet based UO scripting tool and here are a couple more observations I've made regarding client 6.0.1.7+:

packet 0x25 is also 1 byte longer.

the loop in packet 0x3C is also one byte longer. However, servers will occasionally still send an old style 0x3C packet to a a newer client. Loop size for new packet is 20 bytes, old is 19. So the safest thing is to check (packet length - 5) % 20, and if you get zero you know it's a new style packet.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 21, 2009 1:58 pm 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
in the meantime we added support for 6.0.1.7 and later,
here's the changeset if you're interested :
http://zwischenwelt.org/trac/iris/changeset/2900

for 0x3c we don't check the packetsize so far, i might have to still add that. *busy coding at it*


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 21, 2009 2:10 pm 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
done =)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group