![]() |
First beta release of YaPB 2
Download:
http://yapb.bots-united.com/files/yapb-2_0-beta.zip YaPB 2 is based on JetBot by Dmitry Zhukov, who is known as "strelomet" in this forum. Jetbot was a fork of my original version of YaPB. This version is maintained by him. INSTALLATION: 1. Download YaPB from http://yapb.bots-united.com and install 2. Download this file, and uncompress it to [CS install dir]\cstrike\addons\yapb 3. Edit liblist.gam: PHP Code:
Please report bugs in this forum. |
Re: First beta release of YaPB 2
Quote:
|
Re: First beta release of YaPB 2
Corrected :P Thanks :)
|
Re: First beta release of YaPB 2
JetBot is based on the old PODbot 2.6 sources. In the begining Dmitry Zhukov first started with the sources of YaPB but later he started again with the sources of the old PODbot 2.6. :)
EDIT: I downloaded the latest sources of JetBot and I'm now confused... Code:
// Jetbot - AI Development project for Counter-Strike. Remake of POD-Bot 2.6. |
Re: First beta release of YaPB 2
There are no way points.
And I don't know if putting addbot in yapb.cfg will help any. |
Re: First beta release of YaPB 2
@THE_STORM:
What ever it was, it's now YAPB :) @Ancient: First downlaod http://yapb.bots-united.com/files/yapb.exe (with waypoints), and then update with this zip. |
Re: First beta release of YaPB 2
Yes, I know what your thinking; I'm dumb :P
I'll be testing it later after school and this weekend and will report bugs when I see them. Thanky ou. |
Re: First beta release of YaPB 2
I've found a bug which causes the language files not correctly loaded.
The details is that the InitConfig() is called before the settings in yapb.cfg take effect. So the language which is set in yapb.cfg is never actually loaded. and the patch may be adding this into the InitConfig(): PHP Code:
|
Re: First beta release of YaPB 2
Thanks, i've already found this bug, while porting bot to be able use different botnames & chat using language cvar. i've simply put InitConfig () into ServerActivate (), and add yapb.cfg exec into GameDLLInit ().
So names.cfg & chat.cfg is now affected by language cvar, and located in language directory... Quote:
P.S. Adding execution of config onto top of InitConfig () has no effect (but i don't know why). Language is changing but not after execution. P.P.S Also fixed crash, when bots trying to use chat, when it wasn't loaded correctly... |
Re: First beta release of YaPB 2
Yeah dinamic memory safe a lot of resources. Check out EPB source, all the config and languarge files code use dinamic memory, the .dll is less bigger than before too. :)
|
Re: First beta release of YaPB 2
Make dll less biggger is not a point to use dynamic memory allocation. Dynamic memory allocation allows to save memory at runtime (ie. RAM). Currently yapb2 uses old method for storing language translations, ie. there are predefined arrays of chars that uses constant array size (512), whatever the size of the string stored in this array.
Currently yapb2 uses something like that: PHP Code:
And the original yapb uses something like that: PHP Code:
|
Re: First beta release of YaPB 2
Check EPB. With std:string you waste nothing too. :) Dinamic string... ;)
|
Re: First beta release of YaPB 2
Ofcourse, but i'm don't like to use Standard Template Library, because of several reason, thats why i've write "handmaded" versions of std::vector and std::string.
|
Re: First beta release of YaPB 2
Can you tell me the reasons that you don't like to use STL ? I'm interested. :)
|
Re: First beta release of YaPB 2
Well i can't explain everything in english, but main reasons is that it's make output binary more huge (yapb2 with debug build = 1.02Mb, yapb2 with debug build + STL = 1.37Mb, on VC++Pro8), staticly linked against STL because "new" versions of VC uses non-standard dll binaries (msvcp80.dll), sometimes my friends has some errors using soft on different linux distros, with segmentation faults on libstdc++.so, and i don't like to code with STL, code style, tons of template parametrs, and all those allocators and stuff.
It's just my opinion... :) |
Re: First beta release of YaPB 2
I have VC++ 2005 and VC++ 2003. The 2003 one is much better for such stuff than 2005. In 2005 MS try to import their own standart witch I don't like. I think that VC++ 2003 fits the C++ standarts perfect and you will not have problems running you app on differend Windows OS's because it use the standart dll binaries. :) Btw STL have most of the power in C++. You can do some things very easy with already predefined functions.
|
Re: First beta release of YaPB 2
Ok lets stop this. Its a complete offtop. :) The ms standard can be switched off by #pragma warning (disable : 4996) :) And i don't own VS 2003.
|
Re: First beta release of YaPB 2
Everything seems fine, but the yapb_quota thing is kind of confusing at first, I added like 17 addbot's at the end of the cfg file..
The bot's skill I set them at 60 - 70 and it seems like 2 or 3 shots and your dead, these bot's are alot harder than podbot mm. The aim is deadly accurate. I like it :) Everything works well, it's just the bot's take forever for all of them to join the server. I use listenserver. Seems like old pb 2.6, like nothing has been changed just few commands and verion sayings and thats it :P It was frustrating to edit the liblist.gam because the attributes were changed to read-only. I see that there are 2 dll's, 1 PODBot.dll and other yapb.dll, which one should be directed to by metamod plugins.ini? |
Re: First beta release of YaPB 2
podbot.dll is the old YaPB while the yapb.dll is this version.
and actually there _are_ a lot of changes :) |
Re: First beta release of YaPB 2
Where I can see the changes? :)
|
Re: First beta release of YaPB 2
@Ancient:
Default installer for "old" yapb, is overriding liblist.gam with new one, to use update you must change "addons/yapb/dlls/podbot.dll" to "addons/yapb/dlls/yapb.dll', in liblist or plugins.ini. @TS: Common changes: Code:
YaPB 2.0 Beta (1): |
Re: First beta release of YaPB 2
Quote:
I believe You've forgotten to add again "thanks to podbot mm" :) I did it about 2 months ago. ;) |
Re: First beta release of YaPB 2
Quote:
|
Re: First beta release of YaPB 2
Quote:
Code:
void StartFrame( void ) |
Re: First beta release of YaPB 2
actually that has been in YaPB for about 3 years :) However that sometimes will result in e.g., bots kicked strangely sometimes as the cvar values are not take effect immediately so I removed that in the January 2006 release. Maybe a better method is to use the pfnCvarGetPointer() (or something like that).
|
Re: First beta release of YaPB 2
Quote:
C_DLLEXPORT int Meta_Attach( ... ), but yapb has it in void GameDLLInit( void ) - maybe it works different way. I'm not good with mm stuff - so You need to figure out Your-self - it both method are equal or some of them is better. In ServerActivate we execute podbot.cfg (the first map only) - so they are setuped correctly. About that pfnCvarGetPointer - AMX X is using similar method: Code:
cvar_t *csstats_rankbots |
Re: First beta release of YaPB 2
I've not noticed problems Whistler write (yet). I will test that.
|
Re: First beta release of YaPB 2
Hi Peeps :)!
It's wonderful to see , that there are still Bots in the Work for good ole' Cs ;). Have a nice Day! :) |
Re: First beta release of YaPB 2
] yapb_quota 1
"yapb_quota" changed to "1" "yapb_quota" changed to "0" it's been doing that by itself! i need help!!! when i try to add bots it changes the quota back to 0. what do i do to add bots now?! -sorry for posting on a 2 year old post.. =9 |
All times are GMT +2. The time now is 10:16. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.