Title: Editing bot chat files - OA doesn't recognise random strings Post by: chaoticsoldier on April 26, 2009, 07:38:13 AM I recently started redoing the bot chat files. I started with Skelebot.
So far, I've created some lines for skelebot_t.c as well as some random strings for rnd.c (some of which are referenced in skelebot_t.c.) When Skelebot tries to use a random string in his speech (for example, interjection_negative), this error appears: Error: BotConstructChat: unknown random string interjection_negative I attached the files as they were when I used them. Can somebody take a peek at them and tell me what I did wrong? Thanks ;) Title: Re: Editing bot chat files - OA doesn't recognise random strings Post by: andrewj on April 26, 2009, 09:12:10 PM I had a good look at your chat files and the chat loading code. Couldn't find anything wrong, except that your "action_interfere" is missing a terminating '}'. Perhaps that is enough to abort loading your rnd.c and hence the messages about missing random strings. Also you use "peeps" in skelebot_t.c but haven't defined that in rnd.c
Title: Re: Editing bot chat files - OA doesn't recognise random strings Post by: chaoticsoldier on April 27, 2009, 01:52:35 AM Thanks for that. I added the } and a few semicolons that were missing to but the error still occurs.
I haven't finished editing all of Skelebot's lines yet, so I'll see what happens when his _t.c file is complete. Title: Re: Editing bot chat files - OA doesn't recognise random strings Post by: SharpestTool on April 27, 2009, 09:09:46 AM EDIT: FOOT IN MOUTH..SPOKE TOO SOON
Title: Re: Editing bot chat files - OA doesn't recognise random strings Post by: chaoticsoldier on April 29, 2009, 09:35:08 AM I've finished Skelebot's _t.c file for the time being (although it's not totally complete. I'm working on about 6 bots at once). When I tried it again along with rnd.c, it worked fine.
I have a theory on what might have caused the problem before. It was something I didn't mention previously. What I was doing was this: I wanted to test out the interjection_negative string, so I made about half a dozen of Skelebot's comments say that. Maybe there was too much repetition? I don't know if there is a limit on how many times you can reference the same string in the one _t.c file. (However, it was recognising none of the random strings, not just the interjection_negative string.) Anyway, it's working properly now and progress will continue. :) Title: Re: Editing bot chat files - OA doesn't recognise random strings Post by: cosmo on April 30, 2009, 04:06:17 AM Good! Keep it going.
|