Jump to content
quesoph

Extended Vending System UPDATED rev14395! by Lilith

Recommended Posts

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

 

 

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?

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

@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

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

  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.

Loading...

×
×
  • Create New...

Important Information

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