Jump to content
  • 0

Multiple Requests & Question


MusiLiciouS

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   2
  • Joined:  06/04/13
  • Last Seen:  

HI! I have multiple requests...... I hope you can help me out..
 
1) I'm having a hard time finding a script where an admin will give an item(s) to a specific player through a NPC.. There is a menu where i can enter the Item IDs..  Like for example i wanted to give Player 1  Proof of Donation, Variant Shoes and Box of Berries.. Player 1 will talk to that  NPC and claim the items all together.. Player 1 should enter his exact name to claim the items.. Somewhat Donation Claim.. 
 
2) Can someone modify this.. Freebie NPC where players will get 9 Mithril Coins and 50 Box of Berries then they will get a random costume item. Example costume item id are #20159 / #20160 / #20161 / #19661    ... They will only get 1 Costume RANDOMLY.
 
Here is the script:


valkyrie,53,80,4	script	Newbies Npc	894,{

if(##freebie == 1) goto L_1;

mes "^C45AEC** Freebie **^000000";
mes "Hello ^008080"+strcharinfo(0)+"^000000!!";
next;
mes "^C45AEC** Freebie **^000000";
mes "Welcome to Ragnarok Online";
next;
getitem 674,9;
getitem 14232,50;
getitem 19661,1;


emotion e_thx;
set ##freebie,1;
//warp "valkyrie",48,76;
close;

L_1:
mes "You had already received before the gift.";
emotion e_bzz;
close;

OnInit:
       waitingroom "FREEBIES!!!",0;
    end;
}

3) How to make this in English? Im using RO Client 2010-07-30

 

                                                    2q9h27m.jpg

 

 

THANKS IN ADVANCE..  /kis2:wub: 

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   46
  • Joined:  03/27/13
  • Last Seen:  

Doesnt work in 3ceam :(

 

Well there's another way, why don't you just make a box similar to OBB / OPB then just put the costume ID's desired, include it on the freebies and finally, input restrictions.

 

Here's a guide how to make a custom box: https://rathena.org/board/topic/84440-how-to-make-custom-old-blue-box-random-item-with-mods/

 

Or try this one:

valkyrie,53,80,4	script	Newbies Npc	894,{

if(##freebie == 1) goto L_1;

mes "^C45AEC** Freebie **^000000";
mes "Hello ^008080"+strcharinfo(0)+"^000000!!";
next;
mes "^C45AEC** Freebie **^000000";
mes "Welcome to Ragnarok Online";
next;
getitem 674,9;
getitem 14232,50;
next;
mes "^C45AEC** Freebie **^000000";
mes "And for your random costume...";
next;
set @rand,rand(1,4);
if (@rand == 1) goto R1;
if (@rand == 2) goto R2;
if (@rand == 3) goto R3;
if (@rand == 4) goto R4;

R1:
getitem 20159,1;
close;

R2:
getitem 20160,1;
close;

R3:
getitem 20161,1;
close;

R4:
getitem 19661,1;
close;



emotion e_thx;
set ##freebie,1;
//warp "valkyrie",48,76;
close;

L_1:
mes "You had already received before the gift.";
emotion e_bzz;
close;

OnInit:
       waitingroom "FREEBIES!!!",0;
    end;
}
Edited by Scylla
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   46
  • Joined:  03/27/13
  • Last Seen:  

HI! I have multiple requests...... I hope you can help me out..

 

1) I'm having a hard time finding a script where an admin will give an item(s) to a specific player through a NPC.. There is a menu where i can enter the Item IDs..  Like for example i wanted to give Player 1  Proof of Donation, Variant Shoes and Box of Berries.. Player 1 will talk to that  NPC and claim the items all together.. Player 1 should enter his exact name to claim the items.. Somewhat Donation Claim.. 

 

2) Can someone modify this.. Freebie NPC where players will get 9 Mithril Coins and 50 Box of Berries then they will get a random costume item. Example costume item id are #20159 / #20160 / #20161 / #19661    ... They will only get 1 Costume RANDOMLY.

 

