Jump to content

Release: Extended Vending 2.0


Easycore

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  12/11/19
  • Last Seen:  

On 8/23/2023 at 8:49 PM, Forshaken said:

can you please elaborate your problem?

I have attached screenshots. When clicking on cancel button (encircled in red) while in the currency tab, the vending will push through instead of getting canceled, resulting to Unknown Item as currency.

Untitled.png

Untitled2.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   1
  • Joined:  11/29/16
  • Last Seen:  

11 minutes ago, micosanityyy said:

I have attached screenshots. When clicking on cancel button (encircled in red) while in the currency tab, the vending will push through instead of getting canceled, resulting to Unknown Item as currency.

Untitled.png

Untitled2.png

 Use this diff 

Extend Vending 1.7.0 (1).diff

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  148
  • Reputation:   21
  • Joined:  11/12/18
  • Last Seen:  

6 hours ago, Chaoszinho said:

I iuse the same mod on latest rev and after i click that cencel button, vend will not push thru and  it has a message mo "Skill faiked..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  91
  • Reputation:   17
  • Joined:  11/24/14
  • Last Seen:  

5 hours ago, Forshaken said:

Utilizo el mismo mod en la última revolución y después de hacer clic en ese botón de cencel, vend no presionará y tiene un mensaje mo "Skill faiked..

it's obvious that the ability will fail if you give it cancel ._.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

On 7/6/2023 at 8:06 PM, rongrong said:

Thx! i have fixed it.

int skill_vending(struct map_session_data *sd, t_itemid nameid) {
    std::shared_ptr<item_data> item;
    char output[1024];
    nullpo_ret(sd);

    if (!pc_can_give_items(sd) || (item = item_db.find(nameid)) == NULL) {  // it return -1 here but shows 4294967295

    if (!pc_can_give_items(sd) || !nameid || !item_db.exists(nameid)) {  // i fixed like this and it works well now

 

@Forshaken try this method

1.7.0 diff should fix ur problem try to get fresh src files then manually add those lines in diff file

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  148
  • Reputation:   21
  • Joined:  11/12/18
  • Last Seen:  

On 8/25/2023 at 6:03 AM, JinYuichi said:

it's obvious that the ability will fail if you give it cancel ._.

yeah that is my point mine is working well.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  148
  • Reputation:   21
  • Joined:  11/12/18
  • Last Seen:  

On 8/25/2023 at 12:19 PM, AinsLord said:

@Forshaken try this method

1.7.0 diff should fix ur problem try to get fresh src files then manually add those lines in diff file

no problem with that mod thx @AinsLord for responding

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   4
  • Joined:  06/26/22
  • Last Seen:  

updated rathena src

 

map crash when buying items on vending.

 

any fix?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.01
  • Content Count:  36
  • Reputation:   27
  • Joined:  06/08/23
  • Last Seen:  

6 hours ago, marky1114 said:

updated rathena src

 

map crash when buying items on vending.

 

any fix?

try this patch. I has updated the code in some line

0001-Extended-Vending.patch

Edited by Harvin
Link to comment
Share on other sites

  • 2 weeks later...

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

Everything is working fine, only issue is when we cancel vending after using skill, it continues to open shop and opens it with [Unknown item] currency which doesnt work. Any Resolution to this problem?

 

- Fixed it using Extended Vending 1.7.0 (1) diff. Thanks!

 

 

Edited by Ph34r
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  09/29/19
  • Last Seen:  

On 2/25/2019 at 6:38 PM, Kuroe said:

1 More problem.
When I sell an item using mithril coin it sells the item even the player doesn't have mithril coins and the seller doesn't even get anything

Edit:
Got it working. I just had to re-do from the top.

you did it fresh again to make it work? same issue as mine

 

Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  02/11/24
  • Last Seen:  

hello, is extended vending still working?
Im using latest rathena and ExtendedVending_[Rev9]

Can anyone help fix this error?

image.png.b5a498e18c4e08420c861b2634ae08e4.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  67
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   29
  • Joined:  10/21/12
  • Last Seen:  

On 7/6/2023 at 8:06 PM, rongrong said:

Thx! i have fixed it.

int skill_vending(struct map_session_data *sd, t_itemid nameid) {
    std::shared_ptr<item_data> item;
    char output[1024];
    nullpo_ret(sd);

    if (!pc_can_give_items(sd) || (item = item_db.find(nameid)) == NULL) {  // it return -1 here but shows 4294967295

    if (!pc_can_give_items(sd) || !nameid || !item_db.exists(nameid)) {  // i fixed like this and it works well now

 

Is there an update code for this? I test this on latest rA it cancels the vending when u press cancel but when u try to ok the map disconnects.

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