• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua luascript.h?? luascript.cpp??

AnarchGov

Member
Joined
Oct 3, 2011
Messages
263
Reaction score
6
I have been having errors regarding these two files as well as seeing alot of talk about them when looking for mods and scripts to add to my server. However, when i search my server for these files, i do not find them. Whats the deal? lol where can i find these files, and where do they go in my server? Im so confused..Ill rep+ you if you can help me.

Again the files are: luascript.h and luascript.cpp

Thanks Otland <3
 
Those are files of the source code. Those files compile into your .exe file (Windows) which you use to start the server.
What is the issue with those?
 
I am having an assertion error when i try to load my LMS mod. I have compiled my source code but i am not sure how to edit it or make it so the edits are actually used. Do i need to re-compile? Also, it says the error is on line 251. here is the code:

{
assert(m_scriptEnvIndex >= 0 && m_scriptEnvIndex < 21);
return &m_scriptEnv[m_scriptEnvIndex];
}

Idk any help would be awesome. Thanks.
 
There is something wrong with your mod file, that's no issue in the source files.
 
Back
Top