Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Kal Online
You last visited: Today at 08:23

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

Advertisement



Engine crashes

Discussion on Engine crashes within the Kal Online forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2008
Posts: 645
Received Thanks: 235
Engine crashes

Hi,
my engine crashes all the time, when i inject this code.
SearchPattern ist from Bakabug
PHP Code:
void GetPattern()
{
    
DWORD destSize;
    
DWORD Address 0;
    
char Array[255];
    
char SAddress[10];
    
destSize=100;
    
GetPrivateProfileString("Search","Array","NULL",Array,destSize,".\\Load.ini"); 
    if (Array != 
"NULL")
    {
        
WritePrivateProfileString("Search","Found","1",".\\Load.ini");
        
DWORD Start;
        for (
Start 0x007FFFFF;Start <0x2FFFFFF;Start =+0x100000)
        {
            
Address SearchPattern(Array,Start,Start+0x100000);
            if (
Address != 0
            {
                
WritePrivateProfileString("Search","Found","2",".\\Load.ini");
                
itoa(AddressSAddress10);
                
WritePrivateProfileString("Search","Address",SAddress,".\\Load.ini");
                break;
            }
            
Sleep(20);
        }
        if (
Address 0)
            
WritePrivateProfileString("Search","Found","3",".\\Load.ini");
    }
    else 
        
WritePrivateProfileString("Search","Found","3",".\\Load.ini");

First i had only 1 big Search and i thought this would be the reaseon, so i splitted it into more smaller searches, but it still crashes.

After about 2-3 sec engine.exe stops working.
Anyone a Idea how to fix it?

Kind regards,
Timo
Timo264 is offline  
Old 10/14/2010, 16:32   #2
 
elite*gold: 0
Join Date: Feb 2009
Posts: 4
Received Thanks: 1
Okay ich hab nicht viel Ahnung vom Programmieren, eigentlich nur Actionscript und Java, aber eins kommt mir komisch vor in der Zeile mit der for-Schleife:
"for (Start = 0x007FFFFF;Start <0x2FFFFFF;Start =+0x100000)"
müsste es beim 3. Teil nicht "Start += 0x100000" heißen, also den Operator += sein statt =+?
sag mir wenn ich falsch liege, ich dachte nur, den Operator gibts nicht

Edit: tell me if you're not German, I forgot you posted in Englisch. If so, I'll translate later
Moe1992 is offline  
Old 10/14/2010, 16:37   #3
 
elite*gold: 42
Join Date: Jun 2008
Posts: 5,425
Received Thanks: 1,888
Not using Luca's SearchPattern is the only solution I know Too lazy to explain why.
Use Sandro's FingerPrint function instead, doing the same, but shouldn't crash :x
MoepMeep is offline  
Old 10/14/2010, 21:34   #4
 
elite*gold: 0
Join Date: Jan 2008
Posts: 645
Received Thanks: 235
ok, ich hab jetzt Sandros SearchFingerPrint gefunden und steh vor dem problem, das ich nicht weiss wie man es benutzt.
er hat als beispiel:
PHP Code:
        SearchFingerprint(
                
"C745" "F8" "00007A44"    // MOV DWORD PTR SS:[EBP-8],0x447A0000
                
"8B4D" "0C"                // MOV ECX,DWORD PTR SS:[EBP+C]
                
"51"                    // PUSH ECX
                
"8B55" "08"                // MOV EDX,DWORD PTR SS:[EBP+8]
                
"52"                    // PUSH EDX
                
"E8" "GetHeigh"            // CALL GetHeightEx
                
"83C4" "08"                // ADD ESP,8
            
"#"    "D95D" "FC"                // FSTP DWORD PTR SS:[EBP-4]
                
"C705"                    // MOV..
                
,+0x10); 
da meckert mein compiler gleich mehrfach
1. char incompatibel mir Fingerprint
2. int incompatibel mit LPBYTE
3. 'SearchFingerprint': Funktion akzeptiert keine 2 Argumente

wie bring ich das ding mit nem string zum laufen?
Timo264 is offline  
Old 10/14/2010, 22:18   #5
 
Thiesius's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 256
Received Thanks: 474
Crashing with 0xC0000005, right? Some memory regions aren't readable or doesn't exist.

Try to access non-existing chunk of memory. You will crash.
The SearchPattern doesn't have any countermeasure to skip non-existing or non-readable memory.

Think about it
Thiesius is offline  
Old 10/14/2010, 22:45   #6




 
bloodx's Avatar
 
elite*gold: 55
Join Date: Mar 2006
Posts: 4,582
Received Thanks: 1,539
1. wieso machst du bitte dieses Start oO? Luca's function läuft doch schon das ding durch also wozu diese For? oder versteh ich irgendwas falsch xD
2.
PHP Code:
bool bDataCompare(const BYTEpData, const BYTEbMask, const charszMask)
{
    for(;*
szMask;++szMask,++pData,++bMask)
        if(*
szMask=='x' && *pData!=*bMask )
            return 
false;
    return (*
szMask) == NULL;
}

DWORD dwFindPattern(DWORD dwAddress,DWORD dwLenBYTE *bMaskchar szMask) {
    for(
DWORD i=0;i<dwLen;i++)
        if( 
bDataCompare( (BYTE*)( dwAddress+),bMask,szMask) )
            return (
DWORD)(dwAddress+i);
    return 
NULL;
}

dwFindPattern(0x401000,0x2bc000,(BYTE*)"\x55\x8B\xEC\x83\xEC\x18\x83\x3D\x00\x00\x00\x00\x00\x00\x00\x33\xC0","xxxxxxxx???????xx"); 
diese Function benutzte ich nur noch viel kleiner und bewirkt das gleiche ;D

3.Sandro's Fingerprint warum sollte er sowas umständliches dafür benutzen?
bloodx is offline  
Old 10/14/2010, 23:17   #7
 
elite*gold: 0
Join Date: Jan 2008
Posts: 645
Received Thanks: 235
1.Ich habe das Start eingebaut, um dem ganzen ding ein Sleep zu gönnen.
ich dachte erst es liegt daran.
2.engine crasht auch damit
3.weiss ich auch nicht
Ja moep, was soll ich damit?

kann es daran liegen, das ich 58720256 Bytes scanne?
sind ja doch ziemlich viele und er dann meckert?
Timo264 is offline  
Old 10/15/2010, 01:55   #8
 
elite*gold: 42
Join Date: Jun 2008
Posts: 5,425
Received Thanks: 1,888
Soweit ich weiß, schützt sich sandro's fingerprint vor nicht lesbarem speicher. Da der Threadersteller nicht in der Lage ist, dies selber zu tun, hat er wohl keine wahl ;>
Wäre ja auch zuviel verlangt, sich mit VirtualQuery den lesbaren Speicher rauszusuchen :/
MoepMeep is offline  
Reply


Similar Threads Similar Threads
Kiki's UCE/Engine always crashes my computer! I'm on Vista!
12/13/2011 - S4 League - 18 Replies
Hi guys! Well, I just started playing S4 League and I love it... but there's too many laggers or hackers... so when I tried to combat it by doing it too, it wouldn't work... I downloaded Kiki's Engine 1.41 from another section of this forum and when I ran Kiki's UCE as an administrator, it just said to run Systemcallretriever.exe first, and then it gave me a blue screen that said my computer was being shut down to prevent damage to it. Now I restarted my computer and ran Systemcallretriever but...
hack using engine(any engine?) anf by pass for this engine..
10/09/2009 - Grand Chase Philippines - 3 Replies
wla na bang engine na gumagana?



All times are GMT +1. The time now is 08:25.


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.