Page 1 of 1

Reality has shifted...

Posted: Tue May 15, 2012 3:50 pm
by kazak
The temporal-rift-vortex-whatsit's in the new versions may need a look at. Specifically, the spell that lets them swap places with you on every turn while you're within a certain radius of them, with a dialog of something like "reality has shifted."

Earlier I was playing an antimagic berserker (so no teleport or phase door), only one vortex left on the first level of the temporal rift, and that vortex apparently spawned in a tile that was enclosed on all sides by the impassable terrain. Because it was totally blocked off, I couldn't kill it, yet neither could I get away as it kept swapping places with me on every turn, placing me in the blocked tile on every other turn. Movement infusion allowed me one turn of movement before being swapped.

I did actually manage to get away eventually because the exit was nearby, but it required no less than 15 minutes of repeatedly tapping the "5" key until I was finally shifted within one space of the exit and freedom. Had the exit not been nearby, I'm assuming I'd have to abandon the character since rod of recall doesn't work there, right?

Anyway, may just be a really rare occurrence considering it requires a specific confluence of factors (no teleport options, no other vortexes around, etc...), but these kind of "stuck" situations probably should be worked out. Maybe have them shift you around to random tiles on each turn rather than returning to the same (blocked) one, build up resistance to the shifting over time, etc....

Re: Reality has shifted...

Posted: Tue May 15, 2012 4:49 pm
by edge2054
hehe.. the rift was changed to prevent this sorta thing because the old random teleport would have landed you in one of these pockets with zero way out.

I cut the frequency of the swap down in the SVN and put a spell hit check on it. I have a clever idea for preventing pocket Teluvorta from swapping I'll test out today and send to Darkgod.

Re: Reality has shifted...

Posted: Tue May 22, 2012 11:55 am
by PowerWyrm
In one of my recent games, the exit was generated in one of those unreachable "pockets". Unfortunately, this meant deleting the char, as there would be no way to exit the level. Any chance to fix this?

Re: Reality has shifted...

Posted: Tue May 22, 2012 1:24 pm
by darkgod
Uh are you absolutly sure ? the zone is marked as requiring connectivity, a A* algorithm runs to make sure the exit is reachable from the entrance, it's literally impossible for this to fail unless the zone was "quaked" or somehow changed. Still got the savefile ?

Re: Reality has shifted...

Posted: Tue May 22, 2012 3:15 pm
by edge2054
There's no anomaly quake either (because of issues like this I avoided making something like that).

I spaced out coding the find free grid check into the teluvorta swap, I'll have to do it when I get back from Colorado. But the basic idea would be for the swap to make sure there's a free grid around it before the swap went through and if there's not maybe have the monster do a random teleport to free itself from the pocket.

Re: Reality has shifted...

Posted: Wed May 23, 2012 11:36 am
by PowerWyrm
darkgod wrote:Uh are you absolutly sure ? the zone is marked as requiring connectivity, a A* algorithm runs to make sure the exit is reachable from the entrance, it's literally impossible for this to fail unless the zone was "quaked" or somehow changed. Still got the savefile ?
Nope I deleted the char.
The zone was 1x1, almost at the bottom right of the screen, so maybe that's the reason.

Re: Reality has shifted...

Posted: Wed May 23, 2012 12:09 pm
by darkgod
Na it cant fool the algorithm, are you sure there was no diagonals available ?

Re: Reality has shifted...

Posted: Fri May 25, 2012 11:00 am
by PowerWyrm
Pretty sure. Well if somebody manages to reproduce it...