Game Development Community

GuideBot Beta 0.8

by Yuri Dobronravin · in Game Mechanics Kit · 02/11/2010 (10:57 am) · 151 replies

www.logicking.com/images/guideBot/guideBotLogoSmall.png
In this thread you can ask any questions about GuideBot Beta 0.8, which is due to be released on February, 12.

Read more at OUR BLOG.


GuideBot is still under active development so all your bug reports, comments, suggestions are highly appreciated.
#41
02/24/2010 (2:50 pm)
Kerry
Have you tried not to compile Guide Bot lib, but use guideBot.lib from the package to make the exe?
#42
02/24/2010 (6:47 pm)
@Marcus
I got the same error as in post #33.

@Yuri
I used the included guideBot.lib. I did not try to recompile the .lib file in Visual Studio 2008.
#43
02/25/2010 (8:29 am)
>I got the same error as in post #33.

It's not error but warning, so I suppose you are able to compile release to.

I easily compiled and run debug version of 2008 without any issues, but release is crushes at the start of level loading, I still can figure out why.
#44
02/25/2010 (8:42 am)
Quote:I easily compiled and run debug version of 2008 without any issues, but release is crushes at the start of level loading, I still can figure out why.

In comment #28:

Quote:It crashes unless i include the guideBot to the DLL solutions "project dependency".

In other words, right click the solution (most upper item on the left side in vc++)->properties->project dependency->Project: T3D DLL->check mark guidebot.

This fixes the crash, but this is when end up with the non-loading Effectors and VisualDataBlocks.
#45
02/25/2010 (8:45 am)
> This fixes the crash, but this is when end up with the non-loading
> Effectors and VisualDataBlocks.

The problem is that I don't have guideBot in dependencies. I just linking the existing lib to a project.

Anyway I will figure it out, hold on guys :)
#46
02/25/2010 (4:33 pm)
@Yuri,
I made an order this Tuesday. Can you check it out?
#47
02/26/2010 (12:30 pm)
@game4Rest
Order system is automatic and you should have receive confirmation email once your order is proceed. Please email me logicking@logicking.com so I will be able to check details
#48
02/26/2010 (12:34 pm)
Guys!
I have found the bug for the VS 2008 release build.

In the file lib/guideBot/source/effector.cpp


bool Effector::convertFromString(const char* effectorsStr, EffectorIDVector& effectors)
{
	size_t i = 0;
	const char* r  = NULL;
	while ((r = getWord(effectorsStr, i, " \t\n")) !="")
	{


should be changed to


bool Effector::convertFromString(const char* effectorsStr, EffectorIDVector& effectors)
{
	size_t i = 0;
	const char* r  = NULL;
	while (strlen(r = getWord(effectorsStr, i, " \t\n")) > 0)
	{

Kinda weird bug - sometimes you just forget that C++ is not TorqueScript :)

I don't how it work at all.

We'll fix it in the next update for Beta 1, which we are planning to release next week already.
#49
02/26/2010 (2:20 pm)
Quote:In the file libguideBotsourceeffector.cpp
Don't you mean effector.cpp?

Nice Yuri! That fixed the problem (almost, look at Edit).

Just noticed yesterdays that
Quote:suggestions are highly appreciated.
, so here is my suggestion list:

Support for multiple gi bots (might already be).
Bots finding ability depending on light (by that i mean if its dark its harder for the bot to find you).
Difficulty modifier (like when on hard the bot has more accuracy, damage, intelligence than on easy).
Easy configurable senses (for example a dynamic field that sets the sense intensity).
Bot mode/types (like sniper, assault, attacker, defender, meleer, grenader, etc.)

That's all!

Edit: anyone else ending up with these two errors (cuz now my bot animates but doesn't shoot)?
Effector::convertFromString: unknown effector ha
ScriptAction::setRequiredEffectors: can't set required effectors hands
#50
02/27/2010 (1:02 pm)
Quote:
Edit: anyone else ending up with these two errors (cuz now my bot animates but doesn't shoot)?
view plainprint?

1. Effector::convertFromString: unknown effector ha
2. ScriptAction::setRequiredEffectors: can't set required effectors hands

I also get that plus

3. Effector::convertFromString: unknown effector brai
4. ScriptAction::setRequiredEffectors: can't set required effectors brain

and when trying to change state with 'x' I get

5. ActionChangeState::check: cann't find change visual normalToKneeVisual. State change is aborted


and as far as suggestions how about turret control
#51
02/27/2010 (1:53 pm)
@ Donald

Quote:Effector::convertFromString: unknown effector ha
is what is displayed in the console. I believe "ha" is supposed to be "hands", but for some reason it says "ha". If you are on non-GMK, and have applied the fix, tell me if you get the same error? Or if it's just me that's doing something wrong?

"and as far as suggestions how about turret control" that could be nice!
#52
02/27/2010 (2:10 pm)
For anyone who copied and pasted Yuri's fix above, the backslashes do not show up in the code window. The changed line should look like this:

while (strlen(r = getWord(effectorsStr, i, " \t\n")) > 0)

#53
02/27/2010 (2:18 pm)
I am on the w/GMK build and getting same errors. guess it just cuts it off

ok with the added \'s it seems to work. can change state and bot attacks

now its time to play ;)
#54
02/27/2010 (2:21 pm)
Hi guys!

Sorry, the forum engine makes the code looks wrong (after editing it "\" dissapears), and I didn't check it.
I fixed my original post: should be " \t\n") not " tn"
#55
02/27/2010 (2:25 pm)
So the bugs is still there?
#56
02/27/2010 (2:27 pm)
@ Yuri
No, it's fixed. Too bad i couldn't figure that out my self, i don't know c++ well enough.
#57
02/27/2010 (2:47 pm)
@ Yuri

yes its fixed. thanks for that
#58
03/01/2010 (3:07 am)
@Yuri

OK, its fixed. Thanks...
#59
03/08/2010 (6:37 am)
GI-Bot does not collide the trigger. How can we solve this issue?
#60
03/10/2010 (8:00 am)
>GI-Bot does not collide the trigger. How can we solve this issue?

GI-Bot is using AIPlayer (inherited from original Player) as base class, so there's no significant difference between simple charcter and Guide Bot.

However I didn't check it. Next version of Guide Bot is on the way to release and I will check it.