When I update a script do I need to recompile everything? menu

User Tag List

Results 1 to 4 of 4
  1. #1
    Solkazo's Avatar Member
    Reputation
    2
    Join Date
    Jul 2016
    Posts
    4
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    When I update a script do I need to recompile everything?

    So I am new to the emulation scene for WoW and successfully compiled my first server. I want to dabble in a little C++ and see what I can achieve (bug fixing and boss scripting).

    I was wondering if every time I change a little bit of code, Do I have to recompile it all again or can I compile just the script somehow?

    Thank you

    When I update a script do I need to recompile everything?
  2. #2
    brotalnia's Avatar Elite User
    Reputation
    498
    Join Date
    Apr 2009
    Posts
    473
    Thanks G/R
    26/301
    Trade Feedback
    0 (0%)
    Mentioned
    14 Post(s)
    Tagged
    2 Thread(s)
    Yes, you will need to recompile it. Only lua scripts don't require compilation.

  3. Thanks Solkazo (1 members gave Thanks to brotalnia for this useful post)
  4. #3
    Harambeqt's Avatar Elite User CoreCoins Purchaser
    Reputation
    333
    Join Date
    Mar 2010
    Posts
    1,206
    Thanks G/R
    9/29
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could script it in lua and use a lua engine, then rewrite it in c++ and code it into the core when the script is ready for show.
    Support the #1 WoW Emulator:
    http://arcemu.org/
    https://github.com/arcemu/arcemu
    - - -

  5. #4
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    The performance difference between Lua and C++ on modern hardware is negligible these days in my opinion. Especially if you use the JIT implementation of Lua and the bulk of the emulator is running with C++.

    Using a scripting language allows you to speed up development of game content significantly, and this is what it should be used for. You can prototype stuff in there fast and easily but core pieces of functionality make more sense in the emulator with the rest of the server logic.

    When I was still doing WoW emulation I would have a dropbox folder sync'd up to my dedicated server that was inside the Lua scripts folder. I could then code in notepad++ directly in the dropbox folder from my host machine, save, reload lua engine with in game command, and the changes were active immediately. Git to then version the code as each new measurable chunk of work was completed.

    Alternatively, code a C++ system into the emulator that has the ability to reload dynamically linked modules (DLL's). You would have to have some sort of plugin API to integrate with the server with these plugins, like the Lua C API.

Similar Threads

  1. [C++ Script] Trying To Update An Outdated Script, Help Is Needed!
    By bossrogue in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 12-07-2012, 02:15 AM
  2. What scripting do i need for spawning Sunwell?
    By Nubbadon in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 06-19-2008, 03:38 PM
  3. [HELP] Getting errors when compileing ascent trunk scripts
    By Fronix in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 03-25-2008, 04:10 PM
  4. Simple Lua Script , not working need help!
    By Arugos in forum World of Warcraft Emulator Servers
    Replies: 16
    Last Post: 12-30-2007, 02:06 PM
  5. New use for script bug (YOU NEED TWO ACCOUNTS)
    By citykid199 in forum World of Warcraft Exploits
    Replies: 25
    Last Post: 10-03-2007, 05:46 PM
All times are GMT -5. The time now is 01:18 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search