.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Releases, Installers, Docs & Coding (http://forums.bots-united.com/forumdisplay.php?f=48)
-   -   PODBOT2.6MM after PMB...work still pending (http://forums.bots-united.com/showthread.php?t=1372)

SoUlFaThEr 14-04-2004 20:26

PODBOT2.6MM after PMB...work still pending
 
here is our new podbot 2.6mm thread.

lets continue the work on it in here.

first items to fix:

1. that the bots dont hit buttons at all unless a flagged waypoint is there.
2. that a button flag is no longer an automatic thing. it needs to be added to the menus in the waypoint editor so WE can place a button flag if theres REALLY a button a bot needs to hit... this is a huge problem solve!

behavior is not an issue right now. but if this is easy:
1. bomb carriers have a default NORMAL behavior pattern
2. hostage holders have a default AGGRESSIVE behavior
3. a VIP has a default NORMAL behavior.

Pierre-Marie Baty 14-04-2004 22:32

Re: PODBOT2.6MM after PMB...work still pending
 
Out of curiousity I've had a quick look in the code for that button problem and I've found something horrible.

The button flag on waypoints doesn't have any purpose.
It's useless. The bots just ignore it.

It's there, you can set the flag, but there's no code to tell the bot how to handle it!

The bots only press the buttons they see on a random basis.

This needs to change. And while you're at it, implement the button usage the right way this time, like Stefan is saying.

And about the personality thingy, here's at least something I can tell you :

The bot personalities are set during the BotCreate() function, i.e. when the bot is created, NOT when the round is restarted. In order for the bomb carrier or the VIP to have a personality depending on its role in the team, you have to change that and alter the bot personalities in BotSpawnInit() which is the function that resets the bot at each start of a new round. If you do so however, don't forget to randomize the personalities for the bots that neither have a bomb nor are the VIP, else you'll end up with only "normal" personalities bots.

SoUlFaThEr 15-04-2004 00:59

Re: PODBOT2.6MM after PMB...work still pending
 
cool PM thanks for that extremely valuable info.

im really wondering why he added a button flag that doesnt have a corresponding code to tell the bot about it. crazy shit.

is Austin capable of doing what Stephan did with the buttons/trigger-multiples? He was writing me his idea of how it should happen and it seemed really similar to Stephans thing.

and the personality thing seems like it COULD work...
so thats a good sign !!

Austin?

here is StephanHendricks theory about the door which works on maps like de_prodigy and de_rats(whose buttons are not func_buttons but rather...trigger_multiples!) :

- find a button to open the door (target/targetname match)
- traceline
- when traceline fails
- check on why
- when traceline returns "worldspawn" AND you are checking for a trigger_multiple, find a waypoint/node very close to this.
- when available. RETRY the traceline
- on success, still go to it!

sPlOrYgOn 15-04-2004 01:26

Re: PODBOT2.6MM after PMB...work still pending
 
Alright heres a list of what i've changed from the Podbot SDK
Quote:

+ Stopped bots from randomly pushing buttons (WARNING: Since there is no code to handle button flags the bots will NOT push buttons at all)
+ Button flag no longer added automaticly
+ Fixed the bug i found.. about the addbot command in the podbot.cfg
BOTS WILL NOT PUSH BUTTONS!!!
I do not know how to implement this well but I have an idea how to..
I do not feel that I know enough to add my 'idea' of how it should be done..
http://www.mapzap.org/podbot.zip
my releases will be uploaded there.

[edit]
I have also just decided I will try to implement them pushing buttons when there is a button flag but I will be expecting someone (Austin) to take a look at it and fix up any errors.
[/edit]
[edit2]
I have just changed my mind..
This is way out of my head..
[/edit2]
[edit3]
*just wondering* Why doesn't podbot just use TraceToss for calculating where to throw a nade?
(just found TraceToss in Metamod's Engine Notes, me know nothinga bout it.)
[/edit3]
[edit4]
I uploaded the wrong file and just reuploaded.
[/edit4]
[edit5]
btw no linux build. that linux build is from last version. If you read my other posts you would know why.
Anyways it shouldn't be any useful to linux people since they don't push buttons. This is more of a release for waypointers since SF suggested that button flag no longer automaticly added to waypoints
[/edit5]
[edit6]
just rebuilt because I just realized that if i removed auto placing of button flags and theres no option for manually placing them then they're as good as gone.. so I just added the button flag to the Change Flag menu.
Please redownload.
[/edit6]
[edit7]
I just noticed that the angle "problem" that was fixed by pmb in the other thread about 10 pages back isn't in the podbot sdk..
on purpose or no?
[/edit7]

SoUlFaThEr 15-04-2004 02:57

Re: PODBOT2.6MM after PMB...work still pending
 
before i download.......did you put in the button flag that the bot should USE. and also place in our flag menu?...does it have a sprite so we know it? is it part of the flag mentions on the upper left like pmb has done for us?

did you test if the bot is pressing anything it sees without a button flag anywhere?

if you did, and all the things i mentioned above are IN it...... then ill download this file.
and THANK you too :)

did you test it?

your 7 edits makes me wonder......doesnt look good man :)(changed my mind/wrong upload)

also please toss the code you made for these new options into this thread when you update ........that will be standard procedure on updates for the bot from now on. please do this......we will be able to correct bugs in it much faster this way if theres a question about it.

also Musicman was making some things happen.......and they are surely NOT in your portion.......this is what i meant about getting organized you guys :)

