Small patch to see the long name of the zone in the web interface
Small patch to see the long name of the zone in the web interface, i am working currently on a server status page so i need this piece of code ;)
Code:
diff -r 1119a9fad2a9 world/EQW.cpp |
Here is a pic how it looks now
http://www.quadfreunde-ergoldsbach.de/bilder/zones.jpg |
Thanks, this will be in my next commit.
|
This has been committed in Revision 454.
|
On a related note; Is there any way to have this screen display which dynamic zone process that each zone is using? As far as I can tell, the only way to currently figure out which zones are using which process is to read through the log files. It would be nice if there was a considerably easier way to do this. It would be very useful.
|
Quote:
I am not a win or linux system programmer, but i think nothing is impossible. Only takes time, i will look into these when i have some time. |
Basically, I mean the name of the process.
Code:
./zone dynamic_47 zone |
Like that?
http://quadfreunde-ergoldsbach.de/bilder/dynamic.jpg Code:
Index: world/EQW.cpp around line 51 Code:
if($zone->{zone_id} == 0) { Code:
if($zone->{zone_id} == 0) { |
Yeah, just like that! Maybe we could move the process name for dynamics to the left of the zone name instead of having it say "Dynamic". Not a big deal, but that would probably cut down the page length some instead of doing it on the next line. I run 50 dynamics, so less is more. Gonna get this tested and see how it looks. If people are ok with it, I will get it added to the SVN. Thanks, Erde!
Tested this and it seems to work well: Code:
if($zone->{zone_id} == 0) { Code:
dynamic_02: Idle |
Got this commited to the SVN. Thanks again for it! I am certain this will come in handy :)
|
All times are GMT -4. The time now is 03:40 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.