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 Q&A
PlusEMU Crash after 10-15 minutes
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="Blasteh" data-source="post: 428036" data-attributes="member: 30540"><p>Ah, thank you!</p><p></p><p>Testing out this code:</p><p>[CODE] public override string ToString()</p><p> {</p><p> try</p><p> {</p><p></p><p> var str = "[" + Header + "] BODY: " +</p><p> (PlusEnvironment</p><p> .GetDefaultEncoding()</p><p> .GetString(Body)</p><p> .Replace(Convert.ToChar(0).ToString(), "[0]"));</p><p></p><p> // return if no exception is thrown</p><p> return str;</p><p> }</p><p> catch (Exception e)</p><p> {</p><p> return e.Message;</p><p> }</p><p> }[/CODE]</p><p>[doublepost=1518185619,1518179482][/doublepost]Update: When placing 20+ soccer balls in one spot in a room, and a user steps on them to kick them it caused it to lag and crash, with the code replacement, it fixed it but still causes lag, but not sure if there's anyway to fix that. Maybe limit the number of soccer balls to a room?</p></blockquote><p></p>
[QUOTE="Blasteh, post: 428036, member: 30540"] Ah, thank you! Testing out this code: [CODE] public override string ToString() { try { var str = "[" + Header + "] BODY: " + (PlusEnvironment .GetDefaultEncoding() .GetString(Body) .Replace(Convert.ToChar(0).ToString(), "[0]")); // return if no exception is thrown return str; } catch (Exception e) { return e.Message; } }[/CODE] [doublepost=1518185619,1518179482][/doublepost]Update: When placing 20+ soccer balls in one spot in a room, and a user steps on them to kick them it caused it to lag and crash, with the code replacement, it fixed it but still causes lag, but not sure if there's anyway to fix that. Maybe limit the number of soccer balls to a room? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
PlusEMU Crash after 10-15 minutes
Top