Jump to content
Lilith

Extended Vending System [1.8]

Recommended Posts

why do i get this error while compiling on Linux? 

vending.c: In function ‘vending_purchasereq’:
vending.c:262: warning: ‘item_name’ may be used uninitialized in this function

Link to comment
Share on other sites

This can fix that.

sv_readdb(db_path, "item_vending.txt", ',', 1, 1, ARRAYLENGTH(item_vend), &itemdb_read_vending, i);

 

sorry for lazy copy paste ^_^.

 

if i have time i upload the svn fix.

Link to comment
Share on other sites

This can fix that.

sv_readdb(db_path, "item_vending.txt", ',', 1, 1, ARRAYLENGTH(item_vend), &itemdb_read_vending, i);

 

sorry for lazy copy paste ^_^.

 

if i have time i upload the svn fix.

I'll wait for your release :)

Link to comment
Share on other sites

already solved, I used the version for ExtendedVendingSystem_11842 rathena master
thx vlw

had this warning when compiling with ExtendedVendingSystem_11842
the version of rathena master is the latest
g6y4.jpg
Link to comment
Share on other sites

i request  ExtendedVendingSystem.patch for ra17696  because i try with  patch 17690  and i got 2 fail when i compile. it's not working for 17696..... 

if you want older version read it reversed, i didn't delete my attachment for the older version.

Link to comment
Share on other sites

Hi guys , I'm having problem when I use zeny as the currency , it says on my emulator that it has crashed . but when I choose other currency like TCG it works fine . what may be the problem ? my rAthena version is he latest from github.


I'm using ExtendedVendingSystem_11943.patch 

Edited by iMrFreeziNg
Link to comment
Share on other sites

Hi guys , I'm having problem when I use zeny as the currency , it says on my emulator that it has crashed . but when I choose other currency like TCG it works fine . what may be the problem ? my rAthena version is he latest from github.

I'm using ExtendedVendingSystem_11943.patch 

because cause of variable conflict.

if I have time to fix it.

Link to comment
Share on other sites

I get this when compiling;

 

 

vending.c: In function âvending_purchasereqâ:
vending.c:321: warning: âitem_nameâ may be used uninitialized in this function

 

Line 321 =

		const char *item_name;

Im using latest rAthena GIT, Any suggestions?


Also;

 

+// Extended Vending system [Lilith]
+700: You do not have enough CashPoint
+701: You do not have enough items
+702: Seller has not enough space in your inventory
+703: Seller can not take all the item
+704: You have selected: %s
+705: You've opened %s's shop. Sale is carried out: %s
+706: Current Currency: %s
+707: %s has bought '%

 

Thats all the V.I.P stuff, so it wont read this.

Edited by Shindu
Link to comment
Share on other sites

MY FEATURE.conf

// Item ID for Zeny. Set to 0 if you don't want use Zeny.
item_zeny: 20030 << this is the Credits but if i bought the item the credits is still there please help
// Item ID for Cash. Set to 0 if you don't want use Cash.
item_cash: 30590 << This is the Violet Card or 1 Violet Card = 100x Credits and i sell the +10 Sandstorm to 1x Violet Card and i try to buy shop said "YOU DO NOT HAVE ENOUGH CASHPOINT" < (HOW CAN I MAKE THIS COST AN ITEM? )

 

i manually put the patch in my rathena svn 16797

and my problem : 

 

Help me how can i make this work ( i vend a +10 Sandstorm and It Cost 10x Credits [ ID: 20030 ] then the buyer must have 10x credits and if he buy the +10 Sandstorm from the vendor. The vendor will receive the 10x credits and the buyer will get the +10 sandstorm. )

 

 i changed my feature.conf

//--------------------------------------------------------------
// rAthena Feature Configuration File
//--------------------------------------------------------------
// Note 1: Value is a config switch (on/off, yes/no or 1/0)
// Note 2: Value is in percents (100 means 100%)
// Note 3: Value is a bit field. If no description is given,
//         assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun)
//--------------------------------------------------------------

// Buying store (Note 1)
// Requires: 2010-04-27aRagexeRE or later
feature.buying_store: on

// Search stores (Note 1)
// Requires: 2010-08-03aRagexeRE or later
feature.search_stores: on

// Extended Vending System [Lilith]
// Enable or disable extended vending system? (Note 1)
extended_vending: yes
// Show currency's name in vending board? (Note 1)
show_item_vending: yes
// Show more info about buying? (Note 1)
ex_vending_info: yes
// Item ID for Zeny. Set to 0 if you don't want use Zeny.
item_zeny: 20030 << this is the Credits but if i bought the item the credits is still there please help
// Item ID for Cash. Set to 0 if you don't want use Cash.
item_cash: 30590 << This is the Violet Card or  1 Violet Card = 100x Credits and i sell the +10 Sandstorm to 1x Violet Card and i try to buy shop said "YOU DO NOT HAVE ENOUGH CASHPOINT" < (HOW CAN I MAKE THIS COST AN ITEM? )
Edited by venomxxvii
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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.