Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

bots do not reset xp

- - - - -

  • Please log in to reply
35 replies to this topic

#1
OFFLINE   kino

kino

    Regular Member

  • Members
  • PipPipPip
  • 55 posts
2
A step in the right direction

Hello,

 

the bots on my NQ Server do not reset their XP. No matter what i set, all will be ignored and

bots plays infinitely. Since weeks i have to delete their XP manually with !resetxp. Also a

restart do not helps.

 

Do you have a solution for it?



#2
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 246 posts
54
Getting Better
  • LocationCornwall, UK

have you tried clearxp in the campaigncycle.cfg so they get reset at the start of every campaign cycle ? thats one way.



#3
OFFLINE   kino

kino

    Regular Member

  • Members
  • PipPipPip
  • 55 posts
2
A step in the right direction

I have a objectivecycle running and how it is possible to set there? What i have to write in it?



#4
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 246 posts
54
Getting Better
  • LocationCornwall, UK

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.



#5
OFFLINE   kino

kino

    Regular Member

  • Members
  • PipPipPip
  • 55 posts
2
A step in the right direction
That with the omni-bot.cfg i tried but it do not works. That's the reason why i ask here.
And btw, if i do this:
set d1 "set g_gametype 2 ; clearxp ; map oasis ; set nextmap vstr d2"
i think i would reset XP from all players, or?

#6
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 246 posts
54
Getting Better
  • LocationCornwall, UK

yes it would.

 

why does the omni-bot.cfg not work ?

 

I take it xpsave is working ?



#7
OFFLINE   kino

kino

    Regular Member

  • Members
  • PipPipPip
  • 55 posts
2
A step in the right direction
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.

#8
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 246 posts
54
Getting Better
  • LocationCornwall, UK

two things to try.

 

 

change the max xp in the omni-bot.cfg to something daft like 200 and see if that works.

or

try setting set g_bot_maxXP  <number> in your noquarter config file.



#9
OFFLINE   kino

kino

    Regular Member

  • Members
  • PipPipPip
  • 55 posts
2
A step in the right direction
I tried both but no one works :(

#10
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 246 posts
54
Getting Better
  • LocationCornwall, UK

what version are using ?



#11
OFFLINE   tapir76

tapir76

    Member

  • Subscriber
  • PipPip
  • 31 posts
1
A step in the right direction
  • LocationPoland Krk

You have set  "set g_bot_maxXP " in cfg?



#12
OFFLINE   kino

kino

    Regular Member

  • Members
  • PipPipPip
  • 55 posts
2
A step in the right direction

You have set  "set g_bot_maxXP " in cfg?


Yes.

what version are using ?


1.2.9

#13
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 246 posts
54
Getting Better
  • LocationCornwall, UK

Yes.


1.2.9

not 1.2.9b6 ?

 

which bot version ?



#14
OFFLINE   kino

kino

    Regular Member

  • Members
  • PipPipPip
  • 55 posts
2
A step in the right direction

not 1.2.9b6 ?
 
which bot version ?


Sorry, sure i use 1.2.9b6
And the omnibot version is 0.84

#15
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 246 posts
54
Getting Better
  • LocationCornwall, UK

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.



#16
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 246 posts
54
Getting Better
  • LocationCornwall, UK

I was just thinking, you have been restarting the server after every config change ?



#17
OFFLINE   kino

kino

    Regular Member

  • Members
  • PipPipPip
  • 55 posts
2
A step in the right direction
Yes, i have to do a restart restart after config changes.

#18
OFFLINE   Petbark

Petbark

    Advanced Member

  • Members
  • PipPipPipPip
  • 185 posts
30
Getting Better

Have you gone through your nq cfg to make sure that there is no conflicting bot cvars set?



#19
OFFLINE   kino

kino

    Regular Member

  • Members
  • PipPipPip
  • 55 posts
2
A step in the right direction

Have you gone through your nq cfg to make sure that there is no conflicting bot cvars set?


I've checked it and there is no bot cvar :unsure:



#20
OFFLINE   Petbark

Petbark

    Advanced Member

  • Members
  • PipPipPipPip
  • 185 posts
30
Getting Better
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: ""




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users