Edwige 0 Posted July 9, 2014 sry 4 my badly english, but maybe anyone can do it this modification -> plugin? troubles with revisions Quote Share this post Link to post Share on other sites
jaBote 438 Posted July 11, 2014 I think most of its functionality was already added to our emulator's core, rendering this release useless. And I remember this having been converted to a plugin. Since I'm on cellphone and can't go check, could you please take a glance on it in case you actually want this? Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted July 11, 2014 I think most of its functionality was already added to our emulator's core, rendering this release useless. And I remember this having been converted to a plugin. Since I'm on cellphone and can't go check, could you please take a glance on it in case you actually want this? This actually is not converted to plugin yet, 1 Snaehild reacted to this Quote Share this post Link to post Share on other sites
adrian26v2 0 Posted July 11, 2014 Original topic and code here: link Idea: link When you use the skill vending there would be a menu that will pop up and you will choose what type of vending system do you like. • Zeny - You will purchase items using zeny.. • Cashpoints - purchase items using cashpoints • Item(your desired item) - purchase item using your desired items..(Example: TCG-7227) You can enable or disable the cash / item in file db/item_vending.txt 5.PNG Vending title can be looks like: "[ITEM_ID] name" 2.PNG Version 1.8 preview: 3.PNG db/item_vending.txt >// Specific items for Vending System // Format: ItemID // Max items is equal MAX_INVENTORY ( 100 by default ) // TCG Card 7227 // Mithril Coin 674 // Silver Coin 675 // Bronze Coin 673 Modify your client data files: idnum2itemdisplaynametable.txt 30000#Zeny# 30001#Cash# idnum2itemresnametable.txt 30000#µ¿È# 30001#¹Ì½º¸±È# Ragexe 2013 ( haven't tested it with Ragexe 2012 ) System/Iteminfo.lub or System/Iteminfo.lua [30000] = { unidentifiedDisplayName = "Zeny", unidentifiedResourceName = "µ¿È", unidentifiedDescriptionName = { "Unknown item requiring Appraisal. Can be identified by using a Magnifier.", }, identifiedDisplayName = "Zeny", identifiedResourceName = "µ¿È", identifiedDescriptionName = { }, slotCount = 1, ClassNum = 1 }, [30001] = { unidentifiedDisplayName = "Cash", unidentifiedResourceName = "¹Ì½º¸±È", unidentifiedDescriptionName = { "Unknown item requiring Appraisal. Can be identified by using a Magnifier.", }, identifiedDisplayName = "Cash", identifiedResourceName = "¹Ì½º¸±È", identifiedDescriptionName = { }, slotCount = 1, ClassNum = 1 }, Update: item_db2.txt should be: { Id: 30000 AegisName: "Zeny" Name: "Zeny" Type: 3 Sell: 10 Weight: 10},{ Id: 30001 AegisName: "Cash" Name: "Cash" Type: 3 Sell: 10 Weight: 10}, Creator: Lilith Modified by: dastgirpojee and quesoph *Warning: It will not work with auto trade persistency. Hercules Rev 14041. Extended Vending System Hercules Rev 14041.patch sir is this ok for revision 14359M?? Quote Share this post Link to post Share on other sites
Litro 45 Posted July 12, 2014 Any fix on the Zeny and Cash? BUMP Quote Share this post Link to post Share on other sites
mrlongshen 22 Posted July 12, 2014 I think most of its functionality was already added to our emulator's core, rendering this release useless. And I remember this having been converted to a plugin. Since I'm on cellphone and can't go check, could you please take a glance on it in case you actually want this? This actually is not converted to plugin yet, please convert it Quote Share this post Link to post Share on other sites
Shatowolf 9 Posted July 15, 2014 (edited) Hi, Can someone update this. the red color. the item_vending.txt not working. Thank you Cheers src/map/itemdb.c itemdb->destroy_item_data = destroy_item_data; itemdb->final_sub = itemdb_final_sub; itemdb->clear = itemdb_clear; itemdb->id2combo = itemdb_id2combo; sv->readdb(map->db_path, "item_vending.txt", ',', 1, 1, ARRAYLENGTH(item_vend), &itemdb_read_vending); ossi0110 gave me this : itemdb->itemdb_read_vending = itemdb_read_vending; and then i got this on compiling : itemdb.c: In function 'itemdb_defaults': itemdb.c:2358: error: 'struct itemdb_interface' has no member named 'itemdb_read_vending' I can't find this on src/map/clif.h itemdb_read_combos(); itemdb_read_itemgroup(); sv->readdb(db_path, "item_vending.txt", ',', 1, 1, ARRAYLENGTH(item_vend), &itemdb_read_vending); // Extended Vending system [Lilith] sv->readdb(db_path, "item_avail.txt", ',', 2, 2, -1, &itemdb_read_itemavail); sv->readdb(db_path, DBPATH"item_trade.txt", ',', 3, 3, -1, &itemdb_read_itemtrade); sv->readdb(db_path, "item_delay.txt", ',', 2, 2, -1, &itemdb_read_itemdelay); any fix on this ? thanks really appreciate it. Edited July 16, 2014 by Meigan Quote Share this post Link to post Share on other sites
quesoph 105 Posted July 16, 2014 (edited) ^ here Extended Vending System Hercules Rev 14395.patch .patch Edited July 16, 2014 by quesoph 1 Shatowolf reacted to this Quote Share this post Link to post Share on other sites
Shatowolf 9 Posted July 17, 2014 (edited) Hi, Fresh Hercules, i got this while compiling. vending.c: In function 'vending_purchasereq':vending.c:256: warning: 'item_name' may be used uninitialized in this function Edit : It's working now. thanks. Edited July 20, 2014 by Meigan Quote Share this post Link to post Share on other sites
WalkingBad 0 Posted July 19, 2014 thank you for the update for rev 14395 Quote Share this post Link to post Share on other sites
noob-it 0 Posted August 8, 2014 Use skill ? [Warning]: skill_castend_nodamage_id: Unknown skill used:41 Quote Share this post Link to post Share on other sites
Edwige 0 Posted August 8, 2014 (edited) item_vend undeclared identifier. Plz need halp. int item_vend dont halp me ;( Edited August 8, 2014 by jaBote Merged double post Quote Share this post Link to post Share on other sites
quesoph 105 Posted August 9, 2014 ^ double check the changes you've done to your server. maybe you miss something in item_db.h 1 Edwige reacted to this Quote Share this post Link to post Share on other sites
nasagnilac 1 Posted August 14, 2014 (edited) I got disconnected when I try this in 2012-04-10aRagexe. Edited August 14, 2014 by gmblank Quote Share this post Link to post Share on other sites
Angelmelody 221 Posted September 22, 2014 (edited) this patch make Extended Vending System to support @AT vendorbut only for those who had already patched 14935.patch @at support.patch run the below sql command to update your autotrade_merchants table ALTER TABLE `autotrade_merchants` ADD COLUMN `currency_id` smallint(6) NOT NULL DEFAULT '0' AFTER `title`; Edited September 22, 2014 by Angelmelody Quote Share this post Link to post Share on other sites
Litro 45 Posted September 23, 2014 this patch make Extended Vending System to support @AT vendor but only for those who had already patched 14935.patch @at support.patch run the below sql command to update your autotrade_merchants table ALTER TABLE `autotrade_merchants` ADD COLUMN `currency_id` smallint(6) NOT NULL DEFAULT '0' AFTER `title`; hy Angel about the zeny & cash issue where server think its as item can you reproduce it ? Quote Share this post Link to post Share on other sites
Angelmelody 221 Posted September 23, 2014 (edited) this patch make Extended Vending System to support @AT vendor but only for those who had already patched 14935.patch @at support.patch run the below sql command to update your autotrade_merchants table ALTER TABLE `autotrade_merchants` ADD COLUMN `currency_id` smallint(6) NOT NULL DEFAULT '0' AFTER `title`; hy Angel about the zeny & cash issue where server think its as item can you reproduce it ? I just change Aegis name 'Zeny' to 'IZeny' and 'Cash' to 'ICash' ,I dont get any warning { Id: 30000 AegisName: "IZeny" Name: "金錢" Type: 3 Sell: 0 Weight: 1},{ Id: 30001 AegisName: "ICash" Name: "商城點數" Type: 3 Sell: 0 Weight: 1}, Edited September 23, 2014 by Angelmelody Quote Share this post Link to post Share on other sites
Litro 45 Posted September 23, 2014 @Angelmelody it isn't the error but if i open shop with zeny and vend aple with price 1.000 z even i have 1 Billion zeny Quote Share this post Link to post Share on other sites
Angelmelody 221 Posted September 23, 2014 @Angelmelody it isn't the error but if i open shop with zeny and vend aple with price 1.000 z even i have 1 Billion zeny I tested opening shop with Zeny but dont get any error and the dealing money works as my intended before purchase done deal Quote Share this post Link to post Share on other sites
Litro 45 Posted September 23, 2014 do you use this on lattest revision ? can you share your patch ? Quote Share this post Link to post Share on other sites
Angelmelody 221 Posted September 23, 2014 do you use this on lattest revision ? can you share your patch ? I m not using clean emulaor to create patch...hope it work XD evs.patch Quote Share this post Link to post Share on other sites
Jezu 25 Posted October 6, 2014 any updates here for extended vending system? Quote Share this post Link to post Share on other sites
Snaehild 0 Posted October 7, 2014 Plugin support please? Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted October 7, 2014 Plugin support please? Plugin seems to be possible for it now (have few bugs on my plugin, that I would be able to solve in my upcoming days) Quote Share this post Link to post Share on other sites
Shatowolf 9 Posted October 9, 2014 Plugin support please? Plugin seems to be possible for it now (have few bugs on my plugin, that I would be able to solve in my upcoming days) Thanks!!!! Quote Share this post Link to post Share on other sites