Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Mu Admin CP

Status
Not open for further replies.
Junior Spellweaver
Loyal Member
Joined
Dec 27, 2004
Messages
108
Reaction score
16
here is a release for a php admin control panel ive just made.
I have uploaded some screen shots of the hole thing
this cp works with maximum 3 ip addresses ( For secure access ) anti sql injection protection and can edit character and guild information , and action loging to check whats going on:)
extract the archive in your web server index to folder admin/ or whatever you like than just configure the config.php and run
hope its usefull to someone ^_^
 

Attachments

You must be registered for see attachments list
Last edited by a moderator:
Banned
Banned
Joined
May 12, 2005
Messages
10
Reaction score
0
thanks!!

i love you(not) but thanks its wonderfull very helpfull against some idiots that have been hacking very simple and easy to use thank you so much.
 
Newbie Spellweaver
Joined
Jun 14, 2004
Messages
16
Reaction score
0
when us ay "configure config.php" what exactly do we have to change?
 
Junior Spellweaver
Loyal Member
Joined
Dec 27, 2004
Messages
108
Reaction score
16
qball546 said:
when us ay "configure config.php" what exactly do we have to change?

the config.php is guided mode :) for every var there is help

PHP:
<?php
// All credits go to InteraktivMu Team

$xa = getenv('REMOTE_ADDR');
$badwords = array(";","'","\"","*","union","DEL","insert","update","drop","select","$"); 

foreach($_POST as $value) 
  foreach($badwords as $word) 
    if(substr_count($value, $word) > 0) 
      die("Security Warning!<br />Forbidden simbols are included, please remove them and try again -> $xa"); 
$dbhost = "127.0.0.1";

// Enter the username to connect to the db
$dbuser = "";

// Enter the password for the SQL Server
$dbpasswd = "";

//Admin Login
$alogin = "sa";
$user = "sa";

//Administrator Pwd
$apass = "***";
$pass = "***";

//Database Name
$db = 'muonline';

//Host. IP If working remotely
$host = "127.0.0.1";

$ip = "127.0.0.1";

$msconnect=mssql_connect("$host","$alogin","$apass");
$msdb=mssql_select_db("$db",$msconnect);

// Ips that will have access to the admin console (MAX (3))
$AdminCpIp1 = '127.0.0.1';// set this to the admin ip (to check logs)
$AdminCpIp2 = '127.0.0.1';
$AdminCpIp3 = '127.0.0.1';

$uselog = '1';
// 1 - enable ,0 - disable
//in order to use the log run enterprise manager, open muonline tables , create a new table named Admin_Logs and create 2 colums 
// 1) Name: Ip, type: nvarchar, allownulls: No <- this command logs the ip
// 2) Name: Command, type: nvarchar, allownulls: No, lenght = 4000 <- this column logs the command
// 3) Name: Fulldate, type: nvarchar, allownulls: No <- this column logs the date of the action
// ..save the table
// now ur logs r here http://localhost/admin/log_list.php
// to delete all logs run this query: DELETE FROM Admin_logs

?>
 
Last edited:
Junior Spellweaver
Loyal Member
Joined
Dec 27, 2004
Messages
108
Reaction score
16
i have updated the hole thing ..check 1st post
 
Junior Spellweaver
Loyal Member
Joined
Dec 27, 2004
Messages
108
Reaction score
16
bug fixed and addon
a) On Mapposx and y lenght was max 2 simb now its 3 ..
b) added LevelUpPoint Editbox
 
o_O
Loyal Member
Joined
Nov 24, 2004
Messages
147
Reaction score
2
Character Information..
Warning: mssql_query(): Query failed in c:\appserv\www\admin\admin1.php on line 79

Ok Problem Solved =D
 
Last edited:
Junior Spellweaver
Loyal Member
Joined
Dec 27, 2004
Messages
108
Reaction score
16
TakaShi^^ said:
Character Information..
Warning: mssql_query(): Query failed in c:\appserv\www\admin\admin1.php on line 79



how come?


goto ur php.ini and find

Code:
display_errors = on
and change it 2:

Code:
display_errors = off

and restart Apache or whatever web server u r using
 
Junior Spellweaver
Loyal Member
Joined
Dec 27, 2004
Messages
108
Reaction score
16
wesleyv said:
themad you know to much :D

ahhahah funny ^^ :) i am a learning kiddie in php scripting i dont know much 4 sure :**
 
Divine Celestial
Loyal Member
Joined
Nov 11, 2004
Messages
810
Reaction score
0
wesleyv said:
themad you know to much :D

HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA...You're tooooooooooooo funny.
 
Junior Spellweaver
Loyal Member
Joined
Dec 27, 2004
Messages
108
Reaction score
16
[N]asser said:
HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA...You're tooooooooooooo funny.
you pro :) can i see some of your jobs ? :**
cuz i see u r very intusiastic about all the shits..i am wondering what are you doing :)
 
Junior Spellweaver
Loyal Member
Joined
Dec 27, 2004
Messages
108
Reaction score
16
here is the Guild Member Add fix :**
 

Attachments

You must be registered for see attachments list
Initiate Mage
Joined
Jan 14, 2005
Messages
2
Reaction score
0
hey I don't know how to use it plzzz teach me I wan't play with it send me all the ditails to my e-mail it is : ilmik@bk.ru

or just visit me in msn sorry about 2 replays but... well u understand me i hope so

what should I change or run to adin smth
 
Junior Spellweaver
Loyal Member
Joined
Dec 27, 2004
Messages
108
Reaction score
16
wirtual said:
hey I don't know how to use it plzzz teach me I wan't play with it send me all the ditails to my e-mail it is : ilmik@bk.ru

or just visit me in msn sorry about 2 replays but... well u understand me i hope so

what should I change or run to adin smth
just extract the archive to ur web server and configure config.php
iTS not hard
 
Divine Celestial
Loyal Member
Joined
Nov 11, 2004
Messages
810
Reaction score
0
I'll be releasing so many things to RZ once I finish this project. I'm not doing it before that, because this project is actually earning me money. (Some guy wanted me to make him a php site for his game server (not mu)).

[N]asser` ~ Out

P.S. ~ I was complimenting that guy...and to you....I was being indirect :)

P.S.S. ~
zolaks said:
useful for newbies.

soooo true :)
 
Last edited:
Initiate Mage
Joined
Jan 14, 2005
Messages
2
Reaction score
0
hey ppl I ca't understand u what should I do with it I don't know where to paste it and how to use plzz write to me e-mail ilmik@bk.ru and give me instructions for how to use it
 
Junior Spellweaver
Loyal Member
Joined
Dec 27, 2004
Messages
108
Reaction score
16
[N]asser said:
I'll be releasing so many things to RZ once I finish this project. I'm not doing it before that, because this project is actually earning me money. (Some guy wanted me to make him a php site for his game server (not mu)).

[N]asser` ~ Out

P.S. ~ I was complimenting that guy...and to you....I was being indirect :)

P.S.S. ~

soooo true :)

dude haha i dont do it for $ or whatever i just do it for helping ppl no matter if noobz or not..-.- i dont think you should be the wise guy cuz you havnt shown us nothing ..just words.. RZ is for helping ppl out .. not that what u r doing ... i think u can keep ur comments to ur self when u have nothing to help..
 
Status
Not open for further replies.
Back
Top