[duplicate] damaging a player by their changed TID

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
chopkinsca
Posts: 183
Joined: Thu Dec 29, 2005 8:09

[duplicate] damaging a player by their changed TID

Post by chopkinsca »

I've found something odd that only happens in a new game when the noskillmenu is used. I have a script that damages the player according to their changed tid (tid changed in an enter script). It works fine if I warp to any map and use it, but if I start a new game, it doesn't work properly.

First I was using damagething, and that simply didn't damage the player. Using thing_damage instead, gzdoom now crashes whenever it tries to damage the player.

The attached map should clear up anything I didn't explain well. The switch in the first map takes you to the second level. The second map changes the player's tid in an enter script, and the switch does a thing_damage on the player's new tid.

If you warp to the second map in any way, or change the mapinfo to start the episode on map02, the crash doesn't happen.
Attachments
dmgcrash.zip
(1.46 KiB) Downloaded 114 times
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Anything concerning assigning a Tid to the player is broken in 1.0.10.

See here. Since this is most likely the same problem I am closing this report as there is nothing I can do for now.
User avatar
Cutmanmike
Posts: 482
Joined: Sat Sep 03, 2005 23:34

Post by Cutmanmike »

Oh doh, this explains alot of things.
Locked

Return to “Closed Bugs”