quesoph

Extended Vending System UPDATED rev14395! by Lilith

149 posts in this topic

Any update for this in the latest revision? I knew they change iMap to map in here

Share this post


Link to post
Share on other sites

^ its working. -,-

 

 

@edit

 

Compiled and tested with Hercules Rev 12803

Edited by quesoph

Share this post


Link to post
Share on other sites

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

post-2226-0-27592300-1382624251_thumb.png

post-2226-0-70763100-1382624264_thumb.jpg

 

Here

Extended Vending System Hercules Rev 12815.patch

Share this post


Link to post
Share on other sites

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.gifScreenshot (23).png

attachicon.gifscreenYmir 007.jpg

 

Here

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

 

 

[Notice]: Conflicting item/script var 'Zeny', prioritising the script var 

 

 

 

Edited by karazu

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

 

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.

Share this post


Link to post
Share on other sites

 

- Not sure what that is because I did not try it on linux

 

 

ohh ok, . I hope somebody can answer this problem

Share this post


Link to post
Share on other sites

 

 

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 

Share this post


Link to post
Share on other sites

why will you @items them? I think those were dummy items so you can use them in the vending window?

Share this post


Link to post
Share on other sites

why will you @items them? I think those were dummy items so you can use them in the vending window?

I did just try, but its ok now. lol I forgot to convert my lua to lub.

Share this post


Link to post
Share on other sites

Because this plugin need a item named Zeny.  So system warning. 

 

Never mind.

Share this post


Link to post
Share on other sites

@rosfus.

 

Go to item_db2.txt

 

changed the Zeny (aegis name) to Zeny_C or anything you want.

 

That will solved the problem. You will not encounter any 'Zeny' issues on the main emulator.

Share this post


Link to post
Share on other sites

Compiled and tested with Hercules Rev 12352.

is it working with 12505 sir ?

 

 

 

btw thanks.. tested on 12535 and its kewl!!

Share this post


Link to post
Share on other sites

i Have This Problem when i run the server
 

 

[Warning]: Unknown setting 'extended_vending' in file conf/battle/custom.conf
[Warning]: Unknown setting 'show_item_vending' in file conf/battle/custom.conf
[Warning]: Unknown setting 'ex_vending_info' in file conf/battle/custom.conf
[Warning]: Unknown setting 'item_zeny' in file conf/battle/custom.conf
[Warning]: Unknown setting 'item_cash' in file conf/battle/custom.conf

Share this post


Link to post
Share on other sites

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.gifScreenshot (23).png

attachicon.gifscreenYmir 007.jpg

 

Here

attachicon.gifExtended Vending System Hercules Rev 12815.patch

try this.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now