Unit Possession crash

Unit Possession crash

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Unit Possession crash

Post by Maelstrom »

Was playing a game with a team mate, sharing a comm. I build a unit to go attack with, and we both accidentally possess the unit at the same time. Spring then crashes. I tried again with another map, and a different person, with me hosting this time, and it crashed again.
User avatar
munch
Posts: 311
Joined: 26 May 2005, 20:00

Re: Unit Possession crash

Post by munch »

Maelstrom wrote:Was playing a game with a team mate, sharing a comm. I build a unit to go attack with, and we both accidentally possess the unit at the same time. Spring then crashes. I tried again with another map, and a different person, with me hosting this time, and it crashed again.
Just to clarify, when you say "possess" do you mean "select"? Were you both on a LAN or playing over the internet? I'm guessing that there's a race condition here somewhere.

Munch
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

Sorry, I mean the FPS mode. Where you go in and control the unit. Its called Possessing in the wiki, so thats what I called it.

I was playing a game with someone sharing a comm with me. He went in the FPS mode on a tank to have a drive round. Just to see what happened, I jumped in the tank FPS mode as well. Spring crashed.

Playing online game, XTA, Core, possessed a lvl1 tank.
Ive also had it happen with a Core lvl1 kbot and an Immolator.

Just a boolean in the units variables, CurrentlyPossessed or something, that stops people from taking control of a unit if its currently being driven.
User avatar
munch
Posts: 311
Joined: 26 May 2005, 20:00

Post by munch »

Ah OK now I know what you mean. I don't think a boolean flag will solve it (though it will help) unless you have a single central flag on the server - you'll get a race condition: if you both try to jump in at the same time on your separate machines, they'll both send each other messages saying that you've jumped in and that the flag needs setting, and you'll end up with the same problem. Still it's far less likely to happen since you'd have to press C at exactly the same time to make it happen.

Cheers

Munch
Post Reply

Return to “Help & Bugs”