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: 93800" data-attributes="member: 39197"><p>Works only when i checking if text exist then code return exist...</p><p>But when i tried read existing text it always makes crash...</p><p></p><p>[php]</p><p>{$CLEO .cs}</p><p></p><p>0000:</p><p></p><p>wait 10000 // not necessary</p><p></p><p>while true</p><p> wait 0</p><p> </p><p>if 0AB1: @getgxt 1 _gxt_index 5 _return_string 1@</p><p>then</p><p> 0ACD: show_text_highpriority "string found" time 50</p><p> //0AD1: show_formatted_text_highpriority "%s" time 50 1@</p><p>else</p><p> 0ACD: show_text_highpriority "no string found" time 50</p><p>end</p><p></p><p>end</p><p></p><p>:getgxt // 04B1: @getgxt 1 _gxt_index 0@ _return_string 31@ // 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 // turn virtual protect to 1 if crashing</p><p>if 31@ > 0 // if exist then</p><p>then</p><p> //0A8D: 30@ = read_memory 0@ size 4 virtual_protect 0 // read to get string , but somehow makes crash</p><p> 0485: return_true</p><p>else</p><p> 059A: return_false</p><p>end</p><p>0AB2: ret 1 30@</p><p>[/php]</p></blockquote><p></p>
[QUOTE="Parazitas, post: 93800, member: 39197"] Works only when i checking if text exist then code return exist... But when i tried read existing text it always makes crash... [php] {$CLEO .cs} 0000: wait 10000 // not necessary while true wait 0 if 0AB1: @getgxt 1 _gxt_index 5 _return_string 1@ then 0ACD: show_text_highpriority "string found" time 50 //0AD1: show_formatted_text_highpriority "%s" time 50 1@ else 0ACD: show_text_highpriority "no string found" time 50 end end :getgxt // 04B1: @getgxt 1 _gxt_index 0@ _return_string 31@ // 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 // turn virtual protect to 1 if crashing if 31@ > 0 // if exist then then //0A8D: 30@ = read_memory 0@ size 4 virtual_protect 0 // read to get string , but somehow makes crash 0485: return_true else 059A: return_false end 0AB2: ret 1 30@ [/php] [/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