-
Member
[Help] Scripting!
:sq_yellow Does anyone know how to add scripts into an Ascent core? Apparently putting them into the "scripts" folder(Which i have in the same folder as my config files and .exe files) doesn't make them happen. I have a bunch of scripts to put in. : / Halp!
:2gunsfiring_v1: :smilie_xp
-
-
Elite Member
Re: [Help] Scripting!
Well mostly you got your folder with logon-server.exe, world-server.exe, realm-server.exe and voicechat-server.exe or something in that way...
In that folder should be a folder called "scripts" this folder is for .lua scripts. BUT you need the LUA engine script for it. If you're not sure, open script-bin folder and search for a file with in the name LUA. Those files has a extension of .dll
Well, back to the folder called "scripts". If you don't have this you have to create it. Simply by take a right-click, => New => Folder. Simply name it "scripts" (without the " offcourse) and put your .lua scripts in it.
If you got other script files like .cpp or .h or .dll do the next:
DLL: These belong to the script-bin folder.
CPP: These ar "RAW" Files of a script. You can edit it and compile it to make a script of it.
H: It's just a header file to close the registered CPP Files who's getting registered in setup.cpp
Tell me if im wrong (A) Actually i'm a bit new to C++ (that are the .cpp files and .h files)
-
Member
Re: [Help] Scripting!
Theres nothing i should be doing to make them work other than having them in the correct folders? It doesn't seem to use the scripts in the new core. I used it in the core it came with. Both were ascent.
I have all the .lua in the scripts folder(Which is in the same folder as the .exe files. And i have the .dll's in the scripts_bin folder.
Is that right?
-
Elite Member
Re: [Help] Scripting!
yeap, it should work then.. try an other rev then.