Jump to content

Extended Vending System [1.9] cleanup & fix


Recommended Posts

Posted (edited)

 

 

 

After buying an item from a vending char I got this warning

[Warning]: itemdb_search: Item ID 0 does not exists in the item_db. Using dummy data.

Any ideas why?

 

Im using latest git

 

It is not compatible with the last Git Rathena, few important bugs need to fixed...

 

Seems working fine for me. But I just want to get rid of the warning XD

 

 

Did you turned on autotrade function ?

The problem is When player opened vending and restart server, the vending people doesn't reopen their shop when server restarted...... 

 

This is also working fine for me. Vendors reopen their shop whenever server is restarted.

[Info]: Vending loaded for 'LordGanja' with '1' items at turbo_room (77,129)
Edited by Lord Ganja
Posted

 

 

 

 

After buying an item from a vending char I got this warning

[Warning]: itemdb_search: Item ID 0 does not exists in the item_db. Using dummy data.

Any ideas why?

 

Im using latest git

 

It is not compatible with the last Git Rathena, few important bugs need to fixed...

 

Seems working fine for me. But I just want to get rid of the warning XD

 

 

Did you turned on autotrade function ?

The problem is When player opened vending and restart server, the vending people doesn't reopen their shop when server restarted...... 

 

This is also working fine for me. Vendors reopen their shop whenever server is restarted.

[Info]: Vending loaded for 'LordGanja' with '1' items at turbo_room (77,129)

 

What number is showed in your vending.sql table of COLUMN `extended_vending_item`?

Can you confirmed the shop reopened is using "Cash trading"(Not Zeny) ?

Posted

 

What number is showed in your vending.sql table of COLUMN `extended_vending_item`?

Can you confirmed the shop reopened is using "Cash trading"(Not Zeny) ?

 

Yeah. It's working well for me. I tried cash, zeny, and item. and they are reloaded after the server restart.

[Info]: Vending loaded for 'LordGanja1' with '1' items at turbo_room (77,132)
[Info]: Vending loaded for 'LordGanja2' with '1' items at turbo_room (77,129)
[Info]: Vending loaded for 'LordGanja3' with '1' items at turbo_room (77,128)
Posted (edited)
 

 

 

What number is showed in your vending.sql table of COLUMN `extended_vending_item`?

Can you confirmed the shop reopened is using "Cash trading"(Not Zeny) ?

 

Yeah. It's working well for me. I tried cash, zeny, and item. and they are reloaded after the server restart.

[info]: Vending loaded for 'LordGanja1' with '1' items at turbo_room (77,132)
[info]: Vending loaded for 'LordGanja2' with '1' items at turbo_room (77,129)
[info]: Vending loaded for 'LordGanja3' with '1' items at turbo_room (77,128)

 

What number is showed in your vending.sql table of COLUMN `extended_vending_item`?

Can you showed the screenshot of vending.sql table of COLUMN `extended_vending_item`?

Edited by Darkpurple
  • 2 weeks later...
  • 2 weeks later...
Posted

 

 

 

 

What number is showed in your vending.sql table of COLUMN `extended_vending_item`?

Can you confirmed the shop reopened is using "Cash trading"(Not Zeny) ?

 

Yeah. It's working well for me. I tried cash, zeny, and item. and they are reloaded after the server restart.

[info]: Vending loaded for 'LordGanja1' with '1' items at turbo_room (77,132)

[info]: Vending loaded for 'LordGanja2' with '1' items at turbo_room (77,129)

[info]: Vending loaded for 'LordGanja3' with '1' items at turbo_room (77,128)

 

What number is showed in your vending.sql table of COLUMN `extended_vending_item`?

Can you showed the screenshot of vending.sql table of COLUMN `extended_vending_item`?

 

 

This one?

 

upgrade_extended_vending_item.sql

ALTER TABLE `vendings` ADD COLUMN `extended_vending_item` smallint(5) unsigned NOT NULL DEFAULT '0' AFTER `sit`;

Or this one?

 

post-5465-0-14986100-1431087466_thumb.png

 

post-5465-0-86877600-1431087475_thumb.png

  • 1 month later...
Posted

I use ExtendedVendingSystem_1.9.3_r12836.diff

 

clif.c: In function ‘clif_parse_NPCMarketPurchase’:
clif.c:1974:9: warning: unused variable ‘cmd’ [-Wunused-variable]
  uint16 cmd = RFIFOW(fd,0), len = 0, i = 0;
         ^
