Yoko

All sides of Injection
It is currently 2024-04-19 12:32:09

All times are UTC+02:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
 Post subject: New gump system problems
PostPosted: 2008-12-28 03:33:58 
Offline

Joined: 2008-12-25 22:35:48
Posts: 10
Dear injection users,
Dear mr. yoko,

I'd like to explay to you a problem regarding the new gump system.

This system is used on RunUO shards like mine. In a few words, the command

Code:
,infogump


and all the others regarding to gumps appear not to work.

This is the infogump output

Code:
_____infogump_______
serial   0x00000000
gumpid   0x00000000
X   0
Y   0
0   packet size
0   reply packet size
Buttons: ________
Checks&Radios: __
Entryes: ________
All commands: ____
Text: ____________



This problem affects commands like ,recall and ,ongump; since my shard is deeply based on gumps, i have to do tricks using Lclick and similiar commands, developing not 100% reliable scripts.

This problem was previously reported in the following post:

http://forum.yoko.com.ua/viewtopic.php?t=11437
http://forum.yoko.com.ua/viewtopic.php?t=12366

I noticed this bug using clients

5.0.8.0
5.0.9.0
6.0.1.3
6.0.11.0

riced and not. I've been using injection dll 702, 712 and 805.

I noticed that if I FORCE the version the client sends to server --> 4.0.0.0 USING version 6.0.11.0, the gump commands WORKS flawlessy, but the server does not show many other things like objects or people, so i can't use that workaround; this probably means that the server send to 4.0.0.0 clients the old gump protocol....

I'd appreciate very much to contribute in every kind of way to resolve this bug, i'm a computer engineer, i've spent several years developing network oriented c/c++ applications, i can also give my account on that server and test beta version of your applications.

Hoping to hear news from you, I send you best regards and best wishes for the new year.

Marco


Top
   
 Post subject:
PostPosted: 2008-12-28 03:47:43 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Quote:
this probably means that the server send to 4.0.0.0 clients the old gump protocol....

that is ^^
New client versions use compressed gumps:
Code:
Packet: 0xDD
Sent By: Server
Size: variable


Packet Build
BYTE[1] Cmd
BYTE[2] len
BYTE[4] Player Serial
BYTE[4] Gump ID
BYTE[4] x
BYTE[4] y
BYTE[4] Compressed Gump Layout Length (CLen)
BYTE[4] Decompressed Gump Layout Length (DLen)
BYTE[CLen] Gump Data, zlib compressed
BYTE[4] Number of text lines
BYTE[4] Compressed Text Line Length (CTxtLen)
BYTE[4] Decompressed Text Line Length (DTxtLen)
BYTE[CTxtLen] Gump's Compressed Text data, zlib compressed

instead of
Code:
Packet: 0xB0
Sent By: Server
Size: Variable


Packet Build
BYTE[1] cmd
BYTE[2] blockSize
BYTE[4] id
BYTE[4] gumpid
BYTE[4] x
BYTE[4] y
BYTE[2] command section length
BYTE[?] commands (zero terminated)
BYTE[2] numTextLines
· BYTE[2] text length (in unicode (2 byte) characters.)
· BYTE[?] text (in unicode)


Injection don't handle 0xDD packet and haven't zlib compression.


Top
   
 Post subject:
PostPosted: 2008-12-31 15:59:19 
Offline

Joined: 2008-12-25 22:35:48
Posts: 10
Thank you very much for the fast reply.

Do you think it will be easy to update/fix it?

zlib decompression may be easy to implement, using a standard library...


Top
   
 Post subject:
PostPosted: 2009-01-02 01:02:56 
Offline

Joined: 2006-05-04 18:40:42
Posts: 104
ma che sei italiano?


Top
   
 Post subject:
PostPosted: 2009-01-02 04:22:46 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
If i don't forget there is no free place for 0xDD handle function. Need to expand handle functions table, it's need to relocate stucture in injection.dll.

I make something like this with 8** version of injection then implement MD5 support.


Top
   
 Post subject:
PostPosted: 2009-01-02 13:03:01 
Offline

Joined: 2008-12-25 22:35:48
Posts: 10
If you ever need help, just ask and i'll try :)


Top
   
PostPosted: 2011-07-20 15:46:49 
Offline

Joined: 2009-03-10 09:43:01
Posts: 78
we dont have this support yet? 2 years later....


Top
   
PostPosted: 2012-10-27 04:51:58 
Offline

Joined: 2012-10-26 02:10:01
Posts: 3
Я все еще жду решения

--

I'm still waiting for a solution =(


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 42 guests


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 Limited