AsyncSocket Error Consele 5375

07/02/2011 05:00 YeuryXD#1
[Only registered and activated users can see links. Click Here To Register...]

PHP Code:
HELP MY PLZ :$ 
07/02/2011 05:55 Spirited#2
I like how you blurred out the source of the problem.
It says it very clearly (before you blurred it out). There's something wrong with your monster drop system and the database, where something is going out of the range of an array.
07/02/2011 22:38 thesamuraivega#3
Quote:
Originally Posted by Fаng View Post
I like how you blurred out the source of the problem.
It says it very clearly (before you blurred it out). There's something wrong with your monster drop system and the database, where something is going out of the range of an array.
hey bro i have the same problem...

i have the monster drop fixed

and my server crash for sokets xD
07/02/2011 23:11 Spirited#4
If I remember correctly... the mesh of the guards in Twin City are wrong (from Impulse's old private source at least). Is this error happening when you attack or when you're around a guard that should be attacking?
07/03/2011 09:11 thesamuraivega#5
Quote:
Originally Posted by Fаng View Post
If I remember correctly... the mesh of the guards in Twin City are wrong (from Impulse's old private source at least). Is this error happening when you attack or when you're around a guard that should be attacking?
Hey bro you can help in this problem? :S

and my server support 70 members and crash :S why? :confused:
07/03/2011 10:34 pro4never#6
... he already answered the question. The issue is NOT with the sockets.

That's where the error starts because the stack trace BEGINS WHEN YOU RECEIVE A PACKET.

The TOP is where the actual error is.

'Index was outside the bounds of the array'. This means you're trying to pull from a collection a value which DOES NOT EXIST.

Example would be.... pulling a monster type which is not loaded by the server or any other number of things.

Follow the error through and you should find somewhere it's pulling from a collection and place above that an...

if(Collection.Contains(value))
pull value

Should fix the issue.

Note: Depending on what the code is, it may need a else return (or using boolian logic you could just do... if(!Collection.Contains(Value)) return;)
07/03/2011 11:50 Spirited#7
Quote:
Originally Posted by thesamuraivega View Post
Hey bro you can help in this problem? :S

and my server support 70 members and crash :S why? :confused:
I'm not going to help you fix it because you're not going to learn that way. Also, I've never worked on this source - I code my own - so telling me that you're getting that error means really nothing to me except that there's a thrown exception where something was left null. If I was more help, then I might find time to help you, but I don't have even the source downloaded.
07/03/2011 17:58 teroareboss1#8
this is impulse source...
the problem is in MonsterTabel.cs!
problem is from drop item , the item is null
07/04/2011 01:13 rko42#9
I have the same problem tell me I have to change to work I can explain better? please