Vergenter / stronghold_autosell

dll to autosell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stronghold_autosell

This mod adds adjustable automatic selling of resources in Stronghold Crusader game. It is compatibile with:

Build settings

How to build

  1. Build project in release mode using Visual Studio. Resulting file is Release//trade_dll.dll

How to use

  1. Inject resulting file Release//trade_dll.dll into Stronghold Crusader process using any dll injector. You need inject dll everytime you run the game.

How it works

  1. Automatically sells resources if their level is above a specified value(default 200).
  2. Selling threshold for each resource can be adjusted in market resource view via PageUp(+10) and PageDown(-10) keys.
  3. Current threshold value for resource is displayed at the bottom of the buy/sell menu as seen on
  4. Hides current treshold on hoovering buy or sell button as seen on
  5. Detects if the market is built and prohibits trading without it.
  6. Injection can be removed from the game process by pressing the END key.

To do

  • Simplify the mod's usage. Consider integrating it with UCP for easier installation.
  • Add support for multiple players. Currently, the mod only works for the red player in multiplayer mode.
  • Integrate autoselling with an in-game function, such as adding an item to stockpile. This should help with UCP integration.
  • Disable selling resources that are prohibited by the game scenario settings
  • Reset mod settings on every load or start game

Screenshots

[autoTradeView]: AutoTrade view in menu [autoTradeHidden]: AutoTrade hide mod text on hoover over buy button

About

dll to autosell

License:MIT License


Languages

Language:C++ 91.0%Language:C 9.0%