Pages: 1 2 [3] 4
  Print  
Author Topic: New Bot Chat  (Read 91109 times)
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #50 on: September 19, 2011, 11:59:53 AM »

Getting there... It's been a while since I posted in this thread Smiley

Progress is slow, but I have some holidays coming up in a week or so. First versions of Assassin, Beret, Merman, Sarge, Sergei and Tony are finally written. I hope to get more done soon. Any feedback is welcome.

Will this fix the problem that bots ignore my team orders?

EDIT: After a first test, i've got an "Error: BotConstructChat: unknown random string: DEATH_FEM_INSULT3". The line just before that one was "Tony: Wow, you really mean business!"; the line just after that one was: "Kyonshi was gunned down by Sarge" (I had a couple of bots that were not from your list of new chat).
A similar error, but with DEATH_FEM_INSULT0, appeared later (a short later than Sarge blew himself up), when Tony fired a rocket that killed both himself and Kyonshi.

EDIT2: Bots continue to ignore my team orders, e.g they do not "report" when I ask for it... and what the heck are they doing in this screenshot? (Map is oa_bases7) Probably this one is not related to your patch...
« Last Edit: September 19, 2011, 12:31:23 PM by Gig » Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
fromhell
Administrator
GET A LIFE!
**********

Cakes 35
Posts: 14520



WWW
« Reply #51 on: September 19, 2011, 12:30:44 PM »

they love the platform in that map, it's their hangout

I know I should've used a jump pad instead, I mapped it for quake then backported it to OA and didn't change the lifts
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
chaoticsoldier
Member


Cakes 18
Posts: 375


This space intentionally left blank.


« Reply #52 on: September 20, 2011, 07:03:41 AM »

(I had a couple of bots that were not from your list of new chat).
This is the reason for the first few errors you saw. So far, only the 6 bots I mentioned will work properly with these new files. The new random strings all have different names (to the point of not using any of the names that Q3 used). Any bots not on the list will still try to reference the old strings, although they no longer exist.

Bots continue to ignore my team orders
6) Team chat
I might leave these for some future release of OA.
My primary aim is to get a bunch of working personalities for the bots in FFA. Team chat is another thing which I would like to look at some other time.
Logged

0101100101101111011101010010011101110110011001010010000001101010011101010111001101110100001000000111011101100001011100110111010001100101011001000010000001111001011011110111010101110010001000000111010001101001011011010110010100101110
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #53 on: September 20, 2011, 07:57:50 AM »

