Skip to content
Tiranadel edited this page Feb 24, 2017 · 1 revision

SYSTEM.DAT


The system.dat controls and stores some information for running the bot. In this section I'll break it down.

If you open the system.dat you'll see the following sections: [botinfo] [system] [statprices] [style] and [version].

[botinfo]

This section keeps the bot owner (person who has access to a few more commands than normal players), the channel the bot sits in and displays all the messages to, the name of the bot, and the bot's password that it sends to nickserv upon connecting. All of this information should be generated the first time you run the bot.

Note, you can have multiple bot owners in version 1.2 and beyond. To do so add them like such:

bot.owner=name.name.name.name

In other words, a name followed by a period, another name. Don't add a period to the end of the last name.

[system]

This section controls a lot of the in-game functions and limits such as, but not limited to, base # of orbs for normal monsters and bosses, how many orbs players start with, the name of the currency and the time between battles in minutes.

botType=
IRC, DCCchat or TWITCH. This tells the bot where to display messages and accept commands. If you have a lot of players and don't want limits on the # of monsters that can appear in battles, use DCCchat mode* (your players will need a client that can do DCC Chat connections). If you are trying to run the bot on Twitch (which is not recommended) set this to TWITCH mode which slows the speed of output down and makes everything output to the channel (no private messages). IRC mode is default and is the most recommended mode for most people/bot owners.

AllowColors=
true or false. If set to false then all colors will be stripped from the messages that are output to the players. Set to true by default.

AllowBold=
true or false. If set to false then all bold will be stripped from the messages that are output to the players. Set to true by default.

automatedbattlesystem=
on or off. If you want to turn the automated battle system off you can change that here.

automatedaibattlecasino=
on or off. Off by default. If set to on, the bot will only do 1vs1 AI battles and players will be unable to participate.

showCustomBattleMessages=
true or false. If set to true it'll show the new battle starting messages for orb fountains and bosses. If set to false it'll show the old one.

aisystem=
on or off. If you want to turn off the AI for monsters you can change that here. Note that in order for the 1vs1 AI Battles to work properly this needs to be set to on.

basexp=
how many orbs are normal monsters worth upon defeating? This value is the base amount (before style and other factors are calculated).

basebossxp=
same as basexp except for bosses. This only affects red orbs.

startingorbs=
How many orbs should players start with? This value is the base amount before the average shop level is multiplied to the base.

currency=
If you don't want players to accumulate "red orbs" you can change it to whatever you want. Note, you can't change "black orbs", only the red. For example, you can change this to "exp" or "coins" or "sheep skins" and it'll still work.

BetCurrency=
$$ by default, this option is the symbol for the betting currency.

TimeBetweenBattles=
This is the time, in minutes, between after a battle ends to when it starts. This doesn't affect the time that the entry time is open for, just the time it takes inbetween. (i.e. the "a battle will begin in X minutes")

TimeForIdle=
How long should players have for a turn before it skips to the next person? The default is 180 seconds. The time you put here has to be in seconds.

MaxIdleTurns=
How many turns should players be able to skip before they are kicked out of battle? By default this is set to 2.

TimeToEnter=
How long should the open period for a battle be? This is the time period that players can use !enter to enter the battle. The time here has to be put in seconds. The default is 120 seconds.

TimeToEnterDungeon=
How long should the open period be for dungeons? This is the time period that players can use !enter to enter the dungeon party. The time here has to be put in seconds. The default is 120 seconds.

TimeBetweenSave=
How long should players have to wait in between each !save battle streak command? Default is 3600 seconds (or 1 hour). The time here must be in seconds.

TimeBetweenSaveReload=
How long should players have to wait in between each !reload battle streak command? Default is 1200 seconds (20 minutes). The time here must be in seconds.

maxHP=
the max amount of HP players can have. By default it's 2500.

maxTP=
the max amount of TP players can have. By default it's 500.

maxIG=
the max amount of IG players can have. By default it's 100.

MaxOrbReward=
the max amount of orbs the battle can give out as a reward before skills and accessories are applied. By default it's 20,000. Note that this limit can be surpassed if more than one wave of monsters shows up.

MaxShopLevel=
the maximum shop level players can achieve goes here. By default it's 25.

EnableDoppelganger=
if you want the doppelganger boss fights to be enabled or not. Put true or false. It's set to true by default.

EnableWarMachine=
if you want the war machine boss fights to be enabled or not. Put true or false. It's set to true by default.

