Editing the Ascent Core (More will be included eventually.) menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Saedusii's Avatar Contributor
    Reputation
    116
    Join Date
    Nov 2007
    Posts
    457
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Editing the Ascent Core and Compiling it. (More will be included eventually.)

    Hello, this is my guide on editing your core, (Some of the Level1.cpp stuff is from Ascended, I just improved upon it.) NOTE: This is used with Ascent Revision 2801, but I am sure that it will be along the same lines as this.

    Edit1: Added guide on how to compile Ascent. (Might post pictures later.)

    #I might add a guide on how to setup your configuration files soon.#

    ~I DO NOT TAKE FULL CREDIT FOR EVERYTHING HERE.~

    Disclaimer ftw?

    Note: All things in this color are the things specific for revision 3623.

    Things without this color are 2801 specific.

    ______________________

    Editing your announcements:

    Open up "Ascent Compile/src/game/level1.cpp" "Ascent Compile/src/ascent-world/level1.cpp"

    Announcements:


    Code:
        input2 = "|cffff6060<";
        //if (m_session->GetPermissionCount())   input2+="GM";
        if(m_session->CanUseCommand('z')) input2+="Admin";
        else if(m_session->GetPermissionCount()) input2+="GM";
        input2+=">|r|c1f40af20";
        input2+=m_session->GetPlayer()->GetName();
        input2+="|r|cffffffff broadcasts: |r";
        snprintf((char*)pAnnounce, 1024, "&#37;s%s", input2.c_str(), args);   // Adds BROADCAST:
        sWorld.SendWorldText(pAnnounce); // send message
        sGMLog.writefromsession(m_session, "used announce command, [%s]", args);
    Announcement colors - ffff6060; 1f40af20; ffffffff. You can change these to whatever color codes your heart desires. your heart desires. (I personally don't change this because I like the original announcement colors.)

    Example:
    <GM> Seethezorz broadcasts: I love me some yellow!



    Announcement tags - Change GM to Game Master on both GM Tags (You can also change Admin to Developer etc. to change the announcement to this:

    <Game Master>
    Seethezorz broadcasts: Test123.
    <Developer> Seethezorz broadcasts: Welcome to the server.
    It is the same with Wannounce, just scroll below and change that.

    Announcement Tags 2 - Change "broadcasts:" to anything you would like, such as "announces:".

    Here is some example code:

    Code:
         input2 = "|cffffffff<";  
       //if (m_session->GetPermissionCount())   input2+="Game Master";
        if(m_session->CanUseCommand('z')) input2+="Developer";
        else if(m_session->GetPermissionCount()) input2+="Game Master";
        input2+=">|r|cffffffff";
        input2+=m_session->GetPlayer()->GetName();
        input2+="|r|cffffffff announces: |r";
        snprintf((char*)pAnnounce, 1024, "%s%s", input2.c_str(), args);   // Adds BROADCAST:
        sWorld.SendWorldText(pAnnounce); // send message
        sGMLog.writefromsession(m_session, "used announce command, [%s]", args);
    You will get the following with that code:

    Code:
    <Game Master> Seethezorz announces: Test123.
    <Developer> Seethezorz announces: Test123.
    

    _______________________

    Increasing Item Storage amount:

    Open "Ascent Compile/src/shared/Storage.h" and find this line.
    "Ascent Compile/src/ascent-shared/Storage.h"
    Code:
    #ifndef STORAGE_H_
    #define STORAGE_H_
    
    #ifdef WIN32
    #pragma warning(disable:4312)
    #endif
    
    #define STORAGE_ARRAY_MAX 200000


    Change 200000 to 99999999.

    __________________________

    Making All Characters start at Level 70:

    Go into "Ascent Compile\src\game\Player.cpp"
    "Ascent Compile\src\ascent-world\Player.cpp"

    Find the line:


    Code:
    SetUInt32Value(UNIT_FIELD_LEVEL, 1 );
    Change the 1 to 70.

    Save the file.

    Compile Ascent.


    _________________________

    Changing the speed of Swimming, Running, Walking, and Flying.

    Open up "Ascent Compile\src\game\Player.h"
    "Ascent Compile\src\ascent-world\Player.h"

    Find the lines: (They are at the start of the file.)

    Code:
    #define PLAYER_NORMAL_RUN_SPEED 7.0f
    #define PLAYER_NORMAL_SWIM_SPEED 4.722222f
    #define PLAYER_NORMAL_FLIGHT_SPEED 7.0f
    #define PLAYER_HONORLESS_TARGET_SPELL 2479
    #define MONSTER_NORMAL_RUN_SPEED 8.0f
    Change the things in red to what you would like.

    Example:
    Code:
    #define PLAYER_NORMAL_RUN_SPEED 14.0f
    This will make you run 2x the normal run speed.

    Note: Changing Flight Speed causes flying mounts to go alot faster. Be wary of this.

    _________________________

    Flying mounts in Azeroth

    Taken from Steph's Corner for convenience.

    Download the following SQL files and execute them to DB. Filebeam - Free Fast File Hosting
    Use that mount.
    Code:
    Changes to make your core 'Azeroth Flyable' - Quick Guide.
    
    All these changes are made in folder trunk/src/game.
     All these changes are made in folder trunk/src/ascent-world.
    
    ============================================================
    
    Open Player.cpp
    
    Change:
    
    !=530 
    
    to
    
    >580
    
    Change
    
    != 530
    
    to
    
    > 580
    
    Save Player.cpp
    
    ============================================================
    
    Open Spellauras.cpp
    
    Search for:
    
    void Aura::SpellAuraEnableFlight(bool apply)
    
    Replace the "else" with "if(!apply)" which should look like this:
    
    Code:
    
    void Aura::SpellAuraEnableFlight(bool apply)
    {
    if(m_target->IsPlayer())
    {
    static_cast<Player*>(m_target)->FlyCheat = apply;
    static_cast<Player*>(m_target)->flying_aura = m_spellProto->Id;
    }
    
    if(apply)
    {
    m_target->EnableFlight(true);
    m_target->m_flyspeedModifier += mod->m_amount;
    m_target->UpdateSpeed(true);
    }
    if (!apply) //replaced else with: if(!apply) to allow flying mounts in the old lands
    {
    m_target->DisableFlight(true);
    m_target->m_flyspeedModifier -= mod->m_amount;
    m_target->UpdateSpeed(true);
    }
    }
    
    Save Spellauras.cpp
    
    ============================================================
    
    Open Unit.cpp.
    
    Change:
    
    != 530
    
    to 
    
    > 580
    
    Save Unit.cpp
    
    ============================================================
    
    Compile your source.  Credit to Sinister at Ragezone.
    _________________________

    Compile Patches:

    The following link contains the download link to patches that I extracted from my core.

    (Credits to the LookupSpell2801 patch goes to Darvaleo at Ascentemu.com)

    Download Here

    Includes -

    2801 Patches; LookupSpellPatch, Announcement Patch, Flying Mount Patch, Item Storage Increasement Patch, LUA Enable Patch, Speed Increase Patch, and a patch that includes all of the above patches. NOTE: The Flying Mount Patch includes Level 70 upon character creation, will remove this and give it a patch of its own later.

    3623 Patches; Announcement Patch, Speed Increase Patch, Item Storage Increasement Patch
    , and a patch that includes all of the above patches.
    _________________________
    #
    Compile Ascent after you are #
    done adding the things you #
    want. #
    _________________________#

    Compiling Ascent:

    1. Download TortoiseSVN...Here
    Download Visual C++ 9.0 Express Edition...Here
    Download Microsoft .NET Framwork...Here

    2. Now, create a folder named "Ascent Compile" on your desktop.

    3. Right click the file and select "SVN Checkout".

    4. Now enter in the "URL of Repository box" "http://217.149.194.150/svn/ascent/trunk/" (Without quotes.)

    5. Click "OK".

    6. The user name is Anonymous. Leave the password area blank.

    6. Wait for it to finish...

    7. Once it is finished, go to your folder "Ascent Compile" and edit the things you would like to change.

    8. Go to "Ascent Compile/win/AscentVC90. And open that up in Visual C++.

    9. Select "Build", then proceed to the "Configuration Manager". Change the drop-down box from "Debug" to "Release".

    10. Hit "F7". Once it is finished, go to "Ascent Compile/src/scripts/scripts2008"

    11. Do the same as you did in Step 9. Then hit "F7" again.

    12. Congratulations, you have successfully set up your Ascent Compile, edit your configuration files and start up Ascent.exe/Logonserver.exe.


    More to come.

    *Note, others have posted the enabling LUA and Storage increasement, I put them there for convenience.*


    Links:

    Modifying Global Announcement (Ascended)
    Steph's Corner (Steph) [R.I.P]
    Gastric's Ascent Compiles (Gastric)
    How to compile Ascent (Viter)
    Viters Ascent Compiles (Viter)
    How to compile a .DLL (Gastric)

    ~SeetheZorZ
    Last edited by Saedusii; 02-16-2008 at 02:17 AM. Reason: Added Patches and changes for revision 3623


    Editing the Ascent Core (More will be included eventually.)
  2. #2
    Saedusii's Avatar Contributor
    Reputation
    116
    Join Date
    Nov 2007
    Posts
    457
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Reserved post if I need more room for the guide.
    Last edited by Saedusii; 01-25-2008 at 08:14 PM.

  3. #3
    Reserved's Avatar Member
    Reputation
    11
    Join Date
    Jan 2008
    Posts
    77
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very nice guide, but what exactly does enabling LUA do?

  4. #4
    Saedusii's Avatar Contributor
    Reputation
    116
    Join Date
    Nov 2007
    Posts
    457
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It allows you to create LUA Scripts and place them in Ascent Compile/bin/Release/scripts so you can script bosses etc.
    Last edited by Saedusii; 01-25-2008 at 08:13 PM.


  5. #5
    Saedusii's Avatar Contributor
    Reputation
    116
    Join Date
    Nov 2007
    Posts
    457
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Added guide on compiling.


  6. #6
    mcimmino92's Avatar Banned
    Reputation
    15
    Join Date
    Nov 2007
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice guide seethe u are the leet man

  7. #7
    bobo12345667890's Avatar Member
    Reputation
    1
    Join Date
    Nov 2006
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmmmmm ac repack anyway of doing it on that?
    *(\_/) < EVIL
    *(0_0) < DEMONIC
    (")00(") < BUNNY
    it steal your soul
    i swear

  8. #8
    Reserved's Avatar Member
    Reputation
    11
    Join Date
    Jan 2008
    Posts
    77
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't think so, because that is already compiled.

  9. #9
    Saedusii's Avatar Contributor
    Reputation
    116
    Join Date
    Nov 2007
    Posts
    457
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Added guide on all characters having Level 70 automatically.

    Edit: Added guide on modifying run, walk, fly, swimming speeds.
    Last edited by Saedusii; 01-30-2008 at 02:58 PM.


  10. #10
    Saedusii's Avatar Contributor
    Reputation
    116
    Join Date
    Nov 2007
    Posts
    457
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Added patches that you can run for Ascent Revisions 2801 and 3623

    Also added things for patch 3623. Minor changes.

    I also might be releasing my ascent compiles in repack form, although it will likely not have a database with it.
    Last edited by Saedusii; 01-31-2008 at 09:03 PM.


  11. #11
    Saedusii's Avatar Contributor
    Reputation
    116
    Join Date
    Nov 2007
    Posts
    457
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bump of no return.


  12. #12
    Pwntzyou's Avatar Contributor
    Reputation
    264
    Join Date
    Dec 2007
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is teh sex... +rep

    <3 MysterioussouL for the sig

  13. #13
    sliverdead's Avatar Member
    Reputation
    1
    Join Date
    Sep 2007
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i cant get lua to work im using 2_8 stable and i ran the lua patcher and the recompiled it but neither of my lua scripts will load on the server. tortoise says its at version 3792
    Last edited by sliverdead; 02-09-2008 at 10:43 PM.

  14. #14
    Saedusii's Avatar Contributor
    Reputation
    116
    Join Date
    Nov 2007
    Posts
    457
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Revision 3792 and 2_8 branch are completely different revisions, they're almost 1000 revisions apart... So...

    Yeah.

    Also, you are most likely obtaining the core again, not compiling it. The part in Visual C++ is the part where you compile it for use.


  15. #15
    sliverdead's Avatar Member
    Reputation
    1
    Join Date
    Sep 2007
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i did run it in c++ but it doesnt add the LUA into scripts tortoise says its version 3792 however the folder is labeled 2_8 and the conf files are 27xx

Page 1 of 2 12 LastLast

Similar Threads

  1. How to make a ascent server in 10-15, make it public AND Edit the images.
    By ',-Jurkey-,' in forum WoW EMU Guides & Tutorials
    Replies: 9
    Last Post: 06-12-2008, 11:09 PM
  2. [Updating] Materful Ascent Core Edits
    By SectorSeven in forum World of Warcraft Emulator Servers
    Replies: 39
    Last Post: 06-07-2008, 03:53 PM
  3. How to make a ascent server in 10-15, make it public AND Edit the images.
    By ',-Jurkey-,' in forum WoW EMU Guides & Tutorials
    Replies: 3
    Last Post: 03-13-2008, 08:59 AM
  4. Editing GM Command from the Ascent core.. which file?
    By mafiaboy in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 02-26-2008, 11:59 PM
  5. + 2 REP, is the latest ascent core always the best?
    By mafiaboy in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 12-26-2007, 09:48 PM
All times are GMT -5. The time now is 05:30 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