ASteambot Roll your items
Before anything, read this :
You will need
ASteambot to run this plugin.
You need at least the version
V 13.0.
A very simple idea. This plugin allow player to create roulette-like games. They first proceed to trade with ASteambot, which then grant them access to the roulette. Once they are sufficient player in the game, a random winner is picked. But here is the trick. The more you bet, the more the odds are in your favor. So if there is 3 players currently in the game, and Player1 bet for 10$, while Player2 bet for 7.50$ and Player3 bet for 2.50$ then, Player1 has 50% chance of winning, Player2 has 37,5% chance of winning and Player3 has only 12,5% chances of winning !
But what do they win ? The winner win 85% of the total roulette value and the guarantee to win at least 1 item as high as his total bet. So, if Player2 win, he will receive 7.50$ + 9.50$ !
If the bot's inventory can't afford to get a 15% margin, then the player receive the whole bet sum of all players (20$).
- Everything is fully automatic
- Easy configuration
- Translations
- Trades are saved in database to allow some kind of logs
Download and run ASteambot, it can be downloaded
[here]
Install ASteambot_Core :
If you already have installed ASteambot_Core, update it. And can't stres enough this.
0)
Install socket extension
1) Grab ASteambot_Core from
[here]
2) Put in your plugins folder : addons/sourcemod/plugins
3) DOWNLOAD AND EDIT THE CONFIGURATION FILE AND PUT IT IN [SERVER PATH]/cfg/asteambot/asteambot_core.cfg !!!
4) Restart your server
Install ASteambot_RollTheItems:
1) Grab the smx file (ASteambot_RollTheItems) on github,
[here]
2) Grab the translation file (ASteambot_RollTheItems) on github,
[here]
3) Put the smx file in your plugins folder : addons/sourcemod/plugins
4) Put the txt file in your translation folder : addons/sourcemod/translations
5) Add an entry into addons/sourcemod/configs/database.cfg like this :
Code:
"ASteambot-RollTheItems"
{
"driver" "mysql"
"host" "IP ADDRESS OF DB SERVER"
"database" "rolltheitems"
"user" "USERNAME"
"pass" "PASSWORD"
//"timeout" "0"
//"port" "0"
}
6) Restart your server or reload the map and you are done !
In addition, I highly recommend this plugin :
https://forums.alliedmods.net/showthread.php?t=323457
It will prevent the bot from adding everyone has friend and speeds up the whole process. Please, consider installing it.
sm_asteambot_rolltheitems - Enter or start the roulette round.
sm_asteambot_rti - Enter or start the roulette round.
sm_asteambot_roll_the_items_minimum_players 5 - Minimum number of players required to start the roulette (minimum 2)
sm_asteambot_roll_the_items_winner_annoucemen t 5 - Seconds before announcing the winner (minimum 3)
sm_asteambot_roll_the_items_trade_offer_type 1 - Trade offer type to use : tradeoffer = 1 OR ingame = 2
A configuration file is created upon first run under /cfg/asteambot/ folder. Check it out.
Feel free to ask
>> NEED HELP FOR TRANSLATIONS <<
None found yet
Feel free to make some
All files are on Github :
https://github.com/Arkarr/SourcemodASteambot/
Enjoy !
Logs :
__________________