EnableBandits=
true or false, true by default. This toggles the bandit boss type on and off.

EnablePirates=
true or false, true by default. This toggles the pirate boss type on and off.

EnableCrystalShadow=
true or false, true by default. This toggles the crystal shadow warrior boss type on and off.

EnableGremlins=
true or false, true by default. This toggles the Gremlin special boss type on and off.

EnablePredator=
true or false, true by default. This toggles the Predator special boss type on and off.

AllowDemonwall=
yes/no If you want the demon wall boss battles to exist at ranges 300-600, put this as yes. It's set to yes by default.

AllowWallOfFlesh=
yes/no If you want the Wall of Flesh boss battles to exist, put this as yes. It's set to yes by default.

EnablePresidentKidnapping=
true or false. By default it's set to true. If you want the kidnapped president event to occur, leave it as true or set it to false to turn it off.

EnableChests=
If you want chests and keys to drop. Put true or false. It's set to true by default. If set to false, neither keys nor chests will drop.

MaxCharacters=
How many characters should each player be allowed to have? The default is 2.

ShowOrbsCmdInChannel=
true or false. If set to true the !orbs command will display the results in the channel. If set to false, the !orbs command will display in a private message to the person who uses the command. If you have a lot of players in your channel it might be advisable to set this to false.

ShowDiscountMessage=
true or false. False by default. If set to true, an item description will be shown when players use the Discount Card type items. If set to false it will not show the descriptions.

BattleDamageFormula=
1, 2 or 3. There's three damage formulas in the bot currently. Damage Formula #3 is set by default since it's the newest and most balanced, but you can change it to whichever one you want to use. If you are using an older copy of a system.dat you may need to change it manually to 3 if you want to be using the most current battle damage formulas.

EnableBattlefieldEvents=
true/false If you want the random battlefield events to happen, set this to true. It's true by default.

GuaranteedBossBattles=
these are a list of battles which guarantee a boss to show up. There's a bunch set by default and you can go in and change them if you want. Just remember to separate the numbers with a period inbetween (like 10.20.30.40, etc).

IgnoreDmgCap=
true/false. If set to true, it will remove most of the damage caps that are in place in the bot (but does not ignore damage cap from reflect and counters).

MaxNumberOfMonsInBattle=
You can set this to whatever number you want but the default is 6. Keep in mind that 99.999% of IRC servers have flood control and if set too high it will cause the bot to flood out if an AOE happens on monsters.

BonusEvent=
true or false. If set to true then the orb orbs rewarded at the end of battle will be doubled (even during a loss).

ScoreBoardType=
1 or 2. This toggles between the two scoreboard types.

MaxGauntletOrbReward=
You can set the maximum number of orbs are rewarded for gauntlet mode here. 50000 is default.

EmptyRoundsBeforeStreakReset=
How many empty rounds the bot will go before resetting the streak to 0 goes here. Default is 10

ChestTime=
How long a chest stays in the game before it fades away/gets destroyed. Default is 45 seconds

RedChestBase=
The base amount of red orbs that are inside of red chests. The default is $rand(150,700). You can adjust the amounts inside of the $rand if you want a random amount or you can put a static amount (like =1000). Keep in mind that this value is multiplied and increased on higher streak levels.

MaxDemonWallTurns=
10 by default. This is how many turns players have to defeat the demon wall before the battle ends with them being crushed.

MimicChance=
10 by default (10%). What chance a chest has in becoming a mimic.

PhantomBetters=
how many fake betters will participate in 1vs1 AI Battles to help generate the odds. This can't be set lower than 3. Setting it too high will cause lag on slower machines.

EnableAuctionHouse=
true or false. If set to true, the auction house will be on and will generate items for players to bid on. If set to false then no players can bid. This is set to true by default.

BattleThrottle=
true or false, set to false by default. If set to true players will have to wait a round out before entering the next battle after the battle they're in ends.

