Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] zTeam Season 8 Episode 2 (Source)

Experienced Elementalist
Joined
Jan 15, 2014
Messages
212
Reaction score
82
Try to add minimap with these code

Code:
void ChangePath(const char* Map, ...)
{
    memcpy((DWORD*)0x8DC270,Map,17);
    HookExactOffset(0x8DC270,0x006E0413,0x68);
}


void LoadImageJgpForMap(char* ImagePatch, DWORD PrintCode)
{
    _asm
    {
        Mov Edi, 0x006C167E
        Push 0x1
        Push 0x2900
        Push 0x2601
        Push 0x7B69
        Push 0x8DC270
        Call Edi
        Add Esp,0x14
    }
}


int LoadMap(int Map)
{
    char FullMapName[200];
    sprintf_s(FullMapName,"World%d\\Map1.jpg",Map+1);
    ChangePath(FullMapName);
    LoadImageJgpForMap(FullMapName, 0x7B69);
    return Map;
}


bool MapChecker1(int Map)
{
        if(__Minimap__ == 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
            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*)(0x006DE429) = 0x75;
    }
    else
    {
        *(BYTE*)(0x006DE429) = 0x75;
    }
}


void MiniLoad()
{
    int Map;
    char FullMapName[200];


    Map = *(unsigned char*)0x008C5CF8;


    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*)(0x006D5A69) = 0xEB;
        memcpy((DWORD*)0x8C8520,FullMapName,17);
    }
    else if( Map == 77 || Map == 78)
    {
        *(BYTE*)(0x006DE429) = 0x75;
    }
    else
    {
        *(BYTE*)(0x006DE429) = 0x75;
    }
}


void MiniMap()
{
    *(BYTE*)(0x00730AC9) = 0x90;
    *(BYTE*)(0x00730AC9+1) = 0x90;


    HookThis((DWORD)&MapChecker1, 0x006DE41A);
    HookThis((DWORD)&MapChecker2, 0x005E9409);
}


---
---
---
Crash Log :

Client Version


[Exception Address] 0x730ac5
[Exception Code] STATUS_ACCESS_VIOLATION
StackWalk failed: 487




--
When i select char = main crash... any advice please?? maybe different offset for zteamss8.2 main?
 
Last edited by a moderator:
Joined
Nov 8, 2012
Messages
454
Reaction score
25
Try to add minimap with these code

void ChangePath(const char* Map, ...)
{
memcpy((DWORD*)0x8DC270,Map,17);
HookExactOffset(0x8DC270,0x006E0413,0x68);
}


void LoadImageJgpForMap(char* ImagePatch, DWORD PrintCode)
{
_asm
{
Mov Edi, 0x006C167E
Push 0x1
Push 0x2900
Push 0x2601
Push 0x7B69
Push 0x8DC270
Call Edi
Add Esp,0x14
}
}


int LoadMap(int Map)
{
char FullMapName[200];
sprintf_s(FullMapName,"World%d\\Map1.jpg",Map+1);
ChangePath(FullMapName);
LoadImageJgpForMap(FullMapName, 0x7B69);
return Map;
}


bool MapChecker1(int Map)
{
if(__Minimap__ == 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
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*)(0x006DE429) = 0x75;
}
else
{
*(BYTE*)(0x006DE429) = 0x75;
}
}


void MiniLoad()
{
int Map;
char FullMapName[200];


Map = *(unsigned char*)0x008C5CF8;


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*)(0x006D5A69) = 0xEB;
memcpy((DWORD*)0x8C8520,FullMapName,17);
}
else if( Map == 77 || Map == 78)
{
*(BYTE*)(0x006DE429) = 0x75;
}
else
{
*(BYTE*)(0x006DE429) = 0x75;
}
}


void MiniMap()
{
*(BYTE*)(0x00730AC9) = 0x90;
*(BYTE*)(0x00730AC9+1) = 0x90;


HookThis((DWORD)&MapChecker1, 0x006DE41A);
HookThis((DWORD)&MapChecker2, 0x005E9409);
}


---
---
---
Crash Log :

Client Version


[Exception Address] 0x730ac5
[Exception Code] STATUS_ACCESS_VIOLATION
StackWalk failed: 487




--
When i select char = main crash... any advice please?? maybe different offset for zteamss8.2 main?

Bro can you delete some messages on your inbox. i want to message you something :)
 
Newbie Spellweaver
Joined
Jan 18, 2015
Messages
34
Reaction score
13
Wtf? oO

-=DarkSim=- - [Release] zTeam Season 8 Episode 2 (Source) - RaGEZONE Forums
 
Junior Spellweaver
Joined
Jan 15, 2008
Messages
140
Reaction score
125
wtf? box of kundun has been like that in mu since s4 havent u played gmo before?

No i've played always on private servers and on KOR protocol sorry i didn't know about this "feature".
However I just answered him what zTeam support answer me before.
 
Experienced Elementalist
Joined
Sep 20, 2012
Messages
288
Reaction score
74
No i've played always on private servers and on KOR protocol sorry i didn't know about this "feature".
However I just answered him what zTeam support answer me before.

no need to be insulted, i just said that spamming the thread with useless info helps noone not even the one that posts it
 
Experienced Elementalist
Joined
May 16, 2009
Messages
205
Reaction score
101
GAohEpQ - [Release] zTeam Season 8 Episode 2 (Source) - RaGEZONE Forums

Any idea?
And i walk some 5 seconds main close
 

Attachments

You must be registered for see attachments list
Junior Spellweaver
Joined
Aug 7, 2010
Messages
137
Reaction score
138
No no no no baby, no no no no don't cryyy



Oh my god, what is that? I can't believe it!... Mauro are you the owner of that? Oops no

All those emulators that are available for download are the same. Deathway decompilation + extra.
Also Mu Teams uses the same poop.

PD: En fin, si pasás más de 2 años en ragezone como programador posteando casi todos los días, dedicate a otra cosa.
 

Attachments

You must be registered for see attachments list
Last edited:
Back
Top