Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - klafyvel

Pages: [1]
1
SFML projects / Re: [2D Platformer] Melting Saga
« on: April 30, 2016, 07:03:25 pm »
Ok, so I just downloaded the two archives and unzipped both them in the same directory as the MeltingSaga exectuable, but I still get the same error  :( .

[klafyvel@klafyvel bin]$ ./MeltingSaga
Data/GameScripts/ScrInit.lua:20: unexpected symbol near ';'
[string "protect("ID")"]:1: attempt to call global 'protect' (a nil value)
[string "protect("Private")"]:1: attempt to call global 'protect' (a nil value)
[string "protect("Public")"]:1: attempt to call global 'protect' (a nil value)
type mismatch
[string "table.insert(Core.ImportedLibs, "Console")"]:1: attempt to index global 'Core' (a nil value)
PANIC: unprotected error in call to Lua API (attempt to index a nil value)
 

Could you show me the content of your CMakeLists.txt :) ?

Of course :
(click to show/hide)

It is not really beautyfull but it works :P .

I also replaced every
#include <Windows.h>
to

#ifdef _WIN32
#include <Windows.h>
#endif

2
SFML projects / Re: [2D Platformer] Melting Saga
« on: April 30, 2016, 06:17:18 pm »
Hi ! Your project is nice.

However I tried to change the CMakeLists.txt and some other files in order to try MeltingSaga on my PC (I'm using Manjaro Linux). I'm able to compile, but I've strange errors when I try to run MeltingSaga :

[klafyvel@klafyvel MeltingSaga]$ ./MeltingSaga
Data/GameScripts/ScrInit.lua:20: unexpected symbol near ';'
[string "protect("ID")"]:1: attempt to call global 'protect' (a nil value)
[string "protect("Private")"]:1: attempt to call global 'protect' (a nil value)
[string "protect("Public")"]:1: attempt to call global 'protect' (a nil value)
type mismatch
[string "table.insert(Core.ImportedLibs, "Console")"]:1: attempt to index global 'Core' (a nil value)
PANIC: unprotected error in call to Lua API (attempt to index a nil value)
 

Any idea ?  :D

Pages: [1]