(I had a couple of bots that were not from your list of new chat).
This is the reason for the first few errors you saw. So far, only the 6 bots I mentioned will work properly with these new files. The new random strings all have different names (to the point of not using any of the names that Q3 used). Any bots not on the list will still try to reference the old strings, although they no longer exist.
What? Improving Q3 bot compatibility should be important... someone (I think Graion Dilach) time ago created a patch to allow bots designed for quake 3 to work in OpenArena (patch is linked DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/wiki/FAQ#Models_and_bots_designed_for_Quake_3]here... I should do a search to find the forum thread). Why are you removing bot compatibility now? Or maybe I misunderstood something?  Huh
« Last Edit: September 20, 2011, 10:39:58 AM by Gig » Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Graion Dilach
Member


Cakes 12
Posts: 403



« Reply #54 on: September 20, 2011, 09:39:41 AM »

Yes. Tho I disappeared for some time ago from this project for reasons I don't even remember now (probably partly due to the reason that I moved onto new seas around New Year) I finished the shim for the chat part for Chaotic's new system before I left.

During the planning of the new bot chat, we specifically agreed that unlike OA 0.8 bots, the new bot chat shouldn't use entries with the same name as in Quake 3 and those entries should be only for imported bot and legacy compatibility.

IIRC the finished pack around that time was also posted in this topic and while I don't know if it got broken since my last involvement, I pretty well doubt that happened. So don't worry, I guess that issue is merely just a packaging one for the time being which I guess can be fixed with q3chat.pk3 somewhere uploaded into this topic.

EDIT: Ah, so I only uploaded a .c... OK, then... I'm gonna do the pk3 in a moment.

EDIT2: OK, it seems I either messed up something half a year ago, or I forgot. -_- Will go and finish it in a moment.

EDIT3: DEATH_FEM_INSULT0 and DEATH_FEM_INSULT3 are indeed missing, my fault. (To be exact, in Quake3, the entries are DEATH_FEM_INSULT, DEATH_FEM_INSULT1 and DEATH_FEM_INSULT2 (which are in) and I didn't noticed OA has the above two as well. --')

EDIT4: Ok, added. If you see something similar, that will probably be my issue, too.
« Last Edit: September 20, 2011, 10:27:12 AM by Graion Dilach » Logged

One shall remind what have he left behind... to actually realize that it's still cool.
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #55 on: September 20, 2011, 10:48:17 AM »

So, q3 bot compatibility will remain, in some way? It's important that mixing OA and Q3 bots in the same match (in every gametype) we will not get bad errors.

Anyway, a curiosity: what's the purpose of changing all strings? It seems to me that in another thread we said that variables names were "too less" to be subject to copyright, also considering that the source code in GPL should already contain their names, being able to interpret them... I suppose this switch may also make harder to program team orders (when you will have time to do that), considering that Q3 and OA bots should potentially coexist forever. And do not forget old mods compatibility...

Anyway, I trust in you, guys!  Smiley
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Cacatoes
Banned for leasing own account
Posts a lot
*

Cakes 73
Posts: 1427


also banned for baiting another to violate rules


« Reply #56 on: September 20, 2011, 11:00:26 AM »

Anyway, I put my trust in you, guys!  Smiley
Logged

Todo: Walk the cat.
Graion Dilach
Member


Cakes 12
Posts: 403



« Reply #57 on: September 20, 2011, 03:15:50 PM »

Anyway, a curiosity: what's the purpose of changing all strings?

Personalities. Chaoticsoldier have already did a great job to divert the bots, to fill them with life. That brought in that rnd.c where all the shared lines were got messed up, due to the fact that the majority of it went out into the characters and it effectively transformed into an entirely incompatible file.

This was around when I was in the middle of the Q3 shim, so it was logical to pick the other portion, the "providing legacy lines" - part.

But if you play with the updated characters you will understand what I mean.
Logged

One shall remind what have he left behind... to actually realize that it's still cool.
chaoticsoldier
Member


Cakes 18
Posts: 375


This space intentionally left blank.


« Reply #58 on: November 05, 2011, 03:39:13 AM »

Newest version is here. It includes Graion's edits to q3chat.c, added files for Ayumi, and a few minor corrections in other files.

Not much really, but stay tuned...  Wink
Logged

0101100101101111011101010010011101110110011001010010000001101010011101010111001101110100001000000111011101100001011100110111010001100101011001000010000001111001011011110111010101110010001000000111010001101001011011010110010100101110
fromhell
Administrator
GET A LIFE!
**********

Cakes 35
Posts: 14520



WWW
« Reply #59 on: November 07, 2011, 05:53:03 AM »

alright if I put this in the SUPER SOON UPCOMING 088?
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #60 on: November 11, 2011, 02:12:29 AM »

Chaoticsoldier, Graion... in the OA 0.8.8 RC 11119 some error messages with the new bot chat still occur.
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Graion Dilach
Member


Cakes 12
Posts: 403



« Reply #61 on: November 11, 2011, 07:23:29 AM »

Sorry, I missed the post... and within a day, it's almost impossible to get them all.

I know curse is missing, there was something other I missed out - again (DEATH_FALLING0, maybe)... and it appears the random message b part is also needed.

I'll see what I can do.
Logged

One shall remind what have he left behind... to actually realize that it's still cool.
chaoticsoldier
Member


Cakes 18
Posts: 375


This space intentionally left blank.


« Reply #62 on: November 14, 2011, 09:31:50 PM »

Chaoticsoldier, Graion... in the OA 0.8.8 RC 11119 some error messages with the new bot chat still occur.

(I had a couple of bots that were not from your list of new chat).
This is the reason for the first few errors you saw. So far, only the 6 bots I mentioned will work properly with these new files. The new random strings all have different names (to the point of not using any of the names that Q3 used). Any bots not on the list will still try to reference the old strings, although they no longer exist.

It's the same reason. Because the new version is just a patch, the old botfiles are still there. The new botfiles are trying to coexist, but they are incompatible. Any bots I haven't rewritten yet will still try to reference strings that don't exist in the new rnd.c file anymore.

It's probably not a good idea to include my new chat files until I eventually finish all the bots, as there could always be compatibility errors.

*You could possibly write dummy blank _t.c chat files for everyone except the bots I finished (Merman, Beret, Tony, Sergei, Assassin, Sarge, Ayumi), making those 7 bots the only ones that speak for the time being... until I finish the other bots, hopefully in time for the release after next. (I have at least 4 more bots I could publish right now, but I just haven't had the time lately.)

I never really intended for both the old and new versions to exist at the same time, because it causes errors. I planned to finish all the new files and then have them instantly replace the old stuff completely so everything would work properly straight away.

* OR - We could do a workaround and add the 'curse' string, 'peeps' string etc. back temporarily, but I think it just wastes time. I could better spend the time completing those other bots which are almost done.  @Graion: If you would like to do this and add those missing strings from the original OA into q3chat temporarily, then that's fine. They would fill the gaps and stop the errors, and the other q3chat lines will replace the other chat lines until I finish writing all the other bots.
(NOTE: fromhell didn't want some words to appear in the chat files, and some of those strings, such as the 'curse' and 'vicious_insult' strings in the old rnd.c were amended in the svn. So you can't just copy the old lines over from your baseoa folder. See what lines were deleted here.
« Last Edit: November 14, 2011, 10:17:57 PM by chaoticsoldier » Logged

0101100101101111011101010010011101110110011001010010000001101010011101010111001101110100001000000111011101100001011100110111010001100101011001000010000001111001011011110111010101110010001000000111010001101001011011010110010100101110
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #63 on: November 15, 2011, 02:20:37 AM »

... and Graion's patch, then?

Anyway, backwards compatibility is important, IMHO, even if only to support bots designed for q3. Further breaking q3 compatibility is bad. (DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/wiki/NOTTODO]NOTTODO page mentions to do not break q3 mods, and mods may contain bots, too.)

IMHO, q3 bot compatibilty should not be only temporary... it is part of OA goals, isn't it?

Are you sure there is no way to both keep q3 compatibility and preventing bots from saying the worst words, forever?
« Last Edit: November 15, 2011, 03:56:49 AM by Gig » Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Graion Dilach
Member


Cakes 12
Posts: 403



« Reply #64 on: November 15, 2011, 02:25:49 AM »

I heard about the change. This weekend will be 5 days long for me, so I'll add in the b section, both in Q3 and OA.
Logged

One shall remind what have he left behind... to actually realize that it's still cool.
Neon_Knight
In the year 3000
***

Cakes 49
Posts: 3775


Trickster God.


« Reply #65 on: November 15, 2011, 05:35:31 AM »

The thing is that we also had a lot of time since the 0.8.5 patch and even more time after the 0.8.1 version.
Logged


"Detailed" is nice, but if it gets in the way of clarity, it ceases being a nice addition and becomes a problem. - TVT
Want to contribute? Read this.
Graion Dilach
Member


Cakes 12
Posts: 403



« Reply #66 on: November 15, 2011, 10:55:16 AM »

I don't know how you think, but I can't work without a pressure to keep my interest and me motivated. This was the main reason I did almost nothing in this year... I moved to a project where 'til recently, I was under pressure. Also, the year doesn't shaping up quite well, neither.

So yeah, now that there is a motivation, now I want it to get done. That's all.
Logged

One shall remind what have he left behind... to actually realize that it's still cool.
Peter Silie
Member


Cakes 2008
Posts: 610



« Reply #67 on: November 15, 2011, 12:44:45 PM »

This is some kind of good pressure and mostly welcome by me too Cheesy
Logged
Graion Dilach
Member


Cakes 12
Posts: 403



« Reply #68 on: November 17, 2011, 11:55:07 AM »

And here it goes, I went through on it again. I did missed out some entries.  Lips Sealed
« Last Edit: November 18, 2011, 09:25:34 AM by Graion Dilach » Logged

One shall remind what have he left behind... to actually realize that it's still cool.
Graion Dilach
Member


Cakes 12
Posts: 403



« Reply #69 on: November 18, 2011, 09:25:18 AM »

Update of update... I had 7 typos.  Lips Sealed
Logged

One shall remind what have he left behind... to actually realize that it's still cool.
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #70 on: November 18, 2011, 12:37:33 PM »

The patch included in 088 beta 111118 is the one from yesterday, or earlier? Because I still found red chat errors with it.
« Last Edit: November 18, 2011, 01:54:11 PM by Gig » Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Graion Dilach
Member


Cakes 12
Posts: 403



« Reply #71 on: November 18, 2011, 01:33:34 PM »

Yeah, the one from yesterday. Undecided

One typo renders the file useless.
Logged

One shall remind what have he left behind... to actually realize that it's still cool.
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #72 on: November 26, 2011, 04:43:02 AM »

Cause of the errors in the previous version of the patch, Fromhell removed the whole thing in 088 RC1 (and erroneously removed also the q3 bots weapons patch in the process!), thus I haven't been able to test the current version. Graion, have you done some more tests in the last days?
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Graion Dilach
Member


Cakes 12
Posts: 403



« Reply #73 on: November 26, 2011, 05:13:31 AM »

Well, errors from q3chat-side were shot in the head.

On the other hand, Chaotic's rchat throws out 4 warnings in the console, and I haven't looked into them yet. rchat is his area.
Logged

One shall remind what have he left behind... to actually realize that it's still cool.
chaoticsoldier
Member


Cakes 18
Posts: 375


This space intentionally left blank.


« Reply #74 on: November 27, 2011, 02:38:44 AM »

Are you talking about the ones where it says stuff like:
Quote
Warning: file rchat.c, line 523: the key say with prefix ! is inside the key sayonara
I looked at those a long time ago, but there's nothing erroneous going on.
I'll explain.

If you write "Sayonara everybody!", the bots see the word Sayonara and might reply with something like "Leaving so soon?"
But if you write "...in Japan we say sayonara where in England you would say goodbye" or "they told me to say sayonara", the bots won't reply because the word say is in the same sentence and you actually aren't saying goodbye at all.

It only appears as an error because "say" is also part of the word "sayonara". However, all the replies actually work fine and the bots respond to those strings just the way I want them to.

If I can't find a way to stop the errors being reported, I will just remove the problematic keys later on, but it's nothing serious.
Logged

0101100101101111011101010010011101110110011001010010000001101010011101010111001101110100001000000111011101100001011100110111010001100101011001000010000001111001011011110111010101110010001000000111010001101001011011010110010100101110
Pages: 1 2 [3] 4
  Print  
 
Jump to: