|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Development::GeorgeS's Tools A forum just for GeorgeS's tools |
10-09-2007, 02:58 AM
|
Forum Guide
|
|
Join Date: Sep 2003
Location: California
Posts: 1,474
|
|
New tool - SERVERSTATS
This new tool is being coded and will allow a server admin to check things like -
/1/ User accounts and details
/2/ Items dropped per zone
/3/ Items owned by users
/4/ NPC's in each zone
/5/ Coins owned by users
/6/ Change User's server privelages
/7/ Summary of who used what #emu commands
...
Since this is an extensible tool, it will allow one to add more queries.
Since this is early in the dev stage for the program, I am asking for more queries that you want added.
This will be a straight forward reporting tool, with limited write back to db functionality.
GeorgeS
|
10-09-2007, 01:31 PM
|
Forum Guide
|
|
Join Date: Sep 2003
Location: California
Posts: 1,474
|
|
Update -
I also am adding a polling tool to show a line graph of selected accounts/characters with plots of level and pp over time. So if there's a character who went from 1-60 in a day, you will know.
The tool will poll LOGS and parse their contents so you will have a snapshot of who used what GM commands.
You will also be able to change GM status, class,race, delete accounts and so on.
...change what zones are bootable, see how many players are on and where they are playing...
GeorgeS
|
10-09-2007, 02:46 PM
|
|
Hill Giant
|
|
Join Date: May 2006
Posts: 117
|
|
Sounds awesome, George. Can't wait =)
|
10-10-2007, 05:32 AM
|
Discordant
|
|
Join Date: May 2004
Posts: 290
|
|
George, are you coding this into the worldUI, or it's going to be a standalone thing ?
|
10-10-2007, 03:40 PM
|
Discordant
|
|
Join Date: May 2005
Location: Smith Falls, Ontario, Canada
Posts: 283
|
|
Quote:
Originally Posted by Theeper
George, are you coding this into the worldUI, or it's going to be a standalone thing ?
|
it would be really nice if it was coded into the worldui. but we can only hope.
there have been a couple of good utils latley the people seem determined to code outside of the worldui.
__________________
Rojadruid
Innoruuk Server [legit]
Server Admin.
Server Status: UP
|
10-12-2007, 01:28 PM
|
Forum Guide
|
|
Join Date: Sep 2003
Location: California
Posts: 1,474
|
|
I have decided not to integrate it to the emu directly, but I did consider it. I was going to add a special #command. This tool will attempt to minimize sql server resources, but certain sql commands should be run sparingly - for example running the script that returns all items dropped in a zone.
Ok, so I looked at the cpp profile struct and managed to decode everything there. I'm doing the coding right now on the accounts admin part and should have a read only version ready in a few days.
So far it's going well and looking good.
GeorgeS
|
10-12-2007, 06:07 PM
|
Discordant
|
|
Join Date: Aug 2006
Posts: 394
|
|
Allowing it to view and edit player coin would be a GODSEND.
Thank you, so much for doing this tool, I just know that it's going to be awesome!
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
|
10-12-2007, 07:46 PM
|
Forum Guide
|
|
Join Date: Sep 2003
Location: California
Posts: 1,474
|
|
Ok, the read/only part of the tool is done, including viewing/sorting all player owned coin and banked coins too - these and many other parts of the binary struct data are going to be read/write too.
GeorgeS
|
10-16-2007, 08:39 PM
|
Developer
|
|
Join Date: Mar 2007
Location: Ohio
Posts: 648
|
|
Out of curiosity, what are you using to create this?
I ask because I have created a script to convert the entire profile into a multi-dimensional array in PHP (about 14KB worth of code). It was a pain in the butt for me, so I would hate to see others go through the same thing.
On a side note, I have been thinking about how to edit the profile field, but the checksum is confusing me, mainly because it doesn't match what crc32() in PHP calculates it to. But then again, I've kinda put that one on the back burner.
|
10-17-2007, 10:51 AM
|
Demi-God
|
|
Join Date: Jul 2006
Posts: 1,552
|
|
GeorgeS, I think roja was talking about the perl/html Emu Management scripts that come with the emulator world. Those pages haven't seen a pixel change in the year I've been here - though I have customized quite a few for my own purposes (and soon as I get time to clean up my slop, I hope to share them back to the core devs).
Is it possible to do this kind of editor/viewer in the perl/html?
|
10-17-2007, 03:14 PM
|
Developer
|
|
Join Date: Oct 2004
Location: THE ATL (wut wut)
Posts: 325
|
|
George... I love you. I can't wait for this.
Dax
__________________
Daxum
Former ServerOp - Vallon Zek / Tallon Zek Emu Server - Legit / Guild PvP - (2007 - 2011 RIP)
|
|
|
|
10-18-2007, 02:30 AM
|
Forum Guide
|
|
Join Date: Sep 2003
Location: California
Posts: 1,474
|
|
The tool will not be a comprehensive profile editor, just a few selected byte values like last name, coins etc..
Actually I'm using VB, and to convert the entire profile blob came from an idea where I pulled the blob from the database and saved it to a binary file. The file is NOT loaded into memory, but accessed by a byte pointer. Then edited values are saved and the binary file dumped back to the DB.
Actually it's easy.
The tool does much more editing, but account management is a small portion of it's purpose. You can copy toons from one account to another, and even delete and modify toon data stored in the character_ table.
Right now you can
- find out what items drop in a zone by NPC (done)
- Identify if an item drops or is sold or player made (done)
- view NPC in a zone by level/min max/avg levels,spawngroup (done)
- account profile and character editing (as discussed before) (1/2 done)
- modify loot drops by selected npc's (not done)
- tag/poll/monitor accounts for suspicious behaviour (not done)
- view/parse #commands by users (log file parser) - (not done)
- more as time permits..
GeorgeS
|
|
|
|
10-22-2007, 03:48 AM
|
Discordant
|
|
Join Date: Aug 2006
Posts: 394
|
|
Quote:
Originally Posted by GeorgeS
Ok, the read/only part of the tool is done, including viewing/sorting all player owned coin and banked coins too - these and many other parts of the binary struct data are going to be read/write too.
GeorgeS
|
WOOT!!!!!!!!
/bows
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
|
10-22-2007, 03:48 AM
|
Discordant
|
|
Join Date: Aug 2006
Posts: 394
|
|
Quote:
Originally Posted by AndMetal
Out of curiosity, what are you using to create this?
I ask because I have created a script to convert the entire profile into a multi-dimensional array in PHP (about 14KB worth of code). It was a pain in the butt for me, so I would hate to see others go through the same thing.
On a side note, I have been thinking about how to edit the profile field, but the checksum is confusing me, mainly because it doesn't match what crc32() in PHP calculates it to. But then again, I've kinda put that one on the back burner.
|
PLEASE, can you post this?
It would be invaluable.
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
|
10-22-2007, 02:59 PM
|
Developer
|
|
Join Date: Oct 2004
Location: THE ATL (wut wut)
Posts: 325
|
|
*chomps at bit*
Dax
__________________
Daxum
Former ServerOp - Vallon Zek / Tallon Zek Emu Server - Legit / Guild PvP - (2007 - 2011 RIP)
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 06:06 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|