Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Cabal Online > Cabal Guides & Templates
You last visited: Today at 21:05

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release][C++ Code] GM/AOE/Range

Discussion on [Release][C++ Code] GM/AOE/Range within the Cabal Guides & Templates forum part of the Cabal Online category.

Reply
 
Old 07/23/2012, 15:29   #91
 
elite*gold: 0
Join Date: May 2010
Posts: 16
Received Thanks: 4
Quote:
Originally Posted by deluxor View Post
Is not so easy dude!

You need to know how to use multi level pointers on C/C++

You cannot change a value directly of a virtual address.

Well, actually you can, but is not a good way.
yes you are right thank you.
I know to manipulate all lvl pointers in c/c++ its not that hard I just need to know if its a lvl 1 or 2 or 3 etc
@genisisVI
take this example it will help you in multi lvl pointers
PHP Code:
#define    ADDR_BASE    0x0B8BBF0
#define    OFFSET_BAR_COMBO 0x73a1
#define    OFFSET_VALUE_COMBO 0x7384
if (GetKeyState(VK_F9) < 0
        {
            
int i 0;
            while(
== 0){
            
                
DWORD BAR_COMBO = *(DWORD*)ADDR_BASE;
                *(
DWORD*)(BAR_COMBO+OFFSET_BAR_COMBO) = 0;

                
DWORD VALUE_COMBO = *(DWORD*)ADDR_BASE;
                *(
DWORD*)(VALUE_COMBO+OFFSET_VALUE_COMBO) = 0;
            
                if (
GetKeyState(VK_F10) < 0)
                    
1;
                
Sleep(1);
            }
        } 
its a working code for infinit combo enabling and desibleing F9/F10 and it will help you for your question how to freeze a value
alucardhxh is offline  
Thanks
2 Users
Old 07/23/2012, 15:39   #92
 
genesisVI's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 796
Received Thanks: 434
sir how about float value .... i tried the f suffix but i got a warning ...
can u help me sir ... TYVM
genesisVI is offline  
Old 07/23/2012, 16:10   #93
 
elite*gold: 0
Join Date: May 2010
Posts: 16
Received Thanks: 4
Quote:
Originally Posted by genesisVI View Post
sir how about float value .... i tried the f suffix but i got a warning ...
can u help me sir ... TYVM
if you have an address in hex for example [0x0B8BBF0] and you know that is the address of a location in memory that points to a float or int or what ever you want you just affect the value to it.

but using the addresses like this *(DWORD*)ADDR_BASE etc Im trying to fegure it out
alucardhxh is offline  
Old 07/23/2012, 16:14   #94
 
elite*gold: 0
Join Date: May 2008
Posts: 73
Received Thanks: 288
Quote:
Originally Posted by genesisVI View Post
sir how about float value .... i tried the f suffix but i got a warning ...
can u help me sir ... TYVM
PHP Code:
void writeFloat(DWORD Address,float Value){
*(
float*)Address Value// 4 Byte
}

void writeInt(DWORD Address,int Value){
*(
int*)Address Value// 4 Byte
}

void writeShort(DWORD Address,short Value){
*(
short*)Address Value// 2 Byte
}

void writeDouble(DWORD Address,double Value){
*(
double*)Address Value// 8 byte
}

CHARreadText(DWORD Address){
CHARText = (CHAR*)Address;
return 
Text;
}

void writeText(DWORD Address,char *szText){
CHARText = (CHAR*)Address;
*
Text = (CHAR)szText;

deluxor is offline  
Thanks
2 Users
Old 07/23/2012, 16:19   #95
 
elite*gold: 0
Join Date: May 2010
Posts: 16
Received Thanks: 4
Quote:
Originally Posted by genesisVI View Post
sir how about float value .... i tried the f suffix but i got a warning ...
can u help me sir ... TYVM
if you have an address in hex for example [0x0B8BBF0] and you know that is the address of a location in memory that points to a float or int or what ever you want you just affect the value to it.

but using the addresses like this *(DWORD*)ADDR_BASE etc Im trying to fegure it out
I will PM you if succeeded
alucardhxh is offline  
Old 07/23/2012, 16:23   #96
 
genesisVI's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 796
Received Thanks: 434
its like
PHP Code:
*(float*)(*(float*)ADDR_BASE ADDR_OFF1 11.1f 
genesisVI is offline  
Old 07/23/2012, 16:48   #97
 
elite*gold: 0
Join Date: May 2010
Posts: 16
Received Thanks: 4
I get it genesisVI :
this is it
PHP Code:
DWORD RUN_SPEED = *(DWORD*)ADDR_BASE;
                *(
float*)(RUN_SPEED+OFFSET_RUN_SPEED) = (float)600.0
I explain this peace of code :

you have the RUN_SPEED variable it will the value pointed by the ADDR_BASE variable this is accomplished with the first line. and the type of RUN_SPEED is a double this means that it contain a memory address totally correct.

now for the second line :
RUN_SPEED+OFFSET_RUN_SPEED this will add a hex value(the offset) to the variable value(RUN_SPEED) its like adding 50 to 12 in this case 50 is the RUN_SPEED value and 12 is the offset accept here we deal with hex.
all that to get 62(in the example) the real address of the run_speed so you can affect a value to is. in this to tell the compiler that this 62 is a pointer we add this * and to convert or cast all that to a float pointing value we add this float*.
that's all
alucardhxh is offline  
Thanks
2 Users
Old 07/24/2012, 14:44   #98
 
genesisVI's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 796
Received Thanks: 434
ok we`ll go more deeper i found a way on how to edit game data in memory ...
my question is it possible to edit map data to disable wall`s ?
genesisVI is offline  
Old 07/24/2012, 15:39   #99
 
elite*gold: 0
Join Date: Jan 2011
Posts: 53
Received Thanks: 1
sir is dis works on w7 32bit? im using it now but nothing happen
zhel3x is offline  
Old 07/24/2012, 15:44   #100
 
genesisVI's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 796
Received Thanks: 434
@zhel3x
as long as u have a brain yes it works on every os
genesisVI is offline  
Thanks
1 User
Old 07/24/2012, 17:50   #101
 
elite*gold: 0
Join Date: Dec 2009
Posts: 64
Received Thanks: 8
so what File name or type i save that code? .bat?? or .DLL?
krime03 is offline  
Old 07/24/2012, 18:09   #102
 
bartbilf's Avatar
 
elite*gold: 10
Join Date: May 2008
Posts: 1,803
Received Thanks: 1,947
@krime03
you need to compile it in a compiler, which will build a .dll for you, if you did it right
bartbilf is offline  
Old 07/24/2012, 20:06   #103
 
elite*gold: 0
Join Date: May 2008
Posts: 73
Received Thanks: 288
Thanks to all "memory editing tools" released, next Cabal update will come with ASLR.

****.
deluxor is offline  
Old 07/24/2012, 20:43   #104
 
jazzdwayouwar's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 69
Received Thanks: 25
Sir Bartbilf How can i compile the post of sir PsBot with this codes?

Example this is the post of sir PsBots
Quote:
#include "stdafx.h"

#define ADDR_GM 0x1075C48
#define ADDR_AOE 0x10C62FC
#define ADDR_RANGE 0x10C62F8

void Start();

BOOL APIENTRY DllMain(HMODULE hModule, DWORD ulReason, LPVOID lpReserved)
{
if (ulReason == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Start, 0, 0, 0);
}

return TRUE;
}

void Start()
{
while (1)
{
if (GetKeyState(VK_F11) < 0) // Turn On
{
*(DWORD*)ADDR_GM = 2;
*(DWORD*)ADDR_AOE = 100;
*(DWORD*)ADDR_RANGE = 7;
}

if (GetKeyState(VK_F12) < 0) // Turn Off
{
*(DWORD*)ADDR_GM = 0;
*(DWORD*)ADDR_AOE = 0;
*(DWORD*)ADDR_RANGE = 0;
}

Sleep(1);
}
}
and this is the one that i want to insert...


Quote:
void writeFloat(DWORD Address,float Value){
*(float*)Address = Value; // 4 Byte
}

void writeInt(DWORD Address,int Value){
*(int*)Address = Value; // 4 Byte
}

void writeShort(DWORD Address,short Value){
*(short*)Address = Value; // 2 Byte
}

void writeDouble(DWORD Address,double Value){
*(double*)Address = Value; // 8 byte
}

CHAR* readText(DWORD Address){
CHAR* Text = (CHAR*)Address;
return Text;
}

void writeText(DWORD Address,char *szText){
CHAR* Text = (CHAR*)Address;
*Text = (CHAR)szText;
}
Quote:
#define ADDR_BASE 0x0B8BBF0
#define OFFSET_BAR_COMBO 0x73a1
#define OFFSET_VALUE_COMBO 0x7384
if (GetKeyState(VK_F9) < 0)
{
int i = 0;
while(i == 0){

DWORD BAR_COMBO = *(DWORD*)ADDR_BASE;
*(DWORD*)(BAR_COMBO+OFFSET_BAR_COMBO) = 0;

DWORD VALUE_COMBO = *(DWORD*)ADDR_BASE;
*(DWORD*)(VALUE_COMBO+OFFSET_VALUE_COMBO) = 0;

if (GetKeyState(VK_F10) < 0)
i = 1;
Sleep(1);
}
}

I tried already the code of Sir PsBot and its worl with me, i made my own injector.
but i dont have that great idea of c++ much.

can you please give me a hint for this? im not asking a tutorial actualy, i just want suggestion and idea how it done..thanks in advance..
jazzdwayouwar is offline  
Old 07/24/2012, 20:46   #105
 
bartbilf's Avatar
 
elite*gold: 10
Join Date: May 2008
Posts: 1,803
Received Thanks: 1,947
@jazzdwayouwar
the last part that you want to 'include', are just examples of the different types that can be used, my hint is to search for a tutorial on google which will explain you at least the basics of c++ ;p
bartbilf is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Rsro range code.
06/14/2011 - SRO Coding Corner - 0 Replies
I am using Flex Hex program but i cant find how change mob selection range need help. Please Tel my how i can find code.
Range modify ESRO code chaning?
06/14/2011 - SRO Coding Corner - 3 Replies
having toruble with creating a dll... the guy posted the source which is below for his dll that goes with his loader: esroLoaderdll.cpp: #include "windows.h" void WriteMemory(DWORD address, LPVOID patch, DWORD size) { DWORD oldProtect; VirtualProtect((LPVOID)address, 4, PAGE_EXECUTE_READWRITE, &oldProtect); memcpy((LPVOID)address, patch, size);
Range modify EXRO code chaning?
06/13/2011 - SRO Coding Corner - 0 Replies
# delete request no idea why it posted twice
[Release] MS Range CheatEngine
03/13/2010 - S4 League Hacks, Bots, Cheats & Exploits - 19 Replies
entfernt da nur gemault wird
[RELEASE] ATK Range Hack v1.0b
02/19/2008 - Metin2 - 16 Replies
ATK Range Hack v1.0b Working after update ! To use this hack: 1. Start the (ATK Range Hack.exe). 2. Start Metin2. 3. Login into youre acc.



All times are GMT +1. The time now is 21:05.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.