RedRumPie Posted February 26, 2014 Posted February 26, 2014 bumping this . really need the script. Quote
solid2005 Posted March 7, 2014 Posted March 7, 2014 Update rev.12027 Beta. Note Backup your server before you merge this mod. I did not test it, My computer was Hard disk failure i can't even recover some of my files. Patience is more use-full . ExtendedVendingSystem_12027.patch 1 Quote
Darkpurple Posted March 12, 2014 Posted March 12, 2014 It had bug with newest rathena with this feature: // Autotrade persistency (Note 1) // Should vendors that used @autotrade be restored after a restart? feature.autotrade: on Quote
solid2005 Posted March 13, 2014 Posted March 13, 2014 (edited) It had bug with newest rathena with this feature: // Autotrade persistency (Note 1) // Should vendors that used @autotrade be restored after a restart? feature.autotrade: on Need to fix SQL CREATE TABLE IF NOT EXISTS `vending_items` ( `vending_id` int(10) unsigned NOT NULL, `index` smallint(5) unsigned NOT NULL, `cartinventory_id` int(10) unsigned NOT NULL, `amount` smallint(5) unsigned NOT NULL, `price` int(10) unsigned NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; need add `type` int(10) unsigned NOT NULL for item you vend.Vending.c if( Sql_Query( mmysql_handle, "INSERT INTO `%s`(`vending_id`,`index`,`cartinventory_id`,`amount`,`price`) VALUES( %d, %d, %d, %d, %d );", vending_items_db, sd->vender_id, i, sd->status.cart[sd->vending[i].index].id, sd->vending[i].amount, sd->vending[i].value ) != SQL_SUCCESS ){ need to get item type that you vend to insert to the database. void vending_reopen( struct map_session_data* sd ){ need add variable item type that you vend.if you want to fix this faster, help each other. Edited March 13, 2014 by solid2005 Quote
Erba Posted March 14, 2014 Posted March 14, 2014 It had bug with newest rathena with this feature: // Autotrade persistency (Note 1) // Should vendors that used @autotrade be restored after a restart? feature.autotrade: on Need to fix SQL CREATE TABLE IF NOT EXISTS `vending_items` ( `vending_id` int(10) unsigned NOT NULL, `index` smallint(5) unsigned NOT NULL, `cartinventory_id` int(10) unsigned NOT NULL, `amount` smallint(5) unsigned NOT NULL, `price` int(10) unsigned NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; need add `type` int(10) unsigned NOT NULL for item you vend.Vending.c if( Sql_Query( mmysql_handle, "INSERT INTO `%s`(`vending_id`,`index`,`cartinventory_id`,`amount`,`price`) VALUES( %d, %d, %d, %d, %d );", vending_items_db, sd->vender_id, i, sd->status.cart[sd->vending[i].index].id, sd->vending[i].amount, sd->vending[i].value ) != SQL_SUCCESS ){ need to get item type that you vend to insert to the database. void vending_reopen( struct map_session_data* sd ){ need add variable item type that you vend.if you want to fix this faster, help each other. im somehow confused with these XD Quote
solid2005 Posted March 20, 2014 Posted March 20, 2014 (edited) NVM i already tested failed again. Edited March 20, 2014 by solid2005 Quote
memel25 Posted March 24, 2014 Posted March 24, 2014 This should be included in svn as default 1 Quote
rmon008 Posted April 16, 2014 Posted April 16, 2014 (edited) Hi guys , i manage to make zeny and cash work, but my problem is : I manually add item_vending.txt in my db folder because it doesnt exist in revision " 12094 " svn i'm using is https://github.com/rathena/rathena.git is this the reason why the Item(your desired item) - purchase item using your desired items..(Example: TCG-7227) is not showing on my list ??? Please help .... Edited April 16, 2014 by rmon008 Quote
Vince Jimenez Posted April 17, 2014 Posted April 17, 2014 Hi guys im using rAmod Emulator.but i got some errors/problem with Extended Vending system1st ) I'll use vending skill2nd ) i Choose Credit3rd ) im sample vend my cards for 20credits each4th : ) then vending is Ok. vending name [Credit]Selling Cards5th ) my dual character has 30credits to buy my vending cardsHere is my problem6: )) Once i buy my Vending card for 20credits my credits on inventory not lostand for my vending character said "Sold out Turtle general you gained 20zeny"Please i need help i dont know what is the problem . Sorry for my bad english im not professional PLEASE PELASE ! help! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.