[Solved] GS 1.00.18 Party no Experience
I'm working in a GS 1.00.18 and when a player join party only who kills the mob gets experience, the others doesn't get anything.
I have this:
Code:
__declspec(naked) void ExperiencePartyHook()
{
_asm
{
MOV EAX,DWORD PTR SS:[EBP-0x08]
PUSH EAX
MOV EDX,DWORD PTR SS:[EBP-0x54]
PUSH EDX
LEA EBX,AddExperience // -> Set Experience Value
CALL EBX
MOV DWORD PTR SS:[EBP-0x08],EAX
MOV EBX,Experience_Party_Hook_2 // -> Offset
JMP EBX
}
}
And some other functions to set experience value but the problem is that there's no experience, not even "0".
Any idea? Any help would be great! Thanks in advance
Re: GS 1.00.18 Party no Experience
what about the party exp values?
#define Party2Exp 0x004E30BA
#define Party3Exp 0x004E30C9
#define Party4Exp 0x004E30D8
#define Party5Exp 0x004E30E7
#define SetParty3Exp 0x004E3084
#define SetParty4Exp 0x004E3093
#define SetParty5Exp 0x004E30A2
PartyGeneralExperience2 -> Percentage of experience get on 2 user(s) party without different class.
PartyGeneralExperience3 -> Percentage of experience get on 3 user(s) party without different class.
PartyGeneralExperience4 -> Percentage of experience get on 4 user(s) party without different class.
PartyGeneralExperience5 -> Percentage of experience get on 5 user(s) party without different class.
SetPartySpecialExperience1 -> Percentage of experience get on 1 user(s) party with different class.
SetPartySpecialExperience2 -> Percentage of experience get on 2 user(s) party with different class.
SetPartySpecialExperience3 -> Percentage of experience get on 3 user(s) party with different class.
SetPartySpecialExperience4 -> Percentage of experience get on 4 user(s) party with different class.
SetPartySpecialExperience5 -> Percentage of experience get on 5 user(s) party with different class.
i would focus on Part2Exp (if u are testing with same class on party)
also this offsets might be useful?
#define MygObjExpPartyHook2_Addr 0x004E331E
#define MygObjExpPartyHook2_Exit_Addr 0x004E3323
what 1.00.18 you use? which release?
Re: GS 1.00.18 Party no Experience
@KarLi thanks for your answer. I'm using 1.00.18 Kor, i've already tried these offsets (not the same that you shared, the correct ones for this gameserver version) and some others, but the problem is that there's no experience (only in party), not even a number except for whom kills the mob. I think that there's something in client side but I tested with another main, changed player.bmd, everything without effect and I changed whole server side data folder without success. I'll try downloading a new client and test again, I have no idea where the problem is.
Note 1: The GameServer that I'm using is a original (clear) version with a plugin (I have the source code and I've tested deactivating every custom to see if there was some wrong code, again, without success).
Re: GS 1.00.18 Party no Experience
Well im 100% is not Client issue mate.. should be GameServer issue/Something with your server files configs.
Re: GS 1.00.18 Party no Experience
@KarLi Thanks for your help (again).
Sorry for the "unnecessary" topic. Finally I found the problem, it was on Database, just changed it and boom! Experience on party worked fine...