Files :
Tuto :Quote:
Os Needed :
http://i586.centos.org/centos/4/isos...386-binDVD.iso
New repack :
Download 1378 Server Interserver tgz
Virtual Machine :
Spoiler:
First you need centos 4.4 32bits (i386) or you can destroy your OS.
After put archive.gz on /root :
Chmod your files , in the best 700 for allow only root user to use.Code:tar -zxvf *gz -C /path/to/where/you/wish/put/the/server/files
If you use vmware, install tools if not skip this step :Code:chmod 700 -R /path/to/where/you/wish/put/the/server/files
Spoiler:
Now begin settup :
The script ask somes thing.Code:./server.sh install
repo are link for yum .Quote:
Do you need repo?
On iso centos he don't work need remplace them.
If its a clean os you need say "yes".
Libs are update for server working.
If clean os you need install kernel-smp for get more then 4gb ramQuote:
Do you need install kernel-smp for centos 4.4 ?
If its a clean os you need say "yes"
Lampp are for httpd and mysql server.Quote:
Do you need install lampp for centos 4.4 ?
If you wish install your httpd and mysql server.
Install before say "no".
After install lampp he asking for password mysql and others.
Etc and libs for gs are setup.
You can enter ip of your mysql server or just localhost if local (if you just install lampp you need set localhost)Quote:
Enter Mysql IP
If not custom your user (default lampp): rootQuote:
Enter Mysql USER
Enter password you setup in mysql setting (for lampp you configure them before)Quote:
Enter Password Mysql
Database you wish for JD or database you have if don't wish import them .Quote:
Enter Database Mysql
For lampp its /opt/lampp/binQuote:
Enter php_path
Enter mysql_path
for others can be /usr/bin , /bin , ...
If you don't have your database alrealy set say "yes".Quote:
Do you need import mysql database ?
If you have a custom sql put them and rename it to ./tools/sql/import.sqlQuote:
Do you need import mysql you custom database ?
table.xml are set now with info alrealy give .
If you have install kernel-smp script count for reboot.
After reboot or after this .
You need get something like this.Code:./server.sh install
http://i.imgur.com/EoMdp52.png
Register :
exemple :Code:./server.sh login password repass email ipclient
You can start server.Code:./server.sh "rocklee" "motdepass" "motdepass" "rocklee@email.com" "127.0.0.1"
the lastest configuration .Code:./server.sh start
script asking if you wish 1 realm (low ram)
1 of all realm (like 1 realm, 1 instance ,1 fort ,...(8gb) the best !
full server like official with all 15 realm 3 realm instance ...
if you run configs 1
for othersCode:./server.sh toplist
Toplist are set for run daily.Code:./server.sh toplist
./server.sh intertoplist
If you do something wrong you can do :
Spoiler:
restart command sending in game message.
there have a fast stop for kill very fast server and normal stop for kill without any rollback.Code:./server.sh restart 'how much seconds you wish before restart"
Code:./server.sh stop
./server.sh fast_stop
for get backup you just need set cron run :
you can also put auto restart in cron (need start 1 time server before) :Code:./server.sh backup /path/to/backup
Online jaden can be set in cron too . for hourly jaden for exemple.Code:./server.sh check
For send item in game :Code:./server.sh onlinejaden "jaden amount"
Exemple :Code:./server.sh senditem 'roleid' 'title' 'content' 'itemid' 'itemnum'
Can't put space in.(will fix this later)Code:./server.sh senditem '1024' 'Send_By_Gm' 'Testing_item_sending' '41520' '1'
Add jaden to an account :
Exemple :Code:./server.sh addjaden 'login' 'cash'
Code:./server.sh addjaden 'rocklee' '99999999'
can show you all command can be used .Code:./server.sh help
gdb command = get gamedbd in text files .
For run then you need do :
I actually working on put in mysql .Code:./server.sh copydb
For link not goes down do mirror i add them to thread.
all credits too mcncc ,jamezilla(JDDC) & me
for contact me : rocklee3300 on skype .
Sorry for bad english.(sorry for mystake with already and alrealy)
P.S.:
- Uptade script come later with mysql ranking and somes others thing.
- I do a new thread because somes ask me .
- If someone know php , html or java i accept help for do full website manage this script .
For who wish i share complet command (there have too ./server.sh help for get them)
Spoiler:
Working on now :
- put txt files in sql (new gamedbd command mean new sql files).
- Web site working for this script .
-The server store ip like 16777343 = 1.0.0.127
TOASTEDspam - decode decimal IP address can decode them
but i wish get 127.0.0.1 if any can help .
Spoiler:
Update script :
Install the fix v1.08 only.
Spoiler:
Source script + v1.08 :
Attachment 152712
with lastest update (v1.08)
Actual bug :
- text in argument can't have space.
-

