Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2008-08-22 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
August 22, 2008, 11:01:31 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Remember to check on the FAQ before start posting.
It may save you time and effort.
Also here is the WCS Wiki!
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Author Topic: Bots & Levelling  (Read 139 times)
Rothgar
Level 0 Beginner

Offline Offline

Canada Canada

Posts: 8


« on: May 03, 2007, 01:52:30 AM »

Hi All,

Great mod really enjoy it, we have a slight problem though that I hope someone can help fix.

I would like to setup some sort of script to delete bots from the database every x days so they will start at level 0 again.

I seem to recall there may be a crontab script for Eventscripts now made by cagemonkey? I might be able to use this to reset all the bots, however is there a command to delete just the bots from the database? Like a wildcard [BOT]* removing all bots?

Any help would be greatly appreciated because the bots get very high level eventually and I don't want to remove everyones levels just delete the bots so new players have a chance, thanks.
Logged
HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 1787



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #1 on: May 03, 2007, 02:56:29 AM »

open the es_WCS_config_db.txt and scroll down till you find the line
"wcs_cfg_allowbotsgetxp" "1" change to 0
Logged


  connect 8.2.0.222:27015
kryptonite
<WCS coder>
Administrator
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 1118



WWW
sp0nk

myServer 85.190.38.232:27015
(Warning: click connects through Steam)
« Reply #2 on: May 03, 2007, 12:04:04 PM »

yes, that setting would reset bot XP every map !

Maybe you want to kick all bots to get new names ? Each bots are saved by their name ! So if you kick all and let them re-join, you should have a set of some fresh level 0 bots.
Logged

(click to show/hide)
Rothgar
Level 0 Beginner

Offline Offline

Canada Canada

Posts: 8


« Reply #3 on: May 03, 2007, 12:11:51 PM »

I want bots to get XP I just want to be able to reset or remove levels from them sometimes.

Also I find that when the bots reconnect they often use the same names unless I manually enter all the names in the botprofile.db which is a huge pain in the ass.

Is there no simple method via a command like giveexp [BOT]* -2000 ?
Logged
kryptonite
<WCS coder>
Administrator
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 1118



WWW
sp0nk

myServer 85.190.38.232:27015
(Warning: click connects through Steam)
« Reply #4 on: May 03, 2007, 01:28:46 PM »

right, you can give negative XP, but this does not leveldown a player !!

You could use the admin menu to reset all bots manually....

Is the random so bad ?!? I thought bots get everytime a random name off the botprofile.db
Logged

(click to show/hide)
Rothgar
Level 0 Beginner

Offline Offline

Canada Canada

Posts: 8


« Reply #5 on: May 03, 2007, 02:54:20 PM »

They do but there aren';t many names in there and it's not just as simple as creating a text file with a name on each line like it used to be. You now have to tell it what kind of bot it is...

It would be great if Warcraft added some features as to resetting bots once in a while etc. For now I might make some WCS Admins like you said and tell them to reset them manually for now, thanks.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 12:43:07 PM
server 1 ist wieder on xD
Today at 12:09:18 PM
Duffer ur Banner is finisht and ready 2 dl http://warcraft-source.com/board/index.php/board,62.0.html
Today at 04:25:54 AM
Thanks Polis for the help.
Today at 03:53:21 AM
Updated Solaris, specs and dead players will not longer give Solar Energies.
Today at 03:24:36 AM
nexusgaming.org
Today at 02:49:54 AM
If any one could help me with my race problem i would greatly appreciate it. tyvm
Today at 01:48:31 AM
Check out my sub forum for a script on how to make damage and messages from delayed skills not carry on to the next round.
Recent
[Today at 11:00:24 PM]

[Today at 10:49:35 PM]

[Today at 08:35:20 PM]

[Today at 08:06:14 PM]

[Today at 07:22:17 PM]

[Today at 05:49:50 PM]

[Today at 05:16:21 PM]

[Today at 05:14:22 PM]

[Today at 04:27:53 PM]

[Today at 02:09:07 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.106 seconds with 25 queries.