Jump to content
  • 0

Tiberian Sun crashing on start when using trigger (new mp-map made with FinalSun)


GeneralNoob

Question

Hi,

I'm currently trying to create a map and have problems running it with the desired triggers. After updating Final Sun it's new that the triggers not only don't work, but cause an exception when loading the game with my map in multiplayer (skirmish or online).

It only happens on the map I created myself, and only when I use a "change house" trigger on a neutral gdi -tower. As long as the building does not have the trigger, the game does not crash. With both the building and the trigger in the map, but not using the trigger, everything works fine - but as soon as I edit the building to use the tag, it does not load any more. What can I do against that (aside from not using triggers)? How can I debug such exceptions?

Error code: EXCEPTION_ACCESS_VIOLATION

See the attached except.txt, spawn.ini and spawnmap.ini for details, I'll happily provide further info - what do you need to help me?

except.txt

spawn.ini

spawnmap.ini

Edit: Further tests show that a map reaveal trigger does not work either, but at least will not crash the game.

Switching the event of the "14 change house" trigger from " 8 any event" to "13 elapsed time" only helps for a second, but then crashes too. The time to crash does not increase with greater values for the elapsed time parameter (tried 2, 5, 10 and 30).

Using houses in the mp map as described here works. I don't like the solution though, since the players owning stuff are mandatory that way (crash if their slot is not used). Or will I encouter the same problem with a trigger giving stuff to a non-existant player?

Edited by GeneralNoob
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
On 5/24/2018 at 6:22 PM, GeneralNoob said:

Hi,

I'm currently trying to create a map and have problems running it with the desired triggers. After updating Final Sun it's new that the triggers not only don't work, but cause an exception when loading the game with my map in multiplayer (skirmish or online).

It only happens on the map I created myself, and only when I use a "change house" trigger on a neutral gdi -tower. As long as the building does not have the trigger, the game does not crash. With both the building and the trigger in the map, but not using the trigger, everything works fine - but as soon as I edit the building to use the tag, it does not load any more. What can I do against that (aside from not using triggers)? How can I debug such exceptions?

Error code: EXCEPTION_ACCESS_VIOLATION

See the attached except.txt, spawn.ini and spawnmap.ini for details, I'll happily provide further info - what do you need to help me?

except.txt

spawn.ini

spawnmap.ini

Edit: Further tests show that a map reaveal trigger does not work either, but at least will not crash the game.

Switching the event of the "14 change house" trigger from " 8 any event" to "13 elapsed time" only helps for a second, but then crashes too. The time to crash does not increase with greater values for the elapsed time parameter (tried 2, 5, 10 and 30).

Using houses in the mp map as described here works. I don't like the solution though, since the players owning stuff are mandatory that way (crash if their slot is not used). Or will I encouter the same problem with a trigger giving stuff to a non-existant player?

Yeah try to make the owner of the trigger to be Neutral. i'm not sure if gdi,special or nod work,..  i know Spawn1/8 works too, but dont know about revealing map, just try Neutral.

 

Yeah u need triggers to make the multiplayer own their buildings, if u just turn them a spawn owner, it wont work if the players arent present. I made this in my boat map, look at the triggers in my map "Harbor wars [vxls] "  /map 6af6ecacc7d236ad48fbf793bbf93c51c88770fc   (type that code in console)

its a good example of how to do it

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...