asamy / forgottenmapeditor

Map editor written in lua for Open Tibia. Written with OtClient's framework.
Other
46 stars 20 forks source link

Error on load npc #26

Closed comedinha closed 11 years ago

comedinha commented 11 years ago

Get the error on load npc:

--> Loading NPCs...
ERROR: Unable to load module 'mapeditor_startup': LUA ERROR:
C++ call failed: cannot load creature buffer: Error document empty.
stack traceback:
    [C]: ?
    [C]: in function 'loadNpcs'
    /mapeditor_startup/startup.lua:44: in function 'startup'
    /mapeditor_startup/startup.otmod:8:[@onLoad]:2: in main chunk
    [C]: in function 'ensureModuleLoaded'
    /init.lua:42: in main chunk

This is loading a folder with *.xml?

asamy commented 11 years ago

Yes, it should iterate a whole folder and find *.xml files.

Also, would be nice if you could fix it and submit a pull request, since I'm kind of busy tonight.

comedinha commented 11 years ago

Oh, ok...