Here is the script:

valkyrie,53,80,4	script	Newbies Npc	894,{

if(##freebie == 1) goto L_1;

mes "^C45AEC** Freebie **^000000";
mes "Hello ^008080"+strcharinfo(0)+"^000000!!";
next;
mes "^C45AEC** Freebie **^000000";
mes "Welcome to Ragnarok Online";
next;
getitem 674,9;
getitem 14232,50;
getitem 19661,1;


emotion e_thx;
set ##freebie,1;
//warp "valkyrie",48,76;
close;

L_1:
mes "You had already received before the gift.";
emotion e_bzz;
close;

OnInit:
       waitingroom "FREEBIES!!!",0;
    end;
}

3) How to make this in English? Im using RO Client 2010-07-30

 

                                                    2q9h27m.jpg

 

 

THANKS IN ADVANCE..  /kis2:wub: 

 

1. You can do the same as the freebies NPC

 

2. Try this one:

valkyrie,53,80,4	script	Newbies Npc	894,{

setarray .@item_id, 20159,20160,20161,19661;
if(##freebie == 1) goto L_1;

mes "^C45AEC** Freebie **^000000";
mes "Hello ^008080"+strcharinfo(0)+"^000000!!";
next;
mes "^C45AEC** Freebie **^000000";
mes "Welcome to Ragnarok Online";
next;
getitem 674,9;
getitem 14232,50;
getitem .@item_id[rand(getarraysize(.@item_id))], 1;


emotion e_thx;
set ##freebie,1;
//warp "valkyrie",48,76;
close;

L_1:
mes "You had already received before the gift.";
emotion e_bzz;
close;

OnInit:
       waitingroom "FREEBIES!!!",0;
    end;
}

3. I think you could just rename them

Edited by Scylla
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   2
  • Joined:  06/04/13
  • Last Seen:  

1. You can do the same as the freebies NPC

I wanted to have a menu where i can manage the items to send..

Freebie npc is once per account only.. Im gonna use this script as Donation Redeemer where they can redeem pods that corresponds to their donate..

Edited by MusiLiciouS
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   46
  • Joined:  03/27/13
  • Last Seen:  

 

1. You can do the same as the freebies NPC

 

I wanted to have a menu where i can manage the items to send..

Freebie npc is once per account only.. Im gonna use this script as Donation Redeemer where they can redeem pods that corresponds to their donate..

 

 

So something like this:

 

https://rathena.org/board/topic/65345-event-prize-giver-npc/

 

http://pastebin.com/raw/wTG07rbs (Credits to Euphy)

Edited by Scylla
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

valkyrie,53,80,4    script    Newbies Npc    894,{
if(##freebie == 1) goto L_1;

mes "^C45AEC** Freebie **^000000";
mes "Hello ^008080"+strcharinfo(0)+"^000000!!";
next;
mes "^C45AEC** Freebie **^000000";
mes "Welcome to Ragnarok Online";
next;
getitem 674,9;
getitem 14232,50;
getitem .@item_id[rand(getarraysize(.@item_id))], 1;


emotion e_thx;
set ##freebie,1;
//warp "valkyrie",48,76;
close;

L_1:
mes "You had already received before the gift.";
emotion e_bzz;
close;
end;

OnInit:
setarray .@item_id, 20159,20160,20161,19661;
waitingroom "FREEBIES!!!",0;
end;
}

Should set the array into OnInit. As for the Rewards thingy, I suggest what Scylla has suggested.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

Well you would have to make it work on 3ceam, we only support rAthena. Scylla would probably have background about 3ceam though.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   2
  • Joined:  06/04/13
  • Last Seen:  

Working fine now.. Thx Scylla!!!  /kis

Link to comment
Share on other sites

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...