ArcManager - A Web Application For Managing Arcemu

Interests:PHP,C++,ArcEmu and exactly our lovely community and specially money xD

Server OS:Windows

Posted 27 November 2009 - 09:19 AM

Hello everyone ,Finally we decided to release ArcManager and make it public !This is PHP Front Project and originally based of Mini Manager,we converted and fixed many things of that !

It's not 100% complete but we released it to find bugs and errors faster ,so help us by report errors and bugs and not converted parts .
We moved it to new SVN host then now you can download it from SVN . (I forgot to save old commits log )
Mirror removed.

F.A.Q :

F.A.Q
Q - How to install ArcManager?
A - Follow instructions in /doc/installation.txt
Q - Error - Connection to database is not established ! - What am i doing wrong?
A - 1 - Use 127.0.0.1 or localhost if web server is on same PC as MySQL
2 - Use LAN IP if web server is on same network as MySQL
3 - Just Use WAN IP if you need to call MySQL over Internet
Q - I get error: Error - Can't open the database ! ('ArcManager') - what is the problem?
A - You didnt create ArcManager database.
Q - I get another error - Table 'ArcManager.*' doesn't exist - whats the problem now?
A - You didnt import sql files from /SQL/ to ArcManager.
Q - I have - $enable_captcha = true; Why it doesnt show when i try to register?
A - It is required that you have instaled GD & FreeType Library and extension is enabled in php configuration.
Q - All icons are displayed as ? in any page, how do i make it display real icons?
A - 1 - set - $get_icons_from_web = true; - in your config
2 - Make sure the img/icons directory is set to R/W (chmod 777) permission for webserver
3 - If you still have problems, set proxy on /script/config.php
$proxy_cfg['addr'] = '';
$proxy_cfg['port'] = 80;
$proxy_cfg['user'] = '';
$proxy_cfg['pass'] = '';
Q - How do i setup more than one realm?
A - Follow sample from /script/config.dist.php and duplicate configs
but remember $server[1] is to realm ID 1 - set on realmd DB, realmlist table
so just check realm ID and set $server[2], $server[5], etc

About :

ArcManager for ArcEmu
ABOUT:
ArcManager for ArcEmu Server is a PHP, web front end that
provides easy access to manage ArcEmu servers. Manage/add/remove/edit/
mute/ban/etc. user accounts, characters, database and server itself.
It is a small, easy to use, flexible tool.
ArcManager uses data on databases provided by ArcEmu, but it also
requires additional data provided in /SQL/ folder.
The user access level is based on server ArcEmu accounts' gm level.
It can be extended to have an unlimited number of user access level.
Highest access level, by ArcManager default is 29 (SysOp).
Default page configuration allows players to view most pages, all as read-only,
while SysOp level has full access.
TECHNICAL NOTES:
Developed and tested with:
Debian GNU/Linux 5.0.2 / Mandriva Linux 2008 Spring / Windows XP SP3 / Windows 2003 SP2
MySQL 5.0.51a / 5.0.67 / 5.1.36
Apache 2.2.8 / 2.2.11 / NetworkActiv-Web-Server 3.5.16
PHP 5.2.5 / 5.2.10
Opera 9.62 / 10
FireFox 3.5.2
Maxthon 1.6.5
IE 8.0.6
Java SE 5.0
TextPad 5.2.0 / 5.3.1
LICENSE
/*
ArcManager, PHP Front End for ArcEmu
Copyright (C) 2009 ArcManager Project
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

Credit :

ArcManager Project Team:
- Lurker
- Djhenghiz
- this_is_junk
THANKS:
- To entire ArcEmu team and all related for providing our "community" this great educational tool. http:/arcemu.org/
- The MiniManager Team for providing the original work http://mangos.osh.nu/forums/
- ip2nation database by Per Gustafsson from http://www.ip2nation.com/
- Captcha Security Images by Simon Jarvis from http://www.white-hat-web-design.co.uk/articles/php-captcha.php
- PHPMailer by codeworxtech from http://phpmailer.sourceforge.net/
- PHPTelnet by Antone Roundy.
- JavaScript implementation of SHA-1 by Paul Johnston from http://pajhome.org.uk/crypt/md5/
- Javascript tabs based on function by Jonathan Hedley from http://jonathanhedley.com/
- getBrowserWidth javascript based on function by Cameron Adams from http://themaninblue.com/
- changeLayout javascript based on function by Paul Sowdon from http://www.alistapart.com/articles/alternate/
- Dynamic Resolution Dependent Layout based on javascript from http://particletree.com/
- Js-ToolTip based on javascript by Gerd Tentler from http://www.gerd-tentler.de/tools/
- SSH/Telnet terminal by Matthias L. Jugel and Marcus Meiكner from http://www.javassh.org/
- IRC java applet by Plouf from http://www.pjirc.com/

How to Install ArcManager :

RECOMMENDED REQUIREMENTS:
WebServer with PHP support.
MySQL 5.0.61 and above. ( http://dev.mysql.com/downloads/mysql/5.0.html#downloads )
PHP 5.1.0 and above. ( http://www.php.net/downloads.php)
For Windows users:
If you are using Apache2, ( http://httpd.apache.org/ )
we recommend PHP VC6 TS.
If you are not using Apache2,
we recommend PHP VC9 NTS.
Firefox Web Browser
Opera Web Browser 10.
Java SE 5.0.
INSTALLATION:
Copy the /ArcManager/ directory into your webserver's www or htdocs directory.
Create a new database for ArcManager.
Import from the highest numbered structure file (.sql) in /SQL/ to your ArcManager database as set in $arcm_db
from /script/config.php. (Ignore all files in /SQL/outdated)
Starting with the next higher number from the one of the structure file you used above, apply all the .sql files
in /SQL/updates to your ArcManager database. (Ignore all files in /SQL/outdated)
Configuration:
Copy /scripts/config.dist.php into /scripts/ as /scripts/config.php,
Make changes there.
If some aspect of installation settings are not covered by this guide,
check FAQ.txt and our forums for further details.

I've imported both SQL files, "SQL\136_arcmanager_structure.sql" and "SQL\update\124_motd.sql".
Edited the config file, but i still get "Error - Connection to database is not established !" so
I'm not quite sure what i did wrong really.. it should work now as i've done everything as it should.

The first thing i noticed is the error message that is displayed trough the URL, I'm personally developing
an WoWS CMS too, i would of used a cleaner way of showing this by either putting it in a variable or session/cookie,
not in the url itself.

//Edit:
Even after editing line 25 of mysql.php i don't find what the exact error is.
Added mysql_errno() & mysql_error().
Which gives me "ErrorNR: 0 ErrorMSG:", when adding the connection id, it doesn't change either,
so i'm not getting far.

Interests:PHP,C++,ArcEmu and exactly our lovely community and specially money xD

Server OS:Windows

Posted 27 November 2009 - 12:06 PM

Somethings are difference between MaNGOS and ArcEmu .like uptime and .... ,most of things are in MaNGOS include SQL and ArcEmu use C++ and configs for them and somethings don't work for ArcEmu ,so we changed the systems of that and now you can use them .some of them not converted or needs ArcEmu support ,report the errors of them too and we will change the system or make optional patch for core to support them and put them here and in SVN host !

Sorry for the run around on this... Lurker has been having trouble with Assembla where he lives and moved the project right before he released it. XD And, because XP-Dev is really lame we had to rebuild the project there to enable Trac. (He has trouble with Google Code too)