INeedGames

[Release] Bot Warfare

Recommended Posts

I see the newest version of bots contains a httpget.dll  which is for Windows servers

does anyone have a compiled version of this for ubuntu?

 

 

Share this post


Link to post
Share on other sites

you can create a new mod Bot Warfare with the Mod Menu as before you can create a new mod Bot Warfare with the Mod Menu as before ?

Share this post


Link to post
Share on other sites

Does somebody found how to add waypoints?

I tried:
 - to add waypoints manualy to _bot_utilisty.gsc but I could only add one map waypoints before hitting the size limit ( as pezbot the script crash if there's too much waypoint)
- add the waypoints in _custom_map.gsc , ... same size limit and script crash 😥

I saw the httpget.dll and _bot_http.gsc, but it doesn't work on his own : what has to be done to activate?

 

Or is there a way to copy waypoints manualy somewhere on the server, or using those csv waypoints?

 

Beside that, those bots are greats ! Thanks.

Edited by Elementair
Cosmetic ​😥

Share this post


Link to post
Share on other sites

Finally got it: just had to register the httpget.dll with loadplugin. 😁

Added loadplugin httpget.dll to mod cfg file and now i got the httpget and console output working ... and mass of waypoints.

Took me some time to understand but result is great !

Edited by Elementair
typo

Share this post


Link to post
Share on other sites

I have this error over and over in my qconsole.log and it stops by crashing the server

throwing script exception: entity is not an array

^1******* script runtime error *******
entity is not an array: (file 'maps/mp/bots/_bot_script.gsc', line 2685)
  chopper = level.chopper[ level.otherTeam[self.team] ];
                  *
^1called from:
(file 'maps/mp/bots/_bot_script.gsc', line 2730)
  self bot_target_vehicle_loop();
       *
^1started from:
(file 'maps/mp/bots/_bot_script.gsc', line 2719)
  wait( RandomIntRange( 2, 4 ) );
  *
^1************************************

 

 

the crash is shown below

^1started from:
(file 'maps/mp/bots/_bot_script.gsc', line 2719)
  wait( RandomIntRange( 2, 4 ) );
  *
^1************************************

^1Error: Assert failed - Exp: level.gentities[client->ps.viewlocked_entNum].r.ownerNum.isDefined() && (level.gentities[client->ps.viewlocked_entNum].r.ownerNum.ent() == ent), File: src/g_client_mp.cpp, Line: 212, Function: ClientEndFrame_TurretThink_Stub viewlocked_entNum is 160, ownerNum is 0, ent->s.number is 0
---------- Backtrace ----------
    9: ./cod4x18_dedrun(Sys_PrintBacktrace+0x31) [0x809d97b]
    8: ./cod4x18_dedrun(Assert_MyHandler+0x86) [0x80ccdc5]
    7: ./cod4x18_dedrun(ClientEndFrame_TurretThink_Stub+0x125) [0x8139d1e]
    6: ./cod4x18_dedrun() [0x81e6bda]
    5: ./cod4x18_dedrun() [0x81af88e]
    4: ./cod4x18_dedrun(SV_Frame+0xd9) [0x80f3169]
    3: ./cod4x18_dedrun(Com_Frame+0x73) [0x80de8dc]
    2: ./cod4x18_dedrun(Sys_Main+0x7b) [0x80a5c6b]
    1: ./cod4x18_dedrun(main+0xf9) [0x809d65d]
    0: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0xf7ac8f21]
This program has crashed with signal: Trace/breakpoint trap
The current Gameversion is: CoD4 X - linux-i386 type 'e' build 1104 Aug  1 2021
File is ./cod4x18_dedrun Hash is: 43493a8d0c2c4c14975894dd9fa76bc59f6343eed6dc473b22642a691535f718
---------- Backtrace ----------
   12: ./cod4x18_dedrun(Sys_PrintBacktrace+0x31) [0x809d97b]
   11: ./cod4x18_dedrun(Sys_DumpCrash+0x92) [0x809da56]
   10: ./cod4x18_dedrun(Sys_SigHandler+0x24) [0x809dacc]
    9: linux-gate.so.1(__kernel_sigreturn+0) [0xf7f70b70]
    8: ./cod4x18_dedrun(Assert_MyHandler+0x87) [0x80ccdc6]
    7: ./cod4x18_dedrun(ClientEndFrame_TurretThink_Stub+0x125) [0x8139d1e]
    6: ./cod4x18_dedrun() [0x81e6bda]
    5: ./cod4x18_dedrun() [0x81af88e]
    4: ./cod4x18_dedrun(SV_Frame+0xd9) [0x80f3169]
    3: ./cod4x18_dedrun(Com_Frame+0x73) [0x80de8dc]
    2: ./cod4x18_dedrun(Sys_Main+0x7b) [0x80a5c6b]
    1: ./cod4x18_dedrun(main+0xf9) [0x809d65d]
    0: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0xf7ac8f21]

-- Registers ---
edi 0x0
esi 0xcac020c
ebp 0xfff05c48
esp 0xfff03c40
eax 0x0
ebx 0xfff03c40
ecx 0x4a948
edx 0x179e96a8
eip 0x80ccdc6
-------- Backtrace Completed --------
Received signal: Trace/breakpoint trap, exiting...
Server received signal: Trace/breakpoint trap
Shutting down server...
----- Server Shutdown -----

With the reason:
Server received signal: Trace/breakpoint trap
Terminating server...
==== ShutdownGame (1) ====

 

my second server does not crash using the same maps

however it does show this error once in a while


^1******* script runtime error *******
type undefined is not a vector: (file 'maps/mp/bots/_bot_script.gsc', line 1466)
 self CampAtSpot( campSpot.origin, campSpot.origin + AnglesToForward( campSpot.angles ) * 2048 );
                                                                               *
^1called from:
(file 'maps/mp/bots/_bot_script.gsc', line 1487)
  self bot_think_camp_loop();
       *
^1started from:
(file 'maps/mp/bots/_bot_utility.gsc', line 237)
 waittillframeend;
 *
^1************************************
throwing script exception: pair 'undefined' and '2048' has unmatching types 'undefined' and 'int'

 

any help with those errors?

 

Edited by wkuzma

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.