Last edited by aecrimch; 13-08-12 at 10:15 PM.
Hi, if you have issue do the following: use two different hosts - one for webpage and one for server main and so on. The one for the webpage you give it to your players for public view and the other one for server and the last one you can set it to whatever you want(that has the length required by you)
share offsets for Minimap Plz?
I found in Blue, no found in red:
void ChangePath(const char* Map, ...)
{
memcpy((DWORD*)0xD4A654,Map,17);
//HookExactOffset(0x8DC270,0x006E0413,0x68); 1.03k JPN
HookExactOffset(0xD4A654,0x00888C0A,0x68); //1.04D GMO
}
void LoadImageJgpForMap(char* ImagePatch, DWORD PrintCode)
{
_asm
{
Mov Edi, 0x007721E0 //0x006C167E
Push 0x1
Push 0x2900
Push 0x2601
Push 0x7B7A
Push 0xD4A654 //0x8DC270
Call Edi
Add Esp,0x18
}
}
int LoadMap(int Map)
{
char FullMapName[200];
sprintf_s(FullMapName,"World%d\\Map1.jpg",Map+1);
ChangePath(FullMapName);
LoadImageJgpForMap(FullMapName, 0x7B7A);
return Map;
}
bool MapChecker1(int Map)
{
if(IsMiniMap == 0)
{
return 0;
}
if( Map == 0 || Map == 1 || Map == 2 || Map == 3 || Map == 4 || Map == 7 || Map == 8 ||
Map == 10 || Map == 24 || Map == 30 || Map == 33 || Map == 34 || Map == 37 || Map == 38 ||
Map == 41 || Map == 51 || Map == 56 || Map == 57 || Map == 63)
{
return 1;
}
return 0;
}
char FullMapName[200];
void MapChecker2(int Map)
{
if( Map == 0 || Map == 1 || Map == 2 || Map == 3 || Map == 4 || Map == 7 || Map == 8 ||
Map == 10 || Map == 24 || Map == 30 || Map == 33 || Map == 34 || Map == 37 || Map == 38 ||
Map == 41 || Map == 51 || Map == 56 || Map == 57 || Map == 63)
{
LoadMap(Map);
_asm
{
MOV EDI, 0x007747FF // ? No Found
CALL EDI
MOV ECX,EAX
MOV EDI, 0x00774B8D // ?
CALL EDI
MOV ECX,EAX
MOV EDI, 0x006DE48E
CALL EDI
}
Sleep(100);
}
else if( Map == 77 || Map == 78)
{
*(BYTE*)(0x00886B94) = 0x75; // 00886B94 |. 75 04 JNZ SHORT main_ori.00886B9A
}
else
{
*(BYTE*)(0x00886B94) = 0x75; // 1.03k 006DE429
}
}
void MiniLoad()
{
int Map;
char FullMapName[200];
Map = *(unsigned char*)0x00E61E18; //[ 1.03k 8C5CF8] >>> // 00886B80 |. 8B0D 181EE600 MOV ECX,DWORD PTR DS:[E61E18]
if( Map == 0 || Map == 1 || Map == 2 || Map == 3 || Map == 4 || Map == 7 || Map == 8 ||
Map == 10 || Map == 24 || Map == 30 || Map == 33 || Map == 34 || Map == 37 || Map == 38 ||
Map == 41 || Map == 51 || Map == 56 || Map == 57 || Map == 63)
{
sprintf_s(FullMapName,"World%d\\Map1.jpg",Map+1);
*(BYTE*)(0x0087E119) = 0xEB;// Correct?
memcpy((DWORD*)0x8C8520,FullMapName,17); //?
}
else if( Map == 77 || Map == 78)
{
*(BYTE*)(0x00886B94) = 0x75;
}
else
{
*(BYTE*)(0x00886B94) = 0x75;
}
}
void MiniMap()
{
*(BYTE*)(0x00730AC9) = 0x90; // ?
*(BYTE*)(0x00730AC9+1) = 0x90; // ?
HookThis((DWORD)&MapChecker1, 0x00886B87); //old 006DE41A
HookThis((DWORD)&MapChecker2, 0x0062EB3D); //old 005E9409
}
favgames, i did not search for such offsets and i do not know why you need MiniMap since almost all maps have full maps included by pressing TAB.
last question sir, how can i change small wings to custom wings? like, where is small wing of satan.bmd located on client? if someone can help me here, i would gladly appreciate it
V5 is not support images jewels.I copied patch V5 in first Topic on client but it's not support.please help !!!.
Hello Aecrimch, I downloaded V5 with 9 custom jewels. In folder DATA/CUSTOM/ITEM ..... In the folder there are files for 7 custom jewels? jewel200 -jewel207 and 7x xxxx.ozj , it is right ? it would be possible to upload all 9 Jewel and ozj files? sorry bad english - translator
Thank you very much
miso, download again plz, i repacked and added a new link
Thank you :) One last question, how do I add an image to a jewel208 jewel209? sorry I'm noob
Edit: I found the answer herehttp://forum.ragezone.com/f196/hex-b...ad-ozj-337049/
Last edited by miso261186; 16-08-12 at 05:22 PM.
aecrimch,can make v5 version w.o. antihack ? and v5 main crashes on win xp sp3...
and another question , can add gembrid souce chatwnd ?
to resolve the crash
pack all .dll in the main, using enigma virtual box
Enigma Virtual Box download - Baixaki
not work
here it is a jewels.dll without AntiHack and with experimental ChatWnd (since i do not know how this should work i will post offsets too, plz confirm if is working or not...): jewels_chwnd.rar
Code://ChatWnd offsets for 1.04D by aecrimch const int GetDisplayMsgType = 0x78A4A0; //0x6F7FE0; const int SetDisplayMsgType = 0x78A510; //0x6F7F95; const int ShowChatMsgs = 0x788930; //0x6F5584; const int ShowChatMsgsCall_Hook = 0x78AF6C; //0x6F7927; const int NewCall = 0x9CFF45; //0x8510BA; const int FixSysMsg1_Hook = 0x789617; //0x6F60AC; const int FixSysMsg1_FALSE = FixSysMsg1_Hook+5; const int FixSysMsg1_TRUE = 0x7896D4; //0x6F6165; const int FixSysMsg2_Hook = 0x789913; //0x6F63B3; const int FixSysMsg2_FALSE = FixSysMsg2_Hook+5; const int FixSysMsg2_TRUE = 0x789A0A; //0x6F64B6; const int FixSysMsg3_Hook = 0x789C5C; //0x6F6715; const int FixSysMsg3_FALSE = FixSysMsg3_Hook+5; const int FixSysMsg3_TRUE = 0x789D1F; //0x6F67DA;