-
Posts
763 -
Joined
-
Last visited
-
Days Won
20
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by crazyarashi
-
-
1 hour ago, Questune09 said:
hi good day again rathena i was wondering how to fix this error
[error]: buildin_getvar: 'hp' is a parameter - please use readparam instead
thank you so much
Hi, Do you have the source of error? :))
-
ra_temsky,146,135,5 script Rough Stones Exchanger 756,{ mes "[Leon]"; mes "Hi adventurer, I'm Leon and im trading"; mes "a whole ^0055FFOridecon^000000 or ^0055FFElunium^000000"; mes "For 5 ^0055FFRough Oridecon^000000 or ^0055FFRough Elunium^000000"; mes "What would you like to exchange today?"; switch(select("Rough Elu to Elunium:Rough Ori to Oridecon")) { case 1: set .@i, countitem(757); if (.@i < 5) goto noelu; mes "[Leon]"; mes "[How many rough elunium would you like to exchange?]"; next; input .@e; if (.@e < 5 || .@e > countitem(757)) { mes "[Leon]"; mes "That's an invalid amount of Elunium"; mes "The Exchange rate is 5 rough elu to 1 Elunium"; close; } mes "Are you sure you want to exchange ^0055FF"+(.@e*5)+" Rough Elunium?^000000?"; if(select("Yes:No")==2) close; mes "[Leon]"; mes "Okay come to me again if you want to exchange"; delitem .@i,.@e*5; getitem 985,.@e/5; end; case 2: set .@i, countitem(757); if (.@i < 5) goto noori; mes "[Leon]"; mes "[How many rough elunium would you like to exchange?]"; next; input .@e; if (.@e < 5 || .@e > countitem(757)*5 ) { mes "[Leon]"; mes "That's an invalid amount of Elunium"; mes "The Exchange rate is 5 rough elu to 1 Elunium"; mes "Make sure you input the right value"; close; } mes "Are you sure you want to exchange ^0055FF"+(.@e*5)+" Rough Elunium?^000000?"; if(select("Yes:No")==2) close; mes "[Leon]"; mes "Okay come to me again if you want to exchange"; delitem .@i,.@e*5; getitem 985,.@e; end; } noori: mes "[Leon]"; mes "You Don't have enough rough oridecon to exchange"; close; noelu: mes "[Leon]"; mes "You Dont have enough rough elunium to exchange"; close; }
4 hours ago, Freya said:I would like to ask as to where is your case 2? You also don't have the "notelu".
Nevermind Fixed it now thank you!
-
Hi Good Day Rathena ,I Don't know if im asking in the right section but how to make this possible.
And
The Penalty for the damage in WOE Doesn't seem to apply in the Doram Race :)) -
3 hours ago, Tokei said:
Well, the input is wrong:
input .@e; if (.@e < 5 || .@e > countitem(757)) { mes "[Leon]"; mes "That's an invalid amount of Elunium"; mes "The Exchange rate is 5 rough elu to 1 Elunium"; close; } .@e = .@e / 5 * 5; mes "Are you sure you want to exchange ^0055FF" + .@e + " Rough Eluniums?^000000?"; if (select("Yes:No") == 2) close; mes "[Leon]"; mes "Okay come to me again if you want to exchange"; delitem 757, .@e; getitem 985, .@e/5; end;
And so was the delitem line.
Sending the full script
-
21 minutes ago, Freya said:
Hello, kindly post your error.
Hi Im not getting any errors but i think this part is wrong because it's not exchanging anything at all :))
mes "Are you sure you want to exchange ^0055FF"+(.@e*5)+" Rough Elunium?^000000?"; if(select("Yes:No")==2) close; mes "[Leon]"; mes "Okay come to me again if you want to exchange"; delitem .@i,.@e*5; getitem 985,.@e/5; end; }
-
Hi I'm making a rough elunium/oridecon exchanger with an amount input on it and im quite confuse right now anyone can check if this is correct. :))
prontera,255,55,5 script Rough Stones Exchanger 756,{ mes "[Leon]"; mes "Hi adventurer, I'm Leon and im trading"; mes "a whole ^0055FFOridecon^000000 or ^0055FFElunium^000000"; mes "For 5 ^0055FFRough Oridecon^000000 or ^0055FFRough Elunium^000000"; mes "What would you like to exchange today?"; switch(select("Rough Elu to Elunium:Rough Ori to Oridecon")) { case 1: set .@i, countitem(757); if (.@i < 5) goto notelu; mes "[Leon]"; mes "[How many rough elunium would you like to exchange?]"; next; input .@e; if (.@e < 5 || .@e > countitem(757)) { mes "[Leon]"; mes "That's an invalid amount of Elunium"; mes "The Exchange rate is 5 rough elu to 1 Elunium"; close; } mes "Are you sure you want to exchange ^0055FF"+(.@e*5)+" Rough Elunium?^000000?"; if(select("Yes:No")==2) close; mes "[Leon]"; mes "Okay come to me again if you want to exchange"; delitem .@i,.@e*5; getitem 985,.@e/5; end; }
-
I have this item script for autumn headband but it's not working anyone can check it :)))
{ bonus2 bSkillUseSP,SN_WINDWALK,20; bonus bLongAtkRate,5; if(getrefine()>=6) { bonus bAtk,2*(readparam(bInt)/5); } if(getrefine()>=8) { bonus2 bSkillAtk,RA_ARROWSTORM,2*(BaseLevel/10); } -
1 hour ago, Azura Skyy said:
I think not since the fly wing uses AL_teleport but you can try restricting the skill anyways. The opposite should work though- restricting fly wing but allowing teleport skill. Try playing with it and let me know what works.
EDIT: Forgot- for disabling teleports as a whole or by types check out the mapflags noreturn and noteleport.Hope this helps,
~Azura SkyyIt works thank you!
-
43 minutes ago, Eichi said:
And Rebellion + 3rd Jobs?
Try This 0x010FDF80
Just make sure you set the equip level to 100 :)) -
2 minutes ago, Akkarin said:
It's not a viewing tool, just a registry edit by @Borf a long long time ago. I don't remember what he called it but i'm sure it's still in our Files system.
Okay thanks ill try to look for it :))
-
-
Good day is it possible to disable teleport skill on a certain map and fly wing is allowed?
-
Hi Good Day Rathena is it possible for the client to read multiple iteminfo.lua, I want to add custom items without editing the iteminfo.lua like serveritems.lua
If Possible any guides how? :))
Advanced thanks for the answer -
Yes it would be something like this
if getareausers("prontera",<255>,<55>,<200>,<65>) { and for the coords not so sure but i think it works like this y1 ------------------------ y2 - - - - - - - - - - - - x1 --------------------------x2
-
-
You Should Add the trans skill to the baby jobs in the skill_tree database of your server, and you should edit the clientside skilltreeview.lub or lua so you can see the skills and learn it in game :))
-
18 minutes ago, Vex said:
Oh i forgot that mapcache thing will check it later im still figuring out how i can enable some re instances in pre-re thanks for that!
Can you post your instance.db here :))
- 1
-
yes, i think so just add the instance on the instance db and the quest db, and also the script to pre-re npc's :))
- 1
-
11 minutes ago, Radian said:
Yes you only need to disable the npc/guild/agit_controller.txt and not the agit_main.txt if your gonna use Euphy's WoE controller.
Woot~ Thanks maybe that's why the emperium is not appearing
-
prontera,255,255,5 script Cash Points Exchanger 758,{ set .@i, #CASHPOINTS; mes "[Cashpoints Exchanger]"; mes "You have ^0055FF"+.@i+" Cash Points^000000."; if (!.@i) { mes "Please come back later."; close; } mes "I can convert your ^FF0000Cash Points^000000 To a ^FF0000TCG^000000."; next; if(select(" - Trade: - ^777777Leave^000000")==2) close; mes "[Cashpoints Exchanger]"; mes "How many would you like to convert?"; next; input .@j; mes "[Cashpoints Exchanger]"; if (.@j < 1 || .@j > #CASHPOINTS) { mes "That's an invalid amount."; close; } mes "Are you sure you want to exchange ^0055FF"+.@j+" Cashpoints^000000?"; if(select(" - Yes: - No")==2) close; mes " "; set #CASHPOINTS, #CASHPOINTS-(.@j*1); getitem 7227, .@j; mes "You now have "+countitem(7227)+" TCG."; close; }
Cashpoints to TCG
- 1
-
Hi Rathena Good Day,
Im Using Euphy's WOE Controller and i have a question.
I've search the forums about this and see multiple answers so im not really sure about it
Should i disable agit_controller.txt and agit_main.txt?
some say you should just disable the agit_controller.txt and some say you don't need to disable anything.
Anyone can clarify this for me :)) -
1 minute ago, Akkarin said:
Reading the software documentation is always a good start.
Thank you!
-
57 minutes ago, hazimjauhari90 said:
Hi i didn't extract the parent folder since there is tons of file in data.grf but ill add a proper directory for it :))
-
15 minutes ago, Jey said:
Oh I just realized:
*isequippedcnt is for counting cards only. Sorry didn't see it correctly. I thought it will count equipped items by a given nameid.
So a command to count equipped items is missing. There are now other possible solutions:
- As I mentioned above change the equip loc of the accessory to either right or left. (easiest method)
- Write a custom script-command like *countequipped(<itemid>) (most efficient solution)
- Write a custom script-function by using getinventorylist to count equipped items. Example:
# Careful! Not tested. function script countequipped { getinventorylist(); .@nameid = getarg(0,0); .@count = 0; for( .@i = 0; .@i < @inventorylist_count; .@i++) { if( @inventorylist_id[.@i] == .@nameid && @inventorylist_equip[.@i] > 0 ) .@count++; } return .@count; }
- Use countitem as a workaround for countequipped (Note: every inventory item will be counted)
Example DB entry for Clip:
2607,Clip,Clip,4,30000,,100,,0,,1,0xFFFFFFFF,63,2,136,,0,0,0,{ bonus bMaxSP,10; },{},{} #standard
2607,Clip,Clip,4,30000,,100,,0,,1,0xFFFFFFFF,63,2,136,,0,0,0,{ if( callfunc("countequipped",2607) > 1 ) { bonus bMaxSP,5; } else { bonus bMaxSP,10; } },{},{}
If you're interested in using the command "countequipped", I'll create a pull request for it as a script command, since I wouldn't recommend the inflationary use of getinventorylist.
Please do
Thanks for the help :))
Error from my database
in Database Support
Posted
I mean is there any npc,item or other things that might be the source of the error? :))