Jump to content

CrescentSaga

Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by CrescentSaga

  1. I'm not sure if looping this would be a good idea.
    with all the server load and everything since this script will run for every character that equipped this item on your server.

    It has been a very long time since I touched rAthena at all, so I'm not sure if this will work correctly.

    while (getequipid(EQI_ACC_L) == item_id || getequipid(EQI_ACC_R) == item_id) { bonus bMaxSP,readparam(bFlee); sleep 2000; }

     

    EQI_ACC_L (0) - Accessory 1
    EQI_ACC_R (1) - Accessory 2
    EQI_SHOES (2) - Footgear (shoes, boots)
    EQI_GARMENT (3) - Garment (mufflers, hoods, manteaux)
    EQI_HEAD_LOW (4) - Lower Headgear (beards, some masks)
    EQI_HEAD_MID (5) - Middle Headgear (masks, glasses)
    EQI_HEAD_TOP (6) - Upper Headgear
    EQI_ARMOR (7) - Armor (jackets, robes)
    EQI_HAND_L (8) - Left hand (weapons, shields)
    EQI_HAND_R (9) - Right hand (weapons)
    EQI_COSTUME_HEAD_TOP (10) - Upper Costume Headgear
    EQI_COSTUME_HEAD_MID (11) - Middle Costume Headgear
    EQI_COSTUME_HEAD_LOW (12) - Lower Costume Headgear
    EQI_COSTUME_GARMENT (13) - Costume Garment
    EQI_AMMO (14) - Arrow/Ammunition
    EQI_SHADOW_ARMOR (15) - Shadow Armor
    EQI_SHADOW_WEAPON (16) - Shadow Weapon
    EQI_SHADOW_SHIELD (17) - Shadow Shield
    EQI_SHADOW_SHOES (18) - Shadow Shoes
    EQI_SHADOW_ACC_R (19) - Shadow Accessory 2
    EQI_SHADOW_ACC_L (20) - Shadow Accessory 1

     

    • Love 1
  2. On 5/17/2019 at 8:23 PM, Universe said:

    Why not just use the floating ip as the server ip?

    It won't solve your problem if a DDOS attack goes directly into your server,
    Since you're still using the same network interface, getting that pipe saturated will prevent you from restarting/changing your server IP.
    And as far as renting a server goes, changing your IP can take quite a while.

    Whoever if you hide your server IP behind a proxy, let's say a Google VM or Amazon, you can instantly change your VM IP into something else and repatch your client.
    This is quickly stop the attack since they are now targetting an unused IP. More-over, if you can setup multiple proxy for your server, you can set the Amazon/Google VM to instantly shutdown itself if it's under attack,
    This will save you a lot of trouble from having to change your IP, and DDOS, as common as it is, cost money.

    The more proxy they have to shut down to stop you, the more expensive it gets for them.
    And there's always the limitation of resources your attacker has to keep DDOS-ing you, at some point, they won't be able to keep stricking you.

    At a better level, you can also set load balancing for your VM.
    Which will help tremendously in reducing the strain of DDOS attack on your proxy.

    And as an added bonus, some provider does provide with a basic anti-ddos.
    It is not as powerful, but it will stop some basic attacks.

    • Upvote 1
  3. Why would you need a proxy server?

    If I remember correctly it shouldn't be hard.
    Do you have a linux server?

    Here.
    Try to follow these steps.
    I know it wasn't very clear, but I believe with a little bit of knowledge you should be able to do it.
     

    #RO-Server Proxy IP Tables (Replace 0.0.0.0 with your Main Server IP & Port with Your Server Port)
    iptables-save > /etc/iptables_rules
    /sbin/iptables-restore < /etc/iptables_rules
    iptables -t nat -A PREROUTING -p tcp --dport 6900 -j DNAT --to-destination 0.0.0.0:6900
    iptables -t nat -A PREROUTING -p tcp --dport 5121 -j DNAT --to-destination 0.0.0.0:5121
    iptables -t nat -A PREROUTING -p tcp --dport 6121 -j DNAT --to-destination 0.0.0.0:6121
    iptables -t nat -A POSTROUTING -j MASQUERADE
    sysctl net.ipv4.ip_forward=1
    
    # Allow Ragnarok Online
    iptables -A INPUT -p tcp --dport 6900 -m state --state NEW -j ACCEPT
    iptables -A INPUT -p tcp --dport 5121 -m state --state NEW -j ACCEPT
    iptables -A INPUT -p tcp --dport 6121 -m state --state NEW -j ACCEPT
    
    # Have these rules take effect when iptables is started
    iptables-save

     

    After this, just change your client IP Address to the proxy server IP.

    • Upvote 1
    • Love 1
    • MVP 1
  4.  

    One way would be to find a changelog to where support of 2013+ clients were made, and then manually apply those changes to the eamod for those clients to work

    Thx judas ill look into that :)

    doesn't eamods have ramods as well?

    I am using the ramod but it supports till kagerou oboro only :/

     

     

    Latest rAmods support rebellion

  5. Index: src/map/battle.h
    ===================================================================
    --- src/map/battle.h	(revision 17310)
    +++ src/map/battle.h	(working copy)
    @@ -81,10 +81,11 @@
     	BCT_NOPARTY = 0x1b0000, //This should be (~BCT_PARTY&BCT_ALL)
     	BCT_GUILD	= 0x080000,
     	BCT_NOGUILD = 0x170000, //This should be (~BCT_GUILD&BCT_ALL)
    -	BCT_ALL     = 0x1f0000,
    +	BCT_ALL     = 0x1f0001,
     	BCT_NOONE   = 0x000000,
     	BCT_SELF    = 0x010000,
     	BCT_NEUTRAL = 0x100000,
    +	BCT_FACTION = 0x000001, // Complete Faction System [Lilith]
    

    What i found...

    /// Battle check target [Skotlex]
    enum e_battle_check_target {
    	BCT_NOONE		= 0x000000, /// No one
    	BCT_SELF		= 0x010000, /// Self
    	BCT_ENEMY		= 0x020000, /// Enemy
    	BCT_PARTY		= 0x040000, /// Party members
    	BCT_GUILDALLY	= 0x080000, /// Only allies, NOT guildmates
    	BCT_NEUTRAL		= 0x100000, /// Neutral target
    	BCT_SAMEGUILD	= 0x200000, /// Guildmates, No Guild Allies
    
    	BCT_ALL			= 0x3F0000, /// All targets
    
    	BCT_GUILD		= BCT_SAMEGUILD|BCT_GUILDALLY, /// Guild AND Allies (BCT_SAMEGUILD|BCT_GUILDALLY)
    	BCT_NOGUILD		= BCT_ALL&~BCT_GUILD, /// Except guildmates
    	BCT_NOPARTY		= BCT_ALL&~BCT_PARTY, /// Except party members
    	BCT_NOENEMY		= BCT_ALL&~BCT_ENEMY, /// Except enemy
    };
    

    BCT_ALL = 0x3F0000, /// All targets

     

    What to do? :(

  6. Not sure where to post this...
    But rAthena Billing system appears to be down... 

    I kept getting ask for Street Address and Postal Code even though i filled them already....

    Is it only me or everyone's experiencing the same issue??

     

    Tried on Google Chrome & Firefox, both have the same error.

  7. I used this episode previously in my RO, everything works...
    But now, somehow i can't use the episode anymore...
    All Arsinoe Maps crashed, rsw file failed to load...

    Couldn't solve this problem... I can warp to any other Episode 14 and above with no problem, no crash...

    Can someone help to resolve this problem?? :(

     

    Nevermind... I forgot the resnametable.txt

  8. Sorry for the delay, I was busy!

     

    no data.ini was alright, i tried building another GRF with 0x103 and it was alright, so i think it has problem but only with 0x200...

    I've double checked everything and I'm having absolutely no issues with the 0x200 version. The packing/extracting process is really straightforward for the 0x200 version as well. Have you tried building a GRF with another tool to check if the issue persist? If you're able to read the GRF only with the 0x103 version, then it's very, very weird and I'm not sure what could be causing the problem here. If you can give me a specific and simple scenario that I can reproduce, that would be very helpful!

     

     

     

    >

    why, i'm can't instal this program with my netbook even i'm already installed net framework 4.0

    Download the newest version (1.1.3) and use the MSI installer (GRF Editor Installer). It *should* install any missing libraries. Tell me if this helped  :).

     

    I tried the GRF Builder yesterday, and it was working fine...

    I have some weird issue with this tool, like for example the GRF i made with this tool is somehow not patchable either by using Thor / Neon...

    The only error notification i got is "GRF Version is outdated"

×
×
  • Create New...