Jump to content
markhank

Online multiplayer marketplace for C:S resources

1 post in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

Hello modders of C:S.


I am new to modding CS but pretty experienced in building web applications and APIs. I had an idea for a CS mod which would allow for an online marketplace for CS resources between players. So for instance, if your city generates excess power or water or wood or fish or whatever you could offer it for sale through the marketplace and other players could "purchase" it in exchange for cash into your city budget.


I will have no issue building the server side of this to effect the marketplace, but I'd be really interested in perspectives on how best to implement this in game.


I've found a few scripts on github which expose the game api and deliver json through a local port, which is very helpful, but there's all c5 years old which makes me nervous.


My ideal solution would be to create an asset in game (ie a building called "Trading Terminal" or something similar) which generates/consumes power/water/cash depending on the variables passed to it by the API and which can store resources in a warehouse style fashion (again, the contents programmatically determined by inputs from the api).


I would be really interested for any pointers on assets which do anything close to this which I could reverse engineer as a starter. Any good examples of assets which pass/accept data from outside the game world?


If anybody with a CS modding background would be interested in collaborating with me on this then please let me know. Equally, if you think this is just something that's dumb/not useful/not fun then I'd be keen to hear that feedback as well.

Share this post


Link to post
Share on other sites

Sign In or register to comment...

To comment in reply, you must be a community member

Sign In  

Already have an account? Sign in here.

Sign In Now

Create an Account  

Sign up to join our friendly community. It's easy!  

Register a New Account


×

Thank You for the Continued Support!

Simtropolis depends on donations to fund site maintenance costs.
Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

Make a Donation, Get a Gift!

Expand your city with the best from the Simtropolis Exchange.
Make a Donation and get one or all three discs today!

STEX Collections

By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

Each donation helps keep Simtropolis online, open and free!

Thank you for reading and enjoy the site!

More About STEX Collections