HAT - The Hercules Admin Tool!

poke too
default_biggrin.png
regarding the last_mac

 
AWESOME O.O i hope i can test this out i want to learn how to use this
default_smile.png
)

 
Hi folks,

https://github.com/jguy1987/HercAdminTool/commit/b232298ac0b0c889a3dbc54386cd80a71fa8db12

Multiple what's it's now?!???!?!???!

This update adds the ability for the HercAdminTool to be able to administrate multiple char/map databases with one login database.

At the top right of the page, next to your username, you will find a server selection box. Dropping this down you will be able to select the Char/Map server to use.

HAT-MultipleServer.png


As of right now, you could potentially administrate as many char/map servers as you wanted, I have not found any limit.

The plan is to have your admin panel groups restrict access to specific servers. So, you can lock everyone out of another server if you wanted to. But as of right now, each group would have the same permissions on each server. This may change depending on what I see the need for.

The configuration for this is accomplished in two places, both in the config directory. hat.php has the configuration array for setting the main things up, like the human readable server name and the database server name. The remaining configuration is done in database.php. Add a separate group for each server you have. The 'database_group' setting in hat.php MUST match up with what you name the database in database.php.

Hope everyone enjoys!

NOTE: I've received some questions regarding this. When I say "Multiple Char/Map servers" I mean that there is 1 login server, and then 2 character servers connected to it, and from there, each character server has a map server connected to it, NOT One login, one char, and multiple map servers. Kind of like this:

Code:
                                     |==========|      |=========|                                     |   char   |      |   map   |                            /========|  server  |======|  server |         |--------------|  /         |    s1    |      |         |         |              | /          |==========|      |=========|         |    login     |/                    |    server    |                    |              |           |==========|      |=========|         |--------------|           |   char   |      |   map   |                            ========|  server  |======|  server |                                     |    s2    |      |         |                                     |==========|      |=========|
 
Last edited by a moderator:
Poke poke Mr.Jman :X
Yeah, I know. Things have been slow right now in development because I've been busy at work. I just pushed an update a few days ago regarding taking care of the running servers. I plan to start going through and finishing up a few things from past features now that I have a way to control the servers.

 
Hello all,

I've just finished a major update to CodeIgniter 3.0.0, which took quite a long time to get everything right.

The reasoning this update was pushed as soon as this was because of the licensing. I need to include some GPL'd code, and such code was not compatible with CodeIgniter's 2.2.x license. CodeIgniter 3.0.0's license was modified to use the MIT license, which means I can include GPL'd code in my control panel. I may just modify the license to GPL as well, but for now, work can continue.

Things to do in the near future include:

* Guild Emblem display.

* GM Command Entry

* Item/Mob DB modifications

* Configuration file management/editing

* Finishing up the guild module features.

If there's anything that you wish for me to work on ahead of time, please speak up in this topic. I will hopefully start making some "stable" releases of the panel while it's in Beta so folks know what is stable and what's not. I will also start to work on that demo I've been saying I'll put up.

 
no demo yet?
default_sad.png
looking forward to use it on my server

 
Me too evilpunked, im currently using it.. but the problem is the log database (it should be the same as the main database) i hope there's an option for that.

 
Me too evilpunked, im currently using it.. but the problem is the log database (it should be the same as the main database) i hope there's an option for that.
The panel has the option for different main and log databases. It actually shouldn't be the same (at least not on large servers). Having a bunch of log data in the main database has the potential to slow down the main database.

You can use the same database for both main and log by setting both of those settings in hat.php to the same database group.

So,

in hat.php:

$config['ragnarok_servers'] = array( '1' => array( 'main_database_group' => "ragnarok", // The database group in database.php config file that holds this database connection info for all char/map databases (less logs) 'log_database_group' => "ragnarok", // the database group that holds the log tables for this server.

and in database.php you only need one database group:

$db['ragnarok'] = array( 'dsn' => '', 'hostname' => 'localhost', 'username' => '', 'password' => '', 'database' => '',

I'm currently also working on a more in-depth user guide which should be coming in a near future commit.

 
@@Jman

any plan into adding multilanguage support to it? I'd help translating if it uses pot files

 
Hi folks,

I had a server die on me at work, then I needed to re-work my home server because of some issues, and I've been out of town a lot for work.

I should be back into regular feature and fix commits here in the next few days. I should have a demo up by the end of the week hopefully. Reworking my server has given me an opportunity to get some more resources out of the server now.

Sorry for the delays.

 
Hi folks,

The long awaited demo is now available! You may access the demo in the following location:

URL: http://hatdemo.jemstuff.com

Username: admin

Password: admin

The demo is almost full features. The admin user is capable of most things, except for changing my username or its own group/email/permissions/user. I have hourly backups of the database running so if push comes to shove, I can restore from backup if things get too messed up.

This is running on a live Hercules server and I plan on building a small client you can use to connect to it, that way you can do things in game and see them reflected in the panel, or vise versa.

Have fun.
default_biggrin.png


 
@@Jman

when trying to login:

This user account is not authorized to login. Contact an administrator

 
Should be fixed now. All new panel users are created as "disabled login". Forgot to enable.

 
Hi folks,

The long awaited demo is now available! You may access the demo in the following location:

URL: http://hatdemo.jemstuff.com

Username: admin

Password: admin

The demo is almost full features. The admin user is capable of most things, except for changing my username or its own group/email/permissions/user. I have hourly backups of the database running so if push comes to shove, I can restore from backup if things get too messed up.

This is running on a live Hercules server and I plan on building a small client you can use to connect to it, that way you can do things in game and see them reflected in the panel, or vise versa.

Have fun.
default_biggrin.png
Haha Jman, seem like we both have some similarities once awhile ... I am also using a same template for some random stuffs of RO ...

Z38sBuP.png

EDIT 1:

back to topic, it seem that HercAdminTool are capable to edit/adjust the group ID and permission, is that custom source mod for server too ? updating in the HercAdminTool will also update the content inside the conf/group.conf ? or it only adjust the permission solely in the HercAdminTool ?

EDIT 2:

ops... seem like only for HercAdminTool xD  

 
Last edited by a moderator:
Back
Top