Jump to content

bots do not reset xp


SadNesS

Recommended Posts

  • Subscriber

As far as I know you should add clearxp to the beginning of your objectivecycle.cfg to get the xp to reset every time your rotation starts

set d1 "set g_gametype 2 ; clearxp ; map oasis ; set nextmap vstr d2"

you could also try changing the omni-bot.cfg file

[XP]
Reset                          = 1
Max                            = 10000

that will reset the xp for the bots at 10000 or what ever number you change it to.

Link to comment
Share on other sites

This is the omni-bot.cfg:

 

[Debug]
DumpFileEnable                 = true
DumpFileDialog                 = true

[Script]
LiveUpdate                     = false

[ServerManager]
MaxBots                        = 12
BalanceTeams                   = 1
SaveConfigChanges              = 1
CountSpectators                = 0
SleepBots                      = 0
MinBots                        = -1
InitialDelayTime               = 3

[Difficulty]
CurrentDifficulty              = 1
AdjustAim                      = 1

[CombatMovement]
moveskill                      = 3

[HeavyWeapons]
MinPlayersForMortar            = -1
MinPlayersForMobileMG          = -1

[Log]
LogInfo                        = true
LogWarnings                    = true
LogErrors                      = true
LogCriticalErrors              = true

[XP]
Reset                          = 1
Max                            = 50000

[FireTeam]
enabled                        = 0

[Versus]
BotTeam                        = -1
HumanTeam                      = 1
BotsPerHuman                   = 3
And xpsave is working fine.
Link to comment
Share on other sites

  • Subscriber

sorry I can't think of anything to cure it.

you've got the bots working, xp is saving, its just not resetting.

I think its a setting somewhere but I don't know which one.

 

you may be better off posting on the omni-bot forum perhaps some there with more experience than me may be able to help you, but it may also be a xp problem with the nq mod but I don't know if anyone on their forum could help ? it has not been used very much in the last few months, may be some one is still around.

Link to comment
Share on other sites

You should have some cars in there

 

 

omnibot_enable

Description

Enables Omni-Bots if they are installed on the server.

Parameters

Type: boolean

Default: 0

omnibot_flags (Changed in 1.2.9)

Description

Various flags affecting the behaviour of bots.

Parameters

Type: bitmask

1 Disable XPSave for bots

2 Bots cannot mount tanks

4 Bots cannot mount emplaced guns

8 Don't count bots (this affects the value of the cvar 'omnibot_playing' which contains the number of bots playing or -1 if this flag is set)

16 Bots will gib wounded players, so they can no longer be revived (New in 1.2.7)

32 Bots will trigger team mines and spotted mines (New in 1.2.9)

64 Bots are able to use g_shove (New in 1.2.9)

Default: 0

omnibot_path

Description

Must point to the absolute path of where Omni-Bot is installed.

Example: set omnibot_path "/home//enemy-territory/omni-bot/" (note the slashes at both the beginning and end of the path).

Parameters

Type: string

Default: ""

Link to comment
Share on other sites

  • Subscriber

sure

// Omni-bots
set omnibot_enable 1  //changed from 0
set omnibot_path "/home/harry/OGP_User_Files/omnibot/"  //changed from "/usr/local/games/enemy-territory/omnibotv084/"
set g_bot_maxXP 1000  //changed from -1
set g_bot_minPlayers 8  //changed from -1
set omnibot_flags 262160  //changed from 0

and the other bit which can compare if you like ?

set g_XPSave "15"
set g_XPSaveDirectory "/home/harry/OGP_User_Files/noquarter/nq/xpsave/" // changred from "/games/enemy-territory/nq/xpsave/"
set g_XPSaveMaxAge 691200 // 8 days
set g_XPDecay 0
set g_XPDecayFloor 540
set g_XPDecayRate 0
set g_maxXP -1
Edited by JohnDory
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...