stamina problem!!

09/01/2013 22:06 girgismena#1
hellp guys !
i have bad problem and i dont know why that happen
after i turn on my server with 3 or 4 hours the stmina stop loading and when some1 die didnt be a ghost .
if i didnt do restart it work after 30 to 60 min
but i cant w8 that time so i just make restart to the server every time
can some1 tell me why that happen and how can i resolve that problem ?
09/01/2013 23:08 Spirited#2
Sounds like a really poorly coded source. It could be a number of things. If these actions are on a thread, it might be that the thread is getting locked on an action that cannot be executed. Do you get any error messages? Maybe you could debug it by putting a write line in the thread that manages those things (if it is a thread - knowing Trinity it is, if you're using a bad knockoff of it). If it's not outputting that line you put in, then you're having issues with that thread. Get my drift?
09/02/2013 01:43 girgismena#3
i didnt got any Error in my consol or in debug log
and i dont know why that problem

any suggestions ?
09/04/2013 23:40 girgismena#4
what the problem ? no one know that problem or no one want to help me ?
09/05/2013 01:49 Super Aids#5
Learn to debug.
09/06/2013 00:29 girgismena#6
Quote:
Originally Posted by Super Aids View Post
Learn to debug.
1st thanks for ur replay
2nd is that only ur suggestion ?
09/06/2013 01:06 dospy#7
Quote:
Originally Posted by girgismena View Post
1st thanks for ur replay
2nd is that only ur suggestion ?
nobody can help you given that you provide no information. programming isn't magic and we cannot just lay a list with all possible causes for your problem. i am not trying to be rude but you need to figure it out yourself.

PS: you should follow some tutorials about the programming language you are using and also search about how basic stuff works(networking, multithreading, packet sending etc). this helps a lot and IMO people should do it before diving into a source that they have no idea how to handle
09/08/2013 19:18 girgismena#8
Quote:
Originally Posted by dospy View Post
nobody can help you given that you provide no information. programming isn't magic and we cannot just lay a list with all possible causes for your problem. i am not trying to be rude but you need to figure it out yourself.

PS: you should follow some tutorials about the programming language you are using and also search about how basic stuff works(networking, multithreading, packet sending etc). this helps a lot and IMO people should do it before diving into a source that they have no idea how to handle
1st thanks for ur replay
2nd u r right but i try with many possible and i failed
i dont know what the hell problem is that
:(
09/08/2013 21:55 dospy#9
a possible(also probable) cause would be poor design for handling threads and threads synchronization; usually these type of problems are hard to find and debug unless you make sure to program it right from the start. this is why it is almost impossible for a beginner to manage them and that is why i advised you to follow some tutorials before coding which will help you a lot(trust me, i speak on behalf on my own experience)
Conclusion: we cannot help you solve the problem and heck, you yourself don't even know what the problem is so we are bare-handed here
09/09/2013 00:14 girgismena#10
Quote:
Originally Posted by dospy View Post
a possible(also probable) cause would be poor design for handling threads and threads synchronization; usually these type of problems are hard to find and debug unless you make sure to program it right from the start. this is why it is almost impossible for a beginner to manage them and that is why i advised you to follow some tutorials before coding which will help you a lot(trust me, i speak on behalf on my own experience)
Conclusion: we cannot help you solve the problem and heck, you yourself don't even know what the problem is so we are bare-handed here
thanks again and i think i will change my source
cuz i filed to find that bad problem
09/09/2013 02:03 shadowman123#11
dude u got the stamina Increase through 1 sec Runtime Thread .. so the stamina part may not be called because of error .. so what u can do is using Try & Catch to detect if the Stamina codes are Executed Or not .....
09/09/2013 02:07 Spirited#12
Quote:
Originally Posted by shadowman123 View Post
dude u got the stamina Increase through 1 sec Runtime Thread .. so the stamina part may not be called because of error .. so what u can do is using Try & Catch to detect if the Stamina codes are Executed Or not .....
If it's a dead lock of some sort, that type of check wouldn't work at all. All of the higher patch sources have similar problems because they're based off the same source. If the original poster is changing sources, hopefully he doesn't change to one with the same problems.
09/09/2013 02:23 Aceking#13
IMO people need to do away with all the newer version sources....
Too many features, too many different problems....
If your a capable programmer and actually know half of what your doing then it isnt going to be an issue.
But for 95% of the people on here downloading sources, they dont fit into that category.
Therefor they should stick with a more stable release which is generally a lower patch because there has been more time to make it a workable version.

My 2 cents