.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   YaPB (http://forums.bots-united.com/forumdisplay.php?f=55)
-   -   First beta release of YaPB 2 (http://forums.bots-united.com/showthread.php?t=5283)

Whistler 18-05-2006 07:14

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:

gamedll "addons/yapb/dlls/yapb.dll"
gamedll_linux "addons/yapb/dlls/yapb_i386.so" 

Or configure the Metamod to load these files as plugins.


Please report bugs in this forum.

KWo 18-05-2006 07:30

Re: First beta release of YaPB 2
 
Quote:

Originally Posted by Whistler
YaPB 2 is based on JetBot by Dmitry Zhukov, who is known as "strolemet" in this forum, which was a fork of my original version of YaPB. This version is maintained & developed by him.

That's strelomet, not strolemet :)

Whistler 18-05-2006 07:37

Re: First beta release of YaPB 2
 
Corrected :P Thanks :)

The Storm 18-05-2006 11:44

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.
// Copyright (c) 2005-2006, by Dmitry Zhukov. All Rights Reserved.
//
// Copyright (c) 2000-2001, by Markus Klinge. All Rights Reserved.
// Copyright (c) 2003-2005, by Wei Mingzhi. All Rights Reserved.

In the old sources I think that the last line was not there but I don't have backups. Oh never mind. :P

Ancient 18-05-2006 22:34

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.

jeefo 19-05-2006 07:52

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.

Ancient 19-05-2006 13:45

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.

Whistler 19-05-2006 16:21

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:

   ServerCommand ("exec addons/yapb/config/yapb.cfg"); 

btw, I would recommend using dynamic memory allocation for the translator which can save a lot of memory.

jeefo 19-05-2006 16:32

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:

btw, I would recommend using dynamic memory allocation for the translator which can save a lot of memory.
ok :)

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...

The Storm 19-05-2006 17:40

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. :)


All times are GMT +2. The time now is 00:50.

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