OctaForge/OF-Engine

We need a working tutorial example

court-jus opened this issue · 2 comments

I've tried the map script from the wiki page "Your first map script" and it craches the client (up-to-date GIT version).

It has syntax error at line 25 that should be :

), "fpsent")

Then it complains about not finding "plugins" so I changed the line 5 to

library.use("10")

But now here is the error I get :

...
connected to server
Login was successful.

[[WARNING]] - Not applying position update for client 1, reasons: 0,0,-1 (real:-1)
[[ERROR]] - ./data/library/core/base/base_json.lua:414: Unexpected character at Line 1 character 2: g (103) when reading array ({ or [ or ' or " or number or boolean or null expected)
Context: 
[game_manager]
 ^

[[ERROR]] - invalid class: teleporter

unknown entity type "extent"
[[ERROR]] - invalid class: teleporter

[[ERROR]] - ./data/library/core/base/base_ent_store.lua:310: attempt to call local '_class' (a nil value)

OF_Client_Linux-i686: intensity/messages.cpp:1217: virtual void MessageSystem::ExtentCompleteNotification::receive(int, int, ucharbuf&): Assertion `entity != __null' failed.
Aborted
q66 commented

yes, there have been changes, fix will come with next release.

q66 commented

WiP; closing