Jump to content

Spre

Members
  • Posts

    103
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Spre

  1. 1and1 datacenters in california, ny and pen. I have used them for years and for the money they are good, centos, ubuntu nd debian for linux and windows 2012 for windows. they even have a deal right now but are almost out, certain dedicated servers(linux only windows is more) are free for 3 months with a 49.00 setup, and thier vps' are decent with deals right now also.

     

    1and1.com

  2. windows firewall is a joke, have you tried enabling DMZ for your lan ip  with your router.

     

    quick tet do that and disable windows fire wall, then see if you can connect, if you cant  its an isp issue,

     

    if you can, reneable windows fire wall and try again leaving dmz still enabled, if you can access then, disable dmz and just use the normal port forawrding features.

     

    if you cant connect/port is still closed with dmz on and fire wall off, your isp is blocking your ports

    if you CAN connect then your windows firewall or router is still blocking said port, thus the trial and error

  3. I have a dual server hosted on a debian os.

     

    My problem now is I don't know how to run athena-start that will open 1 login server, 2 map server and 2 char server.

     

    I read this link -> https://rathena.org/wiki/Multiple_Servers

    but I can't understand well the last part of the instruction which is written below

    athena-start
    There many way to setup that little script, but assuming or both version are on ./stable/server1/ and ./stable/server2. 
    We could copy this script in ./stable directory and edit him to check and launch our servers.
    L_SRV=./server1/login-server_sql
    C_SRV1=./server1/char-server_sql
    M_SRV1=./server1/map-server_sql
    C_SRV2=./server2/char-server_sql
    M_SRV2=./server2/map-server_sql
    check_files() {
       for i in ${L_SRV} ${C_SRV1} ${M_SRV1} ${C_SRV2} ${M_SRV2}
       do
           if [ ! -f ./$i ]; then
               echo "$i does not exist, or can't run."
               echo "Stop. Check your compile."
               exit 1;
           fi
       done
    #    more << EOF
    echo "Check complete."
    echo "Looks good, a nice Athena!"
    #EOF
    }
    'start')
           print_start
           check_files
           exec .{L_SRV}&
           exec .{C_SRV1}&
           exec .{M_SRV1}&
           exec .{C_SRV2}&
           exec .{M_SRV2}&
    'stop')
           killall ${L_SRV} ${C_SRV1} ${M_SRV1} ${C_SRV2} ${M_SRV2}
    

    My file directory is like this:

    rAthena/trans/athena-start

    rAthena/thirdjob/athena-start

     

    Questions:

    1) Do I need to copy 1 athena-start and paste it on rAthena(together with trans and thirdjob folder) folder?

    2) Which parts do I need to edit on athena-start? 

     

    Thanks in advance!

    athena-start
    There many way to setup that little script, but assuming or both version are on ./stable/server1/ and ./stable/server2. 
    We could copy this script in ./stable directory and edit him to check and launch our servers.
    L_SRV=./trans/login-server_sql
    C_SRV1=./trans/char-server_sql
    M_SRV1=./trans/map-server_sql
    C_SRV2=./thirdjob/char-server_sql
    M_SRV2=./thirdjob/map-server_sql
    check_files() {
       for i in ${L_SRV} ${C_SRV1} ${M_SRV1} ${C_SRV2} ${M_SRV2}
       do
           if [ ! -f ./$i ]; then
               echo "$i does not exist, or can't run."
               echo "Stop. Check your compile."
               exit 1;
           fi
       done
    #    more << EOF
    echo "Check complete."
    echo "Looks good, a nice Athena!"
    #EOF
    }
    'start')
           print_start
           check_files
           exec .{L_SRV}&
           exec .{C_SRV1}&
           exec .{M_SRV1}&
           exec .{C_SRV2}&
           exec .{M_SRV2}&
    'stop')
           killall ${L_SRV} ${C_SRV1} ${M_SRV1} ${C_SRV2} ${M_SRV2}
    

    no you only place it in the one directory, the script itsself will find the other directory(once stated in the script) and launch said resources

  4. It's been a while but if i remember my itemdb right its [script to run},{script that runs when equiped},{script that runs when deequiped}

     

    it would go in the first {} that is the item script after the semi colon you would add bonus bAllStats,value;   where the value is what you want the stats to be added, a file listing all possible bonuses is in doc/item_bonus.txt

  5. // ID,Sprite_Name,kROName,iROName,LV,HP,SP,EXP,JEXP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK,Range2,Range3,Scale,Race,Element,Mode,Speed,aDelay,aMotion,dMotion,MEXP,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per,Drop1id,Drop1per,Drop2id,Drop2per,Drop3id,Drop3per,Drop4id,Drop4per,Drop5id,Drop5per,Drop6id,Drop6per,Drop7id,Drop7per,Drop8id,Drop8per,Drop9id,Drop9per,DropCardid,DropCardper
    
    1516,INCREASE_SOIL,Increase Soil,Mi Gao,51,8230,0,2760,2110,1,560,700,30,12,40,45,23,12,69,12,10,12,1,0,62,0x91,445,106,1056,576,0,0,0,0,0,0,0,7264,4365,7004,2300,997,10,[i][b]969,1.3[/b][/i],0,0,0,0,0,0,0,0,0,0,4231,1
    
    1884,MAVKA,Mavka,Mavka,63,19200,0,8301,6353,7,589,623,32,19,1,42,55,35,89,177,10,12,1,3,62,0x3885,170,1536,504,360,0,0,0,0,0,0,0,1572,5,629,300,707,300,710,50,747,2000,[i][b]748,500[/b][/i],510,3000,0,0,0,0,0,0

    The drop rates are the difference.

    748 has a initial rate of 500, and 969 has an initial rate of 1.3 it appears, your 75 times multiplier only multiplies those values.

  6. Explain more please, posting "it is not working" does not give much info, what part of it doesn't work.

    What revision are you running.

    Does your item DB entry for the bubble gum look like this

    12210,Bubble_Gum,Bubble Gum,2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_start SC_ITEMBOOST,1800000,200; },{},{}

  7. you can use item bonuses to reduce it afaik

    bonus2 bSkillCooldown,s,x; Increases cooldown of skill s by x milliseconds. (supports skill names.)

    I have never used this one, So I do not know if you can use a negative value to reduce cooldown of skills by a %

    bonus bFixedCastrate,x; Increases fixed cast time of skills by x%.

    -100 Should reduce the fixed cast time you incure by 100% Try equiping the angrya manyu and attempting to have faster cast with it as it has -100 fixed castrate value already on it.

  8. just keep your map and login 127.0.0.1, the ips in the conf need to be the IP your line uses, and in all my years I have never used anything other the 127.0.0.1 and it has always worked.

    your no-ip address goes in your clientinfo file between the address lines, and your client should be diffed to use DNS if I remember correctly.

  9. it would be easier to install all the programs seperately, configuration is simple(installs with basic usability anyway)

    just

    apt-get install apache

    apt-get install php

    apt-get install mysql

    and that should install all the latest for you

    this guide shows you how to start them, http://mixeduperic.com/ubuntu/how-to-start-stop-and-restart-apache-and-mysql-on-ubuntu.html

    that is just my suggestion you can install a precompiled, preconfigured server setup such as you want if you want. they all work.

  10. I wonder if a Lua server could read certain client lua files (copied as-is with no format modifications), for things like the const.txt database and other IDs?

    It can. If you loaded it plain they would all be defined as globals.

    I don't see why not.

    I'd almost make sure a all the scripts are lua ready if i knew sketchy was more then 60% complete :D

    Most of the commands work. The only ones I haven't worked on were item scripts.

    Will this allow you to store strings and arrays on characters and accounts? Because that would pretty much be the most bad ass thing ever.

    Considering the variable handling is being done entirely* in lua, all it takes is for one to write a script to do it.

    *still using athena's inter-server functions for sending the right variables to the right server for saving, but the db operations for it will be done in lua so anybody can use their own (supported by luadbi anyway) engine if they wanted.

    -drool-

    of course you come back and reply when I am really busy! work sucks mmhmmm

    • Upvote 1
×
×
  • Create New...