Linux port -- need a bugfix

This forum is for discussion about KQII:RTS. Hints, tips, opinions, etc.

Moderators: adeyke, VampD3, eriqchang, Angelus3K

Post Reply
Message
Author
bero
Peasant Status
Posts: 9
Joined: Wed May 11, 2011 6:07 pm

Linux port -- need a bugfix

#1 Post by bero » Sun Aug 30, 2026 1:51 am

Hi,
I'm trying to get 3.1c running on Linux natively -- it works very well so far, until the point I go to the castle, take the stairs on the right, exit the dining room on the right, and then go down the stairs.
At that point, the new room briefly shows, but Graham instantly returns to the previous room, because the coordinates on which he enters the new room are within the exit coordinates for triggering a walk up.

I can probably "fix" this by adding a workaround inside Linux AGS code, but it would be better to fix the actual game code (this is probably going to hit the other platforms as well when they move to newer AGS versions).

bero
Peasant Status
Posts: 9
Joined: Wed May 11, 2011 6:07 pm

Re: Linux port -- need a bugfix

#2 Post by bero » Sun Aug 30, 2026 5:13 am

I've worked around the problem by patching current AGS: https://github.com/OpenMandrivaAssociat ... gger.patch

But it would still be nice to see a proper fix in the game so such accumulations of workarounds inside the engine won't be necessary.

In the room **84** stairs-trigger handler (`room84.asc` around line 44), stop using (221, 36). Use the same point the after-fade-in walk already aims at:

```ags
player.ChangeRoom(80, 250, 70);
```

`(250, 70)` is already inside the walkable stair, **31 pixels below** TopEdge 39.

User avatar
Angelus3K
Vampiric Moderator
Posts: 3988
Joined: Wed Feb 05, 2003 6:54 am
Location: Newcastle, UK
Contact:

Re: Linux port -- need a bugfix

#3 Post by Angelus3K » Tue Sep 01, 2026 1:00 pm

Thanks Bero. Will pass this info on to the devs.

Post Reply