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] MuEmu Working main 1.05D

Newbie Spellweaver
Joined
Apr 7, 2016
Messages
8
Reaction score
6
i'm research offset gObjCreatePet for main 1.05D, Pinkor can you find CharObject for main 1.05d?

.cpp
ObjCreateBug gObjCreateBug = (ObjCreateBug)0x004A8271;
ObjCreatePet gObjCreatePet = (ObjCreatePet)0x00734652;


void gObjCreatePetEx(int ItemId)
{
int ItemSwitch = *(WORD*)ItemId;
int PetPreview = LODWORD(pPreviewPetThis) + 612;
// ----
switch (ItemSwitch)
{
case ItemId(13, 76):
gObjCreateBug(eBugType::Skeleton, PetPreview + 252, PetPreview, 0, 0);
break;
// ---
}
gObjCreatePet(ItemId);
}
void gObjCreatePetExHook()
{
SetHook((LPVOID)gObjCreatePetEx,(LPVOID)0x007155DE,0xE8);
SetHook((LPVOID)gObjCreatePetEx,(LPVOID)0x00732A1A,0xE8);
}
.h
#define ItemId(x, y) ((x * 512) + y)#define pPreviewPetThis *(DWORD*)0x079B9D48
#define LODWORD(h) ((DWORD)(__int64(h) & __int64(0xffffffff)))


enum eBugType
{
Skeleton = 7551,
};


typedef void (__thiscall *ObjCreatePet)(int ItemId);
extern ObjCreatePet gObjCreatePet;
// --
typedef int (__cdecl *ObjCreateBug)(int BugId, int Arg2, int Arg3, int Arg4, int Arg5);
extern ObjCreateBug gObjCreateBug;
void gObjCreatePetExHook();
 
Newbie Spellweaver
Joined
Apr 7, 2016
Messages
8
Reaction score
6
@Pinkor ohh, thank :D Kiosani can you share source pet follow player?

Offset Tron 2.0 Glow + Smoke Effect for Main 1.05D

//Tron Glow
#define pInitGraphics ((void(__cdecl*)()) 0x00706635)
#define oInitGraphics_Call 0x006CF4EC
#define pSelectDraw ((int(__cdecl*)(DWORD)) 0x0041D732)
#define oSelectDraw_Call 0x004059C2
#define pWinWidth *(GLsizei*)0x852B98
#define pWinHeight *(GLsizei*)0x852B9C


DWORD gSelectASMJmp00 = 0x00409D7E;
DWORD gGraphicsASM00Jmp00 = 0x006D0093;


SetRange((LPVOID)0x00409D78, 0x06, ASM::NOP);
SetJmp((LPVOID)0x00409D78, gSelectASM00);
//---
SetRange((LPVOID)0x006D008E, 0x05, ASM::NOP);
SetJmp((LPVOID)0x006D008E, gGraphicsASM00);

//Smoke Effect
#define HDK_SET_ITEM_EFFECT 0x004F3380 //0x0052B0DB
#define HDK_SET_COLOR_EFFECT 0x004F321E //0x0052B122
#define HDK_ITEM_EFFECT_ALLOW 0x004F322A //0x0052B0E7
#define HDK_ITEM_EFFECT_NOT_ALLOW 0x004F38C9 //0x0052B9E0
#define HDK_NEXT_ITEM_COLOR 0x004F33AF //0x0052B150
 
Newbie Spellweaver
Joined
Apr 7, 2016
Messages
8
Reaction score
6
how to change select server + char like SS2/3? i very like interface old version
 
Newbie Spellweaver
Joined
Jul 18, 2015
Messages
51
Reaction score
5
Pinkof, can you share fix max start > 65k points for main 1.02S JPN or 1.04J KOR ?
 
Newbie Spellweaver
Joined
Feb 12, 2016
Messages
52
Reaction score
7
Pink,

Where should I go to find the main source 1.05D opened?


Or is it something is unique yours?
 
Junior Spellweaver
Joined
Apr 8, 2013
Messages
139
Reaction score
16



Files to test it..



Just can buy sets completes putting only helms.. with Set for MG not will work fine.. XD

Can't buy a set by Parts..


Deja de hacer eso y ponete con josesp a hacer la season 11 jajajaja
Linda custom igual.
 
Newbie Spellweaver
Joined
May 14, 2016
Messages
30
Reaction score
5
@Pinkor can you make ui add point like this?