LimitPortalBattles=
true or false. If set to true players can only use 8 portal items a day, which then resets at midnight (bot's time). This is set to true by default.

GenerateHTML=
true or false. If set to true the bot will generate an HTML file when !scoreboard is used. This is set to true by default.

PlayersMustDieMode=
true or false. This will turn the Players Must Die mode on or off. While on, monsters are harder and players won't get their HP and TP restored at the end of each battle.

WheelGameCost=
This is the cost in red orbs it takes to play the Wheel minigame once the wheel merchant has been saved. It's set to 500 by default.

WheelGameTime=
This is the time the players must wait before they can spin again after playing. Default is 43200 seconds (12 hours). The time here must be in seconds.

TwitchDelayTime=
This is how fast messages are output in TWITCH mode. By default it's set to 2. If the bot is being kicked a lot by Twitch try increasing this.

ShowDeleteEcho=
If set to true this setting will cause the bot to echo a line showing every time a .char file is erased. Useful for debugging if something is going amiss. False by default.

EnableFoodOnOthers=
If set to true this setting will block people from being able to use +stat (food) items on anyone other than themselves. This is set to false by default.

AllowPersonalDifficulty=
If set to false this setting will stop players from using the !save difficulty command which increases the difficulty of battles and rewards. Set to true by default.

AllowAuctionHouseTopicChange=
If set to true, the bot will attempt to change the channel's topic with the current Auction House item.

AllowLateEntries=
If set to true, players will be able to enter the battle even if a battle is already in progress. By default this is set to false.

DisplayHealthBars=
Displays health bars instead of "Perfect" "Injured Badly" etc on the turn message. Set to false by default.

EnableFirstRoundProtection=
If set to true then monsters will deal reduced damage to players on the first round of combat. It's set to true by default.

MaxIdleTurns=
This is how many turns a player can idle before booted out of combat. Set to 2 by default.

[PlayerLevelCaps]

This section controls what level the players are capped when they fight in various special battles. This only affects the players if they are above the level set here.

Doppelganger=50
SmallWarmachine=20
MediumWarmachine=50
LargeWarmachine=75
Bandits=50
Gremlins=50
Pirates=75
FrostLegion=20
ElderDragon=200
DemonWall=75
WallOfFlesh=200
DefendOutpost=105
Assault=105
Predator=200

[MonsterLevelCaps]

This section controls what level the monsters are capped at for various special boss battles. This only affects the monsters if they are above the cap set here.

SmallWarmachine=18
MediumWarmachine=48
LargeWarmachine=74
BanditLeader=48
BanditMinion=45
Gremlins=45
PirateMinion=70
PirateFirstMatey=73
FrostLegion=15
ElderDragon=195
DemonWall=75
WallOfFlesh=200
Predator=200

[statprices]

This whole section is the base cost, in red orbs, that the shop will sell stat upgrades for. You can lower the prices or raise them here. Defaults are listed below.

hp=150
tp=150
str=250
def=250
int=250
mnd=250
agi=250
spd=250
ig=800

[style]

This section is for how many base style points a player gets for killing either a boss or a normal monster. Note that just because the default value is 80 for bosses and 60 for monsters it doesn't mean that's exactly how many a player will get (there's other factors for calculating the resulting style points). Defaults are listed below.

BossDeath=80
MonDeath=60

[Mech]

This section contains controls for mechs.

EnergyCostConstant=
100 by default. This is the base energy cost of mechs.

StatMultiplier=
2 by default. This is how much engine level will be multiplied upon activation of a mech (and this, in turn, will be multiplied to the stats)

EngineUpgradeCost=
How much it costs to upgrade a mech engine. 1500 by default.

EnergyUpgradeCost=
How much it costs to upgrade a mech's energy. 500 by default.

HealthUpgradeCost=
How much it costs to upgrade a mech's health. 200 by default.

RepairHPItem=
The default item to be used to heal a mech's health. This does not mean other items cannot be used to heal the mech, but this is the one that it defaults to if no other item is supplied. By default this is set to MetalScrap

RepairEnergyItem=
The default item to be used to refill a mech's energy levels. This does not mean other items cannot be used, but this is the one that it defaults to if no other item is supplied. By default this is set to E-Tank

MaxHp=
The max amount of health a mech can have. 10000 by default.

MaxEnergy=
The max amount of energy a mech can have. 5000 by default.

MaxEngine=
The max engine level a mech can have. 5 by default.

MechPurchaseCost=
The amount of Allied Notes it takes to purchase the base mech. 1000 by default.

[auctionInfo]

This section controls the Auction House. It will be automatically generated and updated if the auction house is enabled.

[version]

This section is used to store the current system.dat version. If your version doesn't match what the version is expected by the bot, the bot will check through your system.dat and add the new sections as necessary. Don't mess with this manually, even if you think you have the latest version.

[Table of contents]


Download Links

[GitHub]


#BattleArena on Esper.Net

[Scoreboard]
[Reddit]
[Suggestions]


Clone this wiki locally