Jump to content

Extended Vending System [1.8]


Lilith

Recommended Posts

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   1
  • Joined:  07/27/12
  • Last Seen:  

can anyone teach me to patch it using turtoise??? im not very familiar with it

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  06/12/12
  • Last Seen:  

new bug when trying to add the Sales System 1.8.8 in rathena 17699

 

79by.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  145
  • Reputation:   15
  • Joined:  01/06/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  90
  • Topics Per Day:  0.02
  • Content Count:  361
  • Reputation:   18
  • Joined:  01/09/13
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  06/12/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  06/12/12
  • Last Seen:  

now it worked, thanks for the quick fix!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  08/16/13
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  145
  • Reputation:   15
  • Joined:  01/06/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  90
  • Topics Per Day:  0.02
  • Content Count:  361
  • Reputation:   18
  • Joined:  01/09/13
  • Last Seen:  

Support rAthena 11892.

@Solid2005, it's still compatible with the latest rev ? 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  145
  • Reputation:   15
  • Joined:  01/06/12
  • Last Seen:  

yes.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   1
  • Joined:  03/22/13
  • Last Seen:  

Does this work on r17700?

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:  

The last rathena has this updated:

Autotrade Persistence & Live Vendor Data

http://rathena.org/board/topic/91855-autotrade-persistence-live-vendor-data/

does it supported / compiled?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  145
  • Reputation:   15
  • Joined:  01/06/12
  • Last Seen:  

Ops unsupported to latest version.

Due lack of code for new auto trade system.

Edited by solid2005
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  02/22/12
  • Last Seen:  

map shutdown in

z += ((double)vsd->vending[j].value * (double)amount);

is anyone can help me?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   2
  • Joined:  09/12/12
  • Last Seen:  

What should I use for ra17698 I got error when using the latest patch

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  76
  • Reputation:   1
  • Joined:  01/21/14
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  145
  • Reputation:   15
  • Joined:  01/06/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  76
  • Reputation:   1
  • Joined:  01/21/14
  • Last Seen:  

thank you .

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   1
  • Joined:  03/22/13
  • Last Seen:  

Does this script still not applicable for the r17700?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  12/09/13
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   0
  • Joined:  05/28/12
  • Last Seen:  

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