Jump to content
  • 0

Items purchased direct to storage


giullyan2

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   1
  • Joined:  08/10/13
  • Last Seen:  

Does anyone have an npc with storefront script that moves the purchased item straight to the store.
 I'm searching for a long time something of the type "npc_telma",
 I need for a bg npc for sale of consultable by emblem

 

Edited by giullyan2
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   3
  • Joined:  05/31/17
  • Last Seen:  

I'm also looking for a npc like this, I hope someone can help me

 
  • Upvote 1
Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

Maybe you can tell something about this script and how it works so someone can actually help you and maybe replicate the script for you?

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

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   1
  • Joined:  08/10/13
  • Last Seen:  

11 hours ago, Ninja said:

Maybe you can tell something about this script and how it works so someone can actually help you and maybe replicate the script for you?

Sorry for my bad English , i just want a script who make the item buying going directly to storage like npc telma from battleground.

For example:

I buy 25.000 white potions and 900 speed potions on npc shop. Where are these items going? For storage.

I realy want this script but the function "checkstorage" and "storeitem" on script.c don't work on my emulator (rathena 2017)

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

I feel like @Cydh did a @storagegetitem or something... I know there is a command to delete items from storage and count them.

https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L4697-L4698
https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L4764-L4765

I also did a mod to add items to guild storage but it's old so I'm not sure if it still works but you could use that as a base.

 

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