mervz02 Posted December 20, 2023 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 09/29/16 Last Seen: September 11, 2024 Share Posted December 20, 2023 Hi Experts, Would like to ask if we can make this script working on rathena, its working on my Hercules but here in rathena it doesn't anyone? here the code Thank you in Advance moc_para01,23,35,5 script Activity Shop 4_F_ACOLYTE,{ set @header$,"[^FF8000 Activity Shop ^000000]"; mes @header$; mes "Hi " + (Sex ? "sir!" : "madam!"); mes " "; mes "How have you been, You should do some activities!"; switch(select("Activity Shop:I need more time!")) { case 1: openshop("Activity_Shop"); end; case 2: mes "[^FF8000 Activity Shop ^000000]"; mes "Ok come back later."; break; } close; } - trader Activity_Shop -1,{ OnInit: tradertype(NST_CUSTOM); // Upper sellitem Battle_Manual100,3; sellitem Battle_Manual_X3,7; sellitem Inc_Agi_10_Scroll,1; sellitem Blessing_10_Scroll,1; sellitem Bubble_Gum,50; sellitem Max_Weight_Up_Scroll,50; sellitem Str_Dish10,5; sellitem Agi_Dish10,5; sellitem Vit_Dish10,5; sellitem Int_Dish10,5; sellitem Dex_Dish10,5; sellitem Luk_Dish10,5; end; OnCountFunds: setcurrency(#ACTIVITYPOINTS); end; OnPayFunds: if( #ACTIVITYPOINTS < @price ) end; #ACTIVITYPOINTS = #ACTIVITYPOINTS - @price; purchaseok(); end; } Quote Link to comment Share on other sites More sharing options...
0 pajodex Posted December 20, 2023 Group: Members Topic Count: 79 Topics Per Day: 0.03 Content Count: 439 Reputation: 173 Joined: 12/12/17 Last Seen: 3 hours ago Share Posted December 20, 2023 rAthena is not same as Herc. You can use the pointshop we are using tho.. Use this format: <map name>,<x>,<y>,<facing>%TAB%pointshop%TAB%<NPC Name>%TAB%<sprite id>,<costvariable>{:<discount>},<itemid>:<price>{,<itemid>:<price>...} It should be straight forward from hereon. Goodluck! Quote Link to comment Share on other sites More sharing options...
0 mervz02 Posted December 20, 2023 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 09/29/16 Last Seen: September 11, 2024 Author Share Posted December 20, 2023 1 hour ago, pajodex said: rAthena is not same as Herc. You can use the pointshop we are using tho.. Use this format: <map name>,<x>,<y>,<facing>%TAB%pointshop%TAB%<NPC Name>%TAB%<sprite id>,<costvariable>{:<discount>},<itemid>:<price>{,<itemid>:<price>...} It should be straight forward from hereon. Goodluck! Hi Thank you, but can you help me about the script above? i dun know how to make it, very little knowledge in scripting right now. all i want is to view that shop using the activity points Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted December 30, 2023 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10015 Reputation: 2364 Joined: 10/28/11 Last Seen: Saturday at 07:02 PM Share Posted December 30, 2023 https://rathena.org/board/topic/90173-item-and-point-shop/ Quote Link to comment Share on other sites More sharing options...
Question
mervz02
Hi Experts,
Would like to ask if we can make this script working on rathena, its working on my Hercules but here in rathena it doesn't anyone? here the code
Thank you in Advance
moc_para01,23,35,5 script Activity Shop 4_F_ACOLYTE,{ set @header$,"[^FF8000 Activity Shop ^000000]"; mes @header$; mes "Hi " + (Sex ? "sir!" : "madam!"); mes " "; mes "How have you been, You should do some activities!"; switch(select("Activity Shop:I need more time!")) { case 1: openshop("Activity_Shop"); end; case 2: mes "[^FF8000 Activity Shop ^000000]"; mes "Ok come back later."; break; } close; } - trader Activity_Shop -1,{ OnInit: tradertype(NST_CUSTOM); // Upper sellitem Battle_Manual100,3; sellitem Battle_Manual_X3,7; sellitem Inc_Agi_10_Scroll,1; sellitem Blessing_10_Scroll,1; sellitem Bubble_Gum,50; sellitem Max_Weight_Up_Scroll,50; sellitem Str_Dish10,5; sellitem Agi_Dish10,5; sellitem Vit_Dish10,5; sellitem Int_Dish10,5; sellitem Dex_Dish10,5; sellitem Luk_Dish10,5; end; OnCountFunds: setcurrency(#ACTIVITYPOINTS); end; OnPayFunds: if( #ACTIVITYPOINTS < @price ) end; #ACTIVITYPOINTS = #ACTIVITYPOINTS - @price; purchaseok(); end; }
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.