ThePix / quest

Tutorials and Libraries for quest 5
14 stars 11 forks source link

Issues importing any of these libraries into the latest version of Quest #18

Open ged12345 opened 3 years ago

ged12345 commented 3 years ago

Hey there,

I'm a coder and I've followed the instructions for the majority of the Libs you have included her and they all result in errors in the latest version of Quest for Windows.

The most prevalent error is something like 'cannot find _objectEditor' or variations on this theme. I'm a coder and tried to find why this might be happening, but I can find an _objectEditor object in the main core library. Sadly, I don't know library importing really works and don't have time to scour the source code.

Is anyone else having these issues? Any ideas on how to fix these issues?

Cheers, ged12345

ThePix commented 3 years ago

Quest has not been updated for a few years, so it is unlikely to be an issue with the version. I am using 5.8.0, build 5.8.6809.15164. I just checked a game with ConvLib and LiftLib, and it works okay.

It might be world reinstalling Quest? Though presumably it works fine without these libraries, so I am doubtful that would work.

It is weird, because the built in libraries use "_objectEditor". This is the top of CoreObjectEditorRoom.aslx:

<library>
  <tab>
    <parent>_ObjectEditor</parent>
    <caption>[EditorObjectRoomRoom]</caption>
    <mustnotinherit>editor_object</mustnotinherit>

Why does it work for them, and not the libraries?

Could you upload your game file? Or a slimmed down version that still has the error?

ged12345 commented 3 years ago

Thanks for the quick reply :)

I'm using the latest Quest build from the TextAdventure website. I also tried the last release on GitHub.

I re-installed Quest twice, just in case, trashed my game file etc. I literally just add the imports to the Additional Libraries(?) section and receive those errors as the Quest editor refreshes.

As I said, this is just a new game file so I don't think sending it would do much good. Maybe I'll try uninstalling, clearing caches/temporary directories, etc. Maybe it's somehow an OS issue. This is on Windows 10, btw.

Really great libraries. I'm looking forward to fixing this issue and maybe customsing them :)

ged12345 commented 2 years ago

Okay, I've narrowed down where the issue is occurring: I'm attempting to use the Game Book type of game rather than the Text Adventure type. This is why I was trying to include your libraries. However, I'd still like to be able to have use a combat system, much like a Fighting Fantasy novel.

I understand now that these two gam types probably use different libraries etc. and your library isn't designed for this usage. Any idea of how I can implement this sort of in a Game Book type project (Choose Your Own Adventure style with luck testing, fighting in rounds etc.)

ThePix commented 2 years ago

The simple answer is that you cannot. You need a world model - items and locations need to exist in some kind of relationship to each other.

Have you considered using standard Quest, but disabling the command box? The player can move around, interact with items through the side pane.