Jump to content


Photo

Extended Vending System UPDATED rev14395! by Lilith

Skill

  • Please log in to reply
148 replies to this topic

#21 mrlongshen

mrlongshen

    Noobies

  • Members
  • PipPipPip
  • 1124 posts
  • Locationlocalhost 127.0.0.1
  • Emulator:Hercules

Posted 23 August 2013 - 02:52 PM

Compiled and tested with Hercules Rev 12352.

 

is work?


Long live Hercules emulator


#22 quesoph

quesoph

    Advanced Member

  • Members
  • PipPipPip
  • 565 posts
  • LocationPhilippines
  • Emulator:Hercules

Posted 23 August 2013 - 03:24 PM

it worked for me.



#23 mrlongshen

mrlongshen

    Noobies

  • Members
  • PipPipPip
  • 1124 posts
  • Locationlocalhost 127.0.0.1
  • Emulator:Hercules

Posted 23 August 2013 - 08:22 PM

it worked for me.

 

i will try again. maybe i do some mistake.


Long live Hercules emulator


#24 quesoph

quesoph

    Advanced Member

  • Members
  • PipPipPip
  • 565 posts
  • LocationPhilippines
  • Emulator:Hercules

Posted 13 September 2013 - 04:52 AM

Compiled and tested with revision: 12400



#25 quesoph

quesoph

    Advanced Member

  • Members
  • PipPipPip
  • 565 posts
  • LocationPhilippines
  • Emulator:Hercules

Posted 25 September 2013 - 09:23 AM

Compiled and tested with revision: 12520



#26 Lelouch

Lelouch

    Advanced Member

  • Members
  • PipPipPip
  • 64 posts
  • LocationArea 11
  • Emulator:Hercules
  • Github:lelouch22

Posted 04 October 2013 - 11:50 PM

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



#27 quesoph

quesoph

    Advanced Member

  • Members
  • PipPipPip
  • 565 posts
  • LocationPhilippines
  • Emulator:Hercules

Posted 05 October 2013 - 06:11 AM

^ i've updated the first post please check it.



#28 安赫尔

安赫尔

    Advanced Member

  • Members
  • PipPipPip
  • 164 posts
  • LocationShanghai
  • Emulator:Hercules
  • Github:stacksnet

Posted 05 October 2013 - 09:29 PM

it's work , thank you!



#29 GM.PiXeL

GM.PiXeL

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts

Posted 24 October 2013 - 10:40 AM

not working on latest revision.


n8tp.png   


#30 quesoph

quesoph

    Advanced Member

  • Members
  • PipPipPip
  • 565 posts
  • LocationPhilippines
  • Emulator:Hercules

Posted 24 October 2013 - 11:54 AM

^ its working. -,-

 

 

@edit

 

Compiled and tested with Hercules Rev 12803


Edited by quesoph, 24 October 2013 - 11:58 AM.


#31 LuLu

LuLu

    Advanced Member

  • Members
  • PipPipPip
  • 103 posts
  • Github:LuLu

Posted 24 October 2013 - 02:18 PM

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,,,,,,,,,,,,,{},{},{}

[font="verdana, geneva, sans-serif;"]I've also included db/item_vending.txt[/font] in the patch with TCG Card as default currency

 

Compiled and tested with Hercules Rev 12815

Attached File  Screenshot (23).png   13.59K   72 downloads

Attached File  screenYmir 007.jpg   127.76K   87 downloads

 

Here

Attached File  Extended Vending System Hercules Rev 12815.patch   18.98K   42 downloads


JYWWork.png - Don't forget to click rep_up_zps4d092215.png if you found my post helpful.  ani_oh.gif   rep_up_zps4d092215.png
Release : Windows 8 Skin - Add me : Facebook

 


#32 karazu

karazu

    Advanced Member

  • Members
  • PipPipPip
  • 1139 posts

Posted 25 October 2013 - 02:02 AM

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,,,,,,,,,,,,,{},{},{}

[font="verdana, geneva, sans-serif;"]I've also included db/item_vending.txt[/font] in the patch with TCG Card as default currency

 

Compiled and tested with Hercules Rev 12815

Posted ImageScreenshot (23).png

Posted ImagescreenYmir 007.jpg

 

Here

Posted ImageExtended 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, 25 October 2013 - 02:31 AM.


#33 LuLu

LuLu

    Advanced Member

  • Members
  • PipPipPip
  • 103 posts
  • Github:LuLu

Posted 25 October 2013 - 03:09 AM

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.


JYWWork.png - Don't forget to click rep_up_zps4d092215.png if you found my post helpful.  ani_oh.gif   rep_up_zps4d092215.png
Release : Windows 8 Skin - Add me : Facebook

 


#34 karazu

karazu

    Advanced Member

  • Members
  • PipPipPip
  • 1139 posts

Posted 25 October 2013 - 03:24 AM

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?



#35 LuLu

LuLu

    Advanced Member

  • Members
  • PipPipPip
  • 103 posts
  • Github:LuLu

Posted 25 October 2013 - 03:33 AM

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.

JYWWork.png - Don't forget to click rep_up_zps4d092215.png if you found my post helpful.  ani_oh.gif   rep_up_zps4d092215.png
Release : Windows 8 Skin - Add me : Facebook

 


#36 karazu

karazu

    Advanced Member

  • Members
  • PipPipPip
  • 1139 posts

Posted 25 October 2013 - 03:37 AM

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

 

 

ohh ok, . I hope somebody can answer this problem



#37 karazu

karazu

    Advanced Member

  • Members
  • PipPipPip
  • 1139 posts

Posted 25 October 2013 - 05:14 AM

 

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 



#38 quesoph

quesoph

    Advanced Member

  • Members
  • PipPipPip
  • 565 posts
  • LocationPhilippines
  • Emulator:Hercules

Posted 25 October 2013 - 06:33 AM

I've had that warning. and i am ignoring it since then. xD



#39 LuLu

LuLu

    Advanced Member

  • Members
  • PipPipPip
  • 103 posts
  • Github:LuLu

Posted 25 October 2013 - 07:09 AM

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


JYWWork.png - Don't forget to click rep_up_zps4d092215.png if you found my post helpful.  ani_oh.gif   rep_up_zps4d092215.png
Release : Windows 8 Skin - Add me : Facebook

 


#40 karazu

karazu

    Advanced Member

  • Members
  • PipPipPip
  • 1139 posts

Posted 25 October 2013 - 08:42 AM

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.







Also tagged with one or more of these keywords: Skill

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


This topic has been visited by 867 user(s)