Page 1 of 1
1.2.2 ENDLESS AMOUNT OF CLONES SPAWNING
Posted: Fri Jun 20, 2014 10:00 am
by Mankeli
So, I'm in Rak'Shor pride and suddenly there is like 4 of my characters that keep multiplying and also the Rotting Titan and other monsters that keep multiplying as well. Before this happened the game froze for a long time. And now, when I try to move, the control of my character is switch to a clone so I'm constantly switching between characters and it's f u c k i n g awful and completly unplayable.
So how do I get out of this mess? This is on insane so I've invested more time than usual and really don't feel like just abandoning this guy.
Re: 1.2.2 ENDLESS AMOUNT OF CLONES SPAWNING
Posted: Fri Jun 20, 2014 11:46 am
by HousePet
Kill Rotting Titan ASAP!
I'll code dive to see if I can locate the issue. I thought it was resolved?
Re: 1.2.2 ENDLESS AMOUNT OF CLONES SPAWNING
Posted: Fri Jun 20, 2014 11:56 am
by Mankeli
Ok, I hadn't heard of this but I came to the same conclusion that RT was the cause. I managed to kill him and proceeded to humilate Rak'Shor. Nothing, except for that level which still has at least one clone, seems broken.
Thanks!
Re: 1.2.2 ENDLESS AMOUNT OF CLONES SPAWNING
Posted: Fri Jun 20, 2014 12:35 pm
by HousePet
I can't see what is wrong with things, but it does seem bit overly complicated.
Currently it moves where the map thinks an actor is.
Then it calls move() on the actor, which tells the actor it is in a new spot, and then tells the map the actor is no longer in the old spot and is now in the new spot.
So that last bit is being done twice.
But I can't see how that would upset things.
Anyway, maybe just grab the actor and set its x and y manually, rather than using move()?
Re: 1.2.2 ENDLESS AMOUNT OF CLONES SPAWNING
Posted: Fri Jun 20, 2014 12:48 pm
by Marson
There's a warning in the code to NOT do that. Always use move() or else weird things can happen. I've created clones by changing the x.y coords via console.
These kind of clones happen when the tile's reference to the actor isn't removed, so you have two tiles that think the actor is standing on it, while the actor itself always points to just one of them.
Re: 1.2.2 ENDLESS AMOUNT OF CLONES SPAWNING
Posted: Sat Jun 21, 2014 2:20 am
by HousePet
I'm aware of the warning, but in this case the entire tile inventory is being relocated, so using move() doubles up on telling the map that the actor has moved.
Another option would be to use a move() and use similar functions to relocate the rest of the tile inventory instead of copying it directly.
Re: 1.2.2 ENDLESS AMOUNT OF CLONES SPAWNING
Posted: Sat Jun 21, 2014 7:36 am
by Zireael
HousePet wrote:I'm aware of the warning, but in this case the entire tile inventory is being relocated, so using move() doubles up on telling the map that the actor has moved.
Another option would be to use a move() and use similar functions to relocate the rest of the tile inventory instead of copying it directly.
I imagine move() should, in an ideal world, already do what you're hinting at, HP.
Re: 1.2.2 ENDLESS AMOUNT OF CLONES SPAWNING
Posted: Mon Jun 23, 2014 12:06 am
by darkgod
fixed