Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CRITICAL BUG, HELP very much wanted
Darkfire Offline
Senior Member

Posts: 371
Threads: 22
Joined: May 2014
Reputation: 15
Bug  CRITICAL BUG, HELP very much wanted

Hello guys (Is there anybody still here?).

For the third time I've received some very disconcerting bug reports about my first mod, Chromanin (LINK), and I'm in a knot here. I can't think of anything that might fix the bug.

The game seems to load a wrong map; After a huge chunk of the mod the player comes back to a previously visited location (map name: "sypialnia"). Leaving it should lead to a hub level (map name: "Level2")(which has also been previously visited). However for some people a different level loads (map name: "SecretLevel1"), a one that mustn't be revisited - it might render the mod unfinishable.

Obviously I have beta-tested this level countless times (seriously, I'm really fed up with it), and on my computer it always works. The level exit is a LevelDoor which points to the correct map.

Here are the first-hand descriptions of the phenomena:
Spoiler below!
"So I exited off, but after loading Outside map, the game loaded me into Dungeons without any remorse. I tried to repeat this location again, but with same result. My friend was playing with me on another computer and he had this bug too. I don´t know what´s just happened, but it was really annoying, we spend probably an hour to resolve this and finally I managed to fix this by using another bug in forest."
I can't really tell how they fixed that, as they claim that they have fixed the bug by using a completely differet level (like, what the hell ???).

Spoiler below!
"Yep that's right i leaved through the red door and then im in the dungeon not in the outside area. Im going to replay the mod maybe its a one time thing. " (No further comments)

Spoiler below!
"So i finished the Underworld parts and now im back in Aiden apartment but when im try to exit from the apartment the game teleport me back in to the doungeons. I dont now whats the problem i have the 1.3 patch and everything"

Please, help me with this if you have any ideas. I'm kinda in despair with this one.

10-06-2017, 09:05 PM
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
RE: CRITICAL BUG, HELP very much wanted

Are any of your ChangeMap() scripts which dictate which map to go to, handled by a string variable? At some point in time, you may cause a logic error if you don't do certain requirements.

For example, level_1 can go to level_2 or level_3 via the same door, because it is a magic door. The same thing happens on level_2, where it can take you to 4 or 5. Setting the variable to 2, but in level_2, not doing a certain objective, or doing one multiple times, could end up taking you to any level.

Think about how it's possible for the bug to occur; map name conflicts, variables, Level Editor entity settings, etc.

You should get a hold of their hpl.log files after the bug occurs. You can get a rough idea of what they did and how they ended up where they ended up.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 10-07-2017, 04:52 AM by Romulator.)
10-07-2017, 04:48 AM
7heDubz Offline
Posting Freak

Posts: 1,329
Threads: 40
Joined: Feb 2013
Reputation: 41
RE: CRITICAL BUG, HELP very much wanted

I still open up the new posts tab every single time I open my browser tbh.

10-07-2017, 08:45 AM
Darkfire Offline
Senior Member

Posts: 371
Threads: 22
Joined: May 2014
Reputation: 15
RE: CRITICAL BUG, HELP very much wanted

Level editor (door) entity setting is 100% correct.
Map name conflict might occur, but with different stories only (noone has ever reported this though).

I'm not sure what you mean in the second paragraph. Are you implying that the entity settings of a LevelDoor can change themselves ?

I'll try to get a hold of an hpl.log. However that would require the players to replay the mod, which might be a little hard to convince them to do (as I mentioned, I can't recreate the bug on my computer).

I thought of using ClearSavedMaps(); This would however break the game, because Level2 is used throughout the whole story and deleting it's save might be problematic.
Similar case with sypialnia.map. If I used that script, the player would be trapped inside that map.

I can throw in that the map layout looks like this:

[Image: PW6h7xI.png]

Don't mind the red line, I'll explain that more clearly here. Maps are in this order:
1. Intro
2. First visit to sypialnia.map
3. First visit to Level2 (the Hub)
4. Explore Level3 and Shedlevel, while going in& out of Level2(Hub)
5. Enter SecretLevel1.map via script
6. Complete about 4 maps inbetween
7. Go back to sypialnia.map via script
8. Leave sypialnia.map via LevelDoor
9. Should end up in Level2, end up in SecretLevel1.map instead

Here I should mention that in an old version (the one which the people I quote played) nothing stopped the player from entering SecretLevel1.map again after completing it.

Now there's a GlobalVariable, which is set to 1 when player enters a certain area in SecretLevel1, which blocks the ChangeMap script from Level2.

(This post was last modified: 10-07-2017, 02:27 PM by Darkfire.)
10-07-2017, 02:26 PM
Mudbill Offline

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
RE: CRITICAL BUG, HELP very much wanted

What if you rename the maps to something completely different? Perhaps try to get ahold of someone who's had this problem so you can test it.

10-10-2017, 09:09 AM

Users browsing this thread: 1 Guest(s)