Jump to content
Easycore

Release: Extended Vending 2.0

Recommended Posts

On 9/25/2021 at 12:01 AM, Easycore said:

New Version:
Working on latest Git: 6672bf

  • Refactored 'item_vending.txt' to YAML Format 'item_vending_db.yml'.
  • Fixed an issue regarding bound items in the buyer's inventory.
  • Added a config to enable/disable buying with bounded items.
  • Prevent buying if seller has the Max Item in the inventory (30,000 ea).
  • Added GetComma for a better visualization of the amount of zeny received (Vending Report).
  • Code clean-up.

Status: Pending Approval.


@Easycore

I tried this on a fresh 6672bf

But it doesn't seem to recognize the items.

"You do not have enough items"

https://streamable.com/oxqcwx

Link to comment
Share on other sites

9 hours ago, masterzeus said:

Solved.
add zeny and cash intro the iteminfo
image.png.5e5c9398956be5e9cd32257644936e83.png

I got the zeny and cash working too. Did you have any luck making the other items work?

Link to comment
Share on other sites

sir help me abot this

[Warning]: vend loot = 674
[Warning]: vend loot = 7539
[Warning]: vend loot = 7179
[Warning]: vend loot = 675
[Warning]: vend loot = 7179
[Warning]: vend loot = 7539
[Warning]: vend loot = 7227

this warning  show to putty

how to fix this?

Link to comment
Share on other sites

On 10/8/2021 at 2:46 AM, masterzeus said:

rAthena clean (update today)
Rev7


ZNREs4C.png

 

trunk/conf/battle/feature.conf
 

// Item ID for Zeny. Set to 0 if you don't want use Zeny.
item_zeny: 0

// Item ID for Cash. Set to 0 if you don't want use Cash.
item_cash: 0

 

trunk/db/item_vending.txt

// Proof of Donation
7179
// TCG Card
7227
// Mithril Coin
674
// Silver Coin
675
// Bronze Coin
673
// Poring Coin
7539

Link to comment
Share on other sites

41 minutes ago, DevilingKing said:

sir help me abot this

[Warning]: vend loot = 674
[Warning]: vend loot = 7539
[Warning]: vend loot = 7179
[Warning]: vend loot = 675
[Warning]: vend loot = 7179
[Warning]: vend loot = 7539
[Warning]: vend loot = 7227

this warning  show to putty

how to fix this?

@solved

remove this coding

/src/map/clif.cpp
 
-    // Vending shouldn't open if vend_loot is 0 and extended vending is enabled [Easycore]
-    // ShowWarning("vend loot = %d\n", sd->vend_loot);
-    if (battle_config.extended_vending && sd->vend_loot == 0) {
-        sd->state.prevend = 0;
-        return;
-    }
 

Link to comment
Share on other sites

12 hours ago, EOOQBOOM said:
Does anyone have the .txt version?

Before this .yml template

@Easycore

i think i have this rev4 i dont have the rev5

 

@Easycore i hope you can still upload the previous files TY.. i do really love this extended vending of yours ❤️

 

 

Extended_Vending_[Rev4].zip

Edited by AinsLord
more info
Link to comment
Share on other sites

On 10/8/2021 at 10:43 PM, Snaehild said:


@Easycore

I tried this on a fresh 6672bf

But it doesn't seem to recognize the items.

"You do not have enough items"

https://streamable.com/oxqcwx

yeah the same here. for now better use the v5 or v6 version and cleanup some code to replicating the rev7 @Easycore. it works like a charm for me.

Link to comment
Share on other sites

anyone still have the v5 of this extended vending?

thanks

image.png.58f28800380fd7befd16364c7534f25d.png

why this kind of error showing in my consol

im using the latest rev of rathena and v7 of EVS

can anyone help

thanks

Edited by AinsLord
more info
Link to comment
Share on other sites

7 hours ago, AinsLord said:

anyone still have the v5 of this extended vending?

thanks

image.png.58f28800380fd7befd16364c7534f25d.png

why this kind of error showing in my consol

im using the latest rev of rathena and v7 of EVS

can anyone help

thanks

are you sure you're using latest git revision? are you updating or fresh clone from rathena git?
 

Here's the v6 and v5.

ExtendedVending_rev5.diff ExtendedVending_rev6.diff

Link to comment
Share on other sites

1 hour ago, ryukazuna said:

are you sure you're using latest git revision? are you updating or fresh clone from rathena git?
 

Here's the v6 and v5.

ExtendedVending_rev5.diff 27.39 kB · 1 download ExtendedVending_rev6.diff 27.68 kB · 1 download

thanks man

yea thats a fresh git from rathena

 

  • Upvote 1
Link to comment
Share on other sites

2 hours ago, AinsLord said:

thanks man

yea thats a fresh git from rathena

 

in that case, maybe you are missing some line of code when patching your sever. Try to patch manually instead. 

the rev7 works just fine for me, except its not working when buying with items. 

Link to comment
Share on other sites

6 hours ago, ryukazuna said:

in that case, maybe you are missing some line of code when patching your sever. Try to patch manually instead. 

the rev7 works just fine for me, except its not working when buying with items. 

having hard time implementing this to the server i work

i combined v5 and v6 

Link to comment
Share on other sites

I would like to modify the system to accept only 3 types of currency:

cash
Zeny
custompoint

Could someone guide me on how to do it?

Link to comment
Share on other sites

On 11/18/2021 at 12:19 PM, iMillenium said:

I would like to modify the system to accept only 3 types of currency:

cash
Zeny
custompoint

Could someone guide me on how to do it?

it automatically sets cash/zeny for vending

for using only zeny and cash

put 0 to the item IDs in item_vending.txt <--- this file is not existing you just need to create it on db/item_vending.txt

+// Specific items for Vending System
+// Format: ItemID
+// Max items is equal MAX_INVENTORY ( 100 by default )
+
+// TCG Card
+7227
+// Mithril Coin
+674
+// Silver Coin
+675
+// Bronze Coin
+673

but for custom currency or points

it will make some additional scripts/modification on src

 

Edited by AinsLord
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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.