[Problem] Problem with my server!

07/27/2010 19:19 ali-xx#1
Hi there,

When I start up My client it won't load after Dmaps loaded in ...msecs

and then when I debug it with C# it says

Picture: [Only registered and activated users can see links. Click Here To Register...]

How Can I solve this?

thnx guys!
07/27/2010 19:27 -Fáng-#2
I cant' see the picture and are you using correct version of the dmap handler that corresponds to your Operating System's build type?
07/27/2010 19:41 ali-xx#3
ooh srry wait I will upload it again !

I've updated the picture link
now you can view it

Picture: [Only registered and activated users can see links. Click Here To Register...]
07/27/2010 19:49 .Beatz#4
#Reported - Double Posting

Also if you read the problem it only takes common sense. Exeption "out of bounds" of the array. Surely you can figure this out. If not read some guides on C# and then once you have learned something about coding try again.
07/27/2010 19:53 ali-xx#5
Like I don't know C# that's why well maybe I am posting this topic???

and if it only takes a common sense well than fix my problem see if you are right?

else just go to someone else to annoy with your ooh so smart sentences...
07/27/2010 20:08 Korvacs#6
Basically the error states that your trying to access a value which is beyond the arrays boundrys (ie. outside the array). So it looks like your server isnt loading the dmaps correctly, have you told it to look for the dmaps in the right place? Does this happen on all maps or just certain maps?
07/27/2010 20:30 .Beatz#7
Quote:
Originally Posted by ali-xx View Post
Like I don't know C# that's why well maybe I am posting this topic???

and if it only takes a common sense well than fix my problem see if you are right?

else just go to someone else to annoy with your ooh so smart sentences...
I am not trying to be smart. I am merely stating that if you dont know anything about coding then you shouldnt be making a server. I have said the same thing to alot of people.
You should learn some stuff about C# before trying to make a server.

@Korvacs. Thanks for explaining this to him.
07/27/2010 20:34 ali-xx#8
look srry that I behaved that way I was just a little bit annoyed..

but could you guys please help me fix this I know I should learn some C# and I am working on it but I don't have much time and I just want a running server when I am learning C#

so only thing I ask if someone could help me cause now I just don't understand C# only a couple of things like 1% of C# maybe less
07/27/2010 20:39 Korvacs#9
No one can help you if you dont answer the questions we've asked.
07/27/2010 20:42 ali-xx#10
that's right

well when I debug my server it will load all the Dmaps but after that the server freezes
and well then I see what you guys see on the picture. and I haven't changed anything.
so..
07/27/2010 20:54 -Fáng-#11
make a try and catch statement with each of the things (other than the maps) that it loads and if it fails to do it, make the project stop and tell you that it failed to load that in red. Good luck!

Example:

try
{
// Your code here... it might be something like
// database.stats.load(); or something like that.
}
catch
{
// make it print a line saying it failed in red text
return;
}


That way if it doesn't work... it doesn't crash the server... =]
07/27/2010 22:42 ali-xx#12
well actually it doens't crashes it freezes
07/27/2010 22:48 -Fáng-#13
Quote:
Originally Posted by ali-xx View Post
well actually it doens't crashes it freezes
Same difference. If it freezes, that means that something crashed in the server. That's why it's important to use try and catch statements, so if something goes wrong, the players have time to exit the server and have all their stuff saved and you have a clear message on what went wrong! =]

EDIT: Plus it doesn't show up as a performance crash if you ever check your laptop's performance event chart.
07/28/2010 00:33 Korvacs#14
Quote:
Originally Posted by ali-xx View Post
well actually it doens't crashes it freezes
Is this durring login or straight away?
07/28/2010 04:08 -Fáng-#15
Wait, if it's during the log in then there's something wrong with the database (how you connect to it - possibly).