Re: POD-bot back into shape.
this going to be hard...
and while looking through the WaypointAdd function i notice that when setting a camp waypoint's camp end angles it doesn't set bPlaceNew to FALSE and that would make it place a new waypoint along with the camp end right? [edit] oh nm.. i should probably look closer first... [/edit] [edit2] k i found where he stops it from adding through func illusionary but I don't know what it returns if it goes through a model.. [/edit2] [edit3] alright now i can compile the podbot.dll to be 232kB in size. goto Projects>Settings. then the C/C++ tab Change the Optimizations to "Minimum Size" [/edit3] [edit4] shouldn't all the TRUE and FALSE be true and false? [/edit4] |
Re: POD-bot back into shape.
Post code, guys, post code, whenever you find anything, post 10 lines of code or so. I can help in anything provided you post your code.
TRUE and FALSE are defined in the HL SDK as 1 and 0, which is fine for use with "bool" since "bool" has in fact a character size (8-bit) on our computers. Use my PMTools plugin to trace lines and hulls through one of these models with different parameters to find out which parameters are blocked by the model. *edit* just a suggestion: SF is right, you'll get yourselves all messed up. As long as nothing like the SourceForge CVS is available on Bots United I suggest you define a "team leader" in charge of maintaining the "official" source tree and validating the bugfixes you send him. PLEASE for him, send him ACCURATE bugfixes (e.g, "change line x to y and insert code z at line l") and not "I thought you could do this and that etc..." with no real, working code to show. |
Re: POD-bot back into shape.
deleted post myself.
MusicMan |
Re: POD-bot back into shape.
Now the only code i can think of that wasn't posted here when the source was edited is probably what austin did to his waypoint menus.
|
Re: POD-bot back into shape.
MusicMan, why the heck do you do this ?
The definition of UTIL_ShowMenu is void UTIL_ShowMenu (edict_t *pEdict, int slots, int displaytime, bool needmore, char *pText) the third parameter is the time the bot menu should be displayed on your screen. -1 means 'always', i.e until a choice is made. Almost ALL the occurences of UTIL_ShowMenu in the code use -1. Why are you passing a character ('\0') instead where an integer duration (number of seconds) is expected ?? |
Re: POD-bot back into shape.
To fix SoUlFaThEr's problem of bots hitting buttons randomly (actually the bots LOVE to hit any button they see), I think all is needed is disabling the "func_button" check in BotFindItem(). The bots should then only use buttons when they are declared in their waypoint through the button flag.
|
Re: POD-bot back into shape.
i dunno. I am an idiot:D
BTW I found in the bot.h file your definition of the teams: #define TEAM_CS_TERRORIST 0 #define TEAM_CS_COUNTER 1 is this possibly what you are talking about? BTW I never read the function for the UTIL_ShowMenu so thats probably why I just fucked and guessed that it might have got something to do with it:D MusicMan |
Re: POD-bot back into shape.
ok.....so whats working and whats not?
im REALLY confused now!!!!! hehe is that posted musicman download working or not? |
Re: POD-bot back into shape.
forget about my .dll for now:)
It does not do any good. MusicMan |
Re: POD-bot back into shape.
then do me a favor and test it thoroughly before you upload...
just uploading it is only going to stop all of us from waypointing if we get something that doesnt work at all:) believe me i am happy that someone will continue.....but continue with proper downloads......test them, get them approved and such.......this way.....when you do upload.....we have the feeling already that it will work because we know HOW you are working :) |
All times are GMT +2. The time now is 11:53. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.