Easy install 1378.

Page 1 of 5 12345 LastLast
Results 1 to 15 of 66
  1. #1
    Belgian Dev. rocklee330 is offline
    MemberRank
    Apr 2012 Join Date
    BelgiumLocation
    554Posts

    Easy install 1378.

    Files :
    Os Needed :
    http://i586.centos.org/centos/4/isos...386-binDVD.iso
    New repack :
    Download 1378 Server Interserver tgz
    Virtual Machine :
    Spoiler:

    https://mega.co.nz/#!YYwHnTgK!N_SvKZ...V7PbmB17pEJA7M
    All user and password = root ragezone.
    For select again realm you wish do
    Code:
    ./server.sh clean_first_start
    And start server .
    Code:
    ./server.sh start
    At begin he use 8gb ram (selection 2) if don't wish change don't use clean_first_start
    Tuto :

    First you need centos 4.4 32bits (i386) or you can destroy your OS.

    After put archive.gz on /root :

    Code:
    tar -zxvf *gz -C /path/to/where/you/wish/put/the/server/files
    Chmod your files , in the best 700 for allow only root user to use.

    Code:
    chmod 700 -R /path/to/where/you/wish/put/the/server/files
    If you use vmware, install tools if not skip this step :

    Spoiler:
    First click :

    For mount cd rom
    After that enter this command.
    Code:
    mkdir /media/cdrom
    mount /dev/cdrom /media/cdrom
    tar -zxvf /media/cdrom/*gz -C /tmp
    cd vm*
    ./vmware-install.pl

    Now begin settup :

    Code:
    ./server.sh install
    The script ask somes thing.

    Do you need repo?
    repo are link for yum .
    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.

    Do you need install kernel-smp for centos 4.4 ?
    If clean os you need install kernel-smp for get more then 4gb ram
    If its a clean os you need say "yes"

    Do you need install lampp for centos 4.4 ?
    Lampp are for httpd and mysql server.
    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.

    Enter Mysql IP
    You can enter ip of your mysql server or just localhost if local (if you just install lampp you need set localhost)

    Enter Mysql USER
    If not custom your user (default lampp): root

    Enter Password Mysql
    Enter password you setup in mysql setting (for lampp you configure them before)

    Enter Database Mysql
    Database you wish for JD or database you have if don't wish import them .

    Enter php_path
    Enter mysql_path
    For lampp its /opt/lampp/bin

    for others can be /usr/bin , /bin , ...

    Do you need import mysql database ?
    If you don't have your database alrealy set say "yes".

    Do you need import mysql you custom database ?
    If you have a custom sql put them and rename it to ./tools/sql/import.sql

    table.xml are set now with info alrealy give .

    If you have install kernel-smp script count for reboot.
    After reboot or after this .

    Code:
    ./server.sh install
    You need get something like this.



    Register :
    Code:
    ./server.sh login password repass email ipclient
    exemple :
    Code:
    ./server.sh "rocklee" "motdepass" "motdepass" "rocklee@email.com" "127.0.0.1"
    You can start server.

    Code:
    ./server.sh start
    the lastest configuration .

    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

    Code:
    ./server.sh toplist
    for others

    Code:
    ./server.sh toplist
    ./server.sh intertoplist
    Toplist are set for run daily.

    If you do something wrong you can do :
    Spoiler:

    Code:
    ./server.sh clean_install
    ./server.sh clean_first_start
    For fix what you need .take care you can't reinstall lampp .


    restart command sending in game message.
    Code:
    ./server.sh restart 'how much seconds you wish before restart"
    there have a fast stop for kill very fast server and normal stop for kill without any rollback.
    Code:
    ./server.sh stop
    ./server.sh fast_stop

    for get backup you just need set cron run :
    Code:
    ./server.sh backup /path/to/backup
    you can also put auto restart in cron (need start 1 time server before) :
    Code:
    ./server.sh check
    Online jaden can be set in cron too . for hourly jaden for exemple.

    Code:
    ./server.sh onlinejaden "jaden amount"
    For send item in game :

    Code:
    ./server.sh senditem 'roleid' 'title' 'content' 'itemid' 'itemnum'
    Exemple :
    Code:
    ./server.sh senditem '1024' 'Send_By_Gm' 'Testing_item_sending' '41520' '1'
    Can't put space in.(will fix this later)

    Add jaden to an account :
    Code:
    ./server.sh addjaden 'login' 'cash'
    Exemple :
    Code:
    ./server.sh addjaden 'rocklee' '99999999'
    Code:
    ./server.sh help
    can show you all command can be used .
    gdb command = get gamedbd in text files .
    For run then you need do :

    Code:
    ./server.sh copydb
    I actually working on put in mysql .

    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:
    Complete command :
    ---------------

    ./server.sh install : Install script and configure server .
    ./server.sh register 'login' 'password' 'repass' 'email' 'ipclient' (Add a player account.)
    ./server.sh addjaden 'login' 'cash' (Send jaden to login.)
    ./server.sh onlinejaden 'cash' (Send jaden to all player login.)
    ./server.sh senditem 'roleid' 'title' 'content' 'itemid' 'itemnum' (Send mail to a player.)
    ./server.sh start : For start server (Selection realm at first start) .
    ./server.sh backup '/path/to/backup' : For backup db and logs .
    ./server.sh stop : For stop server .(secure stop)
    ./server.sh fast_stop : For stop server (can get rollback but stop in 1 sec).
    ./server.sh restart 'seconds' : For restart only realm .
    ./server.sh check : For check if realm are down .
    ./server.sh clean_first_start : For select again realm start .
    ./server.sh broadcast 'CAPS' 'MESSAGES': For say something in game .

    Exemple broadcast :
    ./server.sh broadcast 1 'Test world message.'


    Command gdb ranking :
    -------------------

    First step :
    ./server.sh copydb


    Commande import :
    ---------------

    ./server.sh listrole
    ./server.sh listrolebrief
    ./server.sh listfaction
    ./server.sh listfamily
    ./server.sh listfamilyuser
    ./server.sh listshoplog
    ./server.sh listwaitdel
    ./server.sh listsyslog
    ./server.sh listterritory
    ./server.sh listrolemoney
    ./server.sh listdeityrole
    ./server.sh listpkbet
    ./server.sh walktables
    ./server.sh listbase2
    ./server.sh listduprolename
    ./server.sh listroleinventory2
    ./server.sh listitemcontainer
    ./server.sh showinfo
    ./server.sh exportcsvlogicuid
    ./server.sh exportcsvroleid
    ./server.sh exportcsvrolename
    ./server.sh exportcsvfaction
    ./server.sh exportcsvfamily


    Commande with [roleid] :
    ----------------------

    ./server.sh query [roleid]
    ./server.sh exportrole [roleid]
    ./server.sh listroleinventory [roleid]
    ./server.sh queryuser [roleid]
    ./server.sh getreferrals [roleid]


    Commande with [name] :
    ----------------------

    ./server.sh queryrolebyname [name]
    ./server.sh queryfactionbyname [name]
    ./server.sh queryfamilybyname [name]




    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:
    Code:
    #!/bin/bash
    dec2ip () {
        local ip dec=$@
        for e in {3..0}
        do
            ((octet = dec / (256 ** e) ))
            ((dec -= octet * 256 ** e))
            ip+=$delim$octet
            delim=.
        done
        printf '%s\n' "$ip"
    }
    
    dec2ip "$@"



    Update script :
    Install the fix v1.08 only.
    Spoiler:

    Fix v1.01 : Fix broacast and senditem bug(space not fixed).
    https://mega.co.nz/#!BcxVWJwI!dP2Wrt...PF1NW6icT6xD1Q
    Fix v1.02 : Fix start realm and auto restart with broadcast
    https://mega.co.nz/#!YYh2iJyC!nn97Ai...KY-pW2lD3oJeFY
    Fix v1.03 : Ranking mysql + somes others fix .
    https://mega.co.nz/#!wFpUVTCL!JtLQXL...azrt3EyPY03P2Q
    You need import again mysql db for that :
    Copy base.sql to import.sql in ./tools/sql from the fix v1.03
    Merge all files from fix (without import.sql from fix v1.03)
    Code:
    ./server.sh importmysqldb
    If you have any problem with import mysql just delete actual database and import again .
    Fix v1.04 : Full fix ranking and db mysql.
    https://mega.co.nz/#!cFBTxKRY!p-lwJf...oE5HH2yTg2LqC4
    You need import again mysql db for that :
    Copy base.sql to import.sql in ./tools/sql from the fix v1.04
    Merge all files from fix (without import.sql from fix v1.04)
    Code:
    ./server.sh importmysqldb
    If you have any problem with import mysql just delete actual database and import again .
    Fix v1.05 : Fix somes errors like realm bug.
    https://mega.co.nz/#!MEBmSKbR!qyvfkW...0ECDKTzQkVymp0

    Fix v1.06 : setup cron + somes fix added .
    https://mega.co.nz/#!UFwWDToR!XOljqd...IH_3woeQEen81o
    Code:
    ./server.sh setting_crontab
    What are added in cron
    Code:
    #######################################################################
    30 16-19 21-31 * * root cd $ScriptPath;./server.sh last_sunday_corronation
       @Daily root cd $ScriptPath;./server.sh backup '$ScriptPath/backup'
       @Daily root cd $ScriptPath;./server.sh savemysqldb
       @Daily root cd $ScriptPath;./server.sh listing;sleep 1;./server.sh send
    */5 * * * * root cd $ScriptPath;./server.sh check
    @hourly root cd $ScriptPath;./server.sh onlinejaden 50
    #######################################################################
    ($ScriptPath are auto edited when put in .)
    For corronation he say every 30min 16h-19h when corronation start .
    Do backup daily.
    Check if realm are down every 5min.
    Send online jaden (0.50jaden) every hour .
    Fix 1.07 : Fix stop script.
    https://mega.co.nz/#!NJoCgI4Z!c9snFi...d1jwfeMDNvT2hs

    Source script + v1.08 :
    base.rar
    with lastest update (v1.08)

    Actual bug :
    - text in argument can't have space.
    -
    Last edited by rocklee330; 15-09-15 at 07:35 AM. Reason: Add sources script


  2. #2
    bankai Zaraki Kenpachi is online now
    MemberRank
    Aug 2006 Join Date
    Soul SocietyLocation
    1,283Posts

    Re: Easy install 1378.

    looks good, im waiting for the download links, which websites are you uploading the files to? I also added you on skype for further assistance, thanks!

  3. #3
    Belgian Dev. rocklee330 is offline
    MemberRank
    Apr 2012 Join Date
    BelgiumLocation
    554Posts

    Re: Easy install 1378.

    Quote Originally Posted by Zaraki Kenpachi View Post
    looks good, im waiting for the download links, which websites are you uploading the files to? I also added you on skype for further assistance, thanks!
    Mega.co.nz

  4. #4
    Apprentice King Dark is offline
    MemberRank
    Apr 2014 Join Date
    8Posts

    Re: Easy install 1378.

    can this work on centos 6.5 ? and if it does please tell me and if u don't mind where i find client that work wth this server files

  5. #5
    Belgian Dev. rocklee330 is offline
    MemberRank
    Apr 2012 Join Date
    BelgiumLocation
    554Posts

    Re: Easy install 1378.

    no because right os = centos 4.4-4.9 for get all work .
    and for client i am sorry i have only french client :S

  6. #6
    Account Upgraded | Title Enabled! jamezilla is offline
    MemberRank
    Aug 2010 Join Date
    WonderlandLocation
    240Posts

    Re: Easy install 1378.

    awesome release, nice job man.

    I am currently working on making files work with newer centOS.

  7. #7
    In the Emperor name Caosfox is offline
    MemberRank
    Jun 2011 Join Date
    Balcora GateLocation
    1,608Posts

    Re: Easy install 1378.

    nice script, jd3 is working on ububtu 14+ 32 and 64 bits (interserver is not tested, im lazy to do it)

  8. #8
    Account Upgraded | Title Enabled! jamezilla is offline
    MemberRank
    Aug 2010 Join Date
    WonderlandLocation
    240Posts

    Re: Easy install 1378.

    What were the steps you took Caosfox

  9. #9
    In the Emperor name Caosfox is offline
    MemberRank
    Jun 2011 Join Date
    Balcora GateLocation
    1,608Posts

    Re: Easy install 1378.

    i take server files + libs from another site (with guide to make it work)
    i have dont remember if i can post the link to other forum, so i first pm a mod about it

  10. #10
    Account Upgraded | Title Enabled! jamezilla is offline
    MemberRank
    Aug 2010 Join Date
    WonderlandLocation
    240Posts

    Re: Easy install 1378.

    Allright thanks, but if anything just post the guide here, crediting their name.

  11. #11
    Novice DarkBr3ak is offline
    MemberRank
    Oct 2014 Join Date
    3Posts

    Re: Easy install 1378.

    Hey Guys sorry for asking in the wrong threat, i have a big problem and searched many hours on ragezone but nobody wrote about this.
    I created a JD-pServer and everything is fine but the console spam something like: "TRADE: gamed(200)" and this over and over again so i cant
    stop my server or something else. is it normal? or how can i fix it?

    Sorry for my really bad english and hopefully you can help me.

    Daniel

  12. #12
    In the Emperor name Caosfox is offline
    MemberRank
    Jun 2011 Join Date
    Balcora GateLocation
    1,608Posts

    Re: Easy install 1378.

    is anoying but is normal the gamed(xxx) values
    you can modify the start.sh or w/e starter script you have to "null" the anoying on screen msgs (i cant remember right now the exact command, im too rusty on linux)

  13. #13
    Apprentice King Dark is offline
    MemberRank
    Apr 2014 Join Date
    8Posts

    Re: Easy install 1378.

    thanksrocklee330 for ur answer . but are u going for release for centos 6.5 because i can't change to lower versions

  14. #14
    Belgian Dev. rocklee330 is offline
    MemberRank
    Apr 2012 Join Date
    BelgiumLocation
    554Posts

    Re: Easy install 1378.

    Quote Originally Posted by King Dark View Post
    thanksrocklee330 for ur answer . but are u going for release for centos 6.5 because i can't change to lower versions
    you can use vmware in centos 6.5 for do 1 centos 4.4 (that what i do )

  15. #15
    Apprentice King Dark is offline
    MemberRank
    Apr 2014 Join Date
    8Posts

    Re: Easy install 1378.

    i tryed installing vmware in centos 6.5 but it have bug with kernel and i tryed like everything but it's not working



Page 1 of 5 12345 LastLast

Advertisement