sPlOrYgOn 15-04-2004 05:16

Re: PODBOT2.6MM after PMB...work still pending
 
Alright sorry.
I was sorta in a rush..
I'll go look for the code right now.
I only tested if it auto added button flags and it didn't so that part is working.
But i didn't delete it all. I only delete the part that checks for if a button is near.
I'll go look through the code again and see what I changed and post it. I'm on a different computer right now... I keep getting kicked off of my fast computer :'(
[edit]
in bot.cpp around line 996 find:
Code:

        if ((strcmp ("func_button", STRING (pent->v.classname)) == 0)
            && (strncmp ("cam", STRING (pent->v.target), 3) != 0))
        {
            bCanPickup = TRUE;
            iPickType = PICKUP_BUTTON;
        }

and change it to:
Code:

/*        if ((strcmp ("func_button", STRING (pent->v.classname)) == 0)
            && (strncmp ("cam", STRING (pent->v.target), 3) != 0))
        {
            bCanPickup = TRUE;
            iPickType = PICKUP_BUTTON;
        }*/

in waypoint.cpp around line 394 find:
Code:

  while (!FNullEnt (pent = FIND_ENTITY_IN_SPHERE (pent, pHostEdict->v.origin, radius)))
  {
      strcpy (item_name, STRING (pent->v.classname));

      if ((strcmp ("func_button", item_name) == 0)
          && (strncmp ("cam", STRING (pent->v.target), 3) != 0))
      {
        UTIL_HostPrint (HUD_PRINTCENTER, "Button detected. Setting Flag!\n");
        p->flags = W_FL_USE_BUTTON;
      }
  }

and change it to:
Code:

/*  while (!FNullEnt (pent = FIND_ENTITY_IN_SPHERE (pent, pHostEdict->v.origin, radius)))
  {
      strcpy (item_name, STRING (pent->v.classname));

      if ((strcmp ("func_button", item_name) == 0)
          && (strncmp ("cam", STRING (pent->v.target), 3) != 0))
      {
        UTIL_HostPrint (HUD_PRINTCENTER, "Button detected. Setting Flag!\n");
        p->flags = W_FL_USE_BUTTON;
      }
  }*/

also in waypoint.cpp around line 218 find:
Code:

  char item_name[64];
and change it to:
Code:

//  char item_name[64];
in bot_globals.cpp around line 595 find:
Code:

menutext_t menuWaypointAddFlag =
{
  0x3FF,
  " Waypoint Flags\n"
  "1. Add Block with Hostage\n"
  "2. Add T ONLY Camp\n"
  "3. Add CT ONLY Camp\n"
  "4. Del Block with Hostage\n"
  "5. Del T ONLY Camp\n"
  "6. Del CT ONLY Camp\n"
  "\n"
  "0. Cancel"
};

and change it to:
Code:

menutext_t menuWaypointAddFlag =
{
  0x3FF,
  " Waypoint Flags\n"
  "1. Add Block with Hostage\n"
  "2. Add T ONLY Camp\n"
  "3. Add CT ONLY Camp\n"
  "4. Add Use Button\n"
  "5. Del Block with Hostage\n"
  "6. Del T ONLY Camp\n"
  "7. Del CT ONLY Camp\n"
  "8. Del Use Button\n"
  "\n"
  "0. Cancel"
};

