-
Posts
177 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Luciar
-
Use your math skills here. If 10 = 0.10, then it's clearly the value you specify divided by 100.
-
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?
-
Instances are unique only to a party currently
-
Script Read the percentage of player zeny
Luciar replied to dikapramantya's question in Scripting Support
This will remove 10% of the player's zeny: Zeny -= (Zeny / 10); -
Cambie: for ( .@b = 0 ; .@b < getarraysize(.Cards); ; .@b++ ) a: for ( .@b = 0 ; .@b < getarraysize(.Cards); .@b++ )
-
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; }
-
Map server errors?? Any other information? Not sure how we can help you without more information
-
Need help with Healer disable/enable snippet
Luciar replied to PandaLovesHamster's question in Scripting Support
Add: waitingroom "Healer",0; After line 57 -
o____o what?
-
Are there any errors in your map server's log when this NPC is loaded?
-
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.
-
Merry Christmas, Happy Holidays, and a Happy New Year everyone! Be safe out there.
-
Please use a code box when posting scripts.
-
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.
-
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
- 1 reply
-
- 1
-
Ok... i surrender, hell-pe me with those scripts!
Luciar replied to Tales's question in Scripting Support
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.- 1 reply
-
- 1
-
Question regarding buying stuff in the forums
Luciar replied to PandaLovesHamster's question in General Support
The prices are listed in US Dollars -
A ) This is clearly a SCRIPT issue so it belongs in Script Support B ) CODE BOX (Please use them)
-
Refined weapon/equip as quest item using getinventory list then delete after
Luciar replied to Zirius's question in Scripting Support
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 -
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.
-
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.
-
Unfortunately I'm not sure what you're asking for. You might want to post in an international support thread: here
-
Holy cow please use a Code Box