Jump to content

Extended Vending System [1.9] cleanup & fix


Napster

Recommended Posts


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

 

 

 

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  187
  • Reputation:   7
  • Joined:  09/04/12
  • Last Seen:  

 

 

 

 

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) ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

 

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)
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  187
  • Reputation:   7
  • Joined:  09/04/12
  • Last Seen:  

 

 

 

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
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   2
  • Joined:  08/02/12
  • Last Seen:  

Last rathena github patch  fail  please fix  or add how to manual patch

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

 

 

 

 

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

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  07/24/13
  • Last Seen:  

Does this still work for the current revision?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   1
  • Joined:  06/26/13
  • Last Seen:  

how can i patch this on the current version of github? /bo

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

I will update soon, when free time

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   4
  • Joined:  12/03/11
  • Last Seen:  

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)
                                                                            ^
 

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

Any updates?

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  09/27/15
  • Last Seen:  

 

@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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  387
  • Reputation:   60
  • Joined:  10/08/13
  • Last Seen:  

 

 

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  09/27/15
  • Last Seen:  

 

 

 

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

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  387
  • Reputation:   60
  • Joined:  10/08/13
  • Last Seen:  

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!
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  06/08/15
  • Last Seen:  

 

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

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

Update, clean up support last Rev rA

@Elsa , You can post crash log dump?

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

Any updates for latest git?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  99
  • Reputation:   2
  • Joined:  02/23/14
  • Last Seen:  

Any updates for latest git?

yes, support lastet git.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

 

Any updates for latest git?

yes, support lastet git.

 

 

Thanks :D

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.04
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

is this working on latest svn? right now? :)

help im getting error at cliff.c


-------------

also where can i download the Rathena Version r15149 ?? 

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  08/12/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

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!

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

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

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