in dll.cpp around line 2066 find:
Code:

                    case 4:
                        WaypointChangeFlags (W_FL_NOHOSTAGE, 0);
                        EMIT_SOUND_DYN2 (pEntity, CHAN_WEAPON, "weapons/he_bounce-1.wav", 1.0, ATTN_NORM, 0, 100);
                        break;

                    case 5:
                        WaypointChangeFlags (W_FL_TERRORIST, 0);
                        EMIT_SOUND_DYN2 (pEntity, CHAN_WEAPON, "weapons/he_bounce-1.wav", 1.0, ATTN_NORM, 0, 100);
                        break;

                    case 6:
                        WaypointChangeFlags (W_FL_COUNTER, 0);
                        EMIT_SOUND_DYN2 (pEntity, CHAN_WEAPON, "weapons/he_bounce-1.wav", 1.0, ATTN_NORM, 0, 100);
                        break;

and change it to:
Code:

                    case 4:
                        WaypointChangeFlags (W_FL_USE_BUTTON, 1);
                        EMIT_SOUND_DYN2 (pEntity, CHAN_WEAPON, "weapons/he_bounce-1.wav", 1.0, ATTN_NORM, 0, 100);
                        break;

                    case 5:
                        WaypointChangeFlags (W_FL_NOHOSTAGE, 0);
                        EMIT_SOUND_DYN2 (pEntity, CHAN_WEAPON, "weapons/he_bounce-1.wav", 1.0, ATTN_NORM, 0, 100);
                        break;

                    case 6:
                        WaypointChangeFlags (W_FL_TERRORIST, 0);
                        EMIT_SOUND_DYN2 (pEntity, CHAN_WEAPON, "weapons/he_bounce-1.wav", 1.0, ATTN_NORM, 0, 100);
                        break;

                    case 7:
                        WaypointChangeFlags (W_FL_COUNTER, 0);
                        EMIT_SOUND_DYN2 (pEntity, CHAN_WEAPON, "weapons/he_bounce-1.wav", 1.0, ATTN_NORM, 0, 100);
                        break;

                    case 8:
                        WaypointChangeFlags (W_FL_USE_BUTTON, 0);
                        EMIT_SOUND_DYN2 (pEntity, CHAN_WEAPON, "weapons/he_bounce-1.wav", 1.0, ATTN_NORM, 0, 100);
                        break;

there thats it.
[/edit]
[edit2]
i think i said this but i guess u didn't see or something. I said i stoped them from pushing buttons at random, but because the code does not implement the button flag even if you put a button flag there they will not push a button. So the dll I released, they do NOT push buttons at all.

PMB already put the Use Button flag in the upper left corner if the flag is on the waypoint. No there are no sprite changes or color changes the only way to know if the button flag is there is to move upto a waypoint and check if the button flag is listed in the upper left corner.
[/edit2]

SoUlFaThEr 15-04-2004 09:59

Re: PODBOT2.6MM after PMB...work still pending
 
ok very cool and thanks for doing that :)
I really appreciate it!

so,
if i add a flag right now with that .dll, the bots still wont push the button there? or they will.......

stefanhendriks 15-04-2004 10:48

Re: PODBOT2.6MM after PMB...work still pending
 
for pushing buttons i guess you just have to stand close to it. Ie in de_prodigy you have to touch it in order to push the button. I did not do more then a distance check for that.

MusicMan 15-04-2004 16:53

Re: PODBOT2.6MM after PMB...work still pending
 
could the code:

Code:

if (pBot->bIsVIP == TRUE)
{
        pBot->bot_personality = 2;
}
 
else if (pBot->bIsLeader == TRUE)
{
        pBot->bot_personality = 1;
}
 
else
 
//Randomize personalities

could this code be used to define personalities of bots who are bomb carriers, and bots that are VIP's? and how do I determine if a bot is escorting hostages?

Thanks in advance;)

MusicMan

Pierre-Marie Baty 15-04-2004 17:06

Re: PODBOT2.6MM after PMB...work still pending
 
@MusicMan: yes
And there is a function like this (or similar)
bool BotHasHostage (bot_t *pBot)
which returns TRUE if the bot is carrying a hostage around. You could use it.

stefanhendriks 15-04-2004 17:43

Re: PODBOT2.6MM after PMB...work still pending
 
to know if a bot is a vip :

Code:

