my source close when any 1 at server kill boss monisters (sometimes)

10/08/2011 13:33 hatem555#1
when any acc kill boss monisters like ( lava-dragon-banish)
the source may close and may not

but the source ddnt close till i see some 1 kill A boss monister

then i have to open it again

some 1 help me with broblem
10/09/2011 10:33 pro4never#2
Just look through where the monster death handling is occurring.

I can basically guarantee it has something to do with you generating invalid drops for bosses.

Just read through how you handle monster death, how you handle monster drops and how you treat bosses differently from normal mobs (IE: different drops most likely and possibly extra things like adding training points for subclasses, bonus exp or broadcasting msgs to server).

Then just check for any possible way those could give null values (and or try/catch the section and print out any caught errors to help you debug the issue)!
10/09/2011 17:10 hatem555#3
Quote:
Originally Posted by pro4never View Post
Just look through where the monster death handling is occurring.

I can basically guarantee it has something to do with you generating invalid drops for bosses.

Just read through how you handle monster death, how you handle monster drops and how you treat bosses differently from normal mobs (IE: different drops most likely and possibly extra things like adding training points for subclasses, bonus exp or broadcasting msgs to server).

Then just check for any possible way those could give null values (and or try/catch the section and print out any caught errors to help you debug the issue)!

u mean that (i have to learn how to handle the monisters and drope then i have to check my source while monister drop )

i nead solution that i can do

u can give me an code or identify the file and code that i have to edit it

thnx any way . i hope more help
10/10/2011 19:42 m2killez#4
Quote:
Originally Posted by hatem555 View Post
u mean that (i have to learn how to handle the monisters and drope then i have to check my source while monister drop )

i nead solution that i can do

u can give me an code or identify the file and code that i have to edit it

thnx any way . i hope more help
lol you should at least try to learn if your trying to run your own server.