Requested by SilentKill.
Deleted by FuriousFang.
Deleted by FuriousFang.
[Only registered and activated users can see links. Click Here To Register...] I Will help youQuote:
for the love of god i cannot figure out how to do the player count..
label_players_online.Text = ServerBase.Kernel.GamePool.Count().ToString;
doesnt seam to work like i was hoppin it would..
Yeah. Check out the update region. You'll learn everything you need there. Everything that updates per second is located there (including CPU management *hint*). CPU management is a good idea to have in your GUI! =]Quote:
ooo just noticed im going to need a timer to run the check ...
yay got the playercount working wow i was makin that way harder then it was.. Cpu usage is also done..Quote:
Yeah. Check out the update region. You'll learn everything you need there. Everything that updates per second is located there (including CPU management *hint*). CPU management is a good idea to have in your GUI! =]
Good luck!
Sincerely,
Fang
9958 works fine on my server. LolQuote:
Game and authport = 9958, 9959 lol.
Gameport = 5816
Guess that means i gota try to find out how to keep it in console and just be able to hide it then..Quote:
I should point out GUI's are not the best option for running a server, their threading style is different which makes them significantly less efficient.
A better way to do this would be to have it use a console, but hide the console so that it cant be visible and then on a separate thread start your GUI, that way the GUI's threading doesnt mess up the rest of the server.
This isnt hard to achieve the open source project has a semi finished map viewing dialog which is loaded from the console with a command currently.