// Is the edict a vip or not?
bool
UTIL_IsVip (edict_t * pEntity)
{
  if (mod_id != CSTRIKE_DLL)
        return false;
  else
        {
          char *infobuffer;
          char model_name[32];
          infobuffer = (*g_engfuncs.pfnGetInfoKeyBuffer) (pEntity);
          strcpy (model_name, (g_engfuncs.pfnInfoKeyValue (infobuffer, "model")));
          if (strcmp (model_name, "vip") == 0) // VIP
 return true;
        }
  return false;
}


>BKA< T Wrecks 15-04-2004 19:26

Re: PODBOT2.6MM after PMB...work still pending
 
Wow... respect! Now we have 2-3 guys willing to continue the project (Austin / sPlOrYgOn / MusicMan), a moderator to keep things on track (SoUlFaThEr), and invaluable input from 1337 bot coders (stefanhendriks and of course PMB) - this looks good! Just wanted to give all you guys some support and encouragement - that's the least I can do. Thumbs up, guys!
Concerning the button thing: Stefan, which button did you refer to? The ones a bot walks up to is not such a big problem. All it takes is clever waypoint placement there. The buttons that require a player to "use" them are what's more problematic.
Oh, and I'd like to throw in another thought: Bots can often be observed pushing a "walk up to" button, and then running into the door before it has fully opened, thus blocking it. This way, even if a second bot "pushes" (=walks to) the button, the door might stay closed. With "use" buttons it's really the same, only worse (bots don't even push the button many times).
Would it be possible to keep bots from blocking doors somehow? I already mentioned this to PMB and SF once, but it kinda got lost in the middle of so many other issues, so here I go again:
Is it possible to determine whether an entity is in idle or triggered state? Is it possible to tell bots something like "if [entity that's triggered by the button the bot has just reached] is idle, then activate the trigger and wait for n seconds [determined by waypoints] before proceeding, else don't activate trigger and proceed to next node?
Hehe, this must sound like totally helpless baby talk to you coders, but imagine if we could get bots to even use elevators properly... 9_9

P.S.: There are even maps where bots get killed by opening doors (cs_arabstreets[2], cs_vineyard). Even if they succeed in pushing the button, they run into the door and die. So this waiting function would really make sense, I think. However, I can't tell if that's totally utopic and out of range or actually feasible...

SoUlFaThEr 15-04-2004 19:49

Re: PODBOT2.6MM after PMB...work still pending
 
i just hope that the things these different gentlemen do come together properly in one update.....meaning:

if the both have the same sdk.....and both do different things to it and release it.....we have 2 separate .dll's. one with his fix, one with HIS fix.

but i know it will be ok ... im just an old worry-wart!!

thanks for support T-Wrecks :)

stefanhendriks 15-04-2004 21:52

Re: PODBOT2.6MM after PMB...work still pending
 
i think i can get elevators working in CS_SIEGE ;)

anyway, to get on the buttons:
as you said, on touch buttons you simply need a clever waypoint placement. FOr use buttons its actually the same. In fact, you can stand 'pretty far' to a use button!

What i do is like with hostages to use them:

- get near button
- use it
- set timer
- resume path to goal x

about the timer,
i use a simple fUseButton timer, when the timer is below gpGlobals->time , the bot is allowed to use a button. When it is above, it is not.

For multiple bots using a button and such, id on't see the problem really? I Have been playing de_prodigy and de_rats with dozends of bots, but did not encounter a problem.

Perhaps it is because my bots will ONLY use a button when it finds an obstruction in its path! It is not programmed to use a button BEFORE it hits the door. It goes the other way around:

- bot walks to waypoint/node
- bot traces a line to this waypoint/node
- when the traceline gets a hit to an entity read out what it is
- when it is a door only THEN start the 'find button and go to it' procedure. In this procedure the bot will also remember the button

when the bot has a button to remember it will also execute the 'what to do with the button when i am close'.

>BKA< T Wrecks 15-04-2004 23:48

Re: PODBOT2.6MM after PMB...work still pending
 
Hmmm.... *me exhausting my 3 brain cells*... let's see:

1. What you said about touch buttons is true, I think we agree on that...

