Jump to content
  • 0

ACTIVITY SHOP HELP SCRIPT


mervz02

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  09/29/16
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  78
  • Topics Per Day:  0.03
  • Content Count:  436
  • Reputation:   167
  • Joined:  12/12/17
  • Last Seen:  

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!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  09/29/16
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...