Open Radekj1 opened 3 months ago
slmod is outdated. I went in code and started removing things [parts of the code, files...] FPS went from 0-10 to around 50... - on pretense Syria with Dynamic Spawning. [Send to me by a friend] and errors disappeared. [A lot of units, background movement - dedicated server - I really h**e how DCS is unable to utilise cores and threads properly...] Still working around to keep only auto pause and start + admin banning.
2024-07-28 19:14:27.559 INFO Scripting (Main): event:weapon_type=9243142,initiatorPilotName=Su-25T,target_coalition=2,linked_event_id=6282,targetMissionID=1000599,target_ws_type1=2,initiator_object_id=17399809,target=Soldier M4 GRG,target_object_id=17179137,targetPilotName=Soldier M4 GRG,type=kill,target_unit_type=Soldier M4 GRG,t=3536.872,initiator_unit_type=Su-25T,event_id=6291,weapon=30mm AP,initiator_ws_type1=1,initiatorMissionID=1267,initiator_coalition=1, 2024-07-28 19:14:27.559 INFO Scripting (Main): event:type=score,initiatorPilotName=Su-25T,t=3536.872,linked_event_id=6291,initiator_unit_type=Su-25T,event_id=6292,initiator_object_id=17399809,amount=1,comment=ground,initiator_coalition=1,initiator_ws_type1=1,initiatorMissionID=1267, 2024-07-28 19:14:27.559 ERROR Lua::Config (Main): Call error world.onEvent:[string "-- slmod world events hook..."]:481: Weapon doesn't exist stack traceback:
2024-07-28 19:14:30.666 INFO SCRIPTING (Main): PlayerTracker - state saved
2024-07-28 19:11:50.446 INFO Scripting (Main): event:weapon_type=9243142,initiatorPilotName=Su-25T,target_coalition=2,linked_event_id=6053,targetMissionID=1000600,target_ws_type1=2,initiator_object_id=17399809,target=Soldier M4 GRG,target_object_id=17179393,targetPilotName=Soldier M4 GRG,type=kill,target_unit_type=Soldier M4 GRG,t=3379.797,initiator_unit_type=Su-25T,event_id=6056,weapon=30mm AP,initiator_ws_type1=1,initiatorMissionID=1267,initiator_coalition=1, 2024-07-28 19:11:50.446 INFO Scripting (Main): event:type=score,initiatorPilotName=Su-25T,t=3379.797,linked_event_id=6056,initiator_unit_type=Su-25T,event_id=6057,initiator_object_id=17399809,amount=1,comment=ground,initiator_coalition=1,initiator_ws_type1=1,initiatorMissionID=1267, 2024-07-28 19:11:50.446 ERROR Lua::Config (Main): Call error world.onEvent:[string "-- slmod world events hook..."]:481: Weapon doesn't exist stack traceback:
8:32:50 PM.490 ERROR LUA::CONFIG Call error world.onEvent:[string "-- slmod world events hook..."]:452: Static doesn't exist stack traceback: C: ? C: in function 'getID' [string "-- slmod world events hook..."]:452: in function <[string "-- slmod world events hook..."]:426>. 8:32:50 PM.840 ERROR LUA::CONFIG Call error world.onEvent:[string "-- slmod world events hook..."]:452: Static doesn't exist stack traceback: C: ? C: in function 'getID' [string "-- slmod world events hook..."]:452: in function <[string "-- slmod world events hook..."]:426>. 8:32:52 PM.868 ERROR LUA::CONFIG Call error world.onEvent:[string "-- slmod world events hook..."]:452: Static doesn't exist stack traceback: C: ? C: in function 'getID' [string "-- slmod world events hook..."]:452: in function <[string "-- slmod world events hook..."]:426>. 8:32:54 PM.881 ERROR LUA::CONFIG Call error world.onEvent:[string "-- slmod world events hook..."]:452: Static doesn't exist stack traceback: C: ? C: in function 'getID' [string "-- slmod world events hook..."]:452: in function <[string "-- slmod world events hook..."]:426>. ....
8:46:19 PM.674 INFO SCRIPTING event:weapon_type=28313684,initiatorPilotName=JF-17,target_coalition=2,linked_event_id=0,targetMissionID=1000249,target_ws_type1=2,initiator_object_id=17220353,target=Soldier M4 GRG,target_object_id=17140993,targetPilotName=Soldier M4 GRG,type=bda,target_unit_type=Soldier M4 GRG,t=684.42,initiator_unit_type=JF-17,event_id=1941,weapon=LS-6-250,initiator_ws_type1=1,initiatorMissionID=1229,initiator_coalition=1, 8:46:19 PM.674 ERROR LUA::CONFIG Call error world.onEvent:[string "-- slmod world events hook..."]:466: attempt to call method 'getName' (a nil value) stack traceback: C: in function 'getName' [string "-- slmod world events hook..."]:466: in function <[string "-- slmod world events hook..."]:426>. 8:46:21 PM.245 INFO SCRIPTING GCI - reporting to 0 players 8:46:22 PM.264 INFO SCRIPTING event:weapon_type=28313684,initiatorPilotName=JF-17,target_coalition=2,linked_event_id=1940,targetMissionID=1000249,target_ws_type1=2,initiator_object_id=17220353,target=Soldier M4 GRG,target_object_id=17140993,targetPilotName=Soldier M4 GRG,type=kill,target_unit_type=Soldier M4 GRG,t=687.012,initiator_unit_type=JF-17,event_id=1945,weapon=LS-6-250,initiator_ws_type1=1,initiatorMissionID=1229,initiator_coalition=1, 8:46:22 PM.264 INFO SCRIPTING event:type=score,initiatorPilotName=,t=687.012,linked_event_id=1945,initiator_unit_type=,event_id=1946,initiator_object_id=17220353,amount=1,comment=ground,initiator_coalition=-1,initiator_ws_type1=200,initiatorMissionID=_17220353, 8:46:22 PM.264 ERROR LUA::CONFIG Call error world.onEvent:[string "-- slmod world events hook..."]:466: attempt to call method 'getName' (a nil value) stack traceback: C: in function 'getName' [string "-- slmod world events hook..."]:466: in function <[string "-- slmod world events hook..."]:426>. 8:46:22 PM.264 ERROR LUA::CONFIG Call error world.onEvent:[string "-- slmod world events hook..."]:466: attempt to call method 'getName' (a nil value) stack traceback: C: in function 'getName' [string "-- slmod world events hook..."]:466: in function <[string "-- slmod world events hook..."]:426>. 8:46:22 PM.266 INFO SCRIPTING event:weapon_type=28313684,initiatorPilotName=JF-17,target_coalition=2,linked_event_id=1938,targetMissionID=1000253,target_ws_type1=2,initiator_object_id=17220353,target=Soldier stinger,target_object_id=17142017,targetPilotName=Soldier stinger,type=kill,target_unit_type=Soldier stinger,t=687.018,initiator_unit_type=JF-17,event_id=1949,weapon=LS-6-250,initiator_ws_type1=1,initiatorMissionID=1229,initiator_coalition=1, 8:46:22 PM.267 INFO SCRIPTING event:type=score,initiatorPilotName=,t=687.018,linked_event_id=1949,initiator_unit_type=,event_id=1950,initiator_object_id=17220353,amount=5,comment=ground,initiator_coalition=-1,initiator_ws_type1=200,initiatorMissionID=_17220353, 8:46:22 PM.267 ERROR LUA::CONFIG Call error world.onEvent:[string "-- slmod world events hook..."]:466: attempt to call method 'getName' (a nil value) stack traceback: C: in function 'getName' [string "-- slmod world events hook..."]:466: in function <[string "-- slmod world events hook..."]:426>. 8:46:22 PM.267 ERROR LUA::CONFIG Call error world.onEvent:[string "-- slmod world events hook..."]:466: attempt to call method 'getName' (a nil value) stack traceback: C: in function 'getName' [string "-- slmod world events hook..."]:466: in function <[string "-- slmod world events hook..."]:426>. 8:46:22 PM.848 INFO SCRIPTING event:type=engine startup,initiatorPilotName=UH-60A,t=687.6,initiator_unit_type=UH-60A,initiator_object_id=17443841,linked_event_id=0,event_id=1954,initiator_coalition=2,initiator_ws_type1=1,initiatorMissionID=604,
Affected planes: AV-8, F16, SU-25 and more. Cause: getname, getID, GetDesc, Doesn't fix: Disabling stat tracker, doesn't do anything. FPS: 0-40 - dedicated server, 1 player, mission - modified pretense Syria with Dynamic Spawn.