Editing Ascent Core menu

User Tag List

Results 1 to 7 of 7
  1. #1
    xX EPIC Xx's Avatar Active Member
    Reputation
    37
    Join Date
    Apr 2008
    Posts
    238
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Editing Ascent Core

    Hey all i've decided to make me some rep so i made this guide

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

    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, "%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> Admin 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>
    Admin broadcasts: Test123.
    <Developer> Admin 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> Admin announces: Test123.
    
    <Developer> Admin 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.

    _____________________________

    Flying mounts in Azeroth

    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.
    ______________________________

    How to complie ascent

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


    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.
    Last edited by xX EPIC Xx; 09-02-2008 at 03:11 PM.

    Editing Ascent Core
  2. #2
    Erase's Avatar Banned
    Reputation
    229
    Join Date
    Jun 2008
    Posts
    990
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I will test some of theese laterz +Rep if works.

    +Rep'ped
    Last edited by SheEpYW0lf; 09-03-2008 at 09:02 AM.

  3. #3
    xX EPIC Xx's Avatar Active Member
    Reputation
    37
    Join Date
    Apr 2008
    Posts
    238
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok ty man

  4. #4
    xX EPIC Xx's Avatar Active Member
    Reputation
    37
    Join Date
    Apr 2008
    Posts
    238
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    :S 2 posts and 37 views (so much leechers)

  5. #5
    kjekse's Avatar Member
    Reputation
    1
    Join Date
    Jun 2008
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    NICE! Very good!

  6. #6
    xX EPIC Xx's Avatar Active Member
    Reputation
    37
    Join Date
    Apr 2008
    Posts
    238
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ty realy

  7. #7
    propsman's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thannksss

Similar Threads

  1. [Updating] Materful Ascent Core Edits
    By SectorSeven in forum World of Warcraft Emulator Servers
    Replies: 39
    Last Post: 06-07-2008, 03:53 PM
  2. Editing the Ascent Core (More will be included eventually.)
    By Saedusii in forum WoW EMU Guides & Tutorials
    Replies: 19
    Last Post: 04-26-2008, 09:54 PM
  3. 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
  4. [How-To] Update your Ascent Core
    By Gastricpenguin in forum WoW EMU Guides & Tutorials
    Replies: 11
    Last Post: 12-15-2007, 01:43 PM
  5. Replies: 6
    Last Post: 10-05-2007, 02:59 PM
All times are GMT -5. The time now is 04:16 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