Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
Server Releases
[PlusEmu] Anti Booster Code
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="Mikee" data-source="post: 418824" data-attributes="member: 76567"><p>The direction doesn't matter. Its storing which <em>tile</em> the avatar is on.</p><p>The way boosting works, is that it "pushes" the avatar on the same tile over and over again.</p><p>I was suprised to but i just printed Habbo.pX while boosting an saw that itd only print the same tile over and over again.</p><p></p><p>So it runs a loop backwards for a small range (200) and checks the elements of half of that range (up to 100).</p><p>so from List.Length --> list.Length/2.</p><p></p><p>Why did i decide to loop backwards?</p><p>Because, when a user walks in the room, it'll store they're pX walking tile squares up to the point when they get on the booster so looping forwards would skew the results.</p><p>E.g. The tiles being stored for pX I enter booster room, [0], i walk to the booster tile [0,1,3,6,7,4], i begin boosting [0,1,3,6,7,4,4,4,4,4,4,4,4,4,4,4,4...]</p><p></p><p>So looping backwards checks the proper figures.</p><p></p><p></p><p></p><p>Secondly, ur first comment on this thread was "Amazing memory leak!"</p><p>I was wondering how a simple for loop can have a memory leak and what u meant by it.</p></blockquote><p></p>
[QUOTE="Mikee, post: 418824, member: 76567"] The direction doesn't matter. Its storing which [I]tile[/I] the avatar is on. The way boosting works, is that it "pushes" the avatar on the same tile over and over again. I was suprised to but i just printed Habbo.pX while boosting an saw that itd only print the same tile over and over again. So it runs a loop backwards for a small range (200) and checks the elements of half of that range (up to 100). so from List.Length --> list.Length/2. Why did i decide to loop backwards? Because, when a user walks in the room, it'll store they're pX walking tile squares up to the point when they get on the booster so looping forwards would skew the results. E.g. The tiles being stored for pX I enter booster room, [0], i walk to the booster tile [0,1,3,6,7,4], i begin boosting [0,1,3,6,7,4,4,4,4,4,4,4,4,4,4,4,4...] So looping backwards checks the proper figures. Secondly, ur first comment on this thread was "Amazing memory leak!" I was wondering how a simple for loop can have a memory leak and what u meant by it. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
Server Releases
[PlusEmu] Anti Booster Code
Top