EDITED: already posted & fixed =)
Thx gembrid,
And some one could see that when in PVP u receive a great hit, u drop itmes(excelent, ancient, wings) everything, even if you are not PK. Somebody have a way to fix it?
EDITED: already posted & fixed =)
Thx gembrid,
And some one could see that when in PVP u receive a great hit, u drop itmes(excelent, ancient, wings) everything, even if you are not PK. Somebody have a way to fix it?
Last edited by Shodaw; 20-10-09 at 02:35 AM.
Some Body help me ?
Source
When i use Obj[tab]. struct... my GameServer crash ???#define OBJECT_BASE (*(char**)0x7A5502C)
OBJECTSTRUCT *ObjTab = (OBJECTSTRUCT*)OBJECT_BASE;
Gembrid or some body can help me ?![]()
- Useless, Can be deleted -
Last edited by Shatter; 23-10-09 at 01:54 PM.
http://www.sendspace.com/file/x523ac
Any idea why it does that?
---------- Post added at 06:34 PM ---------- Previous post was at 06:24 PM ----------
If anyone is interested, I have pin-pointed the Golden mob drops (which BOK's they drop).
(I'm using this GS http://rs584.rapidshare.com/files/27...Gameserver.rar, which is the last one on page one.)
Box Routines
------------
0041E885 BOK+1 //Originally BOL
0041E941 BOK+1
0041EA11 BOK+2
0041EAF4 BOK+3
0041EBB5 BOK+4
0041EC76 BOK+5
Mob Jumps
---------
0041E643 Golden Dragon CMP //? Possibly a catch-all for Golden Mobs
0041E646 Golden Dragon JMP
0041E844 Budge CMP
0041E847 Budge JMP
0041E855 Goblin CMP
0041E858 Goblin JMP
0041E879 Dark Knight CMP
0041E87F Dark Knight JMP
0041E927 Titan CMP
0041E92A Titan JMP
0041E938 Soldier CMP
0041E93B Soldier JMP
0041E9E3 Vepar CMP
0041E9E6 Vepar JMP
0041E9F4 Lizard CMP
0041E9F7 Lizard JMP
0041EAB3 Tanta CMP
0041EAB6 Tanta JMP
0041EAC4 Wheel CMP
0041EAC7 Wheel JMP
0041EAD5 Golem CMP
0041EADA Golem JMP
0041EAE8 Crust CMP
0041EAEE Crust JMP
0041EB96 Satiros CMP
0041EB9B Satiros JMP
0041EBA9 Twin Tail CMP
0041EBAF Twin Tail JMP
0041EC57 Iron Knight CMP
0041EC5C Iron Knight JMP
0041EC6A Napin CMP
0041EC70 Napin JMP
0041ED18 Decron CMP
0041ED1B Decron JMP
0041ED91 Decron Box Count
0041ED58 Decron Box One
0041ED62 Decron Box Two
0041ED6C Decron Box Three
0041EE72 Great Decron CMP
0041EE78 Great Decron JMP
0041EEE4 Great Decron Box Count
0041EFC9 Death King CMP
0041EFCC Death King JMP
Box Value Offsets (Note, this is the offset for the box of luck [Push 0B], look at the line above it for the level of the box, such as 8, 9, etc.)
{Note, this is the offset for the box of luck (PUSH 0B), look at the line above it for the level of the box, such as (MOV DWORD PTR SS:[LOCAL.5],8)}
-----------------------
0041E8AD BOK+1 //Originally BOL
0041E969 BOK+1
0041EA4B BOK+2
0041EB2E BOK+3
0041EBEF BOK+4
0041ECB0 BOK+5
00420900 Firecracker
00420A2A Firecracker
00420B4C Heart of Love
00420C44 Heart of Love
00420D23 Silver Medal
00420E0A Gold Medal
00420EC5 Box of Heaven
Obviously, you would want to alter the Box values in the "boxes" section and/or alter where the mobs jump to.
Note: I will be adding more offsets here and there. Also note that you may have to use code caves to change the jumps of some golden mobs.
Last edited by slyfox125; 21-10-09 at 05:45 AM.
[QUOTE=zolamu;5309304]for fix pk problem do this
in C++Code:004D6949 C705 243B9A09>MOV DWORD PTR DS:[99A3B24],1
004D6949 |. 894D FC MOV DWORD PTR SS:[EBP-4],ECXCode:BYTE cFixPKLimitBug[10] = {0xC7 ,0x05 ,0x024 ,0x03B ,0x09A ,0x009 ,0x001 ,0x00 ,0x00 ,0x00}; memcpy((int*)0x004D6949,cFixPKLimitBug,sizeof(cFixPKLimitBug));
![]()
- Useless, Can be deleted -
Last edited by Shatter; 23-10-09 at 01:54 PM.
Yes i know, but why?
Whit PkLimitFree = 1 u can kill ever..., but items exc can be droped
Whit PkLimitFree = 0 and No fix pk bug, u can kill 3 times..
Whit PkLimitFree = 0 and this fix, u can kill ever, but items exc can be droped
what is the fix.. :S
- Useless, Can be deleted -
Last edited by Shatter; 23-10-09 at 01:54 PM.
Some Body help me ?
Source
When i use Obj[tab]. struct... my GameServer crash ???#define OBJECT_BASE (*(char**)0x7A5502C)
OBJECTSTRUCT *ObjTab = (OBJECTSTRUCT*)OBJECT_BASE;
Gembrid or some body can help me ?
Up... plz help me ^^
Last edited by eddydn; 21-10-09 at 09:08 AM.
To have all working we should have the offset of PK Limit (default 3) and change it to 100 for example them set "PKLimitFree = 0"
There u can kill more than 3 people and do not drop expensive items :)
004D69E4 |. 75 07 JNZ SHORT GameServ.004D69ED
004D6E54 |. 75 04 JNZ SHORT GameServ.004D6E5A
004D6E72 |. 75 04 JNZ SHORT GameServ.004D6E78
if u replace JNZ for JMP GS dont read PkLimit.. check is disabled
#define GS_PKBugFix01 (0x004D69E4)
#define GS_PKBugFix02 (0x004D6E54)
#define GS_PKBugFix03 (0x004D6E72)
bool PkBugFix(char * ini)
{
if (GetPrivateProfileInt(GENERAL_SECTION,"DG-FixPkBug",1,ini))
{
memset((PBYTE) GS_PKBugFix01 , 0xEB,1 ) ;
memset((PBYTE) GS_PKBugFix02 , 0xEB,1 ) ;
memset((PBYTE) GS_PKBugFix03 , 0xEB,1 ) ;
} else {
memset((PBYTE) GS_PKBugFix01 , 0x75,1 ) ;
memset((PBYTE) GS_PKBugFix02 , 0x75,1 ) ;
memset((PBYTE) GS_PKBugFix03 , 0x75,1 ) ;
}
return 1;
}
- Useless, Can be deleted -
Last edited by Shatter; 23-10-09 at 01:54 PM.
http://forum.ragezone.com/f508/dev-g...ml#post5325652
try to kill someone being phonoman with your fix
---------- Post added at 02:17 AM ---------- Previous post was at 02:17 AM ----------
all opcodes(commands)
- Useless, Can be deleted -
Last edited by Shatter; 23-10-09 at 01:54 PM.