[FS/PHP]~RAdmin~ MySQL Admin Script with PHP panel ! [Alpha] [Demo panel !]
#1

Hi all !
here's my last FS =) It's a new Admin script (RAS was a shity one x)). This one use the MySQL plugin of ADreNaLiNe



Features and infos :
This is an Alpha version, more commands and features will comming
All are saved in the MySQL tables ! (kicks, bans, users, stats)
Only 2 includes needed, a_samp.inc et sampmysql.inc
Full PHP panel !
3 levels, moderator, administrator and server owner.
35 Admin commands + 2 user commands !
And more !

Commands :
Users:
/register [pass] [mail]
/login [pass]
Level 1:
/kick [id] [reason]
/mute [id]
/unmute [id]
/freeze [id]
/unfreeze [id]
* R@f slaps [id] around a bit with a large trout.
// [text] = Admin chat
/cc
/asay [text]
/spec [id]
/specoff
/goto [id]
/gethere [id]
remweap [id]
/pinfo [id] = Player infos
/sinfo = Server infos
/infooff
Level 2:
/ban [id] [reason]
/explode [id]
/akill [id]
/fly [on/off]
/crash [id]
/fuck [id]
Level 3:
/giveadmin
/setlevel [id]
/god

Download :
http://rafweb.ch/download.php?start=3
Other links !
http://dl.free.fr/gkUpcxlEw
http://rapidshare.com/files/204047555/radmin.rar.html
http://www.zshare.net/download/56357137abf9a26c/
http://www.megaupload.com/?d=IJ8G551N
http://www.filefactory.com/file/af3a74h/n/radmin_rar
http://d01.megashares.com/?d01=c7f51c5
http://netload.in/dateiMXJp9IVyXw/radmin.rar.htm
http://uploaded.to/?id=nia136

Demo panel :
http://www.rafweb.ch/
pass : demo

How to install ?
1. Place the mysql plugins in your plugin folder and place the .pwn in your filterscripts folder. Don't forget to
place the samp_mysql include in the pawno->include folder !
2. Open the script and go at the line 49-50 and change it with your idents. When it's done, compile the script.
3. Open your server.cfg. At the line filterscripts add "radmin" and add "sampmysql.dll" at the plugins line.
4. Extract all the files from PHP to your web server folder.
5. Open config.php and change the idents of the lines 6 and 13.
6. Run the web server and go on phpmyadmin. Create a new database called "RAdmin".
7. Go to the page "install.php". The first case is for the password of the admin panel.
The second case is the IP of your server for showing the stats. Third case is the port of your server. And the
last case is the text that will show at the index page.
8. All done ! Now see how to set yourself admin

How to make myself admin ?
1. Go on your server and loggin as rcon admin.
2. Write /giveadmin and it's done ! your are level 3 (Server Owner).

Updates & relases:
Quote:

28.02.09 : Alpha relase (0.0.1)

Credits :
Creator: R@f (_FsK_Raf)
Design: Cliss (banner by R@f)
Script things: Hamm3r (Spec Sys) and Tornado (Fly Sys)
Testing: [NSG]MisterT
People on the banner: _FsK_Spykerc8, _FsK_Samumu, _FsK_Lacuisse, _FsK_NatiVe, [XSA]Labiloute and TTG
Special thanks to: Samumu for learning me PHP, all members of GTAOnline.fr for supporting me.
If i forgot someone, send me a PM

ADreNaLiNe MySQL plugin : http://forum.sa-mp.com/index.php?topic=23931.0

Report bugs if you find some !


Enjoy
R@f
Reply
#2

looks great
Reply
#3

This is really nice, A little tip for your PHP files, Put your header and menu into one file and just include it on every page , Also maybe make an admin stats editor for the PHP panel
Reply
#4

Код:
echo Executing Server Config...
lanmode 0
rcon_password testing
maxplayers 10
port 3322
hostname [0.2X]Server
gamemode0 lvdm 1
filterscripts
plugins sampmysql.dll
announce 1
query 1
weburl www.sa-mp.com
anticheat 0
This is my server.cfg

Quote:

Host: mysql1.ugu.pl
user: db56423
Password: test

This is my data mysql


so I changed the file RAdmin.pwn
Код:
#define MYSQL_HOST 	"localhost"
#define MYSQL_USER 		"db56423"
#define MYSQL_PASS 		"test"
#define MYSQL_DB 		"radmin"
right?

And so cofing.php
Код:
line 6 -  mysql_connect("localhost", "db56423", "");
line 13 -  mysql_connect("localhost", "db56423", "");
right?



does not work
Reply
#5

in your server.cfg, you forgot to do radmin at the filterscript line

change #define MYSQL_HOST "localhost" to #define MYSQL_HOST "mysql1.ugu.pl"
and in the config.php change mysql_connect("mysql1.ugu.pl", "db56423", "test"); to mysql_connect("mysql1.ugu.pl", "db56423", "test");

R@f
Reply
#6

Now page is not working
http://www.gtq-forum.c0.pl/


I do not work command
Reply
#7

looks very great
Reply
#8

Quote:
Originally Posted by mysq
Now page is not working
http://www.gtq-forum.c0.pl/


I do not work command
Do you set all the PHP files in the server folder ?

----

Thanks for the comments, i will setup a demo panel


R@f
Reply
#9

yes

I wrote to you on PM
Reply
#10

Demo panel online !
http://www.rafweb.ch/radmin/index.php
pass : demo


Enjoy
R@f
Reply
#11

great job
Reply
#12

Hi, I need a sampmysql for Linux (debian 4.0)!
Reply
#13

http://www.gtag.cba.pl/sinfo.php

What's the problem?
Reply
#14

I made a little mistake in the config.php file, at the line 7 and 14 change RAdmin to radmin (now update for download)

PS : Don't forget to delete install.php after you used it


R@f
Reply
#15

someone create tutorials wide about this script


Please
Reply
#16

I will create a video tutorial if i'm not busy

New download links !
http://dl.free.fr/gkUpcxlEw
http://rapidshare.com/files/204047555/radmin.rar.html
http://www.zshare.net/download/56357137abf9a26c/
http://www.megaupload.com/?d=IJ8G551N
http://www.filefactory.com/file/af3a74h/n/radmin_rar
http://d01.megashares.com/?d01=c7f51c5
http://netload.in/dateiMXJp9IVyXw/radmin.rar.htm
http://uploaded.to/?id=nia136

R@f
Reply
#17

Not hard to make...
BTW:Good jobb
Reply
#18

Quote:
Originally Posted by *~Dark_BasS~*
Not hard to make...
BTW:Good jobb
Its not that its not hard to make, Its the fact he has made it which most people like you cba to do, Saying and Doing are 2 very different things
Reply
#19

the demo is broke, fix please
Reply
#20

i have a problem then i go to server info or in admin it say No database selected

FIXED
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)