Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 16:22

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

Advertisement



Memory Bot Syntax error

Discussion on Memory Bot Syntax error within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2007
Posts: 442
Received Thanks: 21
Red face Memory Bot Syntax error

Code:
int CMobList::size()
{
    __asm
	(
		"pushl %%eax\n\t"
		"leal 0x10(%%eax), %%ecx\n\t"
		"movl $0x004E9D50, %%eax\n\t"
		"call *%%eax\n\t"
		"leave\n\t"
		"ret"
	       : : "a"(this) :
    );
    return 0;
}
I get a Syntax error C2059 when compiling this code,,, it suggest to change the ": :" but i dont see anything wrong there ,,, sorry for my noobness
ha.ho.a is offline  
Old 01/17/2017, 22:40   #2
 
elite*gold: 0
Join Date: Feb 2009
Posts: 259
Received Thanks: 159
try..
"ret"
: : "a"(this) : "%ecx"
teroareboss1 is offline  
Reply


Similar Threads Similar Threads
parse error syntax error unexpected
01/12/2016 - Technical Support - 3 Replies
Ahoi liebe Community, ich bin grad dabei WBB (Forensoftware), auf XAMPP zu installieren. Wenn ich jetzt unter localhost/www/forum/install.php gehe bekomme ich folgenden Fehlercode: Parse error: syntax error, unexpected 'a8c50dbb1996c8fa49c3a5ef4fc3c2' (T_STRING), expecting ')' in C:\xampp\tmp\d16ad071_1001_stepSelectSetupLanguage .php on line 34 Ich habe bereits die Datei mit N++ geöffnet und in Zeile 34 geschaut. Dort steht folgender text:
Syntax error?
05/05/2014 - Flyff Private Server - 12 Replies
Warum kommt der error xD http://i.epvpimg.com/0Z25d.png
Syntax error wtf?
12/15/2013 - Flyff Private Server - 5 Replies
Leute ich habe beim Model Change die dinge auskommentiert die man nicht changen darf aber es kommt immer wieder dieser error... http://i.epvpimg.com/BbvWc.png
Parse error: syntax error, unexpected T_VARIABLE
08/05/2012 - Web Development - 3 Replies
Hallo, bekomme diese Meldung: An sich findet man meistens den Fehler, ich bin jetzt aber schon mehrmals die vorherigen 31 Zeilen durchgegangen und hab keinen einzigen Fehler feststellen können. Das sind die ersten 33 Zeilen: <html> <head></head> <body>
[Hilfe]Parse error: syntax error
10/27/2009 - Metin2 Private Server - 6 Replies
Also hab IS -Script per xampp on und beim einloggen kommt der fehler hier Parse error: syntax error, unexpected $end in C:\xampp\htdocs\default1.php on line 875 Help pls Thx Freaky



All times are GMT +2. The time now is 16:22.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.