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!

[Development] Ultimate Source Code for Customs

Junior Spellweaver
Joined
Feb 13, 2013
Messages
193
Reaction score
69
as leaving the transparency in the fog?
Ex:
Screen(04_24-10_25)-0000 - [Development] Ultimate Source Code for Customs - RaGEZONE Forums

My Fog =/
Screen(04_24-10_40)-0000 - [Development] Ultimate Source Code for Customs - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Last edited:
Experienced Elementalist
Joined
Jul 29, 2012
Messages
286
Reaction score
265
i need the chatwnd source as well.....maybe someone can post it here ?.
ChatWnd.cpp
#include "StdAfx.h"
#include "ChatWnd.h"
#include "ToolKit.h"

DWORD dwMsgType;
DWORD dwYpos;
DWORD dwHeight;
DWORD dwMsgCnt;
DWORD dwScrollPos;

int SystChatSepar = GetPrivateProfileIntA("SystChatSepar", "CoordY", 150, ".\\Custom\\Settings.ini");

__declspec(naked) void ShowSysMsgs()
{
__asm {
call GetDisplayMsgType
mov dwMsgType, eax
MOV ECX, DWORD PTR SS:[EBP-4]
MOV EAX, DWORD PTR DS:[ECX+0xB4]
MOV dwYpos, EAX
MOV EAX, DWORD PTR DS:[ECX+0xC4]
MOV dwHeight, EAX
// ----
MOV EDX, [SystChatSepar]
MOV DWORD PTR DS:[ECX+0xB4], EDX
MOV DWORD PTR DS:[ECX+0xC4], 0x64
MOV EAX, DWORD PTR DS:[ECX+0xC8]
MOV dwMsgCnt, EAX
MOV DWORD PTR DS:[ECX+0xC8], 6
MOV EAX, DWORD PTR DS:[ECX+0xD4]
MOV dwScrollPos, EAX
PUSH 3
MOV ECX, DWORD PTR SS:[EBP-4]
CALL SetDisplayMsgType
MOV ECX, DWORD PTR SS:[EBP-4]
CALL ShowChatMsgs
MOV ECX, DWORD PTR SS:[EBP-4]
PUSH dwMsgType
CALL SetDisplayMsgType
MOV ECX, DWORD PTR SS:[EBP-4]
MOV EAX, dwYpos
MOV DWORD PTR DS:[ECX+0xB4], EAX
MOV EAX, dwHeight
MOV DWORD PTR DS:[ECX+0xC4], EAX
MOV EAX, dwMsgCnt
MOV DWORD PTR DS:[ECX+0xC8], EAX
MOV EAX, dwScrollPos
MOV DWORD PTR DS:[ECX+0xD4], EAX
MOV ECX, DWORD PTR SS:[EBP-4]
CALL ShowChatMsgs
retn
}
}

__declspec(naked) void FixSysMsg1()
{
__asm {
cmp dword ptr ss:[ebp+0x10], 3
je _true
call NewCall
jmp FixSysMsg1_FALSE
_true:
pop eax
jmp FixSysMsg1_TRUE
}
}

__declspec(naked) void FixSysMsg2()
{
__asm {
cmp dword ptr ss:[ebp+0x10], 3
je _true
call NewCall
jmp FixSysMsg2_FALSE
_true:
pop eax
jmp FixSysMsg2_TRUE
}
}

__declspec(naked) void FixSysMsg3()
{
__asm {
cmp dword ptr ss:[ebp+0x10], 3
je _true
call NewCall
jmp FixSysMsg3_FALSE
_true:
pop eax
jmp FixSysMsg3_TRUE
}
}


void ChatWndHooks()
{
HookThis((DWORD)ShowSysMsgs, ShowChatMsgsCall_Hook);
WriteJmp(FixSysMsg1_Hook, (DWORD)FixSysMsg1);
WriteJmp(FixSysMsg2_Hook, (DWORD)FixSysMsg2);
WriteJmp(FixSysMsg3_Hook, (DWORD)FixSysMsg3);
}
ChatWnd.h
#pragma once

const int GetDisplayMsgType = 0x6F7FE0;
const int SetDisplayMsgType = 0x6F7F95;

const int ShowChatMsgs = 0x6F5584;

const int ShowChatMsgsCall_Hook = 0x6F7927;

const int NewCall = 0x8510BA;

const int FixSysMsg1_Hook = 0x6F60AC;
const int FixSysMsg1_FALSE = FixSysMsg1_Hook+5;
const int FixSysMsg1_TRUE = 0x6F6165;

const int FixSysMsg2_Hook = 0x6F63B3;
const int FixSysMsg2_FALSE = FixSysMsg2_Hook+5;
const int FixSysMsg2_TRUE = 0x6F64B6;

const int FixSysMsg3_Hook = 0x6F6715;
const int FixSysMsg3_FALSE = FixSysMsg3_Hook+5;
const int FixSysMsg3_TRUE = 0x6F67DA;

void ChatWndHooks();
 
Newbie Spellweaver
Joined
Dec 17, 2008
Messages
76
Reaction score
14
Can someone share a offsets for main 1.04j > 1.04.10 KOR ???
 
Newbie Spellweaver
Joined
Nov 17, 2011
Messages
65
Reaction score
0
hello all i have a problem.
i find all my offsets and they are perfect :)
my fog working :)
but i don't know why the minimap and 3dcamera don't work.
when i'm clicking the Home Or End it's exit the game.
and about the minimap don't work don't know the prob.
i'm using 1.02R Server.
and i other problem i don't know how to find "Main_PrintGlobal" offsets if it's importent :)
thanks for help
 
Experienced Elementalist
Joined
Oct 12, 2007
Messages
219
Reaction score
5
Visual bug of 3d wings of elf with it DLL. How to fix?
 
Newbie Spellweaver
Joined
Nov 7, 2011
Messages
11
Reaction score
1
someone would have the offsets from the main 1.02s (KOR) ​​(1:02:19) of 3D Camera, Main_PrintGlobal? ..
 
MFS Team Owner
Joined
Jan 10, 2007
Messages
767
Reaction score
227
can someone share for 99b patch minimap files
and also .dll file 3d camera,fog,minimap, ... link
 
Newbie Spellweaver
Joined
Nov 28, 2013
Messages
6
Reaction score
7
UP! Can someone share fog offsets for 1.04J(S3 EP1) protocol KOR
int *MAP_CHECK = (int*)
int *MAP_ADD_EFFECT = (int*)
int *MAIN_STATE = (int*)

Searched for guides, but dont know how to find them...
 
Back
Top