Remove EXP on Map 18 & 30

05/25/2018 20:13 {Skrillex}#1
Dear epvp,
I want to remove Exp Gain on 15er & 30er PvP...

I had this script below.. Its working for fake ep5 (4.5) server very well.
But now on a REAL Episode 5.4 Server it crashes the server...

Does any1 know the new offsets?

Quote:
alloc(newmem,2048)
label(returnhere)

newmem:
mov ax,word ptr [edi+164]
cmp ax,12
je 0045840D
cmp ax,1E
je 0045840D
mov dl,[edi+0000012F]
jmp returnhere

00458255:
jmp newmem
nop
returnhere:

[DISABLE]
dealloc(newmem)

00458255:
mov dl,[edi+0000012F]

Regards
05/26/2018 04:19 perlisson#2
,search offsets.
05/26/2018 13:10 [ADMIN]Phreak#3
This should probably please your needs, basically it remove EXP from PvP kills at all not just the 15, 30 zones.
If you want to restrict it to these zones then simply remove the /*

Quote:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat

alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here
/*cmp byte ptr[esi+160], (int)18//MapID
je 00465222
cmp byte ptr[esi+160], (int)30//MapID
je 00465222
cmp byte ptr[esi+160], (int)105//MapID*/
jmp 00465222
originalcode:
cmp edi,eax
jae ps_game.exe+651B7
add edi,ebp

exit:
jmp returnhere

"ps_game.exe"+65177:
jmp newmem
nop
returnhere:



[DISABLE]
"ps_game.exe"+65177:
cmp edi,eax
jae ps_game.exe+651B7
add edi,ebp
//code from here till the end of the code will be used to disable the cheat
05/26/2018 20:41 Eric-Dutra16#4
Quote:
Originally Posted by [ADMIN]Phreak View Post
This should probably please your needs, basically it remove EXP from PvP kills at all not just the 15, 30 zones.
If you want to restrict it to these zones then simply remove the /*
must also change the last jmp to je, like this:

Code:
cmp byte ptr[esi+160], (int)18 //MapID
je 00465222
cmp byte ptr[esi+160], (int)30 //MapID
je 00465222
cmp byte ptr[esi+160], (int)105 //MapID
je 00465222