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 - KimiorV - 08.05.2016

No shit Sherlock...

Edit#
Co do pytania to obstawiam, ze setweaponmode nie przyjmuje wartości string, a jedynie enum czyli int?


RE: [DEV] G2O Bot module - Ignisio - 08.05.2016

Yes, enum
Code:
enum WeaponMode
{
    NONE,
    FIST,
    DAG,
    ONEH,
    TWOH,
    BOW,
    CBOW,
    MAG
};



RE: [DEV] G2O Bot module - Sative - 25.05.2016

Updated a little bit.


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

I can't really test it right now. Just out of curiosity: What did you change exactly? Big Grin


RE: [DEV] G2O Bot module - Sative - 25.05.2016

(25.05.2016, 20:28)HammelGammel Wrote: I can't really test it right now. Just out of curiosity: What did you change exactly? Big Grin
Only onFocusEnter/Exit bug.


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

Has anybody had any luck using this on dev8? I managed to get the ticks to work by setting a timer and calling the event manually, but it seems that secret_gimmeBotPos doesn't have any effect anymore. Any ideas? Except for the actual updating of the positions, it seems to work.


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

Is this module working on DEV8 of G2O?

I have some problems here:

[Image: Wwp76eqYwwzVj.png]

i only changed the G20_Server.exe from dev6 to dev8


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

Thats because in dev 8, callClient/ServerFunc was changed.


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

I have a problem because OnTick event is not working.

Can i fix it? For now I used timer but can I use more optimal solution?

Code:
*addEvent("onTick", function()
{
    //Update bots
    for(local i = 0; i < LIMIT_BOTS; ++i)
        if(botStructure[i].isSpawned == true)
            botStructure[i].bot.update();
        
    
        
            
            
});*/



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

(18.11.2016, 21:49)Mattwell Wrote: I have a problem because OnTick event is not working.

Can i fix it? For now I used timer but can I use more optimal solution?

Code:
*addEvent("onTick", function()
{
    //Update bots
    for(local i = 0; i < LIMIT_BOTS; ++i)
        if(botStructure[i].isSpawned == true)
            botStructure[i].bot.update();
        
    
        
            
            
});*/

onTick was cut from the latest versions of multiplayer