2. What you said about push buttons (WP doesn't even have to be that near) is true as well, also in PB 2.6mm. Bots will go a longer distance to push a button. But there's something I don't understand. When I waypoint, I usually make bots pass a button first and then walk through a door. This way, the node sequence looks like this [bot approaching]...node 1 (near button)...node 2(in front of door)...node 3 (behind door)...[continue]. If the bot walks like this, can he check for the problem between node 2 and 3 (path obstructed by entity) BEFORE he looks for the trigger, which is already located at node 1? Or would your method mean that I could just waypoint happily through a door, and that bots would "sense" the entity obstructing their path and then stray from the waypoints to hit the button, and finally return to the node they were about to go to?

SoUlFaThEr 16-04-2004 01:46

Re: PODBOT2.6MM after PMB...work still pending
 
if its implemented the way he said it......you can just happily waypoint STRAIGHT throught the door without a worry man

no shit!

about cs_siege, one word :

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!

i hope you can assist our lads working on pod2.6mm to get those sort of "incredible masterpiece" code sequences to work here Stephan.

looks like theres another guy i have to SQUEEEEEEEZe

stefanhendriks 16-04-2004 09:50

Re: PODBOT2.6MM after PMB...work still pending
 
Afaik, i don't care about how you walk to a door, ie. If i walk to the button first and then go through the door (which is logical, i am not a bot :)) then the bot does not care.

i don't know abou tpod waypointing that much, but i think you can still use the method. The bots will just sense the path is obstructed. You will have to overwrite the old path with a temp new path to the button, then when you hit the button, you simply create the path to the goal again, and u're done! :)

as for cs_siege, here is my theory:

set a flag on the waypoint/node that requires to be on an elevator. This waypoint MUST be on the floor of that elevator. When you set the flag, the waypoint will search for the entity that is the elevator and remember this. (so in editing mode the elevator should be downstairs, u should be in the elevator and then set the flag). Now, you also should have the node/waypoint at the button too already. When you got these 2 , then you are finished.

1) The bot will go to the node of the elevator
2) the bot will notice that this node is flagged
3) it will now go to the button you refer to by the flag
4) the bot goes to the button, hits use
5) the bot will go back to the elevator

SoUlFaThEr 16-04-2004 12:49

Re: PODBOT2.6MM after PMB...work still pending
 
ok heres a question based on your listed explanation of the elevator process:

once the bot does hit the button and goes back into the elevator......will he wait? because they used to do that to...hit the button in siege, get in the elevator as waypointed with special one-way paths......but then the bot never waits......and comes back out.

i had trid one time in as_steel to make the bot run in circles inside the elevator after hitting the button...........all with oneway paths.......this was a SERIOUS PITA...because back then there was no autopath max distance menu!
i did the same with de_station(awesome map! but ruined by the elevator)

my point is.....podbot cant stand still waiting unless he thinks he may be in danger if he moves.....willl he wait on this flagged waypoint after hitting the button?

sPlOrYgOn 17-04-2004 02:19

Re: PODBOT2.6MM after PMB...work still pending
 
I think i'm just going to stop changing the code now and just look through it for a few days/weeks until i get used to/know where to find/navigate it really fast.
btw PMB :D
Code:

// On Assault Maps target VIP first !
on line 150 bot_combat.cpp :D

Austin 17-04-2004 08:02

Re: PODBOT2.6MM after PMB...work still pending
 
Quote:

Originally Posted by sPlOrYgOn
I think i'm just going to stop changing the code now and just look through it for a few days/weeks until i get used to/know where to find/navigate it really fast.

We need to sort out how this is going to fall together.
We need a "code librarian" if we are gong to have several people working on the bot or it will be total kAIos. Something that could work at first, for simple isolated changes is what sPlOrYgOn has already done. (sPlOrYgOn not bad for a first try at it. The first thing I will do when I get back and finally get started is have a look at this but it looks like you are on the right track and your efforts will not be lost.)
1) Put in a fix AND TEST IT!
2) Post the code here in the forum.
3) We all agree that the bot should work like this.
4) The librarian adds in the code and does the build and posts the release with source and custom installer..

I would volunteer to do this. But you guys have to be patient for about 2 more weeks. I still will have some time and be chinking in every few days.

BTW,
What is THE EXACT source we are starting with?
I noticed some new POD26MM projects in the filebase.
The source that is in the podbot.zip from the filebase is exactly the same as
the source I got from PM's site on 4/12.

PM, anyone, is this THE version to start with?

sPlOrYgOn 17-04-2004 08:06

Re: PODBOT2.6MM after PMB...work still pending
 
