Jump to content

Luciar

Members
  • Posts

    177
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Luciar

  1. Use your math skills here. If 10 = 0.10, then it's clearly the value you specify divided by 100.
  2. setarray .@i[ 0 ], 1000, 1500, 2000, 2500, 3000, 3500, 4000; This array holds the values that will be randomly selected as rates. Change the numbers to change what the rates will be. Side note: What is j.@a in your announce line? Is that a typo?
  3. Instances are unique only to a party currently
  4. This will remove 10% of the player's zeny: Zeny -= (Zeny / 10);
  5. Cambie: for ( .@b = 0 ; .@b < getarraysize(.Cards); ; .@b++ ) a: for ( .@b = 0 ; .@b < getarraysize(.Cards); .@b++ )
  6. prontera,123,123,4 script Skull Cleaner 123,{ mes "[^0000FFSkull Cleaner^000000]"; mes "Would you like me to remove the names from your collected skulls?"; if(select("Yes:No") == 2) end; .@amount = countitem( 7420 ); delitem 7420,.@amount; getitem 7420,.@amoint; mes "There you go!"; close; }
  7. Map server errors?? Any other information? Not sure how we can help you without more information
  8. Are there any errors in your map server's log when this NPC is loaded?
  9. Happy holidays and a happy new year to all!

  10. No. Those are MySQL server configuration settings in inter_athena.conf... Nothing to do with the server password used to communicate between the servers. Also, making modifications to anything outside of the src folder does not require a recompile. @Radian, Check conf/login_athena.conf Check if you are or are not using MD5 hashes. If yes, make sure your s1 account in your login table of your MySQL DB's password is set to have a hashed password that corresponds to your non-encoded server password. Then check your conf/map_athena.conf and verify the password setting Do the same in conf/char_athena.conf (Both of these settings should be NON-encoded) I've linked to the normal files, be sure to check any import folder configurations as well.
  11. Merry Christmas, Happy Holidays, and a Happy New Year everyone! Be safe out there.
  12. Please use a code box when posting scripts.
  13. Change: if (countitem(969) <250) && (countitem(4001) <20) && (Zeny < .@NeedZeny) goto L_Missing; To: if(countitem(969) < 250 || countitem(4001) < 20 || Zeny < .@NeedZeny) goto L_Missing; This will change the logic from AND (meaning all statements are true) to OR (at least one of the statements is true). Check out your checkweight options here.
  14. General Forum Etiquette Please don't edit your first post to remove your question when your problem has been solved.Please read the forum rules: here
  15. setd ".@enc$", select("Fighting Enchant:Magic Enchant:Archer Enchant:Critical/Fatal Enchant:Max HP Enchant:Max SP Enchant:ASPD Enchant:STR Enchant:AGI Enchant:DEX Enchant:VIT Enchant:INT Enchant:LUK Enchant"); This sets a variable (name determined by the value of .@enc$) equal to the selection of the menu presented by the select script command. For example, if .@enc$ = ".@variable" and the user selects "Fighting Enchant" from the menu then .@variable = 1 .@EnStat = callfunc( (.chancetype?"EnchantStat_1":"EnchantStat_0"), .@enc$) ; This sets the variable .@EnStat to the value that is returned by the function EnchantStat_1( ) or Enchant_Stat_0( ) (function determined by the variable .chancetype) with an argument passed that was defined by the above setd line.
  16. A ) This is clearly a SCRIPT issue so it belongs in Script Support B ) CODE BOX (Please use them)
  17. Updated from the wiki: getinventorylist; for(.@i = 0; .@i < @inventorylist_count; .@i += 1){ if(@inventorylist_id[.@i] == 512){ // 512 is the item id for apple mes "You have an apple with you!"; close; } } mes "You don't have an apple with you :("; close; Read which variables are set by getinventorylist; Here
  18. If you're using eAthena then many of the script commands rAthena uses do not exist. You cannot use definitions such as @menu$ = ""; In eAthena. You must revert all instances of var = value; to set var,value; In other words: it's time to update to rAthena and this issue, along with many others, will disappear.
  19. Run a search in your npc directory for the string "mid_camp" Then you'll know which files have NPCs on that map. You can then remove them by either removing the whole file or commenting/deleting specific npc scripts.
  20. Unfortunately I'm not sure what you're asking for. You might want to post in an international support thread: here
  21. Holy cow please use a Code Box
×
×
  • Create New...