• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

Fixed [0.45.1]Script bug Ruins of Alph

After trying hours inside there and didnt found the "right" way and watching TheFlamingSpades video i wondered what I done wrong.
so I looked a bit inside the scripts, because I was interested what is happening inside there.

And I finally think I found the cause why I (and maybe many others cant solve this)

In the short version it will be said by this:
If you ever taken the "wrong" door inside the inner ruins (after the door in the wall on the side) you got a registered flag (first_door) that u never get away and which prevents you from getting on the right way anymore.

now in a more extended version:
I will call START the point after the door at the side of the wall
"x TRUE" will say flag x is registered, "x FALSE" flag is unregistered

first attempt u have:
START: first_door FALSE ; walk_through FALSE

way to solution (old man):
left door (alph09)
first_door FALSE; walk_throught FALSE
--> Warp to goal

now the case you took the other door on the right (wrong way)

CASE1 go through right passage, turn around and go through again:
right door (alph07)
first_door TRUE; walk_through FALSE
back right door (alph07)
first door TRUE; walk_through FALSE
--> START with first_door TRUE; walk_through FALSE

CASE2 go through right passage, go through the room and take the left passage back:
right door (alph07)
first_door TRUE; walk_through FALSE
go through room (alph08)
first_door TRUE; walk_through TRUE
left door (alph09)
first_door TRUE; walk_through FALSE
--> START with first_door TRUE, walk_through FALSE

CASE3 go through right passage, go through the room, but take the same (right) passage back:
right door (alph07)
first_door TRUE; walk_through FALSE
go through room (alph08)
first_door TRUE; walk_through TRUE
right door (alph07)
first_door TRUE; walk_through FALSE
--> START with first_door TRUE, walk_through FALSE

now you stand right back at the START but the script to lead you to the goal needs first_door FALSE and the only part in the script (alph09) that sets that back to FALSE will never be reached.


I hope i had explained it a way somebody can understand.
The best solution I see at the moment is to unregister both flags while entering through this door that leeds in this part of the ruins.
Then you cant solve it if you took the wrong door, but you can try again while entering again from the basic ruins.
 

Darkfire

Administrator
Administrator
P3D Developer
okay I found the bug
the checks in the alph09 script should be false not true
This will allow you to go through the right entrance, through the other room and back through the left door as the warp to the destination

fixed in next version
 
ah ok now I understand the sense of this 2 flags much more,
so the right way wasnt the direct way through the left door, it should be right door and walk through the room and then u find the goal if you activated both flags ;)
 

Darkfire

Administrator
Administrator
P3D Developer
ah ok now I understand the sense of this 2 flags much more,
so the right way wasnt the direct way through the left door, it should be right door and walk through the room and then u find the goal if you activated both flags ;)
right!
 
ok hope you will look here again. only another short thing:

at the end after helping the old guy u get an Item, but the message that or what you got is missing. I found out that its an everstone, but maybe it will be better if u add in "alph_oldman.dat" the line "@item.messagegive(112,1)" so everybody knows what he got.
Its a bit confusing if he says that you get something but it will happen in the dark.
 

Darkfire

Administrator
Administrator
P3D Developer
ok hope you will look here again. only another short thing:

at the end after helping the old guy u get an Item, but the message that or what you got is missing. I found out that its an everstone, but maybe it will be better if u add in "alph_oldman.dat" the line "@item.messagegive(112,1)" so everybody knows what he got.
Its a bit confusing if he says that you get something but it will happen in the dark.
ah
this was originally in the old script format which always displayed the message when getting an item
so there was some bumps in the conversion apparently :p
 
Top