Nope, the only way to resolve this is to rewrite your server, and since you have copy pasted most of your server from other servers its no wonder its broken to ****. lol
Good job! I usually do like that too, delete the saving parts. Mehh, who cares what they do - just select it all and delete! As long as it works, right?
well i really would want to be sarcastic but i suck at it anyway
why would you save everything with loop from "programe.cs" instead of saving them from the event itself ?
what i mean is
lets assume that you are smart and only saving for online players
and lets assume that you give a good sleep for your saving maybe 5 ms or something
that will end you up saving maybe 200 variable for 50 players which is an avg of updating the database with 10,000 variable each 5 ms which is 120k variable per min
instead of saving variables at there own events
ex.
when someone jump you save check for the coords to be valid or not then save them as current , save the old as previous , calculate whatever you want for eliminating speedhacks (what's what i was personally doin in nextco if i recall correctly)
how about memoryusage high , any tip where would i look
Maps? :| That is the reason that servers will have a high memory usage, what u have to worry is how scalable is what u are coding, not the "base memory usage"
when the player logoff and when the server shutdown. thats all.
so when player buy something you don't update his cps/gold until he relogin ?
when player trade/sellthrowbooth you don't remove the items from his inventory or update cps until he relogin ?
and count on that so many stuff :\
i still insist that the best way for updating the db is on the event itself , not with a timer and not on player logging off or even server shutting down
maybe you do not suffer from that at trinity as it's all well coded on changing cps it update the clients but if it wasn't done you was to understand why it should be there
CPU Usage 03/06/2013 - Conquer Online 2 - 0 Replies Can someone do some coding and get rid of this problem? Or tell me how I can do it? I formated and reinstalled windows 7.. CO leaked before but was manageable. Now it runs at 98 pct CPU, drains my physical memory down to 42 free and all this is making my poor cpu run at 92 degrees C.
Ive been on all types of forums, shut down essentially everything running in windows and even tried the dumb process explorer "Kill the extra conquer.exes" which only served to disconnect me constantly. PLEASE...
[PROBLEM] CPU usage 80% or even more while playing 08/15/2012 - Archlord - 8 Replies Hi guys, since today i've started to have this problem with my PC, i don't know if this is normal while playing AL or if i'm being paranoic, or if my procesator have any kind of problem.
I have an Intel Core 2 duo E7300 and 3gb Memory ram, while i'm playing AL (With 1 account) i see that my Memory ram total usage is around 40%/50% that's normal, but when i see Procesator total usage, it stay in 60%, 70% and sometimes it goes to 100%.
This is normal or while playing AL?, thanks in advance.
CPU Usage 03/07/2012 - Kal Online - 13 Replies Any one know how to solve this problem, my kalonline using 70 - 80% of my cpu, my cpu is intel petium dual core E2220 @2,40GHz, im using windows 7 64 bits with 4gb memory, if any one know any solution please say Thx.
[Problem]Excessive Item Usage 07/28/2011 - Flyff Private Server - 0 Replies hat sich geklärt funz jetzt alles!
mfg NiGHT