clif.c: In function ‘clif_parse_OpenVending’:
clif.c:12722:43: error: ‘struct map_session_data’ has no member named ‘vend_loot’
  struct item_data *item = itemdb_exists(sd->vend_loot);
                                           ^
clif.c:12730:76: error: ‘struct map_session_data’ has no member named ‘vend_loot’
  if(battle_config.extended_vending && battle_config.show_item_vending && sd->vend_loot){
                                                                            ^
clif.c:12761:76: error: ‘struct map_session_data’ has no member named ‘vend_loot’
  if(battle_config.extended_vending && battle_config.show_item_vending && sd->vend_loot)
                                                                            ^
 

  • 3 weeks later...
  • 2 months later...
Posted

 

@Napster 

 

Hi bud, i have an error, when ill try to Shop the Msg appear... with all the items i try and nothing..

 

B70DdKn.png

733: Item '%s' has not yet saved to your cart. Please re-log in order to correctly save your Vending information.

anybody can help me with this  /panic

 

 

re-log 

 

can anyone tell me how to solve this problem other then re-log?

I have done some searching but couldn't find a way to solve it, any help will be great.

Vending System new ? #441

https://github.com/rathena/rathena/issues/441

Posted

 

 

@Napster 

 

Hi bud, i have an error, when ill try to Shop the Msg appear... with all the items i try and nothing..

 

B70DdKn.png

733: Item '%s' has not yet saved to your cart. Please re-log in order to correctly save your Vending information.

anybody can help me with this  /panic

 

 

re-log 

 

can anyone tell me how to solve this problem other then re-log?

I have done some searching but couldn't find a way to solve it, any help will be great.

Vending System new ? #441

https://github.com/rathena/rathena/issues/441

 

 

You cant login and take the item and just trade youneed to wait untill the server save your data before you using the trade.

Posted

 

 

 

@Napster 

 

Hi bud, i have an error, when ill try to Shop the Msg appear... with all the items i try and nothing..

 

B70DdKn.png

733: Item '%s' has not yet saved to your cart. Please re-log in order to correctly save your Vending information.

anybody can help me with this  /panic

 

 

re-log 

 

can anyone tell me how to solve this problem other then re-log?

I have done some searching but couldn't find a way to solve it, any help will be great.

Vending System new ? #441

https://github.com/rathena/rathena/issues/441

 

 

You cant login and take the item and just trade youneed to wait untill the server save your data before you using the trade.

 

Is there a way to force save the character and cart items every time the vending skill is used?

It will be very inconvenient to relog when the party is fighting in a map that will send you back to the save point when you relog.

Imagine you want to give supplies to your party member and there are 6 or more active members in the party,

you don't want to drop the supplies on the floor one bye one and let them pick it up.

I have tried to look through the config files and found

save_settings: 255  in map_athena.conf but no luck.on it.

  • 3 weeks later...
Posted

Napster , are you still active?

 

Im test this with current GIT, open vending choose TCG Card ID:7227 and...

Packet Ver: '45', IP: '127.0.0.0', Group '99').
[Error]: Server received crash signal! Attempting to save all online characters!
Posted

 

Napster , are you still active?

 

Im test this with current GIT, open vending choose TCG Card ID:7227 and...

Packet Ver: '45', IP: '78.22.195.163', Group '99').
[Error]: Server received crash signal! Attempting to save all online characters!

same problem...

  • 4 weeks later...
  • 2 months later...
  • 1 month later...
  • 4 weeks later...
Posted

1 issue that everytime you bought an item using zeny or coins the map-server give's you a warning saying that

[Warning]: itemdb_search: Item ID 0 does not exists in the item. Using dummy data.

Edit: 

 

I tried adding it on the item_db.sql and still showing up.

Posted (edited)

5cg479.jpg

 

how to fix that pub title? but when im turning off the vending system got normal title.

 

hope u guys can help me ty.

 

==SOLVED==

Edited by billy1991
Posted

1 issue that everytime you bought an item using zeny or coins the map-server give's you a warning saying that

[Warning]: itemdb_search: Item ID 0 does not exists in the item. Using dummy data.

Edit: 

 

I tried adding it on the item_db.sql and still showing up.

yah any fix for this thanks!

  • 4 weeks later...
Posted

I noticed this...

Well it seem working fine until i restarted the server server 2x and this is the result

20qiamr.jpg

 

But after 2x server restart the currency returned into its normal vending currency which is Zeny also the Extended Vend message that the sale is carried out is gone.
sltuz9.jpg

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