Home
Resources
Latest reviews
Search resources
Forums
New posts
Search forums
Members
Current visitors
New profile posts
Search profile posts
What's new
New posts
New resources
New profile posts
Latest activity
Rules
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
Community
Spammm
[Fixed] Problem - memory
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Parazitas" data-source="post: 93856" data-attributes="member: 39197"><p>[MEDIA=imgur]a/hEEGDoS[/MEDIA]</p><p></p><p><strong>Working example with cleo...</strong></p><p>[php]</p><p>{$CLEO .cs}</p><p></p><p>0000:</p><p></p><p>wait 8500 // not necessary</p><p></p><p>while true</p><p>wait 0</p><p>for 0@ = 0 to 7</p><p> if 0AB1: @getgxt 1 _gxt_index 0@ _return_string 1@</p><p> then</p><p> 0AB1: @Chatmsg 2 text 1@ color 0xFF00FF00</p><p> end</p><p>end</p><p></p><p>end</p><p></p><p>:getgxt</p><p>// 0AB1: @getgxt 1 _gxt_index 0@ _return_string 1@ // index starts at 0(0 to n)</p><p>0@ *= 0x80 // size per index</p><p>0@ += 0xBAACC0 // base pointer</p><p>0A8D: 31@ = read_memory 0@ size 1 virtual_protect 0</p><p>if 31@ > 0 // if exist then</p><p>then </p><p> 0A8C: write_memory 0@ size 0 value 0 virtual_protect 0 // anti crash - clear unknown shit i guess</p><p> 0485: return_true</p><p> 0AC8: 30@ = allocate_memory_size 260</p><p> 0AD3: 30@ = format "%s" 0@</p><p> 0AB2: ret 1 30@</p><p>else</p><p> 059A: return_false</p><p>end</p><p>0AB2: ret 0</p><p></p><p>:Chatmsg</p><p>{</p><p> 0AB1: @Chatmsg 2 text 0@ color 0xFF00FF00</p><p> 0.3.7 - R4</p><p>}</p><p>IF 0AA2: 2@ = "samp.dll"</p><p>THEN</p><p> 0085: 3@ = 2@</p><p> 3@ += 0x26E9F8</p><p> 0A8D: 3@ = readMem 3@ sz 4 vp 1</p><p> 0085: 4@ = 2@</p><p> 4@ += 0x67BA0</p><p> 0AA6: call 4@ struct 3@ num_params 5 pop 0 params 0 1@ 0 0@ 8</p><p>END</p><p>0AB2: 0</p><p>[/php]</p><p></p><p></p><p></p><p><strong>With c++ it was much easier...</strong></p><p>[code=cpp]</p><p>std::string getGameText()</p><p>{</p><p> if(!checkHandles())</p><p> return "";</p><p></p><p> DWORD dwAddress = 0;</p><p> std::string gameText;</p><p> for(int i = 0; i < 7; i++)</p><p> {</p><p> DWORD dwAddress += 0xBAACC0 + (i * 0x80);</p><p> gameText += readString(hGTA, dwAddress, 128);</p><p> }</p><p>}</p><p>[/code]</p><p></p><p></p><p>Good job [USER=17492]@monday[/USER] and [USER=63930]@ajom[/USER] .</p></blockquote><p></p>
[QUOTE="Parazitas, post: 93856, member: 39197"] [MEDIA=imgur]a/hEEGDoS[/MEDIA] [B]Working example with cleo...[/B] [php] {$CLEO .cs} 0000: wait 8500 // not necessary while true wait 0 for 0@ = 0 to 7 if 0AB1: @getgxt 1 _gxt_index 0@ _return_string 1@ then 0AB1: @Chatmsg 2 text 1@ color 0xFF00FF00 end end end :getgxt // 0AB1: @getgxt 1 _gxt_index 0@ _return_string 1@ // index starts at 0(0 to n) 0@ *= 0x80 // size per index 0@ += 0xBAACC0 // base pointer 0A8D: 31@ = read_memory 0@ size 1 virtual_protect 0 if 31@ > 0 // if exist then then 0A8C: write_memory 0@ size 0 value 0 virtual_protect 0 // anti crash - clear unknown shit i guess 0485: return_true 0AC8: 30@ = allocate_memory_size 260 0AD3: 30@ = format "%s" 0@ 0AB2: ret 1 30@ else 059A: return_false end 0AB2: ret 0 :Chatmsg { 0AB1: @Chatmsg 2 text 0@ color 0xFF00FF00 0.3.7 - R4 } IF 0AA2: 2@ = "samp.dll" THEN 0085: 3@ = 2@ 3@ += 0x26E9F8 0A8D: 3@ = readMem 3@ sz 4 vp 1 0085: 4@ = 2@ 4@ += 0x67BA0 0AA6: call 4@ struct 3@ num_params 5 pop 0 params 0 1@ 0 0@ 8 END 0AB2: 0 [/php] [B]With c++ it was much easier...[/B] [code=cpp] std::string getGameText() { if(!checkHandles()) return ""; DWORD dwAddress = 0; std::string gameText; for(int i = 0; i < 7; i++) { DWORD dwAddress += 0xBAACC0 + (i * 0x80); gameText += readString(hGTA, dwAddress, 128); } } [/code] Good job [USER=17492]@monday[/USER] and [USER=63930]@ajom[/USER] . [/QUOTE]
Name
Verification
What is a common type of content that users share on ugbase.eu?
Post reply
Home
Forums
Community
Spammm
[Fixed] Problem - memory
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top