[Help] Scripting!

Results 1 to 4 of 4
  1. #1
    Member Gamefreakrjd is offline
    MemberRank
    Aug 2007 Join Date
    39Posts

    [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


  2. #2
    Elite Member KHDreams is offline
    Member +Rank
    Mar 2008 Join Date
    Heukelum, The NetherlandsLocation
    242Posts

    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)

  3. #3
    Member Gamefreakrjd is offline
    MemberRank
    Aug 2007 Join Date
    39Posts

    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?

  4. #4
    Elite Member KHDreams is offline
    Member +Rank
    Mar 2008 Join Date
    Heukelum, The NetherlandsLocation
    242Posts

    Re: [Help] Scripting!

    yeap, it should work then.. try an other rev then.



Advertisement