the version to start with is the PODBot SDK it has the newest code from PMB
[edit]
i'll just be reading the code for now..
i'm not used to it yet..
seems so hard to find things..
I think i might relocate somethings..
[/edit]

Pierre-Marie Baty 17-04-2004 14:55

Re: PODBOT2.6MM after PMB...work still pending
 
I am willing to be the "librarian", or "committer", as mark says. It doesn't eat my time to put in any changes, what eats my time is figuring them and testing them out myself...

Given this, it's no problem for me. I can help you getting started on whatever you may want to fix.

Upon SoUlFaThEr's request I've also made minor improvments to the WP editor and changed some stuff here and there so don't bother changing things dealing with the WP editor yet. I'll release them as soon as there's something interesting else to put in.

Austin 17-04-2004 20:24

Re: PODBOT2.6MM after PMB...work still pending
 
Quote:

Originally Posted by Pierre-Marie Baty
I am willing to be the "librarian", or "committer", as mark says.
...
Upon SoUlFaThEr's request I've also made minor improvments to the WP editor

Good thanks PM.
One thing we will need is a way to get your absolute latest source so we know what , exactly you have changed and we don't duplicate efforts and modify the same areas.
For example, I have in my source the menu changes requested by SF (i sent them to you once) and I also have in my source the command index fix, but these changes are not in any version that you posted.
So you see the problem already. I am not sure what to send right no.
If I could see the exact source you have I would know exactly what to send and it would take less of your time to sort everything out. In essence I would be doing the sorting out here before forwarding the changes. Can you keep a zip on your server some where of the absolute latest source? Really, we need to have a CVS repository setup somewhere.
Thanks.

KWo 17-04-2004 22:03

Re: PODBOT2.6MM after PMB...work still pending
 
To sPlOrYgOn - I tested right now Your dll, and still I see - "detailnames on" doesn't work (botskill can't see near bot's name in parenthesis and type - agressive,normal, defensive - can't see the same). Bots don't re-renter the game after map change by changelevel command (on dedicated server and on listenserver). Tested on CS1.5 , metamod 1.17, statsme 2.8.0.7 Beta, clanmod 1.80.19 Beta, podbot.dll created by You 14.04.2004 17:27 233472 bytes. I think the problem with non re-enter of bots - maybe You don't call every map change the podbot.cfg file (there are addbot commands). Can You check this?

OK - I was wrong when I thinked that there is nobody to continue the work of PMB right now, but this discussion before and hard words of PMB suggested this. Sorry for all if I hurted somebody.

SoUlFaThEr 17-04-2004 22:17

Re: PODBOT2.6MM after PMB...work still pending
 
no pain taken.......
have a look at the other thread one last time to see what i wrote you about the addbot thing Kwo :)
try that.

other than that just wait.

AUSTIN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ok......PMB did some amazing shit again.
hard to tell you what because its just amazing.

one thing he did was put the apmd menus back to the way HE had it.......and i must say......its really better with those numbers he had.......after now tryin both, his just are set correct(i think mine were more for that map i was doing.....how selfish of me)......and the new feature he added.......OMFG...thats almost not even needed anymore :)

when it fully works, it was the idea i threw into POX over a year ago:

point at a waypoint and delete or add paths......INCOMING or OUTGOING as well.....from where you stand.

its not completely correct yet.......but.....damn.......you will only have to open the console when waypointing ONLY if you need to teleport to somewhere!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
but it yet needs some fine tuning.........so wait, ill be getting with him tonight again to see if we can fix the rest :)

@ALL of you:
this thing with everyone dipping in and doing something to the bot........

please just keep track, on your own, what you have changed........keep your own files safe(the originals and what you changed)......and hold on to them.....so that one day.......when everyone is ready........it will all be sent to one person......and COMPILED

THEN ............we test it out.......if one part is messed up...THAT person goes fixing........and we work from there........

because if everyone uploads a dll he corrected.....we are never going to have all the changes in one DLL.......and :

me and T-Wrecks (and other waypointers maybe) are trying to make a custom waypoint pack for this bot specifically and must be able to continue to do them... so we also need a working DLL......like the one where PMB stopped.

can we agree on that????? me only tries to add organization to everyones HELP! i see all of you trying to help and appreciate the shit out of it cuz i love all this work we are doing together.

PEACE OUT :D

SoUlFaThEr

KWo 17-04-2004 22:51

Re: PODBOT2.6MM after PMB...work still pending
 
