Jump to content

Recommended Posts

Posted
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

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

Posted
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

  • 2 weeks later...
  • 2 weeks later...
Posted (edited)

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
  • 1 month later...
Posted
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

 

  • 3 months later...
Posted
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.

  • 1 month later...
  • 2 months later...
Posted
On 9/9/2023 at 10:50 PM, Harvin said:

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

0001-Extended-Vending.patch 30.79 kB · 91 downloads

not working using lastest rathena
image.png.bc9a1532a414d17f9ced55f8962b48f2.png

 

On 4/19/2024 at 9:03 PM, JinYuichi said:

 

This diff works for the latest version of rathena | 19-04-2024

[ Extend Vending 3.0 ] Rev16.8 JinYuichi.diff 38.66 kB · 41 downloads

and this one too

image.png.a75a3f880452c29f7d8f9ef9284e319a.png

Posted
1 hour ago, hendra814 said:

not working using lastest rathena
image.png.bc9a1532a414d17f9ced55f8962b48f2.png

 

and this one too

image.png.a75a3f880452c29f7d8f9ef9284e319a.png

as the post says it works for the date I said, you will have to fix it by yourself for the current date 

  • 3 weeks later...
  • 2 months later...
  • 3 weeks later...
  • 2 weeks later...
Posted
On 27/09/2024 at 13:43, solid2005 said:

Eu tento o meu melhor para converter este. Eu não testei isso ainda. use por sua conta e risco.

 

Estender Vending 10072024.diff 28,17 KB de dados · 6 downloads

I can apply this diff but for some reason when I try to open the store my char stays still and cannot use anything else or move, requiring me to disconnect and connect to the char again

neither an error nor a warning appears in mapserv

Could the problem be in my patch?

I don't think so since without applying diff the skill works normally

 

  • 2 months later...
Posted (edited)

warnings regarding clif.cpp

conversion from 'size_t' to 'int16'

when use the skill cant move but can do @go @warp commands

Edited by AinsLord
  • 2 weeks later...
Posted
On 10/11/2024 at 8:54 AM, bellacalleb said:
I can apply this diff but for some reason when I try to open the store my char stays still and cannot use anything else or move, requiring me to disconnect and connect to the char again

neither an error nor a warning appears in mapserv

Could the problem be in my patch?

I don't think so since without applying diff the skill works normally

 

I'm having the same problem here. 
Could someone help us?

  • 2 weeks later...
Posted

@@ -7511,6 +7511,12 @@ void clif_openvendingreq(struct map_session_data* sd, int num)
     int fd;
 
     nullpo_retv(sd);
+    
+    // Vending shouldn't open if vend_loot is 0 and extended vending is enabled [Easycore]
+    if (battle_config.extended_vending && sd->vend_loot == 0) {
+        sd->state.prevend = 0;
+        return;
+    }
 
-->>  fd = sd->fd;
 ->>    WFIFOHEAD(fd,packet_len(0x12d));

 

who have the latest extend vending 🙂

Posted
On 1/10/2025 at 4:18 PM, Dev KhayZia AZ said:

@@ -7511,6 +7511,12 @@ void clif_openvendingreq(struct map_session_data* sd, int num)
     int fd;
 
     nullpo_retv(sd);
+    
+    // Vending shouldn't open if vend_loot is 0 and extended vending is enabled [Easycore]
+    if (battle_config.extended_vending && sd->vend_loot == 0) {
+        sd->state.prevend = 0;
+        return;
+    }
 
-->>  fd = sd->fd;
 ->>    WFIFOHEAD(fd,packet_len(0x12d));

 

who have the latest extend vending 🙂

is this a fix or anything please tell

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...