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 [Guide] Compiling your own DLL
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
[Guide] Compiling your own DLL
(#1)
Old
Gastricpenguin's Avatar
Gastricpenguin is Offline
Why so serious...?
Legendary User

Rep Power: 7
Reputation: 794
Gastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to behold
 
Posts: 1,654
Join Date: Feb 2007
Location: 4Chan
[Guide] Compiling your own DLL - 12-28-2007

As a pre-requisite, you will need the following programs:
TortoiseSVN 2.4.6
Visual Studios (2003, 2005, or 2008)
Any Good Text Editor (I recommend EditPlus)

Introduction
This is a pretty basic guide. Many of you have edited the source of a DLL and want to compile your own version, no problem. But I'll have to say this now guys, this isn't easy to grasp, but it isn't hard to learn. In this guide we will be compiling the GlobalNPC i made. I will also be using Visual Studios 2003. Let's Begin.

Legend
Bold - Examples or Refrences
Orange - Pictures and Screenshots
Green - Very Important Note

Download the most recent ascent revision from the ascent SVN. Dont know how to? Read my guide here: [Only registered and activated users can see links. ]
Then you need to compile it. If you need help, refer to: [Only registered and activated users can see links. ]

Download the source of your addon. In this case, my GlobalNPC: [Only registered and activated users can see links. ]

Next, unpack the contents of my GlobalNPC files (or the source of any other addon) and place them anywhere for now. Go into your ascent source folders, and browse to the \Trunk\src\scripts\src\ Folder (Ascent Source -> src -> scripts -> src). Drag and Drop the folder "GlobalNPC" from the RAR (The folder that contains the source) and drop it in the src folder. You know you have done this step correctly if you see the following folders in the src folder: AscentStats - GossipScripts - InstanceScripts - ServerStatsPlugin - SpellHandlers - GlobalNPC. [Only registered and activated users can see links. ]

In the same folder, you will also see Makefile.am
Open it and you will see:
Code:
SUBDIRS = GossipScripts InstanceScripts ServerStatusPlugin SpellHandlers
All you have to do is add a space and then "GlobalNPC" to look like this:
Code:
SUBDIRS = GossipScripts InstanceScripts ServerStatusPlugin SpellHandlers GlobalNPC
Now, go into the \Trunk\src\scripts\projects\ folder of your ascent source. This folder contains all of the project files for the scripts and addons. Drag and Drop "GlobalNPC2003.sln" and "GlobalNPC2003.vcproj" from the RAR, into the folder. If you have a different source, drag and drop the project files into the project folder. These files usually end with the .sln and .vcproj extensions. [Only registered and activated users can see links. ]

Once you have edited the source and are ready to compile, open "GlobalNPC2003.sln" in Visual Studios 2003. On the top of the screen, underneath the File Menus, you will see the buttons for saving, new projects, and other fun stuff. Go to the dropdown box with "Debug" in it. Click that and select Release. [Only registered and activated users can see links. ]

Then right click on the folder called "Main Resources" underneath the Solution Explorer (to the right of your screen) Then go to Add -> Add Existing Item...
and browse to the "Setup.cpp" file in the scripts folder. (\Trunk\src\scripts\src\GlobalNPC\Setup.cpp) Do the same for Setup.h
Now right click on the "scripts" folder and add "GlobalNPC.cpp" to that folder.
This is what it should look like: [Only registered and activated users can see links. ]

Once you are ready, and made sure it is set to Release, right click on "Solution 'GlobalNPC2003' (1 Project)" and click Build.
When it has finished compiling, your DLL will be found in \Trunk\bin\release\script_bin\

You can watch a streaming video and/or download it here: [Only registered and activated users can see links. ]
I HIGHLY recommend downloading it, as you will see the picture clearer


And the emulators shall tremble.
[Only registered and activated users can see links. ]
You are responsible for any broken rule, regardless if you "didn't know" or not.

Last edited by Gastricpenguin; 12-31-2007 at 02:08 PM.. Reason: Lol grammar issues
Reply With Quote

Donate to remove ads.
(#2)
Old
Steph is Offline
Site Donator
Rep Power: 2
Reputation: 162
Steph has a spectacular aura aboutSteph has a spectacular aura about
 
Posts: 698
Join Date: Dec 2007
Location: England
12-28-2007

Good work Gastric, as always, I know a lot of people will appreciate this
Reply With Quote
(#3)
Old
jokerjokes's Avatar
jokerjokes is Offline
Commander
Rep Power: 2
Reputation: 70
jokerjokes will become famous soon enough
 
Posts: 879
Join Date: Apr 2007
Location: The Auction House
12-28-2007

Lol yea, btw the source would be just the things im adding? lol (dont laugh at me being nooby) lol go ahead.


jOkEr
Reply With Quote
(#4)
Old
insanesk8123's Avatar
insanesk8123 is Offline
Contributor
Rep Power: 3
Reputation: 257
insanesk8123 is a jewel in the roughinsanesk8123 is a jewel in the roughinsanesk8123 is a jewel in the rough
 
Posts: 585
Join Date: Feb 2007
Location: main(String[] args)
12-29-2007

thanks for this guide, I was needing one on this topic +2


By Jerbab
Reply With Quote
(#5)
Old
shamus252 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: 2
shamus252 is an unknown quantity at this point
 
Posts: 21
Join Date: Nov 2007
12-29-2007

should add in to tell people how to make a project file also cause anymore alot of people only release the code its self
Reply With Quote
(#6)
Old
Illidan1's Avatar
Illidan1 is Offline
Shan'do
Rep Power: 4
Reputation: 243
Illidan1 has a spectacular aura aboutIllidan1 has a spectacular aura aboutIllidan1 has a spectacular aura about
 
Posts: 2,258
Join Date: Jul 2007
Location: New Zealand
12-29-2007

Very nice Gastric, i need to Download Visual Studios, when i get my Connect speed fast back i will and learn some C++


Reply With Quote
(#7)
Old
vasko93's Avatar
vasko93 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
vasko93 is an unknown quantity at this point
 
Posts: 28
Join Date: Oct 2007
12-29-2007


Help??

Last edited by vasko93; 12-29-2007 at 06:45 AM..
Reply With Quote
(#8)
Old
Steph is Offline
Site Donator
Rep Power: 2
Reputation: 162
Steph has a spectacular aura aboutSteph has a spectacular aura about
 
Posts: 698
Join Date: Dec 2007
Location: England
12-29-2007

You havent compiled Ascent first.
Reply With Quote
(#9)
Old
2dgreengiant's Avatar
2dgreengiant is Offline
/afk for a few days

Rep Power: 10
Reputation: 1002
2dgreengiant has much to be proud of2dgreengiant has much to be proud of2dgreengiant has much to be proud of2dgreengiant has much to be proud of2dgreengiant has much to be proud of2dgreengiant has much to be proud of2dgreengiant has much to be proud of2dgreengiant has much to be proud of
 
Posts: 4,029
Join Date: Feb 2007
Location: MMowned
12-29-2007

daym thats a good tut nice work dude
Reply With Quote
(#10)
Old
Succy's Avatar
Succy is Offline
Contributor
Rep Power: 3
Reputation: 216
Succy has a spectacular aura aboutSuccy has a spectacular aura aboutSuccy has a spectacular aura about
 
Posts: 768
Join Date: Jun 2007
Location: Sweden
12-31-2007

Really Nice! x2


Reply With Quote
(#11)
Old
Ascended is Offline
Banned
Rep Power: 0
Reputation: 280
Ascended is a jewel in the roughAscended is a jewel in the roughAscended is a jewel in the rough
 
Posts: 544
Join Date: Aug 2007
Location: Florida SunShine
12-31-2007

ummm , isnt this posted in the wrong section since its a guide?
Reply With Quote
(#12)
Old
Ascended is Offline
Banned
Rep Power: 0
Reputation: 280
Ascended is a jewel in the roughAscended is a jewel in the roughAscended is a jewel in the rough
 
Posts: 544
Join Date: Aug 2007
Location: Florida SunShine
12-31-2007

Quote:
Originally Posted by Illidan1 View Post
Very nice Gastric, i need to Download Visual Studios, when i get my Connect speed fast back i will and learn some C++
By the way , all files needed to install VS 2003 im putting them in a svn for public use , so you will be able to install it from there instead of downloading it froma torrent and all
Reply With Quote
(#13)
Old
Steph is Offline
Site Donator
Rep Power: 2
Reputation: 162
Steph has a spectacular aura aboutSteph has a spectacular aura about
 
Posts: 698
Join Date: Dec 2007
Location: England
12-31-2007

Make sure you stick the support docs in there too. They are the most annoying part of the install.
Reply With Quote
(#14)
Old
Gastricpenguin's Avatar
Gastricpenguin is Offline
Why so serious...?
Legendary User

Rep Power: 7
Reputation: 794
Gastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to behold
 
Posts: 1,654
Join Date: Feb 2007
Location: 4Chan
12-31-2007

nice
Adding the video guide shortly


And the emulators shall tremble.
[Only registered and activated users can see links. ]
You are responsible for any broken rule, regardless if you "didn't know" or not.
Reply With Quote
(#15)
Old
Gastricpenguin's Avatar
Gastricpenguin is Offline
Why so serious...?
Legendary User

Rep Power: 7
Reputation: 794
Gastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to beholdGastricpenguin is a splendid one to behold
 
Posts: 1,654
Join Date: Feb 2007
Location: 4Chan
12-31-2007

Added the video to the first post, its a filefront link:
[Only registered and activated users can see links. ]


And the emulators shall tremble.
[Only registered and activated users can see links. ]
You are responsible for any broken rule, regardless if you "didn't know" or not.
Reply With Quote
Reply

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.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.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