.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Releases, Installers, Docs & Coding (http://forums.bots-united.com/forumdisplay.php?f=48)
-   -   POD-bot back into shape. (http://forums.bots-united.com/showthread.php?t=833)

stefanhendriks 15-04-2004 19:58

Re: POD-bot back into shape.
 
I know. From my experience restarting is only good when you too many things are too messed up or should be done in a different way.

I think by changing the pod source by starting all over again, will actually make a total new bot. So in that case you should not call it a POD off-spring anymore.

Terran 16-04-2004 11:02

Re: POD-bot back into shape.
 
As there is a great interesst in podbot26mm maybe it deserves it's own forum?

SoUlFaThEr 16-04-2004 13:43

Re: POD-bot back into shape.
 
not really because its a metamod plugin in essence :)

Terran 16-04-2004 14:25

Re: POD-bot back into shape.
 
Some other bots are MetaMod plugins too - and they have their own forum ;)

kedat 16-04-2004 20:58

Re: POD-bot back into shape.
 
Just downloaded podbot_sdk, and have few questions:
  1. Why compiled (Release) metamod.dll 608KB while the one on the net takes 1,333KB?
  2. Why compiled (Release) podbot_mm.dll 252KB and PMB is 244KB?
  3. I get warning(C4554) on podbot line:
Code:

  if ((pBot->vecGrenade == g_vecZero) || (BotGetSafeTask (pBot)->fTime < gpGlobals->time)
                  || (pEdict->v.weapons & (1 << CS_WEAPON_FLASHBANG) == 0))

problem is:
Code:

(pEdict->v.weapons & (1 << CS_WEAPON_FLASHBANG) == 0
is it:
Code:

if ((pBot->vecGrenade == g_vecZero) || (BotGetSafeTask (pBot)->fTime < gpGlobals->time)
                  || (pEdict->v.weapons & ((1 << CS_WEAPON_FLASHBANG) == 0)))

?
I have VS PRO 2003 (7.1). All settings left untouched :)

Pierre-Marie Baty 16-04-2004 22:09

Re: POD-bot back into shape.
 
1. The official metamod is cross-compiled by GCC on Linux for Windows, and perhaps it's compiled with Unicode strings instead of plain ASCII, or perhaps it contains debug symbols.

2. Even with the same settings, different compilers produce different sizes for the output... Mine was compiled with VS Pro 6.

3. The correct code is rather
&& (pEdict->v.weapons & (1 << CS_WEAPON_FLASHBANG) == 0))
You forgot the last parenthesises ; they are in the code.
It's not what you say btw ; the priorities are first for the '&', and then for the '==' ; hence it's rather
&& ((pEdict->v.weapons & (1 << CS_WEAPON_FLASHBANG)) == 0))
or if you want
&& !(pEdict->v.weapons & (1 << CS_WEAPON_FLASHBANG)))

Terran 17-04-2004 00:09

Re: POD-bot back into shape.
 
Quote:

Originally Posted by Pierre-Marie Baty
1. The official metamod is cross-compiled by GCC on Linux for Windows, and perhaps it's compiled with Unicode strings instead of plain ASCII, or perhaps it contains debug symbols.

I havn't had a look at the POD-bot development kit, is the cross-compiling stuff included in the kit?

Austin 17-04-2004 08:07

Re: POD-bot back into shape.
 
Quote:

Originally Posted by SoUlFaThEr
my end wish for the button thing:

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!

Sound good?

Sounds great! That would solve many major bugs with the doors, would be backwards compatible with existing wps, and is easy easy to do!
I wish I had some time I would work on it tonight.

sPlOrYgOn 17-04-2004 08:16

Re: POD-bot back into shape.
 
yes all we need now is for you or someone experienced like you to add in the code to look for and push a button when reaching a waypoint with that flag. I already made them stop pushing buttons at random and stopped the waypoint editor from adding it automaticly and added it to the change flag menu.

Pierre-Marie Baty 17-04-2004 13:47

Re: POD-bot back into shape.
 
@Terran: the original metamod Makefiles are still here, if that's what you want to know... but I somehow suspect that Will Day personally uses another versions of these Makefiles, because we tried cross-compiling metamod on the BU server but to no avail.


All times are GMT +2. The time now is 10:54.

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