SF - OK - sorry , I will not ask you to confirm something if You doesn't want.

About addbot command - beacuse sPlOrYgOn suggested me, that his dll fix problems described by me in the prevoius thread (SF - You can look what I asked about), I answered him (now - in this thread), that these things I described there are not solved by him. There are only solved problem caused by PMB (these lines of sources with the same parameter - so ignore others - and beacuse this the name couldn't be added by addbot command). I described problem (for me it's old problem) with DIFFERENT WORK OF ADDBOT COMMAND in podbot.cfg and console line. This last (console) doesn't use class parameter (the third paramter for addbot comand in this case must be a bot's name). Why? I only asked about this beacuse I think somebody checking and correcting some issue with addbot comand (this PMB mistake) can fix another problem (this with different work) with the same command - this should be close to this code. This problem with re-enter bot to the game is new for me. Because on this forum sPlOrYgOn's release of podbot.dll is latest , so my words were directed to him.
But maybe his source were not the latest vesrion from PMB, too? In this case I losed much time...

SoUlFaThEr 17-04-2004 23:15

Re: PODBOT2.6MM after PMB...work still pending
 
its not that i dont want to test what you mention Kwo.....not at all dude......i like helping people.

but you misunderstand something from me :)
i dont code.
i only make maps and waypoints.
and now i test the dll for them too.

so you telling us about the mistake is good because the Coders will one day fix this.

it is momentarily a question of priorities...we attempting to add some great new features that get the bot RUNNING well. Other "fixes" that dont affect gameplay of the bot.....will get done as well.....but after these changes are made first. it is though likely that sPlOrYgOn will be checking into this :) so he will be testing that......while i am testing other things :)

its all good man......it will get fixed...just be patient with us yo :)

KWo 17-04-2004 23:39

Re: PODBOT2.6MM after PMB...work still pending
 
SF - I know that You are not a coder. I know that You do waypoints for maps (I remember You since discussion about cs_medieval map and too many wp added by me reached max wp numbers - this was about 2 years ago on another forum - You don't remeber this? :) ), but You said in the previous thread, that You are ready for tests for help PMB's work (this is first) and I konw that You tested sometimes addbot command and You received bad results (this is second); next some people said that they can fix some problems about addbot command (this is third). Adding this - I thinked, this is good way to ask You to confirm the problem I see with addbot comand. Only because this. I know - for playing game maybe this is not big problem and now the priority are bigger - but if somebody is touching code of addbot command, maybe he can solve this my problem, too? Maybe this is not a big problem during one correction of this the same command.
OK - now I'll try to be patient, but for playing game this issue about bot don't re-enter the game (latest sPlOrYgOn's release) I will cry http://forums.bots-united.com/images/icons/icon15.gif .

sPlOrYgOn 18-04-2004 00:07

Re: PODBOT2.6MM after PMB...work still pending
 
sorry i can't test or build new version right now or anytime soon..
sharing computers always cause trouble... and my sister's computer.. the only one with windows.. she won't let me use.. so i can't test or compile anything for windows and on linux when i compile plugins using glibc2.3 and gcc 3.3.2. plugins get a bad load when i try to test them so i can't build linux builds either..
I can't do anything at all right now.. :'(
[edit]
oh yea kWo you got strange problems because when i tested the dll before which is the same dll in the zip file on my site detailednames on works and also it does run podbot.cfg at the start of each map.
[/edit]
[edit2]
once PMB is ready to release that amazing stuff he did to the code I think I'll try to fix any bug anyone might find.
[/edit2]

SoUlFaThEr 18-04-2004 00:40

Re: PODBOT2.6MM after PMB...work still pending
 
that is if you can get on her computer :D

Kwo
i tested the addbot command
addbot 1 2 bill

and i got a bot named bill

addbot 2 4 george

and i got a bot named george

then i turned ON detailnames cuz i dont use that, went back in a map and:

addbot 1 2 bill

and got a bot named bill

addbot 2 4 george

and got a bot named george

both had a [P*D] and a (NN)skill readout.

did i miss something?
i did this in 1.5 only


my bot.cfg also loads each map.
but in the second map the bots are not added automatically......true and this has been like this for quite a while and it wasnt a change of anyone but PM that did this.
i dont see why thats a "problem" tho
cuz i can still fill the server with bots by using the botmenu.

if i missed something to test please inform me...and i will test it for you to try to get the same error.

sPlOrYgOn 18-04-2004 00:44

Re: PODBOT2.6MM after PMB...work still pending
 
soulfather i just used the computer against my sister's wishes and tested it
it is add <skill> <team> <model> <name>
the detailed names work...
except they do not work when a name a supplied
so I will go through the code and see if i can fix this.
Note: next time I release I'll let them still push buttons and also have the button flag manually addable and deletable.

SoUlFaThEr 18-04-2004 00:49

Re: PODBOT2.6MM after PMB...work still pending
 
PM directed us not to do anything with the wp editor
so leave the manual flag placing out of your repetior because its already in his code.
you may tho, allow them to press buttons again until we DIRECTLY fix how they do it :)

and help out MR Kwo with that addbot bug

thanks dude for your help :)......just send PMB your changes when you are finished.....when hes on later we will fix some stuff.......

go to the chat room......from now on i will just be in that chat room if i am online at all.....(IRC chat link on the top of the page, or use IRC)

PS: i am still seeing WAYS to get around his problem......he could still play if he used them

sPlOrYgOn 18-04-2004 00:52

Re: PODBOT2.6MM after PMB...work still pending
 
i want to go on irc but it says mIRC only :'(
linux doesn't have mIRC

and i won't do anything with the waypoint editor then

[edit]
i get the feeling that it was made this way for a reason..
so people can supply a name and have it exactly that name.
[/edit]

SoUlFaThEr 18-04-2004 00:58

Re: PODBOT2.6MM after PMB...work still pending
 
yes and also that we are not getting doubled and tripled .....meaning

Bill
[1]Bill
[2]Bill

which is just fabulous for those running stats

btw.....the irc chat icon on the site here loads a java plugin so you can chat there without having IRC...so you should be able to manage it

Onno Kreuzinger 18-04-2004 00:58

Re: PODBOT2.6MM after PMB...work still pending
 
the IRC works with other clients than mirc, also in inux :)

