Jump to content

Whathell

Members
  • Posts

    116
  • Joined

  • Last visited

Community Answers

  1. Whathell's post in help me with this was marked as the answer   
    Yes, it really wont work the way you are expecting.
    Let me tell you what you added.
    set .@stpoint, 300; (actually you added >300) -- What it does: this line here gives the .@stpoint a value of 300 every time you use it in other parts of your script. Use: easy script set up. Editing this part will reflect in the whole script.
     
    Use like:
    set .@Save,5000; // Zeny required to save a build   ---- setting
     
    if (Zeny<.@Save) { message strcharinfo(0),"Not enough Zeny."; close; }  ----- use in script
    if (Zeny<5000) { message strcharinfo(0),"Not enough Zeny."; close; }  ------ this is how the script is read based on the setting
     
     
    For the script to work the way you want, you might need a limit on your sql table where the build is saved that will return an error. Or maybe a per stat check before saving builds. You can go ask for that in scripting request maybe.
  2. Whathell's post in mapflag for pvp no costumo not working was marked as the answer   
    In your restricted.txt you put in the zone number as 32. 
    //no custom guild_vs1    mapflag    restricted    32 prtg_cas03    mapflag    restricted    32   Try using numbers 1-7 when applying this.
    I'd say use number 1 
    //no custom guild_vs1    mapflag    restricted    1 prtg_cas03    mapflag    restricted    1   since you used 32 in
    trunk/db/pre-re/item_noequip.txt
    //no custom 26335,32  
  3. Whathell's post in How to enable WoE Mechanics to PvP Room was marked as the answer   
    If you use gvg mapflag, reductions will also apply.
  4. Whathell's post in 'Remove all equipment' not working was marked as the answer   
    That function is not implemented here on rAthena.
  5. Whathell's post in Help with Drop System was marked as the answer   
    Yep rathena uses that feature if you are using renewal. You can remove it here:
     
    src/config/renewal.h
    /// renewal drop rate algorithms /// (disable by commenting the line) /// /// leave this line to enable renewal item drop rate algorithms /// while enabled a special modified based on the difference between the player and monster level is applied /// based on the http://irowiki.org/wiki/Drop_System#Level_Factor table #define RENEWAL_DROP /// renewal exp rate algorithms /// (disable by commenting the line) /// /// leave this line to enable renewal item exp rate algorithms /// while enabled a special modified based on the difference between the player and monster level is applied #define RENEWAL_EXP just comment out "#define RENEWAL_DROP" and
    "#define RENEWAL_EXP" if you want to disable the exp adjustments too.
  6. Whathell's post in Hourly points script slight problem was marked as the answer   
    you are missing a curly.
    try this one, didnt check tho.
    - script hourlypoints -1,{ //--Start of the Script OnPCLoginEvent: attachnpctimer ""+strcharinfo(0)+""; initnpctimer; end; OnTimer60000: set @minute, @minute + 1; if(@minute == 20){ set @minute,0; set .@point_amt, 2; //Points to get every hour (default: 10) } if(checkvending() >= 1) { dispbottom "The hourly points event haulted because you were vending."; stopnpctimer; end; } else { set #CASHPOINTS, #CASHPOINTS + .@point_amt; dispbottom "You received "+.@point_amt+" cash points for staying in-game."; dispbottom "Current Balance = "+#CASHPOINTS+" Cash Points"; set @consecutive_hour, @consecutive_hour + 1; } } if(@consecutive_hour == 3) { set @consecutive_hour,0; set .@cpoint_amt, 10; //Points to get for 12 Consecutive hours (default: 50) set #CASHPOINTS, #CASHPOINTS + .@cpoint_amt; dispbottom "You received "+.@cpoint_amt+" bonus cash points for playing for 1 hour."; dispbottom "Current Balance = "+#CASHPOINTS+" Cash Points"; } stopnpctimer; initnpctimer; end; } //--End of the Script
  7. Whathell's post in Drop rates was marked as the answer   
    100 = 1x
    200 = 2x
    1000 = 10x
     
    simple as that. so for example:
     
    mvp cards:
    base = 0.01%  || item_rate_card_boss: 100
     
    to make it to 5%
    use:
    item_rate_card_boss: 50000
  8. Whathell's post in Failed to Authenticate (5011) - Yeah again, i'm sorry. was marked as the answer   
    You are using Loki launcher to start the client right?

    and check:
    src/common/mmo.h
      search #define PACKETVER YYYYMMDD And match it with the date version you choosed for your client ex :     #define PACKETVER 20130522   id not done, edit as necessary then recompile your server.
     
  9. Whathell's post in Yellow name on normal User was marked as the answer   
    The only way I know is diffing your client and disabling GM sprites. This way, you can assign any account ID thru clientinfo.xml to make their name yellow but without the GM clothes. But ofc, all IDs wont have the sprite, that means your GMs wont have the clothes too.
×
×
  • Create New...