Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #007687

  • 0 - None Assigned

  • New

Issue Confirmations

  • Yes (0)No (0)
Photo

Packet bug when near guildsmen

Posted by hsombini on 04 September 2013 - 07:48 AM

Hello, I think I just found a bug with the ragexe 20120410

I could reproduce the error many times by doing tihs: ragexe 20120410 (not RE), make a guild, invite a player, ask him to relog, then ask him to log again, boom, every time he logs in, both of you will be disconnected

This is the log
[Error]: clif_parse_SearchStoreInfo: Malformed packet (expected length=15, length=5, account_id=2000011).
[Info]: request connect - account_id:2000012/login_id1:1697559829/login_id2:66213598
[Info]: Loading Char Data (2000012)
[Info]: Char load request (5)
[Info]: storage load complete from DB - id: 2000012 (total: 0)
[Info]: Loaded char (5 - Chronos): status memo inventory cart storage skills friends hotkeys mercenary
[Info]: Selected char: (Account 2000012: 0 - Chronos)
[Info]: 'Chronos' logged in. (AID/CID: '2000012/5', Group '99').
[Info]: mail load complete from DB - id: 5 (total: 0)
[Warning]: clif_parse: Received unsupported packet (packet 0x0000 (0x0700), 7 bytes received), disconnecting session #9.
[Info]: Character 'TrafalgarLaw' logged off.
[Info]: Saved char 1 - TrafalgarLaw: status.
[Warning]: clif_parse: Received packet 0x0884 specifies invalid packet_len (1), disconnecting session #11.
[Info]: Character 'Chronos' logged off.

in src/common/mmo.h did you comment out the 'PACKETVER_RE' line? (it signs whether server should use ragexe or ragexere packet data)

Yep, it's already commented, to make sure everything is alright, here are the configs:

packets.h
http://pastebin.com/QnSqXTLJ

renewal.h
http://pastebin.com/pzNvxCFa

mmo.h
http://pastebin.com/wkdvPXbE

Thanks!

Edited by hsombini, 05 September 2013 - 01:35 AM.


Well, seems there is an Issue with the commits after 51b7f5c6f6af53c3fc6a71ede9aea6b760a91491

I was not able to use any other Ragexed, I had to downgrade to 51b7f5c6f6af53c3fc6a71ede9aea6b760a91491, then switched the Ragexed. Fixed the bug.

Well, I did not made any test with the ragexe 20120410 with 51b7f5c6f6af53c3fc6a71ede9aea6b760a91491, but I'm sure that's working...

Maybe it's worth to check on these new commits...

Edited by hsombini, 05 September 2013 - 10:29 AM.


The commits after 51b7f5c6f6af53c3fc6a71ede9aea6b760a91491 (df0a324108cd8b6ee7ac984700efed80044ed7c3, da3b014f7fb44d36aae0c1a2b18cb07329d18b36, 272ff4508a45341d683df71b22898851fa49e7b2) should only affect packetvers older than 2009, I don't see how they can affect a 2012 packetver...