MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides

Homepage Register FAQ Members Mark Forums Read Advertise Marketplace FPSowned


Go Back   MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides > WoW Emulator Server > Emulator Server Guides
Reload this Page Core Editing Tutorial
Emulator Server Guides Guides for working with World of Warcraft Emulator servers. Learn how to create a WoW Server here.
[NO QUESTIONS HERE]

Reply
 
LinkBack Thread Tools
Core Editing Tutorial
(#1)
Old
mager1794's Avatar
mager1794 is Offline
Contributor
Rep Power: 1
Reputation: 125
mager1794 will become famous soon enoughmager1794 will become famous soon enough
 
Posts: 317
Join Date: Feb 2008
Core Editing Tutorial - 07-11-2008

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 10:25 PM.
Reply With Quote

Donate to remove ads.
(#2)
Old
runiker's Avatar
runiker is Online
Contributor
Rep Power: 1
Reputation: 91
runiker will become famous soon enough
 
Posts: 426
Join Date: Nov 2007
07-11-2008

Nice Nice guide to bad i still cant fig out c++.....
Reply With Quote
(#3)
Old
Kiyoshi's Avatar
Kiyoshi is Offline
Knight
Rep Power: 1
Reputation: 28
Kiyoshi is on a distinguished road
 
Posts: 190
Join Date: Jun 2008
Location: Black Temple
07-11-2008

Zomg great guide. I'll use this along with runiker's guide and I'll pwn

for YOU

EDIT: Gotta spread
Reply With Quote
(#4)
Old
obionekanobi123 is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 1
Reputation: 1
obionekanobi123 is an unknown quantity at this point
 
Posts: 28
Join Date: Mar 2008
Location: Deadmines
07-11-2008

thanks its useful
Reply With Quote
(#5)
Old
Power of Illuminati's Avatar
Power of Illuminati is Offline
Contributor
Rep Power: 2
Reputation: 170
Power of Illuminati has a spectacular aura aboutPower of Illuminati has a spectacular aura about
 
Posts: 1,367
Join Date: May 2008
Location: Pyramid of Anubis
07-11-2008

Nice guide,


Reply With Quote
(#6)
Old
arigity's Avatar
arigity is Offline
Knight-Champion
Rep Power: 1
Reputation: 29
arigity is on a distinguished road
 
Posts: 450
Join Date: Dec 2007
07-11-2008

what that guy said.


Reply With Quote
(#7)
Old
HawjPawj is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 1
Reputation: 1
HawjPawj is an unknown quantity at this point
 
Posts: 32
Join Date: Jan 2008
07-11-2008

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.
Reply With Quote
(#8)
Old
mager1794's Avatar
mager1794 is Offline
Contributor
Rep Power: 1
Reputation: 125
mager1794 will become famous soon enoughmager1794 will become famous soon enough
 
Posts: 317
Join Date: Feb 2008
07-12-2008

Quote:
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


Reply With Quote
(#9)
Old
Dythzer is Offline
Contributor
Rep Power: 2
Reputation: 206
Dythzer has a spectacular aura aboutDythzer has a spectacular aura aboutDythzer has a spectacular aura about
 
Posts: 269
Join Date: May 2008
Location: Europe
07-12-2008

Quote:
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.
Reply With Quote
(#10)
Old
saikbio's Avatar
saikbio is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 2
Reputation: 1
saikbio is an unknown quantity at this point
 
Posts: 21
Join Date: Feb 2007
07-13-2008

Awesome Great Job
Reply With Quote
(#11)
Old
HawjPawj is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 1
Reputation: 1
HawjPawj is an unknown quantity at this point
 
Posts: 32
Join Date: Jan 2008
07-13-2008

Quote:
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 01:17 AM. Reason: Oh sweet irony
Reply With Quote
(#12)
Old
mager1794's Avatar
mager1794 is Offline
Contributor
Rep Power: 1
Reputation: 125
mager1794 will become famous soon enoughmager1794 will become famous soon enough
 
Posts: 317
Join Date: Feb 2008
07-13-2008

insulting my grammar and punctuation is kinda like insulting my work dude.


Reply With Quote
(#13)
Old
HawjPawj is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 1
Reputation: 1
HawjPawj is an unknown quantity at this point
 
Posts: 32
Join Date: Jan 2008
07-13-2008

Quote:
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.
Reply With Quote
Reply

Donate to remove ads.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On




Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341