ayre
-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by ayre
-
-
Server Edit:
// Items Database//// Structure of Database:// ID,AegisName,Name,Type,Buy,Sell,Weight,ATK,DEF,Range,Slots,Job,Class,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script }
When adding your item to the itemDB, make sure you define the amount of slots which is after Range and before Job in the structure.
Client Side Edit:
Depending on your client, you need to edit a txt or lua/lub file.
Clients that use txt files
Clients that use the lua/lub files
http://rathena.org/wiki/Custom_Items#Defining_Items_Clientside_.28For_New_Clients.29
-
You do know you don't need the second if statement on each case. You're already checking for the items in the first if statement.
Your zeny check is the wrong way. You have it as: If you have more than or equal to 10000000, it's going to reject you. You want it t o actually mean, if you have less than X zeny, reject user.
This is the correct script based off your work. This one works on my server when I was testing it.
invek,145,165,3 script Bossnia Guard 123,{ set .@name$,"[Bossnia Guard]"; mes .@name$; mes "What level of Bossnia do you want to enter?"; next; switch(select("Bossnia1:Bossnia2:Bossnia3:Bossnia4")){ case 1: mes .@name$; mes "Ok then,"; mes "First you need to pay me 100,000,000z and bring me ^ff000010 Crystal Fragments^000000.."; next; mes "Ow you already have them!"; if (countitem(7321) <10 || Zeny < 100000000 ) { mes .@name$; mes "Sorry you don't have enough zeny or you don't have the required items"; } else { delitem 7321,10; set Zeny, Zeny-100000000; warp "bossnia_01",203,203; } close;break; case 2: mes .@name$; mes "Ok then,"; mes "First you need to pay me 100,000,000z and bring me ^ff000010 Crystal Fragments^000000.."; next; mes "Ow you already have them!"; if (countitem(7321) <10 || Zeny < 100000000 ) { mes .@name$; mes "Sorry you don't have enough zeny or you don't have the required items"; } else { delitem 7321,10; set Zeny, Zeny-100000000; warp "bossnia_02",203,203; } close; break; case 3: mes .@name$; mes "Ok then,"; mes "First you need to pay me 100,000,000z and bring me ^ff000010 Crystal Fragments^000000.."; next; mes "Ow you already have them!"; if (countitem(7321) <10 || Zeny < 100000000 ) { mes .@name$; mes "Sorry you don't have enough zeny or you don't have the required items"; } else { delitem 7321,10; set Zeny, Zeny-100000000; warp "bossnia_03",203,203; } close; break; case 4: mes .@name$; mes "Ok then,"; mes "First you need to pay me 100,000,000z and bring me ^ff000010 Crystal Fragments^000000.."; next; mes "Ow you already have them!"; if (countitem(7321) <10 || Zeny < 100000000 ) { mes .@name$; mes "Sorry you don't have enough zeny or you don't have the required items"; } else { delitem 7321,10; set Zeny, Zeny-100000000; warp "bossnia_04",203,203; } close; break; } }
-
Check the map-server console and see if there are any error messages.
-
Is it possible to move the cash shop button or atleast be able to toggle it on/off? I know you can assign a hotkey to open and close the cashshop window
- 1
Renewal Casting Time
in Source Support
Posted
Is it possible to change the variable casting time from 80% to 100%, removing that fixed time of 20%? I tried changing the formula in skill.c from
to
I have max stats, 255 and it doesn't seem to change much.