Gothic Online Forums
[DEV] G2O Bot module - Printable Version

+- Gothic Online Forums (https://archive.gothic-online.com)
+-- Forum: Scripting (English) (https://archive.gothic-online.com/forum-11.html)
+--- Forum: Resources (https://archive.gothic-online.com/forum-14.html)
+---- Forum: Modules (https://archive.gothic-online.com/forum-32.html)
+---- Thread: [DEV] G2O Bot module (/thread-213.html)

Pages: 1 2 3 4 5 6 7


RE: [DEV] G2O Bot module - Zmorra - 19.11.2016

Timer won't work. Someone must change callFunc functions in module (add reliability).


RE: [DEV] G2O Bot module - Mattwell - 19.11.2016

Why the module resetting position of my bot when he is in other position than he was created?

I am running an animation like run, and 3 seconds later the bot is in the main position from CreateBot function Sad


RE: [DEV] G2O Bot module - blint - 19.11.2016

Because client side of script is outdated. Script doesn't update NPC position and Sative is the only one who can repair this module.


RE: [DEV] G2O Bot module - Bimbol - 19.11.2016

I could fix it, but I need source.


RE: [DEV] G2O Bot module - Mattwell - 20.11.2016

Bimbol/Sative, can you synchronise PlayAnimation function with coordinates of bot?

For example when my bot is running to kill me, server should know position x,y,z of bot at this moment.
I think that is the best idea to create fully movable bots.


RE: [DEV] G2O Bot module - Bimbol - 20.11.2016

For now bots isn't integrated with multiplayer engine Smile


RE: [DEV] G2O Bot module - HammelGammel - 20.11.2016

(20.11.2016, 00:05)Mattwell Wrote: Bimbol/Sative, can you synchronise PlayAnimation function with coordinates of bot?

For example when my bot is running to kill me, server should know position x,y,z of bot at this moment.
I think that is the best idea to create fully movable bots.

That's pretty much what the "secret_gimmeBotPos"-function does (or did rather). You would pass it the id of a player and the id of a bot and it would then take the position the given bot has on the given client and synch it with the server. It doesn't seem to work anymore though.
It's defined in the module somewhere and is already called from G2O_CBot.nut::update(). There's no real need to look up the call though - it's broken, which is why the bots' positions aren't synchronized with dev8 even if you manually implement ticks.


RE: [DEV] G2O Bot module - Nubzior - 20.11.2016

Updated version for dev8.

20.11.2016, 22:20 Small bug fix
20.11.2016, 22:31 Fixed bot damage
https://mega.nz/#!SUgRDIAA!HgTEr0ErE-yKNf6CnKvKwulbZgb2kBHAzdgaWRyeBrY


RE: [DEV] G2O Bot module - Mattwell - 20.11.2016

Nubzior, have you fixed secret_gimmeBotPos ?


RE: [DEV] G2O Bot module - Nubzior - 20.11.2016

I forgot about small bug, redownload module, updated link is in my previous post.