[Gameserver] -> CustomerName - GameServer Common.dat - Works
[Gameserver] -> News Lua Function = NewNoticeSend()
[Gameserver] -> Fix Dupe Guild Warehouse
[Gameserver] -> Add Event Esc Esc
[Gameserver] -> Add Event Mat Mata
[Gameserver] -> New Interface
[Gameserver] -> Add Events Interface
[Gameserver] -> Add CustomNpcCollector
[Gameserver] -> Add Event OnlineLottery
[Main] -> Fix Agility
[Main] -> AutoClick
[Main] -> Fix Effect Item +13
[Main] -> Custom SelectChar (Enable/Disable)
[Main] -> Custom Local Time
[Main] -> Right Click
[Main] Show Logo Guild in Name
[Main] MultLang Sytem
[Client Side] Multlang System
Main + Data
[Main] Shield View in SafeZone
[Main] Dual Sword In SafeZone
[Main] Elf Views Weapons in Safeone
[Main] Fix Visual Bug Bows
[Main] Fix Visual Character Color
[Main] Fix Dual Sword Cruzada
Fix mana shield al moverse de mapa ?
No me estaria funcando en mi pc local suenoCual Error
Notepad o Bloc de notas para configurar las ip ? en q formato deben ser guardados los txt ?
No me estaria funcando en mi pc local sueno
Notepad o Bloc de notas para configurar las ip ? en q formato deben ser guardados los txt ?
can you share how to fix mana shield ?Fix mana shield al moverse de mapa ?
Yes
mana shield have fixed.can you share how to fix mana shield ?Fix mana shield al moverse de mapa ?
Yes
[Gameserver] -> Add Event Esc Esc
[Gameserver] -> Add Event Mat Mata
[Gameserver] -> New Interface
[Gameserver] -> Add Events Interface
Add AutoClickplease share the source
Right Click / F7
Left Click / F8
[Gameserver] -> CustomerName - GameServer Common.dat - Works
[Gameserver] -> News Lua Function = NewNoticeSend()
[Gameserver] -> Fix Dupe Guild Warehouse
[Gameserver] -> Add Event Esc Esc
[Gameserver] -> Add Event Mat Mata
[Gameserver] -> New Interface
[Gameserver] -> Add Events Interface
[Gameserver] -> Add CustomNpcCollector
[Gameserver] -> Add Event OnlineLottery
[Main] -> Fix Agility
[Main] -> AutoClick
[Main] -> Fix Effect Item +13
[Main] -> Custom SelectChar (Enable/Disable)
[Main] -> Custom Local Time
[Main] -> Right Click
[Client Side] Multlang System
Main + Data
excelente aporte.
Una pregunta, como hago que el cliente enlace con el Mu Server. Ando los files pero el cliente no conecta.
[Main] Shield View in SafeZone
[Main] Dual Sword In SafeZone
[Main] Elf Views Weapons in Safeone
[Main] Fix Visual Bug Bows
[Main] Fix Visual Character Color
@zeroalenda genial consulta tiene algun limite ?
pd: estaria bueno un downgrade al login server
[Main] Fix Dual Sword Cruzado
Una preguntaEso es un bug visual en esta versión.
Los set´s ACC, tomando de ejemplo el Hyon's Red Dragon funciona perfecto cuando colocas las partes que la complementan, pero al momento de utilizar 2 Lighting Sword algunas opciones del acc se quitan. Creo que solo es un efecto visual pero no estoy seguro.
Adjunto las imágenes que lo explican mejor:
https://imgur.com/a/JJUQWXX
hi y got dis connected i use global ip address server side to client side
you can add right click
Code: [Select][Gameserver] -> CustomerName - GameServer Common.dat - Works
[Gameserver] -> News Lua Function = NewNoticeSend()
[Gameserver] -> Fix Dupe Guild Warehouse
[Gameserver] -> Add Event Esc Esc
[Gameserver] -> Add Event Mat Mata
[Gameserver] -> New Interface
[Gameserver] -> Add Events Interface
[Gameserver] -> Add CustomNpcCollector
[Gameserver] -> Add Event OnlineLottery
[Main] -> Fix Agility
[Main] -> AutoClick
[Main] -> Fix Effect Item +13
[Main] -> Custom SelectChar (Enable/Disable)
[Main] -> Custom Local Time
[Main] -> Right Click
MuServer
Client
Don't move to crywolf, valley of loren, to dissconect.
Add AutoClickcan you build autoclick out a separate DLL. thank you
Right Click / F7
Left Click / F8
Is there a limit on users in these files?
Add AutoClickcan you build autoclick out a separate DLL. thank you
Right Click / F7
Left Click / F8
hmm, why character train stop at level 154 and up to 300? how to fix?Bạn ơi giúp mình với, mình vào game nhưng ko thấy server hiện ra, bạn cho mình xin zalo để chỉ mình được không, tks bạn.
Please help me, I don't see the server llorando2connect db. u can see server
(https://files.fm/thumb_show.php?i=wa694extn)
Share please someone code for autoclick, fix dualsword, so I can fix it in sources.
#pragma once
//---------------------------------------------------------------------------
#ifndef WEAPONFLOAT_H
#define WEAPONFLOAT_H
//---------------------------------------------------------------------------
#define MAX_ITEM (512)
#define STACK_PTR EBP //ok
#define WEAPON_ID_CONTAINER DWORD PTR SS:[EBP+0x1C] //ok
#define OBJ_OFFS 0x289
// ----
#define Naked(Function) void __declspec(naked) Function()
#define RightHandFixup 0x2F0 // ok
#define LeftHandFixup 0x310 // ok
#define WeaponViewFlagFixup -0x1DC //ok
#define HandFlagFixup -0x1E4 // ok
#define SafeZoneFlagFixup -0x5C // ok
// ----
#define SomeVal1Fixup -0x1F0 // ok
#define SomeVal2Fixup -0x1F4 //ok
#define SomeVal3Fixup 8 //
#define SomeVal4 0x0695CA2C ///1.04j
// ----
#define RotFixup -0x2B8 // ok ??
#define TransFixup -0x2AC // ok
// ----
const int WeaponViewCheck_Hook = 0x00525BC1; ///1.04j 00525BC1 ok
const int WeaponViewCheck_Ret = 0x00525D18; ///1.04j 00525D18 ok
const int SecondWeaponViewCheckReplacedCode_Hook = 0x00525F41; ///1.04j 00525F41 ok
const int SecondWeaponViewCheck_Hook1 = 0x00525DD1+1; ///1.04j 00525DD1 ok
const int SecondWeaponViewCheck_Hook2 = 0x00525DDE+1; ///1.04j 00525DDE ok
const int SecondWeaponViewCheck_Ret = 0x00525F50; ///1.04j 00525F50 ok
const int SecondWeaponViewFix_Hook = 0x0051D071; ///1.04j 0051D071 ok
const int SecondWeaponViewFix_Ret = 0x0051D076; ///1.04j 0051D076 ok
// ----
const int RotateFunc = 0x006F5B43; ///1.04j 006F5B43 ok
const int TransFunc = 0x006F5C91; ///1.04j 006F5C91 ok
//---------------------------------------------------------------------------
void cWeaponFloatLoad();
void WeaponViewCheck();
void SecondWeaponViewCheck();
void SecondWeaponViewCheckReplacedCode();
void SecondWeaponViewFix();
//---------------------------------------------------------------------------
#endif
//---------------------------------------------------------------------------
#include "stdafx.h"
#include "Util.h"
#include "Shield.h"
#include "Offset.h"
DWORD SecondWeaponFixVal = 0;
DWORD IsShield = 0;
DWORD s_eax, s_ecx, s_edx;
void cWeaponFloatLoad()
{
SetJmp((LPVOID)WeaponViewCheck_Hook, (LPVOID)WeaponViewCheck);
SetJmp((LPVOID)SecondWeaponViewFix_Hook, (LPVOID)SecondWeaponViewFix);
SetJmp((LPVOID)SecondWeaponViewCheckReplacedCode_Hook, (LPVOID)SecondWeaponViewCheckReplacedCode);
// ----
//HookThis((DWORD)SecondWeaponViewCheck, SecondWeaponViewCheck_Hook1);
//HookThis((DWORD)SecondWeaponViewCheck, SecondWeaponViewCheck_Hook2);
}
Naked(WeaponViewCheck)
{
_asm
{
MOV BYTE PTR SS : [EBP + WeaponViewFlagFixup] , 0
CMP DWORD PTR SS : [EBP + SafeZoneFlagFixup] , 0
JE WEAPON_CHECK
MOV BYTE PTR SS : [EBP + WeaponViewFlagFixup] , 1
// ----
WEAPON_CHECK :
MOV EAX, DWORD PTR SS : [EBP + 8]
CMP DWORD PTR SS : [EBP + HandFlagFixup] , 0
JNZ LEFT_HAND
// ----
MOVSX ECX, WORD PTR DS : [EAX + RightHandFixup]
CMP ECX, ITEMGET(7, 0) + OBJ_OFFS
JGE NO_DISPLAY
// ----
CMP ECX, ITEMGET(4, 15) + OBJ_OFFS
JE DISPLAY_WEAPON
JMP END_CHECK
// ----
LEFT_HAND :
MOVSX ECX, WORD PTR DS : [EAX + LeftHandFixup]
// ----
CMP ECX, ITEMGET(7, 0) + OBJ_OFFS
JGE NO_DISPLAY
// ----
CMP ECX, ITEMGET(4, 7) + OBJ_OFFS //4,7
JE DISPLAY_WEAPON
JMP END_CHECK
// ----
DISPLAY_WEAPON :
MOV BYTE PTR SS : [EBP + WeaponViewFlagFixup] , 1
JMP END_CHECK
// ----
NO_DISPLAY :
MOV BYTE PTR SS : [EBP + WeaponViewFlagFixup] , 0
// ----
END_CHECK :
jmp WeaponViewCheck_Ret
}
}
Naked(SecondWeaponViewCheck)
{
_asm
{
CMP DWORD PTR SS : [EBP + HandFlagFixup] , 0
JNZ END_CHECK
// ----
MOV DWORD PTR SS : [EBP + HandFlagFixup] , 1
MOV SecondWeaponFixVal, 1 // mudando de 1 para 0 SM, ELF, BK , DL e MG Usam 1 espada e 1 escudo perfeitos apenas nгo ficou com 2 espadas cruzadas
// ----
JMP WeaponViewCheck
// ----
END_CHECK :
MOV SecondWeaponFixVal, 0
jmp SecondWeaponViewCheck_Ret
}
}
Naked(SecondWeaponViewCheckReplacedCode)
{
_asm
{
MOV EDX, DWORD PTR SS : [EBP + SomeVal1Fixup]
MOV EAX, DWORD PTR SS : [EBP + SomeVal2Fixup]
MOV DWORD PTR DS : [EDX + SomeVal3Fixup] , EAX
JMP SecondWeaponViewCheck
}
}
Naked(SecondWeaponViewFix)
{
_asm
{
MOV IsShield, 0 // Mudando aqui de 0 para 1 ficou 1 espada e escudo ok e arcos de elf ok , so nгo ficou 2 espadas cruzadas e outros char bugou
// ----
CMP WEAPON_ID_CONTAINER, ITEMGET(6, 0) + OBJ_OFFS
JL FLIP_CHECK
CMP WEAPON_ID_CONTAINER, ITEMGET(7, 0) + OBJ_OFFS
JGE FLIP_CHECK
// ----
MOV IsShield, 1
// ----
CMP WEAPON_ID_CONTAINER, ITEMGET(6, 16) + OBJ_OFFS
JNZ CHECK_SHIELD_14_15
// ----
MOV DWORD PTR SS : [STACK_PTR + RotFixup] , 0x41F00000
MOV DWORD PTR SS : [STACK_PTR + RotFixup + 4] , 0
MOV DWORD PTR SS : [STACK_PTR + RotFixup + 8] , 0x42B40000
LEA EDX, DWORD PTR SS : [STACK_PTR + TransFixup]
LEA EAX, DWORD PTR SS : [STACK_PTR + RotFixup]
PUSH EDX
PUSH EAX
CALL RotateFunc
ADD ESP, 8
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x0C] , 0xC1A00000
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x1C] , 0
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x2C] , 0xC1A00000
// ----
JMP FLIP_CHECK
// ----
CHECK_SHIELD_14_15 :
CMP WEAPON_ID_CONTAINER, ITEMGET(6, 15) + OBJ_OFFS
JE SHIELD_14_15
CMP WEAPON_ID_CONTAINER, ITEMGET(6, 14) + OBJ_OFFS
JNZ CHECK_SHIELD_6
// ----
SHIELD_14_15 :
MOV DWORD PTR SS : [STACK_PTR + RotFixup] , 0x42480000
MOV DWORD PTR SS : [STACK_PTR + RotFixup + 4] , 0
MOV DWORD PTR SS : [STACK_PTR + RotFixup + 8] , 0x42B40000
LEA EDX, DWORD PTR SS : [STACK_PTR + TransFixup]
LEA EAX, DWORD PTR SS : [STACK_PTR + RotFixup]
PUSH EDX
PUSH EAX
CALL RotateFunc
ADD ESP, 8
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x0C] , 0xC1E00000
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x1C] , 0
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x2C] , 0xC1C80000
// ----
JMP FLIP_CHECK
// ----
CHECK_SHIELD_6 :
// ----
CMP WEAPON_ID_CONTAINER, ITEMGET(6, 6) + OBJ_OFFS
JNZ SET_SHIELD
// ----
MOV DWORD PTR SS : [STACK_PTR + RotFixup] , 0x41F00000
MOV DWORD PTR SS : [STACK_PTR + RotFixup + 4] , 0
MOV DWORD PTR SS : [STACK_PTR + RotFixup + 8] , 0x42B40000
LEA EDX, DWORD PTR SS : [STACK_PTR + TransFixup]
LEA EAX, DWORD PTR SS : [STACK_PTR + RotFixup]
PUSH EDX
PUSH EAX
CALL RotateFunc
ADD ESP, 8
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x0C] , 0xC1700000
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x1C] , 0
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x2C] , 0xC1C80000
// ----
JMP FLIP_CHECK
// ----
SET_SHIELD :
// ----
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x0C] , 0xC1200000
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x1C] , 0
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x2C] , 0
// ----
FLIP_CHECK :
CMP IsShield, 1 // BUG ITENS padrгo 1
JE EXIT
CMP SecondWeaponFixVal, 0
JE EXIT
SUB ESP, 0x3C
MOV DWORD PTR SS : [ESP + 0x30] , 0x43110000
MOV DWORD PTR SS : [ESP + 0x34] , 0
MOV DWORD PTR SS : [ESP + 0x38] , 0x43898000
LEA EAX, DWORD PTR SS : [ESP]
LEA ECX, DWORD PTR SS : [ESP + 0x30]
PUSH EAX
PUSH ECX
CALL RotateFunc
ADD ESP, 8
// ----
MOV DWORD PTR SS : [ESP + 0x0C] , 0
MOV DWORD PTR SS : [ESP + 0x1C] , 0x41200000
MOV DWORD PTR SS : [ESP + 0x2C] , 0xC1F00000
LEA EDX, DWORD PTR SS : [STACK_PTR + TransFixup]
LEA EAX, DWORD PTR SS : [ESP]
LEA ECX, DWORD PTR SS : [STACK_PTR + TransFixup]
PUSH EDX
PUSH EAX
PUSH ECX
CALL TransFunc
ADD ESP, 0x48
// ----
EXIT :
PUSH SomeVal4
JMP SecondWeaponViewFix_Ret
}
}
LRESULT CALLBACK KeyboardProc(int nCode,WPARAM wParam,LPARAM lParam) // OK
{
if(nCode == HC_ACTION)
{
if(((DWORD)lParam & (1 << 30)) != 0 && ((DWORD)lParam & (1 << 31)) != 0 && GetForegroundWindow() == *(HWND*)(MAIN_WINDOW))
{
else if (wParam == VK_F10)
{
if (AutoClick[1] == false) // Right
{
AutoClick[0] = !AutoClick[0];
AutoClick[2] = false;
if (AutoClick[0] == false) // Left
{
KillTimer(Window, AUTOCLICK_LEFT);
SendMessage(Window, WM_LBUTTONUP, NULL, NULL);
}
else
{
SetTimer(Window, AUTOCLICK_LEFT, 100, NULL);
}
}
}
else if (wParam == VK_F11)
{
if (AutoClick[0] == false) // Left
{
AutoClick[1] = !AutoClick[1];
AutoClick[2] = false;
if (AutoClick[1] == false) // Right
{
KillTimer(Window, AUTOCLICK_RIGHT);
SendMessage(Window, WM_RBUTTONUP, NULL, NULL);
}
else
{
SetTimer(Window, AUTOCLICK_RIGHT, 100, NULL);
}
}
}
Oh, I am using 1.02P Tai protocol server and probably client. This code will not work, right? How to fix it for my version?Share please someone code for autoclick, fix dualsword, so I can fix it in sources.
.hCode: [Select]#pragma once
//---------------------------------------------------------------------------
#ifndef WEAPONFLOAT_H
#define WEAPONFLOAT_H
//---------------------------------------------------------------------------
#define MAX_ITEM (512)
#define STACK_PTR EBP //ok
#define WEAPON_ID_CONTAINER DWORD PTR SS:[EBP+0x1C] //ok
#define OBJ_OFFS 0x289
// ----
#define Naked(Function) void __declspec(naked) Function()
#define RightHandFixup 0x2F0 // ok
#define LeftHandFixup 0x310 // ok
#define WeaponViewFlagFixup -0x1DC //ok
#define HandFlagFixup -0x1E4 // ok
#define SafeZoneFlagFixup -0x5C // ok
// ----
#define SomeVal1Fixup -0x1F0 // ok
#define SomeVal2Fixup -0x1F4 //ok
#define SomeVal3Fixup 8 //
#define SomeVal4 0x0695CA2C ///1.04j
// ----
#define RotFixup -0x2B8 // ok ??
#define TransFixup -0x2AC // ok
// ----
const int WeaponViewCheck_Hook = 0x00525BC1; ///1.04j 00525BC1 ok
const int WeaponViewCheck_Ret = 0x00525D18; ///1.04j 00525D18 ok
const int SecondWeaponViewCheckReplacedCode_Hook = 0x00525F41; ///1.04j 00525F41 ok
const int SecondWeaponViewCheck_Hook1 = 0x00525DD1+1; ///1.04j 00525DD1 ok
const int SecondWeaponViewCheck_Hook2 = 0x00525DDE+1; ///1.04j 00525DDE ok
const int SecondWeaponViewCheck_Ret = 0x00525F50; ///1.04j 00525F50 ok
const int SecondWeaponViewFix_Hook = 0x0051D071; ///1.04j 0051D071 ok
const int SecondWeaponViewFix_Ret = 0x0051D076; ///1.04j 0051D076 ok
// ----
const int RotateFunc = 0x006F5B43; ///1.04j 006F5B43 ok
const int TransFunc = 0x006F5C91; ///1.04j 006F5C91 ok
//---------------------------------------------------------------------------
void cWeaponFloatLoad();
void WeaponViewCheck();
void SecondWeaponViewCheck();
void SecondWeaponViewCheckReplacedCode();
void SecondWeaponViewFix();
//---------------------------------------------------------------------------
#endif
//---------------------------------------------------------------------------
.cppCode: [Select]#include "stdafx.h"
#include "Util.h"
#include "Shield.h"
#include "Offset.h"
DWORD SecondWeaponFixVal = 0;
DWORD IsShield = 0;
DWORD s_eax, s_ecx, s_edx;
void cWeaponFloatLoad()
{
SetJmp((LPVOID)WeaponViewCheck_Hook, (LPVOID)WeaponViewCheck);
SetJmp((LPVOID)SecondWeaponViewFix_Hook, (LPVOID)SecondWeaponViewFix);
SetJmp((LPVOID)SecondWeaponViewCheckReplacedCode_Hook, (LPVOID)SecondWeaponViewCheckReplacedCode);
// ----
//HookThis((DWORD)SecondWeaponViewCheck, SecondWeaponViewCheck_Hook1);
//HookThis((DWORD)SecondWeaponViewCheck, SecondWeaponViewCheck_Hook2);
}
Naked(WeaponViewCheck)
{
_asm
{
MOV BYTE PTR SS : [EBP + WeaponViewFlagFixup] , 0
CMP DWORD PTR SS : [EBP + SafeZoneFlagFixup] , 0
JE WEAPON_CHECK
MOV BYTE PTR SS : [EBP + WeaponViewFlagFixup] , 1
// ----
WEAPON_CHECK :
MOV EAX, DWORD PTR SS : [EBP + 8]
CMP DWORD PTR SS : [EBP + HandFlagFixup] , 0
JNZ LEFT_HAND
// ----
MOVSX ECX, WORD PTR DS : [EAX + RightHandFixup]
CMP ECX, ITEMGET(7, 0) + OBJ_OFFS
JGE NO_DISPLAY
// ----
CMP ECX, ITEMGET(4, 15) + OBJ_OFFS
JE DISPLAY_WEAPON
JMP END_CHECK
// ----
LEFT_HAND :
MOVSX ECX, WORD PTR DS : [EAX + LeftHandFixup]
// ----
CMP ECX, ITEMGET(7, 0) + OBJ_OFFS
JGE NO_DISPLAY
// ----
CMP ECX, ITEMGET(4, 7) + OBJ_OFFS //4,7
JE DISPLAY_WEAPON
JMP END_CHECK
// ----
DISPLAY_WEAPON :
MOV BYTE PTR SS : [EBP + WeaponViewFlagFixup] , 1
JMP END_CHECK
// ----
NO_DISPLAY :
MOV BYTE PTR SS : [EBP + WeaponViewFlagFixup] , 0
// ----
END_CHECK :
jmp WeaponViewCheck_Ret
}
}
Naked(SecondWeaponViewCheck)
{
_asm
{
CMP DWORD PTR SS : [EBP + HandFlagFixup] , 0
JNZ END_CHECK
// ----
MOV DWORD PTR SS : [EBP + HandFlagFixup] , 1
MOV SecondWeaponFixVal, 1 // mudando de 1 para 0 SM, ELF, BK , DL e MG Usam 1 espada e 1 escudo perfeitos apenas nгo ficou com 2 espadas cruzadas
// ----
JMP WeaponViewCheck
// ----
END_CHECK :
MOV SecondWeaponFixVal, 0
jmp SecondWeaponViewCheck_Ret
}
}
Naked(SecondWeaponViewCheckReplacedCode)
{
_asm
{
MOV EDX, DWORD PTR SS : [EBP + SomeVal1Fixup]
MOV EAX, DWORD PTR SS : [EBP + SomeVal2Fixup]
MOV DWORD PTR DS : [EDX + SomeVal3Fixup] , EAX
JMP SecondWeaponViewCheck
}
}
Naked(SecondWeaponViewFix)
{
_asm
{
MOV IsShield, 0 // Mudando aqui de 0 para 1 ficou 1 espada e escudo ok e arcos de elf ok , so nгo ficou 2 espadas cruzadas e outros char bugou
// ----
CMP WEAPON_ID_CONTAINER, ITEMGET(6, 0) + OBJ_OFFS
JL FLIP_CHECK
CMP WEAPON_ID_CONTAINER, ITEMGET(7, 0) + OBJ_OFFS
JGE FLIP_CHECK
// ----
MOV IsShield, 1
// ----
CMP WEAPON_ID_CONTAINER, ITEMGET(6, 16) + OBJ_OFFS
JNZ CHECK_SHIELD_14_15
// ----
MOV DWORD PTR SS : [STACK_PTR + RotFixup] , 0x41F00000
MOV DWORD PTR SS : [STACK_PTR + RotFixup + 4] , 0
MOV DWORD PTR SS : [STACK_PTR + RotFixup + 8] , 0x42B40000
LEA EDX, DWORD PTR SS : [STACK_PTR + TransFixup]
LEA EAX, DWORD PTR SS : [STACK_PTR + RotFixup]
PUSH EDX
PUSH EAX
CALL RotateFunc
ADD ESP, 8
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x0C] , 0xC1A00000
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x1C] , 0
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x2C] , 0xC1A00000
// ----
JMP FLIP_CHECK
// ----
CHECK_SHIELD_14_15 :
CMP WEAPON_ID_CONTAINER, ITEMGET(6, 15) + OBJ_OFFS
JE SHIELD_14_15
CMP WEAPON_ID_CONTAINER, ITEMGET(6, 14) + OBJ_OFFS
JNZ CHECK_SHIELD_6
// ----
SHIELD_14_15 :
MOV DWORD PTR SS : [STACK_PTR + RotFixup] , 0x42480000
MOV DWORD PTR SS : [STACK_PTR + RotFixup + 4] , 0
MOV DWORD PTR SS : [STACK_PTR + RotFixup + 8] , 0x42B40000
LEA EDX, DWORD PTR SS : [STACK_PTR + TransFixup]
LEA EAX, DWORD PTR SS : [STACK_PTR + RotFixup]
PUSH EDX
PUSH EAX
CALL RotateFunc
ADD ESP, 8
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x0C] , 0xC1E00000
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x1C] , 0
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x2C] , 0xC1C80000
// ----
JMP FLIP_CHECK
// ----
CHECK_SHIELD_6 :
// ----
CMP WEAPON_ID_CONTAINER, ITEMGET(6, 6) + OBJ_OFFS
JNZ SET_SHIELD
// ----
MOV DWORD PTR SS : [STACK_PTR + RotFixup] , 0x41F00000
MOV DWORD PTR SS : [STACK_PTR + RotFixup + 4] , 0
MOV DWORD PTR SS : [STACK_PTR + RotFixup + 8] , 0x42B40000
LEA EDX, DWORD PTR SS : [STACK_PTR + TransFixup]
LEA EAX, DWORD PTR SS : [STACK_PTR + RotFixup]
PUSH EDX
PUSH EAX
CALL RotateFunc
ADD ESP, 8
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x0C] , 0xC1700000
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x1C] , 0
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x2C] , 0xC1C80000
// ----
JMP FLIP_CHECK
// ----
SET_SHIELD :
// ----
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x0C] , 0xC1200000
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x1C] , 0
MOV DWORD PTR SS : [STACK_PTR + TransFixup + 0x2C] , 0
// ----
FLIP_CHECK :
CMP IsShield, 1 // BUG ITENS padrгo 1
JE EXIT
CMP SecondWeaponFixVal, 0
JE EXIT
SUB ESP, 0x3C
MOV DWORD PTR SS : [ESP + 0x30] , 0x43110000
MOV DWORD PTR SS : [ESP + 0x34] , 0
MOV DWORD PTR SS : [ESP + 0x38] , 0x43898000
LEA EAX, DWORD PTR SS : [ESP]
LEA ECX, DWORD PTR SS : [ESP + 0x30]
PUSH EAX
PUSH ECX
CALL RotateFunc
ADD ESP, 8
// ----
MOV DWORD PTR SS : [ESP + 0x0C] , 0
MOV DWORD PTR SS : [ESP + 0x1C] , 0x41200000
MOV DWORD PTR SS : [ESP + 0x2C] , 0xC1F00000
LEA EDX, DWORD PTR SS : [STACK_PTR + TransFixup]
LEA EAX, DWORD PTR SS : [ESP]
LEA ECX, DWORD PTR SS : [STACK_PTR + TransFixup]
PUSH EDX
PUSH EAX
PUSH ECX
CALL TransFunc
ADD ESP, 0x48
// ----
EXIT :
PUSH SomeVal4
JMP SecondWeaponViewFix_Ret
}
}
AutoclickCode: [Select]LRESULT CALLBACK KeyboardProc(int nCode,WPARAM wParam,LPARAM lParam) // OK
{
if(nCode == HC_ACTION)
{
if(((DWORD)lParam & (1 << 30)) != 0 && ((DWORD)lParam & (1 << 31)) != 0 && GetForegroundWindow() == *(HWND*)(MAIN_WINDOW))
{
else if (wParam == VK_F10)
{
if (AutoClick[1] == false) // Right
{
AutoClick[0] = !AutoClick[0];
AutoClick[2] = false;
if (AutoClick[0] == false) // Left
{
KillTimer(Window, AUTOCLICK_LEFT);
SendMessage(Window, WM_LBUTTONUP, NULL, NULL);
}
else
{
SetTimer(Window, AUTOCLICK_LEFT, 100, NULL);
}
}
}
else if (wParam == VK_F11)
{
if (AutoClick[0] == false) // Left
{
AutoClick[1] = !AutoClick[1];
AutoClick[2] = false;
if (AutoClick[1] == false) // Right
{
KillTimer(Window, AUTOCLICK_RIGHT);
SendMessage(Window, WM_RBUTTONUP, NULL, NULL);
}
else
{
SetTimer(Window, AUTOCLICK_RIGHT, 100, NULL);
}
}
}
Buen día amigo, me gustó mucho tu trabajo, tengo un problema al usar el pájaro del dl (dark raven) se cae el servidor.
Alguna solución?