Jump to content

Release: Extended Vending 2.0


Easycore

Recommended Posts


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   2
  • Joined:  08/18/13
  • Last Seen:  

Hello !
I've recently added this and I got this issue
Capture.PNG.ed5dc788b18f4ef3b99e34ad3da2decc.PNG

I manually patched my rAthena due to the diff being corrupted or something.
Any idea how to fix this?

 

EDIT:

I managed to Fix this problem.
Thing was it's kinda hard to manually put data in the src files like manually copy pasting.

Turns out put the data in the wrong block of code. 

Still +1 to this release WORKS Perfectly Fine.

Edited by KrenjerJS
Fixed Issue
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

Most diff are like this coz of rathena version changes from each ppl i guess and server source edits

Use notepad ++ and use option "move to other view so you can do it side by side

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   2
  • Joined:  08/18/13
  • Last Seen:  

1 hour ago, NakedWolf said:

Most diff are like this coz of rathena version changes from each ppl i guess and server source edits

Use notepad ++ and use option "move to other view so you can do it side by side

yeah I guess so. 
Thanks for the tip man! ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   251
  • Joined:  04/08/13
  • Last Seen:  

On 10/5/2018 at 5:20 AM, Keitenai said:

is my solution correct @Easycore ?

Yes, it is. I will update it once I have my laptop back.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

i do it manually

+1 for a great job sir @Easycore

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   2
  • Joined:  08/18/13
  • Last Seen:  

I don't know if its a bug or human error on installing this

but take a look at this.

Before I restart the server I'ts working fine.

Capture2.PNG.f6c15a77e7aa2d4feea7d4d71f09d6fb.PNG

 

But as soon as server restart this happens

Capture.PNG.681d99234fd7c91b8975c4c0c2650106.PNG

and a warning on the map-server is

 Capture3.PNG.9b6c8845919671b27d63c90696d8560f.PNG

Well the ID randomly changes every server restart.
 

Any insights on this? 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

that item ID should be on ur item_db.txt

platinum coin ID is 677

 

check your item_vending.txt in your DB folder

// Specific items for Vending System
// Format: ItemID
// Max items is equal MAX_INVENTORY ( 100 by default )

// TCG Card
7227
// Mithril Coin
674
// Silver Coin
675
// Bronze Coin
673
// Poring Coin
7539

if your going to add other currency for your vending should include here and also on you item_db.txt

EDIT: in my part nothing changes when i restart my server, The only error in my part is when i reboot my server with someone auto vend they can bought the items using zeny so

what i did is turn off the feature for the vendor to stay after reboot

@Easycore thats the only bug i encounter 

Edited by AinsLord
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   2
  • Joined:  08/18/13
  • Last Seen:  

57 minutes ago, AinsLord said:

that item ID should be on ur item_db.txt

platinum coin ID is 677

 

check your item_vending.txt in your DB folder


// Specific items for Vending System
// Format: ItemID
// Max items is equal MAX_INVENTORY ( 100 by default )

// TCG Card
7227
// Mithril Coin
674
// Silver Coin
675
// Bronze Coin
673
// Poring Coin
7539

if your going to add other currency for your vending should include here and also on you item_db.txt

EDIT: in my part nothing changes when i restart my server, The only error in my part is when i reboot my server with someone auto vend they can bought the items using zeny so

what i did is turn off the feature for the vendor to stay after reboot

@Easycore thats the only bug i encounter 

 

Well I did that already tho.
// Platinum Coin
677

It is already in my item_vending.txt
that didn't solve the issue but

what you said would do.
"turn off the feature for the vendor to stay after reboot"

?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

on your conf/battle/feature.conf

// Autotrade persistency (Note 1)
// Should vendors that used @autotrade be restored after a restart?
feature.autotrade: yes

if thats yes then once you reboot your server all characters that is on @AT will stay online

change it to no so all characters will be disconnected including the autotraders

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   2
  • Joined:  11/15/15
  • Last Seen:  

This system is excellent, I only have two problems.

the first one: he does not show me the item for zeny or for cash

Spoiler

screenSFJRO002.thumb.jpg.60fc23bf4bb41f43b882b3aa3c29b839.jpg


and the second: when I sell something in zeny the amount I give appears, apparently everything is done well, but it charges double the amount established.

Spoiler

screenSFJRO005.jpg

Does anyone know how I can sose errors? (The first one I saw they asked but according to me nobody solved it)

Edited by geminy05
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

1st problem: you need to add item description in client silde folder. System/iteminfo.lua 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   251
  • Joined:  04/08/13
  • Last Seen:  

1 hour ago, geminy05 said:

and the second: when I sell something in zeny the amount I give appears, apparently everything is done well, but it charges double the amount established.

Not happened to me.
Tested with and without @at
LPIt0zm.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   2
  • Joined:  11/15/15
  • Last Seen:  

 

I already solved the icons when adding them to the iteminfo.lua (I had forgotten that detail thank you ?) and what it charged twice the zeny was mystically resolved when recompiling the server ?

Edited by geminy05
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

Welcome, have a geart day.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  309
  • Reputation:   82
  • Joined:  11/15/11
  • Last Seen:  

I have a small problem, I can open the stores normally, but you can not click to open the store, I click several times and it does not open.

Edited by Haikenz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

What do you mean by store could you provide some screenshots ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  309
  • Reputation:   82
  • Joined:  11/15/11
  • Last Seen:  

@NakedWolf https://www.youtube.com/watch?v=DMLEE8GJjdg  Ignore the sound, hahah... fan

Edited by Haikenz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

Video unavilable

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  309
  • Reputation:   82
  • Joined:  11/15/11
  • Last Seen:  

2 minutes ago, NakedWolf said:

Video unavilable

Sorry, ty now

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

7 hours ago, Haikenz said:

@NakedWolf https://www.youtube.com/watch?v=DMLEE8GJjdg  Ignore the sound, hahah... fan

Do you have an warnings when you compile or any console errors or warning ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  309
  • Reputation:   82
  • Joined:  11/15/11
  • Last Seen:  

2 minutes ago, NakedWolf said:

Do you have an warnings when you compile or any console errors or warning ?

No, I added everything right, I'm using the current commit.

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  70
  • Reputation:   22
  • Joined:  07/10/12
  • Last Seen:  

You need to make a fix on the system so that the @autotrade system after rebooting the server returns with the item that was selected for trading, quite simple.

In the do_init_vending_autotrade function, find:

at-> sd-> state.monster_ignore = (battle_config.autotrade_monsterignore);

add after:

// Extended Vending System Fix Bug [CreativeSD]
at-> sd-> vend_loot = at-> vend_loot;

 

Edited by SBK_
  • Love 1
  • Like 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

try to do this one ?

On 11/22/2018 at 4:49 PM, SBK_ said:

You need to make a fix on the system so that the @autotrade system after rebooting the server returns with the item that was selected for trading, quite simple.

In the do_init_vending_autotrade function, find:


at-> sd-> state.monster_ignore = (battle_config.autotrade_monsterignore);

add after:


// Extended Vending System Fix Bug [CreativeSD]
at-> sd-> vend_loot = at-> vend_loot;

 


 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  70
  • Reputation:   22
  • Joined:  07/10/12
  • Last Seen:  

I had this problem too, I tested everything right really at the time he loads the character and he will pass on the information, he would end the coin he would lose this information.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

so the one you posted is the fix for that one?

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