Jump to content
  • 0

Warper request


Chromebore

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   0
  • Joined:  05/06/14
  • Last Seen:  

I would like to ask for a simple script, that when a player talks to the warper he/she must have a certain item (eg: 5 Mithril coins) before he can enter. AAnd the npc will delete that number of item in his inventory once he entered.

Also if you can modify the warper to have 2 choices, ( I will lend you my strength = enter, No im too scared ! = warp to nifleheim )

here is the warper's script:

 prontera,143,179,5 script Galaxy Warper 651,{

 
set @npc$,"[Galactica]";
 
mes @npc$;
mes "The Guardians have been awakened !";
mes "We need your help to constrain them !";
menu "I will lend you my strength !",-;
 
warp "thana_boss",135,129;
end;



thanks !


-----------------

I would also like to request for a script similar to GIFT BOX, that you can edit the droprate of the item when the box is opened. 

Im currenlty using the randombox which gives random items from the box but you cant set the droprate, anyone knows how to edit it ?

 

this is the script of randombox:

 

function script randombox {

setarray .BoxItems[0],31871,31894,31897,31203,;
 
 
set .Random, rand( getarraysize( .BoxItems ) );
getitem .BoxItems[ .Random ], 1;
end;
}


upp

Edited by Chromebore
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   5
  • Joined:  04/07/14
  • Last Seen:  

Warper: http://pastebin.com/ZjJzEf3U It should work. I have not tested it yet. For the second script can you be more specific?

Edited by zeshan321
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   0
  • Joined:  05/06/14
  • Last Seen:  

If you are familiar with the Gift Box script (IG_GiftBox) I want something similar to that

 

for example
 

909,10

7227,50

969,80

 

The chances of getting a Jellopy is 10%, TCG is 50%, Gold is 80%. But the box will only generate one item from the list.


BTW the script loads but the npc doesnt show in game ? im using rathena.


BUMP

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   5
  • Joined:  04/07/14
  • Last Seen:  

Check the startup for errors.

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