Closed ForeskinJohn closed 7 months ago
Either comment out this line: https://github.com/ineedbots/iw4_bot_warfare/blob/master/scripts/mp/bots_adapter_iw4x.gsc#L53
or update to the latest iw4x dll
just updated my DLL, works perfectly, thanks - closing!
i have changed my bat file to be directed towards /mp_bots and upon launching server, i get an error, this is the log:
[ 1445] '-dedicated +set fs_game "mods/mp_bots" +set sv_lanonly "1" +set net_port "28960" +exec serverlan.cfg +set party_enable "0" +map_rotate' [ 1446] Build r4313-develop latest May 19 2023 14:41:42. Logfile opened on Tue Apr 23 07:06:01 2024
[ 1446] g_gametype will be changed upon restarting. [ 1447] Rotating map... [ 3964] Loading fastfile mp_seatown_load [ 3986] Could not find menu 'popup_gettingdata' [ 3994] Using profile source local (l:0 c:1) [ 3995] Successfully read stats data [ 3996] Could not find menu 'playerdataread' [ 4005] CL_Disconnect called for local client 0 [ 4006] Not uploading stats: no statWriteNeeded (cont 0) [ 4010] Using profile source local (l:0 c:1) [ 4011] Successfully read stats data [ 4011] Could not find menu 'playerdataread' [ 4012] ------ Server Initialization ------ [ 4013] Server: mp_seatown [ 4045] Unloaded fastfile iw4x_localized_english [ 4727] Current language: english [ 4728] Current search path: [ 4729] D:\Games\iw4x_full_game\mods\mp_bots\z_svr_bots.iwd (19 files) [ 4730] D:\Games\iw4x_full_game/mods/mp_bots [ 4731] D:\Games\iw4x_full_game\userraw\z_backgroundretrowave.iwd (7 files) [ 4732] D:\Games\iw4x_full_game\userraw\iw4x_Scope.iwd (2 files) [ 4733] D:\Games\iw4x_full_game/userraw [ 4734] D:\Games\iw4x_full_game\iw4x\iw4x_02.iwd (1 files) [ 4735] D:\Games\iw4x_full_game\iw4x\iw4x_01.iwd (138 files) [ 4736] D:\Games\iw4x_full_game\iw4x\iw4x_00.iwd (722 files) [ 4736] D:\Games\iw4x_full_game/iw4x [ 4737] D:\Games\iw4x_full_game\main\iw_dlc9_00.iwd (927 files) [ 4738] D:\Games\iw4x_full_game\main\iw_dlc8_00.iwd (2070 files) [ 4739] D:\Games\iw4x_full_game\main\iw_dlc7_00.iwd (829 files) [ 4740] D:\Games\iw4x_full_game\main\iw_dlc6_00.iwd (711 files) [ 4740] D:\Games\iw4x_full_game\main\iw_dlc5_01.iwd (196 files) [ 4741] D:\Games\iw4x_full_game\main\iw_dlc5_00.iwd (1986 files) [ 4742] D:\Games\iw4x_full_game\main\iw_dlc4_01.iwd (274 files) [ 4743] D:\Games\iw4x_full_game\main\iw_dlc4_00.iwd (1186 files) [ 4745] D:\Games\iw4x_full_game\main\iw_dlc3_00.iwd (1350 files) [ 4746] D:\Games\iw4x_full_game\main\iw_dlc10_00.iwd (6505 files) [ 4747] D:\Games\iw4x_full_game\main\iw_23.iwd (425 files) [ 4748] D:\Games\iw4x_full_game\main\iw_22.iwd (430 files) [ 4749] D:\Games\iw4x_full_game\main\iw_21.iwd (46 files) [ 4750] D:\Games\iw4x_full_game\main\iw_20.iwd (86 files) [ 4751] D:\Games\iw4x_full_game\main\iw_19.iwd (57 files) [ 4753] D:\Games\iw4x_full_game\main\iw_18.iwd (61 files) [ 4754] D:\Games\iw4x_full_game\main\iw_17.iwd (125 files) [ 4755] D:\Games\iw4x_full_game\main\iw_16.iwd (171 files) [ 4756] D:\Games\iw4x_full_game\main\iw_15.iwd (198 files) [ 4757] D:\Games\iw4x_full_game\main\iw_14.iwd (406 files) [ 4758] D:\Games\iw4x_full_game\main\iw_13.iwd (63 files) [ 4759] D:\Games\iw4x_full_game\main\iw_12.iwd (31 files) [ 4762] D:\Games\iw4x_full_game\main\iw_11.iwd (297 files) [ 4763] D:\Games\iw4x_full_game\main\iw_10.iwd (556 files) [ 4764] D:\Games\iw4x_full_game\main\iw_09.iwd (716 files) [ 4765] D:\Games\iw4x_full_game\main\iw_08.iwd (886 files) [ 4766] D:\Games\iw4x_full_game\main\iw_07.iwd (782 files) [ 4767] D:\Games\iw4x_full_game\main\iw_06.iwd (481 files) [ 4768] D:\Games\iw4x_full_game\main\iw_05.iwd (952 files) [ 4769] D:\Games\iw4x_full_game\main\iw_04.iwd (1005 files) [ 4770] D:\Games\iw4x_full_game\main\iw_03.iwd (1437 files) [ 4771] D:\Games\iw4x_full_game\main\iw_02.iwd (1391 files) [ 4772] D:\Games\iw4x_full_game\main\iw_01.iwd (1272 files) [ 4773] D:\Games\iw4x_full_game\main\iw_00.iwd (1428 files) [ 4774] D:\Games\iw4x_full_game/main [ 4775] D:\Games\iw4x_full_game/main_shared [ 4777] D:\Games\iw4x_full_game/players [ 4778] D:\Games\iw4x_full_game/raw [ 4779] D:\Games\iw4x_full_game/raw_shared [ 4780] D:\Games\iw4x_full_game/devraw [ 4781] D:\Games\iw4x_full_game/devraw_shared [ 4781] D:\Games\iw4x_full_game\main\localized_english_iw07.iwd (860 files) [ 4782] localized assets iwd file for english [ 4783] D:\Games\iw4x_full_game\main\localized_english_iw06.iwd (1474 files) [ 4784] localized assets iwd file for english [ 4785] D:\Games\iw4x_full_game\main\localized_english_iw05.iwd (1635 files) [ 4786] localized assets iwd file for english [ 4787] D:\Games\iw4x_full_game\main\localized_english_iw04.iwd (2164 files) [ 4788] localized assets iwd file for english [ 4789] D:\Games\iw4x_full_game\main\localized_english_iw03.iwd (2741 files) [ 4790] localized assets iwd file for english [ 4791] D:\Games\iw4x_full_game\main\localized_english_iw02.iwd (2732 files) [ 4791] localized assets iwd file for english [ 4794] D:\Games\iw4x_full_game\main\localized_english_iw01.iwd (2524 files) [ 4795] localized assets iwd file for english [ 4795] D:\Games\iw4x_full_game\main\localized_english_iw00.iwd (3013 files) [ 4796] localized assets iwd file for english [ 4797] File Handles: [ 4798] handle 1: logs/console_mp.log [ 4798] ---------------------- [ 4799] 94736 files in iwd files [ 4849] Unloaded fastfile iw4x_ui_mp [ 4850] Unloaded fastfile ui_mp [ 4851] Unloaded fastfile localized_ui_mp [ 4853] Loading fastfile mp_seatown [ 4854] Loading fastfile iw4x_localized_english [ 5247] Waited 380 msec for asset 'maps/mp/mp_seatown.d3dbsp' of type 'col_map_mp'. [ 5249] ------- Game Initialization ------- [ 5250] gamename: IW4 [ 5251] gamedate: May 19 2023 [ 5258] Waiting for database... [ 5829] Loading script _aimassist.gsc... [ 5830] Script scripts/_aimassist.gsc loaded successfully. [ 5837] Loading script bots.gsc... [ 6106] Script scripts/mp/bots.gsc loaded successfully. [ 6107] Loading script bots_adapter_iw4x.gsc... [ 6110] Huffman Took 1 Milliseconds [ 6111] Error: [ 6112] script compile error [ 6112] Error: unknown function: @ 436606 [ 6113] **** [ 6125] **** ERROR: script compile error unknown function
(see console for details)
[ 6126] CL_Disconnect called for local client 0 [ 6127] Not setting unlocked items as new because we have not initialized itemsUnlocked. This should only happen after a map load error. [ 6128] Saving lastPlayedTime of 1713873966. [ 6129] Setting MP Completion to 1 percent for controller #0. [ 6130] Not uploading stats: no statWriteNeeded (cont 0) [ 6131] Using profile source local (l:0 c:1) [ 6132] Successfully read stats data [ 6133] Could not find menu 'playerdataread' [ 6134] ----- Server Shutdown ----- [ 6136] ==== ShutdownGame (1) ==== [ 6139] CL_Disconnect called for local client 0 [ 6140] Not uploading stats: no statWriteNeeded (cont 0) [ 6142] Using profile source local (l:0 c:1) [ 6142] Successfully read stats data [ 6143] Could not find menu 'playerdataread' [ 6171] --------------------------- [ 6173] Calling Party_StopParty() for partyId 0 [ 6173] Not uploading stats: no statWriteNeeded (cont 0) [ 6173] Deleting session gameSession (handle 00000001) [ 6174] Deleting 'gameSession' session [ 6174] Not uploading stats: no statWriteNeeded (cont 0) [ 6175] Clearing migration data [ 6176] Clearing migration data [ 6211] Unloaded fastfile iw4x_localized_english [ 6212] Unloaded fastfile mp_seatown [ 6220] Unloaded fastfile mp_seatown_load [ 6220] Loading fastfile ui_mp [ 6221] Loading fastfile localized_ui_mp [ 6222] Loading fastfile iw4x_ui_mp [ 6223] Loading fastfile iw4x_localized_english [ 6309] Waited 75 msec for asset 'ui_mp/menus.txt' of type 'menufile'. [ 6316] Error: couldn't exec autoexec.cfg [ 6317] execing default_xboxlive.cfg from disk [ 6319] xblive_rankedmatch is read only. [ 6320] CL_Live_StartPrivateMatchHost() was called, calling Party_StopParty [ 6321] Calling Party_StopParty() for partyId 0 [ 6321] Not uploading stats: no statWriteNeeded (cont 0) [ 6322] Clearing migration data [ 6322] Clearing migration data [ 6323] Calling PartyHost_StartParty() [ 6324] PartyHost_StartParty was called, calling Party_StopParty [ 6324] Calling Party_StopParty() for partyId 0 [ 6324] Not uploading stats: no statWriteNeeded (cont 0) [ 6325] Clearing migration data [ 6327] Clearing migration data [ 6329] execing default_xboxlive.cfg from disk [ 6331] We're going to be updating trueskill #0 [ 6331] Not uploading stats: no statWriteNeeded (cont 0) [ 6331] Got our host key for our new party - xnkid (168.7.95.109...) [ 6333] execing serverlan.cfg from disk [ 6334] Rotating map... [ 6335] Loading fastfile mp_underground_load [ 6355] Calling XSessionSearchEx() looking for a lobby with 0 free slots, with playlist 0, mapPack flags of 2, playlist version 0 - at time 6354 [ 6366] CL_Disconnect called for local client 0 [ 6366] Not uploading stats: no statWriteNeeded (cont 0) [ 6368] Using profile source local (l:0 c:1) [ 6369] Successfully read stats data [ 6382] ------ Server Initialization ------ [ 6383] Server: mp_underground [ 6413] Unloaded fastfile iw4x_localized_english [ 7127] Current language: english [ 7128] Current search path: [ 7128] D:\Games\iw4x_full_game\mods\mp_bots\z_svr_bots.iwd (19 files) [ 7129] D:\Games\iw4x_full_game/mods/mp_bots [ 7130] D:\Games\iw4x_full_game\userraw\z_backgroundretrowave.iwd (7 files) [ 7131] D:\Games\iw4x_full_game\userraw\iw4x_Scope.iwd (2 files) [ 7132] D:\Games\iw4x_full_game/userraw [ 7133] D:\Games\iw4x_full_game\iw4x\iw4x_02.iwd (1 files) [ 7134] D:\Games\iw4x_full_game\iw4x\iw4x_01.iwd (138 files) [ 7135] D:\Games\iw4x_full_game\iw4x\iw4x_00.iwd (722 files) [ 7135] D:\Games\iw4x_full_game/iw4x [ 7136] D:\Games\iw4x_full_game\main\iw_dlc9_00.iwd (927 files) [ 7137] D:\Games\iw4x_full_game\main\iw_dlc8_00.iwd (2070 files) [ 7138] D:\Games\iw4x_full_game\main\iw_dlc7_00.iwd (829 files) [ 7139] D:\Games\iw4x_full_game\main\iw_dlc6_00.iwd (711 files) [ 7139] D:\Games\iw4x_full_game\main\iw_dlc5_01.iwd (196 files) [ 7140] D:\Games\iw4x_full_game\main\iw_dlc5_00.iwd (1986 files) [ 7141] D:\Games\iw4x_full_game\main\iw_dlc4_01.iwd (274 files) [ 7144] D:\Games\iw4x_full_game\main\iw_dlc4_00.iwd (1186 files) [ 7144] D:\Games\iw4x_full_game\main\iw_dlc3_00.iwd (1350 files) [ 7145] D:\Games\iw4x_full_game\main\iw_dlc10_00.iwd (6505 files) [ 7146] D:\Games\iw4x_full_game\main\iw_23.iwd (425 files) [ 7147] D:\Games\iw4x_full_game\main\iw_22.iwd (430 files) [ 7148] D:\Games\iw4x_full_game\main\iw_21.iwd (46 files) [ 7149] D:\Games\iw4x_full_game\main\iw_20.iwd (86 files) [ 7150] D:\Games\iw4x_full_game\main\iw_19.iwd (57 files) [ 7151] D:\Games\iw4x_full_game\main\iw_18.iwd (61 files) [ 7152] D:\Games\iw4x_full_game\main\iw_17.iwd (125 files) [ 7153] D:\Games\iw4x_full_game\main\iw_16.iwd (171 files) [ 7154] D:\Games\iw4x_full_game\main\iw_15.iwd (198 files) [ 7155] D:\Games\iw4x_full_game\main\iw_14.iwd (406 files) [ 7156] D:\Games\iw4x_full_game\main\iw_13.iwd (63 files) [ 7157] D:\Games\iw4x_full_game\main\iw_12.iwd (31 files) [ 7159] D:\Games\iw4x_full_game\main\iw_11.iwd (297 files) [ 7160] D:\Games\iw4x_full_game\main\iw_10.iwd (556 files) [ 7162] D:\Games\iw4x_full_game\main\iw_09.iwd (716 files) [ 7162] D:\Games\iw4x_full_game\main\iw_08.iwd (886 files) [ 7163] D:\Games\iw4x_full_game\main\iw_07.iwd (782 files) [ 7165] D:\Games\iw4x_full_game\main\iw_06.iwd (481 files) [ 7166] D:\Games\iw4x_full_game\main\iw_05.iwd (952 files) [ 7167] D:\Games\iw4x_full_game\main\iw_04.iwd (1005 files) [ 7168] D:\Games\iw4x_full_game\main\iw_03.iwd (1437 files) [ 7169] D:\Games\iw4x_full_game\main\iw_02.iwd (1391 files) [ 7170] D:\Games\iw4x_full_game\main\iw_01.iwd (1272 files) [ 7171] D:\Games\iw4x_full_game\main\iw_00.iwd (1428 files) [ 7172] D:\Games\iw4x_full_game/main [ 7173] D:\Games\iw4x_full_game/main_shared [ 7175] D:\Games\iw4x_full_game/players [ 7176] D:\Games\iw4x_full_game/raw [ 7177] D:\Games\iw4x_full_game/raw_shared [ 7178] D:\Games\iw4x_full_game/devraw [ 7179] D:\Games\iw4x_full_game/devraw_shared [ 7180] D:\Games\iw4x_full_game\main\localized_english_iw07.iwd (860 files) [ 7181] localized assets iwd file for english [ 7182] D:\Games\iw4x_full_game\main\localized_english_iw06.iwd (1474 files) [ 7182] localized assets iwd file for english [ 7183] D:\Games\iw4x_full_game\main\localized_english_iw05.iwd (1635 files) [ 7184] localized assets iwd file for english [ 7185] D:\Games\iw4x_full_game\main\localized_english_iw04.iwd (2164 files) [ 7186] localized assets iwd file for english [ 7187] D:\Games\iw4x_full_game\main\localized_english_iw03.iwd (2741 files) [ 7188] localized assets iwd file for english [ 7189] D:\Games\iw4x_full_game\main\localized_english_iw02.iwd (2732 files) [ 7191] localized assets iwd file for english [ 7192] D:\Games\iw4x_full_game\main\localized_english_iw01.iwd (2524 files) [ 7193] localized assets iwd file for english [ 7194] D:\Games\iw4x_full_game\main\localized_english_iw00.iwd (3013 files) [ 7195] localized assets iwd file for english [ 7195] File Handles: [ 7196] handle 1: logs/console_mp.log [ 7197] ---------------------- [ 7197] 142104 files in iwd files [ 7248] Unloaded fastfile iw4x_ui_mp [ 7249] Unloaded fastfile localized_ui_mp [ 7250] Unloaded fastfile ui_mp [ 7251] Loading fastfile mp_underground [ 7252] Loading fastfile iw4x_localized_english [ 7573] Waited 306 msec for asset 'maps/mp/mp_underground.d3dbsp' of type 'col_map_mp'. [ 7574] ------- Game Initialization ------- [ 7575] gamename: IW4 [ 7576] gamedate: May 19 2023 [ 7578] Waiting for database... [ 8302] Loading script _aimassist.gsc... [ 8304] Script scripts/_aimassist.gsc loaded successfully. [ 8310] Loading script bots.gsc... [ 8573] Script scripts/mp/bots.gsc loaded successfully. [ 8574] Loading script bots_adapter_iw4x.gsc... [ 8575] Error: [ 8576] script compile error [ 8576] Error: unknown function: @ 436606 [ 8578] **** [ 8590] **** ERROR: script compile error unknown function
(see console for details)
[ 8591] CL_Disconnect called for local client 0 [ 8592] Not setting unlocked items as new because we have not initialized itemsUnlocked. This should only happen after a map load error. [ 8593] Saving lastPlayedTime of 1713873968. [ 8593] Not uploading stats: no statWriteNeeded (cont 0) [ 8595] Using profile source local (l:0 c:1) [ 8595] Successfully read stats data [ 8598] Could not find menu 'playerdataread' [ 8598] ----- Server Shutdown ----- [ 8599] ==== ShutdownGame (1) ==== [ 8603] CL_Disconnect called for local client 0 [ 8603] Not uploading stats: no statWriteNeeded (cont 0) [ 8605] Using profile source local (l:0 c:1) [ 8606] Successfully read stats data [ 8607] Could not find menu 'playerdataread' [ 8615] --------------------------- [ 8616] Com_ErrorCleanup was called, calling Party_Sleep [ 8617] Calling Party_StopParty() for partyId 0 [ 8617] Not uploading stats: no statWriteNeeded (cont 0) [ 8618] Deleting session gameSession (handle 00000001) [ 8619] Deleting 'gameSession' session [ 8619] Not uploading stats: no statWriteNeeded (cont 0) [ 8620] Clearing migration data [ 8620] Clearing migration data [ 8621] Working directory: D:\Games\iw4x_full_game [ 8626] Hitch warning: 7361 msec frame time [ 8626] Could not find menu 'main' [ 8627] Calling Party_StopParty() for partyId 0 [ 8627] Not uploading stats: no statWriteNeeded (cont 0) [ 8629] Clearing migration data [ 8630] Clearing migration data [ 8631] Calling Party_StopParty() for partyId 1 [ 8632] Clearing migration data [ 8633] Clearing migration data