|
Releases, Installers, Docs & Coding Where the official development happens
|
|
Member
Status: Offline
Posts: 102
Join Date: May 2004
|
Re: Release #2! -
13-05-2004
8D
FINALLY... I can completely get rid of 2.5.
The "set flag" in wp menu now works!
Thank you sPlOrYgOn, you're the man! Great work! Keep it up!
|
|
|
|
|
<-- He did it.
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
|
Re: Release #2! -
13-05-2004
WOW!
how completely STRANGE!
I didn't touch that stuff at all ???
|
|
|
|
|
Member
Status: Offline
Posts: 322
Join Date: Apr 2004
|
Re: Release #2! -
13-05-2004
i preferred the sdk version
but thats no problem unless there are sources at all
|
|
|
|
|
<-- He did it.
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
|
Re: Release #2! -
13-05-2004
you really should just try this version..
They turn a LOT better
make sure you use this version's cfgs if you do try it..
|
|
|
|
|
Member
Status: Offline
Posts: 102
Join Date: May 2004
|
Re: Release #2! -
13-05-2004
2 things
1. In botweapons.cfg, line 73, I think you made a typo, there are two 17 that one of these should be 20.
Quote:
0,2,1,4,5,6,3,12,10,24,25,13,11,8,7,22,23,18,21,17,19,15,17,9,14,16
|
2. If there are more than 240 names in botnames.txt, the game would crash when loading. There's no such limit in version 2.5. Did you mean to change this?
|
|
|
|
|
<-- He did it.
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
|
Re: Release #2! -
13-05-2004
thanks, I didn't see that typo...
the first one from the left should be 20
Quote:
0,2,1,4,5,6,3,12,10,24,25,13,11,8,7,22,23,18,21,20 ,19,15,17,9,14,16
|
Well I didn't change anything with the names...
but the limit currently is 100...
|
|
|
|
|
Member
Status: Offline
Posts: 102
Join Date: May 2004
|
Re: Release #2! -
13-05-2004
hummm...100? Are you sure? But I have more than 200 names for bots, and it's working fine.
Just found another problem. If there are more than 235 names, the game crashes when I choose model. that is...
Number of names > 235 - crashes when choose model
Number of names > 240 - crashes when loading game
This had never happened when I use 2.5.
ahh.. I better start looking at the source and try to program...
Last edited by g4s; 13-05-2004 at 16:59..
|
|
|
|
|
<-- He did it.
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
|
Re: Release #2! -
13-05-2004
but the array only holds upto 100 names....
maybe we need to dynamicly load memory for more names?
|
|
|
|
|
Roi de France
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
|
Re: Release #2! -
13-05-2004
In the barebones PB2.6 source code, the bot names array was a dynamically allocated linked list, that could in theory grow as far as there were names to add to it. My first go at fixing the memory leaks and the slowmo issue was to get rid of as much dynamic memory as possible and turn all these linked lists into static arrays. I never thought one could need more than 100 botnames (since 32 players on a server is the maximum you can go anyway).
If you want to make it dynamic, I'm against linked lists. Better count the number of lines in botnames.txt and allocate once and for all enough memory for the bot names, and then fill the array. You mustn't forget to do the same for the used bot names array. And NEITHER must you forget to free them all along with the rest of the memory the bot uses (in ServerDeactivate() if I remember well).
RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
|
|
|
|
|
Guest
|
Re: Release #2! -
19-05-2004
i'm having trouble adding bots with this release, is this the right place to post?
hmm i'll post my question anyway to save time if it is, if not please tell me
i have this in my podbot.cfg file in place of the 7 addbot commands:
addbot 45 1 Bot1-45
addbot 75 1 Bot1-75
addbot 45 0 Bot2-45
addbot 75 0 Bot2-75
but it doesnt seem to be working.. all the bots just have names from the botnames.txt file, and not the names i specified. also, if i type one of those lines directly into the hlds console, nothing happens (even if i just type addbot).
any ideas?
|
|
|
Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Powered by vBulletin® Version 3.8.2 Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com
|
|