NetPro: Packet Analysis and Visualization tool

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
SaveGame
Posts: 121
Joined: Thu Oct 30, 2014 9:54 pm

Re: NetPro: Packet Analysis and Visualization tool

Post by SaveGame »

Zealar wrote:My guess is best option is NetPro to support save in raw data and xml form what keep packet structure just fill the data.
"raw" is a tough format. How do you differentiate client and server packets? Also, timestamps (though for what you described, they aren't used).
XML is much more verbose than just plain text; plus any tree-building parsers will run out of memory even on small-ish logs (e.g. 100MB).

I'll implement both options with some params to control the options. I'll also take a look at phx. Tomorrow.
Image
User avatar
LasTravel
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: NetPro: Packet Analysis and Visualization tool

Post by LasTravel »

You're doing a very good job with this :clap:
SaveGame
Posts: 121
Joined: Thu Oct 30, 2014 9:54 pm

Re: NetPro: Packet Analysis and Visualization tool

Post by SaveGame »

Bump.

On a more serious note, preliminary Underground support, with most packet definitions and value interpreters is now available in the 'develop' branch. If I get the chance to harvest enough data, you can expect a release earlier than usual (usual = 8th day of month, unless there are no "worthwhile" changes).
Image
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: NetPro: Packet Analysis and Visualization tool

Post by UnAfraid »

ExAutoSoulShot has new d which is order (0, 1, 2, 3)
PledgeShowMemberListAll has new C at the end of the loop (0, 1, 2 for isOnline i think 2 is when player was online for at least 30 mins)
PledgeShowMemberListUpdate same as PledgeShowMemberListAll new c at the end
ExVitalityEffectInfo has new h at the end same value as previous (999) not sure for what it is.
Image
SaveGame
Posts: 121
Joined: Thu Oct 30, 2014 9:54 pm

Re: NetPro: Packet Analysis and Visualization tool

Post by SaveGame »

UnAfraid wrote:ExAutoSoulShot has new d which is order (0, 1, 2, 3)
PledgeShowMemberListAll has new C at the end of the loop (0, 1, 2 for isOnline i think 2 is when player was online for at least 30 mins)
PledgeShowMemberListUpdate same as PledgeShowMemberListAll new c at the end
ExVitalityEffectInfo has new h at the end same value as previous (999) not sure for what it is.
1. In other words, "group": ss, sps, beast ss, beast sps. Enablement is now done with group offset in mind (e.g. sps disabled = 2, bss enabled = 5). No idea why they duplicate info like this.
2./3. Never seen '2'. After 30 mins, a player is flagged for attendance bonus (PSMLU with 1) and from then on, PSMLA will show it flagged (1). However, I do not have a clan with 11+ members, so I'll reserve judgement. For now.
4. New h in the middle = 0, specifying XP bonus bonus (additional bonus %).

All already in 'develop'.
Image
Sdw
L2j Veteran
L2j Veteran
Posts: 855
Joined: Mon May 03, 2010 8:38 am
Location: France

Re: NetPro: Packet Analysis and Visualization tool

Post by Sdw »

Told him he is not listening
ChaosPaladin
Posts: 39
Joined: Wed Feb 19, 2014 12:13 pm

Re: NetPro: Packet Analysis and Visualization tool

Post by ChaosPaladin »

How connect to GameServer, else LoginServer and GameServer have one IP?
LoginServer connect OK and GameServer packet "LoginFail (0x0A)" said reason 0x01
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: NetPro: Packet Analysis and Visualization tool

Post by UnAfraid »

Have you updated protocol version?
Image
User avatar
LasTravel
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: NetPro: Packet Analysis and Visualization tool

Post by LasTravel »

ChaosPaladin wrote:How connect to GameServer, else LoginServer and GameServer have one IP?
LoginServer connect OK and GameServer packet "LoginFail (0x0A)" said reason 0x01
Change the server to allow the client protocol 28.
UnAfraid wrote:ExAutoSoulShot has new d which is order (0, 1, 2, 3)
PledgeShowMemberListAll has new C at the end of the loop (0, 1, 2 for isOnline i think 2 is when player was online for at least 30 mins)
PledgeShowMemberListUpdate same as PledgeShowMemberListAll new c at the end
ExVitalityEffectInfo has new h at the end same value as previous (999) not sure for what it is.
MultisellList have also a new H at each item/ingredient.
Thonygez
Posts: 9
Joined: Tue Jun 14, 2011 11:55 am

Re: NetPro: Packet Analysis and Visualization tool

Post by Thonygez »

Hello guys would you mind tell me how to do to make SS work? at least few tips

I've managed to make the MultiSellList to work properly but I still have to fix the SSs

(I'm learning how obtain the Opcodes n also how to implement them into the server side)
Sdw
L2j Veteran
L2j Veteran
Posts: 855
Joined: Mon May 03, 2010 8:38 am
Location: France

Re: NetPro: Packet Analysis and Visualization tool

Post by Sdw »

Check the ExAutoSoulshot sent on enterworld that's all you need
User avatar
LasTravel
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: NetPro: Packet Analysis and Visualization tool

Post by LasTravel »

You need send 4xExAutoSoulshot like this:

ExAutoSoulshot playerSSId, 1, 0
ExAutoSoulshot playerBSSId, 1, 1
ExAutoSoulshot playerBeastSSId, 1, 2
ExAutoSoulshot playerBeastBSSId, 1, 3

Where playerSSId is the current Soulshots that the player have in the inventory (and match with his current weapon), otherwise send 0 as ID.
Thonygez
Posts: 9
Joined: Tue Jun 14, 2011 11:55 am

Re: NetPro: Packet Analysis and Visualization tool

Post by Thonygez »

I've done so, appeared but looks like unstable, sometimes it appear and work others not and if I'm not wrong this isn't working fully yet even on official. Thank you a lot anyway it was already a huge help.
Sdw
L2j Veteran
L2j Veteran
Posts: 855
Joined: Mon May 03, 2010 8:38 am
Location: France

Re: NetPro: Packet Analysis and Visualization tool

Post by Sdw »

Yeah client does lot of shits
SaveGame
Posts: 121
Joined: Thu Oct 30, 2014 9:54 pm

Re: NetPro: Packet Analysis and Visualization tool

Post by SaveGame »

Thonygez wrote:I've done so, appeared but looks like unstable, sometimes it appear and work others not and if I'm not wrong this isn't working fully yet even on official. Thank you a lot anyway it was already a huge help.
Sdw wrote:Yeah client does lot of shits
On my Wynn, when I have summons out, all SS/SpS icons are shown as disabled, completely disregarding the actual auto-use state.

After they released IO with a broken exalted quest chain (for months), it doesn't really surprise me that Underground is also rushed and bugged.
Not to mention they haven't fixed invis walls in Giran since HF and invis walls in Magmeld since GoD…

The thing I find the most funny is:
Clan Rewards Cannot be obtained by some clans
Corruption/10
Image
Post Reply