Core Editing Tutorial menu

These ads disappear when you log in.

Results 1 to 13 of 13
  1. #1
    mager1794's Avatar Lieutenant Commander
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)

    Core Editing Tutorial

    Welcome to Mager1794's Core Editing Tutorial
    i highly advise you have some prior client or C++ knowledge or this may be harder for you then it would seem but if not i advise copy your ascent-world folder before doing this this is for the safety of your server




    Table of Contents
    1. Tracking
    2. Searching
    3. Precaution
    4. Editing
    5. Return it to normal
    1. Tracking
    Ok Well step one is first lets think about what we want to change what does it affect where might it be things to determine what file the thing you wish to change will be at now for my guide well lets say i have a 250 server and i really hate how rogues get there dodge to 95% and are invincible well my thoughts are dodge is a stat therefor effecting the player so player.cpp is where i believe it should be at

    2. Searching
    ok now let search for the file allow us to open player.cpp use the find function the hotkey for it is ctrl+f ok now in the text box lets type dodge now we got "finishingmovesdodge" not what we wanted but hey while were here if you want finishing moves to be dodgeable set that to true back to the search do dodge again

    [these are what we see before we find dodge percentage]
    Code:
    m_dodgefromspell
        // dodge -- that was how much dodge you get for each dodge rating btw
    At the bottom of that we see
    SetFloatValue( PLAYER_DODGE_PERCENTAGE, min( tmp, 95.0f ) );
    3. Precaution
    Precaution must be taken with every client edit so now i ask you do this look where you see
    Code:
    SetFloatValue( PLAYER_DODGE_PERCENTAGE, min( tmp, 95.0f ) );
    Now Change like this

    Code:
    //I Editted this from 95.0f to [what ever you change to](the .0f needs to stay there)
    SetFloatValue( PLAYER_DODGE_PERCENTAGE, min( tmp, 95.0f ) );
    Now we also want to make sure we can find easy so put something that we highly doubt will be find if we search so make like this
    Code:
    //CoreEdit
    //I Editted this from 95.0f to [what ever you change to](the .0f needs to stay there)
    SetFloatValue( PLAYER_DODGE_PERCENTAGE, min( tmp, 95.0f ) );
    now if you search that will be the only thing it shall find

    4. Editting
    This Part here is where we must be most cautious in-case of one wrong move our entire emulation will no longer work and of cource we do not want that to happen
    so now listen closely

    when editting pay attension to what seems like it goes along with the script
    like right here

    Code:
    SetFloatValue( PLAYER_DODGE_PERCENTAGE, min( tmp, 95.0f ) );
    95.0f
    notice the .0f looks absolutely worthless in my opinion so why not delete it...because its part of the script with out it you would get and error and have to come back and fix it

    so well lets edit the Dodge percent

    Code:
    SetFloatValue( PLAYER_DODGE_PERCENTAGE, min( tmp, 95.0f ) );
    into


    Code:
    SetFloatValue( PLAYER_DODGE_PERCENTAGE, min( tmp, 75.0f ) );
    There we go Editted and prepared
    Now go run and Compile your Ascent-World.exe

    5. Return it to Normal
    Now Lets say there was an error in the script and you dont know how to fix well this is why we made those comments go into Player.cpp ctrl+f in textbos type CoreEdit

    you get this

    Code:
     // dodge
    // tmp = baseDodge[pClass] + float( GetUInt32Value( UNIT_FIELD_STAT1 ) / dodgeRatio[69][pClass] );
     tmp = baseDodge[pClass] + float( GetUInt32Value( UNIT_FIELD_STAT1 ) / dodgeRatio[pLevel-1][pClass] );
     tmp += CalcRating( PLAYER_RATING_MODIFIER_DODGE ) + this->GetDodgeFromSpell();
     tmp += defence_contribution;
     if( tmp < 0.0f )tmp = 0.0f;
     
    //CoreEdit
    //I Editted this from 95.0f to [what ever you change to](the .0f needs to stay there)
     SetFloatValue( PLAYER_DODGE_PERCENTAGE, min( tmp, 75.0f ) );
    now we simply change the 75 back to a 95 and its reverted back to normal
    and since we fixed it all we can delete out comments as well



    Code:
    Well thanks for reading my guide please leave feedback and way for me to improve my next guides see ya and happy core editing
    Last edited by mager1794; 07-11-2008 at 09:25 PM.
    Lunar Gaming - Reaching For The Stars

    These ads disappear when you log in.

  2. #2
    runiker's Avatar Contributor
    Reputation
    105
    Join Date
    Nov 2007
    Posts
    501
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Nice Nice guide to bad i still cant fig out c++.....

  3. #3
    Kiyoshi's Avatar Knight
    Reputation
    28
    Join Date
    Jun 2008
    Posts
    192
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Zomg great guide. I'll use this along with runiker's guide and I'll pwn

    +Rep for YOU

    EDIT: Gotta spread

  4. #4
    obionekanobi123's Avatar Sergeant
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    64
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    thanks its useful

  5. #5
    Power of Illuminati's Avatar Contributor
    Reputation
    179
    Join Date
    May 2008
    Posts
    1,411
    Thanks G/R
    6/2
    Trade Feedback
    0 (0%)
    Nice guide, +Rep

  6. #6
    arigity's Avatar Banned
    Reputation
    49
    Join Date
    Dec 2007
    Posts
    548
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    what that guy said.

  7. #7
    HawjPawj's Avatar Corporal
    Reputation
    1
    Join Date
    Jan 2008
    Posts
    32
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    The info is great, but you seriously need to work on your grammar/punctuation dude. Doing so might make more people be able to actually follow your guide.

  8. #8
    mager1794's Avatar Lieutenant Commander
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    The info is great, but you seriously need to work on your grammar/punctuation dude. Doing so might make more people be able to actually follow your guide.
    serisously must you thrash my hard work dude i dont really like that especially from a leecher
    Lunar Gaming - Reaching For The Stars

  9. #9
    Dythzer's Avatar Contributor
    Reputation
    271
    Join Date
    May 2008
    Posts
    461
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Originally Posted by mager1794 View Post
    i advise copy your ascent-world folder before doing this this is for the safety of your server
    Not needed if you're using TortoiseSVN, you can just right click on the source code folder and click on "Revert..." and it will revert custom modifications.

  10. #10
    saikbio's Avatar Corporal
    Reputation
    1
    Join Date
    Feb 2007
    Posts
    23
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Awesome Great Job

  11. #11
    HawjPawj's Avatar Corporal
    Reputation
    1
    Join Date
    Jan 2008
    Posts
    32
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Originally Posted by mager1794 View Post
    serisously must you thrash my hard work dude i dont really like that especially from a leecher
    "The info is great."

    How is that thrashing your hard work? I specifically said that your info was great. But it's true that the grammar and punctuation make it a bit hard to understand. And I'm not a leecher, I'm someone who learns what they're talking about before they say it.
    Last edited by HawjPawj; 07-13-2008 at 12:17 AM. Reason: Oh sweet irony

  12. #12
    mager1794's Avatar Lieutenant Commander
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    insulting my grammar and punctuation is kinda like insulting my work dude.
    Lunar Gaming - Reaching For The Stars

  13. #13
    HawjPawj's Avatar Corporal
    Reputation
    1
    Join Date
    Jan 2008
    Posts
    32
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Originally Posted by mager1794 View Post
    insulting my grammar and punctuation is kinda like insulting my work dude.
    Look, I don't want to get into an argument with you, because it's not that big of a deal. I simply gave my opinion in an effort to make the information you provided more accessible to the community.

Similar Threads

  1. Core edits that are asked a lot for lately [All in 1 Post]
    By latruwski in forum World of Warcraft Emulator Servers
    Replies: 21
    Last Post: 03-03-2008, 05:50 PM
  2. [Request] Face edit tutorial
    By Mordragz in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 02-15-2008, 10:13 PM
  3. Changing .announce color (no core edits)
    By Le Froid in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 01-07-2008, 04:44 PM
  4. [Tutorial] itemcache.wdb model editing tutorial (another repost)
    By Vladinator in forum WoW ME Tools & Guides
    Replies: 4
    Last Post: 12-29-2007, 10:00 PM
  5. Request for a DBC Editing TUTORIAL
    By kBlaster in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 01-31-2007, 08:10 PM
All times are GMT -5. The time now is 11:09 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search