Cloud saint's jar.

08/12/2012 21:22 diedwarrior#1
Hello people, I was bored so I wanted to implement the cloud saints jar so I sniffed the packet but what is weird is there's no packet sent when you kill the needed monster, so how exactly do you increase the "killed" meter.
Picture.
[Only registered and activated users can see links. Click Here To Register...]
Thanks.
Kratos.
08/12/2012 22:55 shadowman123#2
Rofl nah u didnt Check what happened well heres what happens :-

when u talk to npc he Send u ConquerItem packet 1008 with Cloudsaint jar ID , Type , Required kills Then Attack packet 1022 is sent to player with attack subtype = 36 thats all i remember for now ..ill check mine later with ya GL
08/12/2012 22:58 diedwarrior#3
I thought its all about the packet 1008 :O so I filtered all others, okay ill try using the subtype now.

Thanks a lot shadowman, this can be closed.
08/13/2012 02:04 { Angelius }#4
before you add the jar to the player's inventory...

jar.Dura = required Amount of kills
jar.MaxDura = Monster Type

Monster types are stored in one of the ini files in the client folder i forgot which one

Now when the player hover with his mouse over the jar the attack packet with the subtype that was previously mentioned by shadowman123 (1002 -> 36) are sent to the server with the monster type at offset 24...

Use that packet and rewrite the player UID at offset 4 and write the kills amount as a uint at offset 28 and send it back to the client...

Good luck.
08/13/2012 02:24 |xabi|#5
Quote:
Originally Posted by { Angelius } View Post
before you add the jar to the player's inventory...

jar.Dura = required Amount of kills
jar.MaxDura = Monster Type

Monster types are stored in one of the ini files in the client folder i forgot which one

Now when the player hover with his mouse over the jar the attack packet with the subtype that was previously mentioned by shadowman123 (1002 -> 36) are sent to the server with the monster type at offset 24...

Use that packet and rewrite the player UID at offset 4 and write the kills amount as a uint at offset 28 and send it back to the client...

Good luck.
ur mod is highly today :)