Register for your free account! | Forgot your password?

You last visited: Today at 05:09

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Wierd exception

Discussion on Wierd exception within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
Wierd exception

#Removed the content, since it was a pretty long page.
If you really want to know it find an archive online or just ask.
Syst3m_W1z4rd is offline  
Old 03/24/2011, 13:06   #2
 
nTL3fTy's Avatar
 
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
If you just debug the program and take a look at your values when the exception occurs, you can learn why it's crashing.

You get the exception because split[5] is an empty string, which cannot be parsed. split[5] is an empty string because of the way you create the string in the first place (bytestring += b + "~"). The resultant string is 1~2~3~4~5~.

You could fix this by either changing the way you create the string, or change the way the string is split.

The latter being:
Code:
string[] split = bytesplit.Split(new[] { '~' }, StringSplitOptions.RemoveEmptyEntries);
nTL3fTy is offline  
Thanks
1 User
Old 03/24/2011, 13:12   #3
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
I get it, thank you
Syst3m_W1z4rd is offline  
Reply


Similar Threads Similar Threads
[C#] CallbackOnCollectedDelegate-Exception
04/26/2010 - .NET Languages - 4 Replies
Hallo epvp*^^ Ich versuch mich gerade in C# an globalen Maus- und Tastaturhooks. Der Tastatur-Hook funktioniert wie er soll, aber beim Maus-Hook habe ich ein Problem. Wenn man die Maus rumbewegt, nach dem man Hook aktiviert hat, gibt es plötzlich eine "CallbackOnCollectedDelegate-Exception". Ich definiere ein Delegate, das ich dann der WinAPI-Funktion SetWindowsHookEx übergebe. Das Delegate wird auf Klassenebene deklariert, und im Konstruktor initialisiert. Trotzdem wird diese vom Garbage...
K2 Exception
01/15/2010 - Heroes of Newerth - 0 Replies
How can i solve that error? Help me pls
OllyDbg exception help
12/30/2009 - Mabinogi - 1 Replies
When I open a file (any file) with OllyDbg I get this error : Privileged instruction - use Shift+F7/F8/F9 to pass exception to program This is the first time I get the error, I'm using a Windows XP for the editting and it's working fine until today. The error is not fixed when I use Shift+F7/F8/F9. Help?
Global Exception(2)!!!
03/12/2009 - Silkroad Online - 0 Replies
I get this error when I'm at the stealthex login window, and as soon as i hit start this error comes up "Global Exception(2)!!! Send the 'stealthex_error.log' file to stealthex.org and just behing that error theres one saying Global Exception(1)!!! i can't find a solution anywhere and theirs other people with this problem to, so your not only helping me but your helping others. thanks
can anyone help with this unhandled exception?
03/21/2006 - Silkroad Online - 4 Replies
sro_client.exe(2160) - Unhandled Exception ACCESS_VIOLATION (0xc0000005) at address 0x10034a24 in module C:\Documents and Settings\user\Desktop\s robot\Silk.dll(2006-03-19:10-10-54). Registers: EAX 00000028 EBX 0000000A ECX 10929118 EDX 0012FC56 ESI 0012FC50 EDI 10929118 CS:EIP 0000001B:10034A24 SS:ESP 00000023:0012FBF8 EBP 00000023 C:\Documents and Settings\user\Desktop\s robot\Silk.dll at address: 10034a24 the sro_client.exe is 1,815,552 bytes



All times are GMT +1. The time now is 05:12.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.