Jump to content

Akkarin

Forum Manager
  • Posts

    3123
  • Joined

  • Last visited

  • Days Won

    208

Everything posted by Akkarin

  1. The doc folder that ships with rAthena has everything you need. All the script commands are detailed in https://github.com/rathena/rathena/blob/master/doc/script_commands.txt
  2. User error. The correctly followed setup process works fine for everyone else.
  3. Akkarin

    NPC vip

    Yes - it describes each script command and how to use them. Most have examples. The top few hundred lines explains the types of NPC scripts, variables and syntax. It's supposed to be the first place anyone goes to see how to script anything.
  4. Akkarin

    NPC vip

    Add extra menu items for different days and use vip_time (.@days * 1440). The script_commands.txt file will help you with this.
  5. Akkarin

    NPC vip

    You don't even have VIP enabled.. Remove the comments before VIP_ENABLE.
  6. Akkarin

    NPC vip

    Have you enabled VIP script execution? https://github.com/rathena/rathena/blob/master/src/config/core.h#L70
  7. Which script are you using? How old is your rA? What mobs are you testing with? Are they using melee attack or skills? We can't help you if you don't give us information..
  8. Akkarin

    NPC vip

    I'm a tool. Should be -= or replace that line with this if you want to look them up in the command logs too: atcommand "@cash -" + .@cashperday; I also just did a quick search on the forums because i'm sure i've already seem something similar and found this:
  9. Akkarin

    NPC vip

    If you mean exchanging Cash Points for extra VIP days, the above script won't work. A simple NPC that adds VIP time and subtracts #CASHPOINTS is very easy to make. prontera,100,100,5 script CashToVIP 123,{ .@cashperday = 100; mes "["+ strnpcinfo(1)+"]"; if(#CASHPOINTS == 0){ mes "You need Cash Points in order to buy VIP time"; close; } switch(vip_status(1)){ case 0: mes "You're not a VIP"; break; case 1: mes "You are a VIP"; break; } mes "You currently have "+ #CASHPOINTS +" Cash Points."; mes "Each VIP Day will cost you ^0000ff"+ .@cashperday +"^000000"; next; mes "["+ strnpcinfo(1)+"]"; if( #CASHPOINTS < .@cashperday ){ mes "You don't have enough Cash Points to purchase VIP Days"; close; } else { mes "Would you like to purchase/increase your VIP Days?"; switch(select(" - Nope: - Yeah!")){ case 1: break; case 2: #CASHPOINTS -= .@cashperday; vip_time 1440; dispbottom "Current Cash Points: "+ #CASHPOINTS; dispbottom "VIP Expires: "+ vip_status(2); break; } close; } }
  10. "rejected" doesn't just mean packet keys. What does your login server say?
  11. Wrong. ./configure && make clean && make server No make sql.
  12. The script command documentation details how to use @commands via script. Usage in items is no different. https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L7113
  13. Are you trying to run the official patcher and client? That's the only time I've ever seen that message box.
  14. They're loaded one after another and overwrite existing entries, you can have up to 10 if I recall. They don't cause client lag.
  15. Are you necro-posting for a reason? The "Best Answer" had already been selected. Further posting to re-iterate the posts already made is rather pointless.
  16. We already established that.
  17. You can either add a timer to each mob or you can do a simple killmonster on the map. I guess it depends on the map..
  18. I've just asked the devs the same question as i hadn't thought about it before. They said that you can still take the items out from storage, you just won't be able to add any new ones in until you're below the storage limit again.
  19. 1. The name of the script is not a descriptive topic title. 2. rAthena doesn't use SVN. 3. "latest" will get you ignored by our developers. 4. Show logs or debug output to prove it's not being read. 5. Did you follow the notes in the script file header that says you need to have PCRE installed?
  20. The Vending module displays vendors shops and their items already, unless i misunderstand your request?
  21. Akkarin

    Error in Flux CP

    As that's not a default theme you're using, i'd suggest getting in contact with the person who designed it and ask them politely to solve problems with their theme.
  22. `item_db_re` is in the rA sql-files dir, while the `items` table is a temporary table that will be created after the other is inserted into your database. FluxCP creates `items` dynamically.
  23. Akkarin

    Flux CP Problem

    In your php.ini change error_reporting to: error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT It should be around line 450.
  24. You were given the answer twice. If you did some research (using the search box at the top of any page) you'd find the answer you are looking for. The older clients can be hexed to read specific grf's without needing data.ini. The newer ones can have contents of the data.ini file embedded, which is what you want. Learn to read the responses being given to you before getting upity again.
×
×
  • Create New...