MgWCEKQ - [Development] MuEmu Working main 1.05D - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
May 15, 2014
Messages
99
Reaction score
4
Pinkof can you change max allowed zen in personal store? i mean that accept 9 digits. Thanks you!
 
Newbie Spellweaver
Joined
Jan 4, 2012
Messages
69
Reaction score
3
Pinkof can you change max allowed zen in personal store? i mean that accept 9 digits. Thanks you!
// Money transfer limit
SetByte((PVOID)(0x006FB0C5), 9);
SetByte((PVOID)(0x006FB2C8), 9);
SetByte((PVOID)(0x006FB556), 9);
SetByte((PVOID)(0x006FB8B9), 9);



Please help me add Smoke in main 1.05D

SmokeEffect.cpp
#include "StdAfx.h"
#include "SmokeEffect.h"
#include "ToolKit.h"
#include "Item.h"

DWORD pItemType = 0;

__declspec(naked) void SetItemEffect()
{
__asm
{
Mov pItemType, Eax
}

switch (pItemType)
{
case GET_ITEM_MODEL(11, 1): case GET_ITEM_MODEL(11, 3):
{
__asm
{
Mov Esi, HDK_ITEM_EFFECT_ALLOW
JMP Esi
}
}
break;
}

__asm
{
Mov Esi, HDK_ITEM_EFFECT_NOT_ALLOW
JMP Esi
}
}

__declspec(naked) void SetColorEffect()
{
__asm
{
Mov pItemType, Ecx
}

switch (pItemType)
{
case GET_ITEM_MODEL(11, 1):
__asm
{
MOV EDX, DWORD PTR SS : [EBP + 0xC]
MOV DWORD PTR DS : [EDX + 0x9C], 0x437a0000 //Red Color Value
MOV EAX, DWORD PTR SS : [EBP + 0xC]
MOV DWORD PTR DS : [EAX + 0xA0], 0x0 //Green Color Value
MOV ECX, DWORD PTR SS : [EBP + 0xC]
MOV DWORD PTR DS : [ECX + 0xA4], 0x0 //Blue Color Value
}
break;

case GET_ITEM_MODEL(11, 3):
__asm
{
MOV EDX, DWORD PTR SS : [EBP + 0xC]
MOV DWORD PTR DS : [EDX + 0x9C], 0x0 //Red Color Value
MOV EAX, DWORD PTR SS : [EBP + 0xC]
MOV DWORD PTR DS : [EAX + 0xA0], 0x0 //Green Color Value
MOV ECX, DWORD PTR SS : [EBP + 0xC]
MOV DWORD PTR DS : [ECX + 0xA4], 0x437a0000 //Blue Color Value
}
break;
}

__asm
{
Mov Esi, HDK_NEXT_ITEM_COLOR
JMP Esi
}
}

void AttachNewEffect()
{
DWORD dwPotect;

dwPotect = ToolKit.UnProtect(HDK_SET_ITEM_EFFECT, 12);
ToolKit.SetNop(HDK_SET_ITEM_EFFECT, 12);
ToolKit.WriteJmp(HDK_SET_ITEM_EFFECT, (DWORD)&SetItemEffect);
ToolKit.Protect(HDK_SET_ITEM_EFFECT, 22, dwPotect);

dwPotect = ToolKit.UnProtect(HDK_SET_COLOR_EFFECT, 46);
ToolKit.SetNop(HDK_SET_COLOR_EFFECT, 46);
ToolKit.WriteJmp(HDK_SET_COLOR_EFFECT, (DWORD)&SetColorEffect);
ToolKit.Protect(HDK_SET_COLOR_EFFECT, 56, dwPotect);
}

SmokeEffect.h
#pragma once
#define HDK_SET_ITEM_EFFECT 0x004F3380
#define HDK_SET_COLOR_EFFECT 0x004F321E
#define HDK_ITEM_EFFECT_ALLOW 0x004F322A
#define HDK_ITEM_EFFECT_NOT_ALLOW 0x004F38C9
#define HDK_NEXT_ITEM_COLOR 0x004F33AF

void AttachNewEffect();

Write in main.cpp
AttachNewEffect();

Good Luck
 
Newbie Spellweaver
Joined
Feb 12, 2016
Messages
52
Reaction score
7
Hey guys,

This work of Pinkof is using the main 1.05d source code or only working with assembly(olly)?

How i can find this 1.05d main open source?
 
Back
Top