Jump to content
  • 0

Guild Package Box?


kitty14

Question


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

Hello!

i just want to ask i dont know if im in the right section! 
how to create a box like the "Veteran Siege Supply Box".

cuz Em making a box for guild package for i can trade it easily to them  and will contain like 10 different items. iv tried making item_groupdb and item_db. but i get error like

invalid group id '0' specified.[

Error]: getgroupitem:invalid group id '0' specified.

[Debug]: Source (NPC): FAKE_NPC (invisible/not on a map)

i wonder how? cuz i dont want to use this http://rathena.org/board/topic/70613-utility-guild-pack-giver/ cuz its for 1 IP only , how about the players playing in a cafe .. please help me!

 

 

thanks!!!

Edited by kitty14
Link to comment
Share on other sites

11 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

@Veracious: uhmmm what do you mean?? im done on that part wanting to know whats next on server side?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  179
  • Reputation:   17
  • Joined:  04/24/14
  • Last Seen:  

@kitty you edited it just after i posted, your previous post wasn't specific sorry :(

 

btw, did you try what jaBote said to remove ip checking? - http://rathena.org/board/topic/70613-utility-guild-pack-giver/#entry191924

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

i'd rather choose to deal/trade

 

Hello!

i just want to ask i dont know if im in the right section! 
how to create a box like the "Veteran Siege Supply Box".

 

 i just want to create a box with items inside. so in future i will not ask again if i make another box with different items inside

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  108
  • Reputation:   12
  • Joined:  06/19/12
  • Last Seen:  

You could at least make another box and put things inside it.. I mean, make a custom box and just add the items you want them to contain in its script like :

{ getitem <item_id>,<quantity>; getitem <item_id>,<quantity>;.... and so on.. },{},{}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

yup i know that. was thinking about when opening the box there name will appear on the items?
like the supply box like " <charname> Woe white potion"..

Edited by kitty14
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  108
  • Reputation:   12
  • Joined:  06/19/12
  • Last Seen:  

use @produce like

{ atcommand "@produce <item_id>,<quantity>" .... },{},{}

The only problem is, it'll be shown on your atcommand logs.. :3

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  179
  • Reputation:   17
  • Joined:  04/24/14
  • Last Seen:  

use @produce like

{ atcommand "@produce <item_id>,<quantity>" .... },{},{}

The only problem is, it'll be shown on your atcommand logs.. :3

 

@produce <equip name/ID> <element> <#ofvery's>

 

Isn't it like this?

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  108
  • Reputation:   12
  • Joined:  06/19/12
  • Last Seen:  

Nevermind, please check getitem2 information on what other stuffs you can do to it in your script_commands.txt located inside your doc folder

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

 

*getnameditem(<item id>,"<name to inscribe>");

*getnameditem("<item name>","<name to inscribe>");

This function is equivalent to using 'getitem', however, it will not just give

the character an item object, but will also inscribe it with a specified

character's name. You may not inscribe items with arbitrary strings, only with

names of characters that actually exist. While this isn't said anywhere

specifically, apparently, named items may not have cards in them, slots or no -

these data slots are taken by the character ID who's name is inscribed. Only one

remains free and it's not quite clear if a card may be there.

This function will return 1 if an item was successfully created and 0 if it

wasn't for whatever reason. Like 'getitem', this function will also accept an

'english name' from the item database as an item name and will return 0 if no

such item exists.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

still trying to find ways..

thank you so much everyone!

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