Add API to Barter Stand

Thoughts on the further development of Haven & Hearth? Feel free to opine!

Add API to Barter Stand

Postby jock » Wed Aug 09, 2023 5:37 pm

Add API code generation for a barter stand.

This would work when a Barter stand is looked at and then closed.
This would then send an update to any listeners of this API code (e.g. market websites).
This should have a cooldown to prevent constant or abusive listen requests (the tick system of 18? minutes)

This would make markets much cleaner, more convenient and easier for people to trade in. It would be the best update possible for markets to function that is possible.
jock
 
Posts: 583
Joined: Thu Mar 08, 2012 7:27 am

Re: Add API to Barter Stand

Postby Massa » Wed Aug 09, 2023 7:04 pm

now i don't know how this shit works code wise but the fruits of these systems are quite nice
ImageImage
ass blast USA
User avatar
Massa
 
Posts: 1480
Joined: Sat Jun 01, 2013 4:58 am
Location: the hams

Re: Add API to Barter Stand

Postby Fostik » Thu Aug 10, 2023 5:46 pm

The thing is that barter stand already has API.
Server returns you all contents of the stands, and then client renders it as stand window.
If you want API as is, what else would you want in addition to it?

The real problem is there is a lot of instances when players made parser based on custom clients that helps bot to achieve this response, and perform own ETL, e.g. send, parse, save and display data on the site aggregator, but neither developers nor players has developed centralized approach to work with market data in haven, and every world we are starting from scratch.

If you want to resolve it - game badly needs global auction, that you can build by upgrading village idol, so it will provide access to world trading pool, where distance and quantity are affected by additional limiting mechanics, among with currency supported by devs convertible to/from tokens. This game trading can't rely on high effort overcomplicated player-made projects every world that can be released right when everyone already quit.
Known as zunzon. Contact discord: zunzon.
User avatar
Fostik
 
Posts: 2003
Joined: Tue Jul 05, 2011 4:08 pm
Location: EU

Re: Add API to Barter Stand

Postby SnuggleSnail » Thu Aug 10, 2023 8:16 pm

I feel like Frostik identified the problem very well, but his solution is bad. If the game allowed me to have intercourse with personified trees it would solve everything, while allowing players to enjoy building/maintaining markets.
"We specialize in permadeath and forum drama." -man who removed death and deletes every drama thread
http://www.seatribe.se/
User avatar
SnuggleSnail
 
Posts: 2435
Joined: Sat Oct 12, 2013 4:04 pm

Re: Add API to Barter Stand

Postby jock » Fri Aug 11, 2023 9:06 am

Fostik wrote:The thing is that barter stand already has API.
Server returns you all contents of the stands, and then client renders it as stand window.
If you want API as is, what else would you want in addition to it?

The real problem is there is a lot of instances when players made parser based on custom clients that helps bot to achieve this response, and perform own ETL, e.g. send, parse, save and display data on the site aggregator, but neither developers nor players has developed centralized approach to work with market data in haven, and every world we are starting from scratch.

If you want to resolve it - game badly needs global auction, that you can build by upgrading village idol, so it will provide access to world trading pool, where distance and quantity are affected by additional limiting mechanics, among with currency supported by devs convertible to/from tokens. This game trading can't rely on high effort overcomplicated player-made projects every world that can be released right when everyone already quit.


The ability to draw that information to a website independent of the client. Whenever a barter stand is closer any listeners of the barter stands API code would get that information shared with them as well as the client(with a request cooldown ofc). So that once a market is opened they make a website that does not require a bot to walk around and open, they just require the code for each barter stand. then whenever someone looks it sends both the client user and the code listener the information on the stand.

A global market section on forums with the thingwall/village name could be added that owners of stalls could add their code to making them seen globally could solve the need for a perma global market but instead a globally created barter stand list that sorts by village it is under.
jock
 
Posts: 583
Joined: Thu Mar 08, 2012 7:27 am

Re: Add API to Barter Stand

Postby Glorthan » Sun Aug 13, 2023 3:27 am

A guid for each stand that you can only see with vandal perms? Villages could choose to share them, or only publish on their own website.

Then you don't need locality to query them.
Glorthan
 
Posts: 1099
Joined: Tue Jun 11, 2013 4:33 pm

Re: Add API to Barter Stand

Postby SnuggleSnail » Sun Aug 13, 2023 3:52 am

You should need markets to trade.
Players should be obligated to build & maintain markets in an absurdly time consuming way.
Market maintenance should include some level of software development.
If you think otherwise you don't understand how things are done around here.
"We specialize in permadeath and forum drama." -man who removed death and deletes every drama thread
http://www.seatribe.se/
User avatar
SnuggleSnail
 
Posts: 2435
Joined: Sat Oct 12, 2013 4:04 pm

Re: Add API to Barter Stand

Postby maze » Sun Aug 13, 2023 4:35 am

SnuggleSnail wrote:You should need markets to trade.
Players should be obligated to build & maintain markets in an absurdly time consuming way.
Market maintenance should include some level of software development.
If you think otherwise you don't understand how things are done around here.


>me, repeating every world to remove fking fiber/cloth from market stands so we can have day 1 trading....
fk markets taking months to build. Trading is such a core function that people love- fk hurdling it.
WARNING! MY ENGISH SUCKS.
game ideas
User avatar
maze
 
Posts: 2525
Joined: Sat Mar 27, 2010 3:15 am
Location: Canada

Re: Add API to Barter Stand

Postby SnuggleSnail » Sun Aug 13, 2023 4:39 am

Or you could just make trading not require a market...
"We specialize in permadeath and forum drama." -man who removed death and deletes every drama thread
http://www.seatribe.se/
User avatar
SnuggleSnail
 
Posts: 2435
Joined: Sat Oct 12, 2013 4:04 pm

Re: Add API to Barter Stand

Postby Glorthan » Sun Aug 13, 2023 5:21 am

The devs don't seem amenable to a global risk-free trading mechanism like an auction house.

A solution that maintains the locality and thus the travel risk but reduces setup/maintenance effort has a chance of being implemented. Travel distances being so aids is a different problem in itself.
Glorthan
 
Posts: 1099
Joined: Tue Jun 11, 2013 4:33 pm

Next

Return to Critique & Ideas

Who is online

Users browsing this forum: No registered users and 111 guests