How can i apply LUA++ patch to my Arc Emu ? menu

User Tag List

Results 1 to 11 of 11
  1. #1
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How can i apply LUA++ patch to my Arc Emu ?

    Well.. how can i ?

    Alot of LUA releases and never work for me.. just for LUA++.

    I'm using one of Fantomas's Compiles

    How can i apply LUA++ patch to my Arc Emu ?
  2. #2
    kaothic's Avatar Member
    Reputation
    7
    Join Date
    Oct 2007
    Posts
    167
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    U need compile ur own version of emu, don't use repacks.

    Give the svn of ArcEmu, patch the files and compile, is easy ^^

    Only simple things make me feel alive...

  3. #3
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    uhmm... i don't understand what you just said.

    I'm not using a repack. Fantomas compiled arc emu and just releases the freshly compiled emulator.

    I have compiled my own Arc Emu before but... Don't know what you just said.
    Give the svn of arcemu ? Should i give you the svn ? but then you tell me to patch the files ?

    Patch the files with what ?

  4. #4
    kaothic's Avatar Member
    Reputation
    7
    Join Date
    Oct 2007
    Posts
    167
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok soz I explain all.

    ArcLua++ is the new branch of lua++ for arcemu. To make work the luas++ u need overwrite the files of arcemu original lua to compile the lua++, and apply this patch:
    Code:
    Index: src/arcemu-world/GameObject.h
    ===================================================================
    --- src/arcemu-world/GameObject.h    (revision 777)
    +++ src/arcemu-world/GameObject.h    (working copy)
    @@ -180,6 +180,7 @@
         //void LoadFromDB(GameObjectTemplate *t);
         void DeleteFromDB();
         void EventCloseDoor();
    +    void EventCastSpell(uint32 guid, uint32 sp, bool triggered);
     
         //Fishing stuff
         void UseFishingNode(Player *player);
    Index: src/arcemu-world/GameObject.cpp
    ===================================================================
    --- src/arcemu-world/GameObject.cpp    (revision 777)
    +++ src/arcemu-world/GameObject.cpp    (working copy)
    @@ -144,6 +144,14 @@
         SetUInt32Value( GAMEOBJECT_FLAGS, flags );
     }*/
     
    +void GameObject::EventCastSpell(uint32 guid, uint32 sp, bool triggered)
    +{
    +    Spell * spp = new Spell();
    +    spp->Init(this,dbcSpell.LookupEntry(sp),false,NULL);
    +    SpellCastTargets tars(guid);
    +    spp->prepare(&tars);
    +}
    +
     void GameObject::TrapSearchTarget()
     {
         Update(100);
    Index: src/arcemu-world/Spell.h
    ===================================================================
    --- src/arcemu-world/Spell.h    (revision 777)
    +++ src/arcemu-world/Spell.h    (working copy)
    @@ -1868,7 +1868,7 @@
             return false;
         }
     
    -private:
    +public: //was private
         TargetsList m_targetUnits[3];
         void SafeAddTarget(TargetsList* tgt,uint64 guid);
    Is easy to patch, go to one of the 3 files in the code, search a line (example: spell.h, I search TargetsList m_targetUnits[3];, then I erase private and put public), add the line with the + at start or erase a line if have - at start

    When u apply this patch only needs overwrite the normal lua with the arclua++.

    If u are using compiled emu's u can't put lua++, u need compile arcemu yourself.

    How to install arclua++:

    ================================
    == WINDOWS USERS FOLLOW THESE ==
    ================================
    Replace the file src/scripts/projects/LUAScripting2008.vcproj

    (Other .vcproj will come soon!) of your ArcEmu with the one in the projects directory of our SVN and

    place the LUAppArc directory from the src directory here in your ArcEmu src/scripts/src/ Folder:

    src/scripts/src/LUAppArc


    Then open

    src/scripts/src/scripts2008.sln

    with MSVC++

    Thats all :-) Now recompile it (DO NOT COMPILE THE Sun++ LUAScripting Project, too!!!)

    And some SVN:
    Arcemu svn://arcemu.info/svn/arcemu
    Lua++Arc http://svn.assembla.com/svn/LUAppArc/stable
    To download files from svn needs tortoise
    Last edited by kaothic; 08-19-2008 at 04:24 PM.

    Only simple things make me feel alive...

  5. #5
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there a guide for this ?

  6. #6
    kaothic's Avatar Member
    Reputation
    7
    Join Date
    Oct 2007
    Posts
    167
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Guides to add arclua++ to arcemu I think that not exists, but I explained how to apply the patch :/ is easy.

    If u need a guide to compile search anything in mmowned, have a lot or in the arcemu wiki.

    Only simple things make me feel alive...

  7. #7
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay i'll try. But the LUA++ patch you sent me is now outdated and they moved to:
    http://mmoforge.org/svn/luapparc/

    but i don't know the pass or name to get there.

  8. #8
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nevermind found it


    Login: anonymous
    Password: There is no password

  9. #9
    kaothic's Avatar Member
    Reputation
    7
    Join Date
    Oct 2007
    Posts
    167
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Don't use this SVN is outdated and dont work with arcemu use http://svn.assembla.com/svn/LUAppArc/stable , and the patch isn't outdated,work with all revs of arcemu ;D

    Only simple things make me feel alive...

  10. #10
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah but the problem is i can't even download from that SVN.

  11. #11
    shadeslayor's Avatar Member
    Reputation
    11
    Join Date
    Nov 2007
    Posts
    42
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey if i instal the thing u said to.. i dont need to apply the patch do i?

Similar Threads

  1. Replies: 0
    Last Post: 01-02-2015, 01:13 AM
  2. How do i apply Patches
    By vvRyanw in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 06-09-2009, 09:25 AM
  3. Can't get NPCs to sit on Arc-Emu
    By chilewile007 in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 04-12-2009, 07:02 AM
  4. How can I keep the 2.3 patch?
    By afemy24 in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 01-08-2008, 08:40 PM
  5. how can i usw wpe in patch 1.9.4
    By mgboss in forum World of Warcraft General
    Replies: 0
    Last Post: 08-14-2006, 04:19 PM
All times are GMT -5. The time now is 07:20 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search