Jump to content

LE3 can't read files ?


YouGroove
 Share

Recommended Posts

Another great bug.

Nothing special, LE3 should run the level.

I modified some simple Lua code, than launching i got that problem ??

Better log needed , more precise ?

 

 

Here is the ouput panel log :

 

Executing "C:\LE3\spaceShooter\SpaceShooter\SpaceShooter.exe"...

Initializing Lua...

Executing file "C:/LE3/spaceShooter/SpaceShooter/Scripts/Error.lua"

Executing file "C:/LE3/spaceShooter/SpaceShooter/Scripts/App.lua"

Initializing OpenGL4 graphics driver...

OpenGL version 421

GLSL version 420

Device: AMD Radeon HD 7600M Series

Loading map "C:/LE3/spaceShooter/SpaceShooter"...

Setting breakpad minidump AppID = xxxx

Steam_SetMinidumpSteamID: Caching Steam ID: xxxxxxxxx [API loaded no]

Process Complete.

post-3271-0-00010200-1397406207_thumb.jpg

Stop toying and make games

Link to comment
Share on other sites

Yep, i see the directory and can explore it, LE3 just load the map and assets from that directory.

 

 

Problem found : it's code problem in App.lua:

I wanted to use some callback function to have the list of all entities loaded on the map.

 

--Load a map
   local mapfile = System:GetProperty("map","Maps/start.map")
  --  if Map:Load(mapfile)==false then return false end
   if Map:Load(mapfilename,"Callback")==false then return false end
   self.level = true

 

I just removde it and put standard code :

if Map:Load(mapfile)==false then return false end

And it worked fine.

 

I don't know why the Callbakc code i used from wiki havd that problem here ?

http://leadwerks.wikidot.com/wiki:entityindexer

Whatever i'll find another solution.

 

 

Thread can be closed.

 

 

Thread can be closed.

Stop toying and make games

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...