Jump to content

Utility: @restock everywhere from your storage


Vykimo

Recommended Posts


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   189
  • Joined:  11/27/11
  • Last Seen:  

@restock everywhere from your storage


One version of @restock. Create a list of items to restock automatically from your storage. Available everywhere

Usage

  • @restock <itemid> <itemid> ... : add items to restock list
  • @restock off : disable restocking

Config :

  1. Consume 1 coin if non VIP Player, but you can disable it.
  2. You can set maps where restocking isn't allowed.

  • Submitter
  • Submitted
    11/12/2018
  • Category
  • Video
  • Content Author
    Vykimo

 

  • Love 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  70
  • Reputation:   0
  • Joined:  06/19/18
  • Last Seen:  

Great work!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.01
  • Content Count:  59
  • Reputation:   5
  • Joined:  07/02/18
  • Last Seen:  

Some problem with npc.cpp ? 

http://Untitled.png

How to fix it? 

@Vykimo

Edited by JaranSwitch0101
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   189
  • Joined:  11/27/11
  • Last Seen:  

5 hours ago, JaranSwitch0101 said:

Some problem with npc.cpp ? 

http://Untitled.png

How to fix it? 

@Vykimo

Try to download the new version I updated.

  • Love 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   76
  • Joined:  06/13/13
  • Last Seen:  

can't see the filesimage.thumb.png.162a07a87b878d517583e503c307ae58.png

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.02
  • Content Count:  120
  • Reputation:   1
  • Joined:  10/02/18
  • Last Seen:  

Thx for this script , When we created the list, how do we restock after?

when i have create my list and i use item on this list my cmd tell me that

1054768385_Sanstitre.png.63573a22d46e0bc14eae816e8f51c69f.png

fixed you have missing in your .diff

search in ../ pc.cpp

Quote

	case SP_KILLEDGID:
		sd->killedgid = val;
		return true;

Add below: 


	case SP_ITEMUSEDID:
		sd->itemusedid = val;
		return true;

 

fixed by @n0tttt

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  73
  • Reputation:   1
  • Joined:  11/27/18
  • Last Seen:  

And how can I exclude maps?)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.02
  • Content Count:  101
  • Reputation:   5
  • Joined:  12/04/16
  • Last Seen:  

How install?

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  148
  • Reputation:   10
  • Joined:  12/03/18
  • Last Seen:  

Added the diffs and the script. No errors on recompiling.
Script is already on scripts_custom.conf

I tried the restock command. Not working for me.

Using latest rathena 2019 Feb

SOLVED:

Need to recheck the diffs. ❤️

Edited by Dev G Inc
Link to comment
Share on other sites

  • 8 months later...

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  72
  • Reputation:   28
  • Joined:  12/21/16
  • Last Seen:  

file seems damaged, can anyone send/PM me a working files? huge thx

Edit: Nvm, thx again

Edited by Valor
i got it recovered
Link to comment
Share on other sites

  • 2 years later...

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   1
  • Joined:  08/18/13
  • Last Seen:  

This restock does not discriminate in the battleflag of items, for example those reserved only for BG.

When replenishing an item from the storage (Item Flag BG) the same item arrives but without a flag, so the restriction of the item is eliminated and it is released.

Any updete?

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   2
  • Joined:  03/19/14
  • Last Seen:  

woe_consume
bg_consume

run @restock ... items. normal...... no flag woe_consu .. bg_consu

Link to comment
Share on other sites

  • 1 year later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  08/16/17
  • Last Seen:  

@Vykimo The script doesnt have anything to restrict it from working in specific maps. Can you share the updated script please.

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
Reply to this topic...

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