Extended Vending System UPDATED rev14395! by Lilith

It's working but had some errors in battle.c due to updates. I fixed it (it was simple) and it works perfectly for me on a 2013-08-07Ragexe.

Just don't forget to add in the db/item_db2.txt

30000,Zeny,Zeny,3,,10,10,,,,,,,,,,,,,{},{},{}30001,Cash,Cash,3,,10,10,,,,,,,,,,,,,{},{},{}
I've also included db/item_vending.txt in the patch with TCG Card as default currency

Compiled and tested with Hercules Rev 12815

Screenshot (23).png

screenYmir 007.jpg

Here

Extended Vending System Hercules Rev 12815.patch

 

Attachments

It's working but had some errors in battle.c due to updates. I fixed it (it was simple) and it works perfectly for me on a 2013-08-07Ragexe.

Just don't forget to add in the db/item_db2.txt

30000,Zeny,Zeny,3,,10,10,,,,,,,,,,,,,{},{},{}30001,Cash,Cash,3,,10,10,,,,,,,,,,,,,{},{},{}
I've also included db/item_vending.txt in the patch with TCG Card as default currency

Compiled and tested with Hercules Rev 12815

attachicon.gif
Screenshot (23).png

attachicon.gif
screenYmir 007.jpg

Here

attachicon.gif
Extended Vending System Hercules Rev 12815.patch
using yours but what is this all about?

vending.c: In function 'vending_purchasereq':vending.c:256: warning: 'item_name' may be used uninitialized in this function LD map-server 
at map

Code:
[Notice]: Conflicting item/script var 'Zeny', prioritising the script var 
 
Last edited by a moderator:
I dont have warning. I'm using VS12 so not sure about linux. Work's fine

[Notice]: Conflicting item/script var 'Zeny', prioritising the script var
"Zeny" is a global variable but so it that notice shows.

 
I dont have warning. I'm using VS12 so not sure about linux. Work's fine

[Notice]: Conflicting item/script var 'Zeny', prioritising the script var
"Zeny" is a global variable but so it that notice shows.
I tested it in game and works fine.

I  just don't know it has an issue in compiling

vending.c: In function 'vending_purchasereq':vending.c:256: warning: 'item_name' may be used uninitialized in this function LD map-server 


"Zeny" is a global variable but so it that notice shows.
so its ok?

 
I dont have warning. I'm using VS12 so not sure about linux. Work's fine

[Notice]: Conflicting item/script var 'Zeny', prioritising the script var
"Zeny" is a global variable but so it that notice shows.
I tested it in game and works fine.

I  just don't know it has an issue in compiling

vending.c: In function 'vending_purchasereq':vending.c:256: warning: 'item_name' may be used uninitialized in this function LD map-server 


> 

"Zeny" is a global variable but so it that notice shows.
so its ok?

- Not sure what that is because I did not try it on linux
- I think yes. It's a Notice. Not a Warning or Error. I also tried my NPC with the "Zeny" as variable an works fine. My zeny are getting deducted/gained.
 
I dont have warning. I'm using VS12 so not sure about linux. Work's fine

[Notice]: Conflicting item/script var 'Zeny', prioritising the script var
"Zeny" is a global variable but so it that notice shows.
I tested it in game and works fine.

I  just don't know it has an issue in compiling

vending.c: In function 'vending_purchasereq':vending.c:256: warning: 'item_name' may be used uninitialized in this function LD map-server 


>> 

"Zeny" is a global variable but so it that notice shows.
lockquote>so its ok?

- Not sure what that is because I did not try it on linux
- I think yes. It's a Notice. Not a Warning or Error. I also tried my NPC with the "Zeny" as variable an works fine. My zeny are getting deducted/gained.
I dont know but every time I try to @item the items 30000 and 30001 they are Unknown item. also when i use Vend skill they are also Unknown items in the choices 
 
why will you @items them? I think those were dummy items so you can use them in the vending window?

 
Back
Top