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="Mikee" data-source="post: 428025" data-attributes="member: 76567"><p>[CODE]at Plus.Communication.Packets.Incoming.ClientPacket.ToString()[/CODE]</p><p></p><p>So here's the problem.</p><p>Some packet is being passed from the client to the emulator. This packet then is getting converted here .ToString() as you can see.</p><p>But for some reason, when the packet gets converted ToString, the packet is so large that the string object in c# can't allocate enough space for it; hence the memory exception.</p><p></p><p>My recommendation:</p><p>Change to a 64bit OS if you're not already on one.</p><p>Or find the packet that's getting converted this way, and make sure it gets handled properly so this error doesn't occur.</p><p></p><p>I specifically recommend wrapping this line</p><p>[CODE]Plus.Communication.Packets.Incoming.ClientPacket.ToString()[/CODE]</p><p>in a try{}catch block and trying to parse the clientpacket to a string, and catching for the memory exception that you get, that way the packets that are too large won't crash the emulator but they will be ignored and not pass through.</p><p></p><p>Goodluck,</p></blockquote><p></p>
[QUOTE="Mikee, post: 428025, member: 76567"] [CODE]at Plus.Communication.Packets.Incoming.ClientPacket.ToString()[/CODE] So here's the problem. Some packet is being passed from the client to the emulator. This packet then is getting converted here .ToString() as you can see. But for some reason, when the packet gets converted ToString, the packet is so large that the string object in c# can't allocate enough space for it; hence the memory exception. My recommendation: Change to a 64bit OS if you're not already on one. Or find the packet that's getting converted this way, and make sure it gets handled properly so this error doesn't occur. I specifically recommend wrapping this line [CODE]Plus.Communication.Packets.Incoming.ClientPacket.ToString()[/CODE] in a try{}catch block and trying to parse the clientpacket to a string, and catching for the memory exception that you get, that way the packets that are too large won't crash the emulator but they will be ignored and not pass through. Goodluck, [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
PlusEMU Crash after 10-15 minutes
Top