Xansta
Registered:1493075115 Posts: 31
Posted 1513776472
Reply with quote
#1
Hi,Summary: always put in an enemy or a neutral in your script or the science console client will crash when "I" is pressed. I started fiddling with generic meshes and kept encountering a science console crash when I pressed "I" to select the nearest object to scan. At first I thought it was related to the generic mesh, but then I experimented and found that it seems to be related to the lack of anything interesting to scan: the "list of objects to scan" is empty so the client crashes. Anyone else see this? Anyone reported it to Thom? I'm not sure this qualifies as a bug since it is caused by a script, but it seems like it is specific enough behavior that Thom might want to know. If this is the wrong forum, let me know. Test (client crash in science console when "I" pressed)<?xml version="1.0" encoding="UTF-8"?> <mission_data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Users\blah\AppData\Local\Artemis2.4.0\dat\Missions\mission.xsd"> <start> <set_variable name="plotMsg1" value="0"/> <create type="player" name="HMS Scrooge" player_slot="0" x="50000" y="0" z="5000" angle="180"/> </start> <event name="base1"> <if_variable name="plotMsg1" comparator="EQUALS" value="0"/> <create type="station" name="London" hullID="1000" sideValue="2" x="50000" y="0" z="50000"/> <set_variable name="plotMsg1" value="10"/> </event> <event name="generic mesh 1"> <if_variable name="plotMsg1" comparator="EQUALS" value="10"/> <create type="genericMesh" name="Barf" textureFileName="dat\aster1.png" meshFileName="dat\asteroid.dxs" x="50000" y="0" z="10000" angle="0" accent_color="1"/> <set_variable name="plotMsg1" value="20"/> </event> </mission_data> Test 2 (no client crash in science console when "I" pressed - enemy present)<?xml version="1.0" encoding="UTF-8"?> <mission_data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Users\blah\AppData\Local\Artemis2.4.0\dat\Missions\mission.xsd"> <start> <set_variable name="plotMsg1" value="0"/> <create type="player" name="HMS Scrooge" player_slot="0" x="50000" y="0" z="5000" angle="180"/> </start> <event name="base1"> <if_variable name="plotMsg1" comparator="EQUALS" value="0"/> <create type="station" name="London" hullID="1000" sideValue="2" x="50000" y="0" z="50000"/> <set_variable name="plotMsg1" value="10"/> </event> <event name="generic mesh 1"> <if_variable name="plotMsg1" comparator="EQUALS" value="10"/> <create type="genericMesh" name="Barf" textureFileName="dat\aster1.png" meshFileName="dat\asteroid.dxs" x="50000" y="0" z="10000" angle="0" accent_color="1"/> <set_variable name="plotMsg1" value="20"/> </event> <event name="Kralien1"> <if_variable name="plotMsg1" comparator="EQUALS" value="20"/> <create type="enemy" name="Devil" raceKeys="Kralien" hullKeys="small" x="25000" y="0" z="10000" angle="270"/> <set_variable name="plotMsg1" value="30"/> </event> </mission_data> Test 3 (no client crash in science console when "I" pressed - friendly present)<?xml version="1.0" encoding="UTF-8"?> <mission_data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Users\blah\AppData\Local\Artemis2.4.0\dat\Missions\mission.xsd"> <start> <set_variable name="plotMsg1" value="0"/> <create type="player" name="HMS Scrooge" player_slot="0" x="50000" y="0" z="5000" angle="180"/> </start> <event name="base1"> <if_variable name="plotMsg1" comparator="EQUALS" value="0"/> <create type="station" name="London" hullID="1000" sideValue="2" x="50000" y="0" z="50000"/> <set_variable name="plotMsg1" value="10"/> </event> <event name="generic mesh 1"> <if_variable name="plotMsg1" comparator="EQUALS" value="10"/> <create type="genericMesh" name="Barf" textureFileName="dat\aster1.png" meshFileName="dat\asteroid.dxs" x="50000" y="0" z="10000" angle="0" accent_color="1"/> <set_variable name="plotMsg1" value="20"/> </event> <event name="friendly1"> <if_variable name="plotMsg1" comparator="EQUALS" value="20"/> <create type="neutral" name="Peaceful" hullID="1504" x="75000" y="0" z="5000" angle="90"/> <set_variable name="plotMsg1" value="30"/> </event> </mission_data> Test 4 (client crash in science console when "I" pressed, but no generic mesh this time)<?xml version="1.0" encoding="UTF-8"?> <mission_data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Users\blah\AppData\Local\Artemis2.4.0\dat\Missions\mission.xsd"> <start> <set_variable name="plotMsg1" value="0"/> <create type="player" name="HMS Scrooge" player_slot="0" x="50000" y="0" z="5000" angle="180"/> </start> <event name="base1"> <if_variable name="plotMsg1" comparator="EQUALS" value="0"/> <create type="station" name="London" hullID="1000" sideValue="2" x="50000" y="0" z="50000"/> <set_variable name="plotMsg1" value="10"/> </event> </mission_data> Merry Christmas!
Mike Substelny
Administrator
Registered:1375273622 Posts: 2,990
Posted 1513865636
Reply with quote
#2
Interesting discovery, Xansta. Thanks for pointing it out to us.
__________________"The Admiralty had demanded six ships; the economists offered four; and we finally compromised on eight." - Winston Churchill
Fish Evans
Registered:1381528881 Posts: 383
Posted 1513966765
Reply with quote
#3
Indeed! good find, can I also throw a note in to the almighty bear of tech that you can select scan and gain information from cloaked ships useing the key binds to select.
bau.movement
Registered:1458745349 Posts: 98
Posted 1514301173
Reply with quote
#4
I've run into this before as well. Often I'll run a Lvl 1 Peacetime game when I'm setting up for a group so I can playtest and make sure that my DMX cues are working ahead of time. If there are no enemy targets the Nearest Enemy hotkey crashes the client.
__________________~ Cincinnati Shipyards ~ There are no problems you can't fix with a large enough hammer .--EYES ONLY: TSN Bergeron refit--