use mozillas chatzilla if in doubt

sPlOrYgOn 18-04-2004 01:00

Re: PODBOT2.6MM after PMB...work still pending
 
Well I only tried using Chat-X and it didn't allow me to connect :(
I guess i'll install mozilla then
and I guess i'll try to fix the problem with same name for multiple bots but i don't think i will be able to if pmb tried this a few times and it's still happening..
[edit]
i will also make the detailednames work for the name supplied when using addbot command.
[/edit]
[edit2]
HAHA
i see why it doesn't work like PMB made it to :D
it's because when detailed names are on it will add stuff to the name and what he did was check the names of all the bots connected and test it against the names in botnames.txt which will always be different when detailednames is on :D
on a side note I might not know how to fix this problem without adding a new variable into the bot structure or making a new array to hold the names that are used.
[/edit2]

SoUlFaThEr 18-04-2004 01:05

Re: PODBOT2.6MM after PMB...work still pending
 
if i dont put a skill in the adbot commandline......the detailnames work......

sPlOrYgOn 18-04-2004 01:10

Re: PODBOT2.6MM after PMB...work still pending
 
well it's actually If you don't supply a name the detailnames work :D i think i posted this in one of the posts before.

SoUlFaThEr 18-04-2004 01:12

Re: PODBOT2.6MM after PMB...work still pending
 
they worked for me.....my last post on page 3.....have a look

EDIT
whooops

i did this with detailed names on:

addbot 100 1 2 Bill

and got a bot named 2 with no details

then:

addbot 2 4 Bill

i get a no detailed bot named Bill

then:

addbot Bill

and it pulls a detailed name from the botnames list(not BILL) !!

lol???

sPlOrYgOn 18-04-2004 01:13

Re: PODBOT2.6MM after PMB...work still pending
 
it worked for you because u didn't supply a name...
"addbot <skill> <team> <model> <name>"
[edit]
okay this is hard i can't figure out how to do this..
if i use StripClanTags it'll even strip out parts of the person's name if it has { } or ( ) or [ ]
as you can see i am a very inexperienced coder :(
I've gotten too used to PHP
[/edit]
[edit2]
it's only supposed to work in the right order and inorder to supply a name you MUST supply everything else...
and that leaves me to question why that 2nd one worked...
[/edit2]
[edit3]
also when i tried it i supplied it with addbot <skill> <team> <model> <name> and it worked perfectly fine...
[/edit3]


All times are GMT +2. The time now is 20:36.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.