Register for your free account! | Forgot your password?

Go Back   elitepvpers > World of Warcraft > WoW Main - Discussions / Questions
You last visited: Today at 22:19

  • Please register to post and access all features, it's quick, easy and FREE!

 

Compilierte Version vom Neuen WoW!Bot

Reply
 
Old   #16
 
elite*gold: 0
Join Date: May 2005
Posts: 343
Received Thanks: 7
teil 2
das wurde außerdem noch als hilfe angegeben:
I found this such a good thread that I would like to chip in a bit on how to compile this project with VS 2005 Beta 2 Express edition.
I am aware that it has entered paid status but up untill not so long ago it was still a free compiler for evaluation/private use.

How to compile Wow!Hider.dll:

For starters follow justme's excelent guide.

When you get to this part:
Quote:
Fire VS up and open the file
c:\SVN\W#\trunk\WoW!Hider& #092;WoW!Hider.vcproj

If you try to build now you will get the following error: 'Error Spawning cl.exe'.

You will notice that you are kinda stuck. You wont even get this error message.

You will be asked to import this "old" VS2003 project and to that you say yes and click Next and Finish.

Now shut down VS2005 if you have it up.
Go to http://www.microsoft.com/downloads/details...&displaylang=en
to get the Platform SDK. There is 3 options, one for AMD64, one for ia64 and one for x86. Pick the x86 version regardless of what kind of 64 bit processor you might have.

Install the SDK with standard install options.

Now, the express version of VS2005 do not allow you to change the include paths so you cant use the normal "Tools -> Options -> Projects and Solutions" pane to change that and you need to tell the compiler where to find your windows header files.

Go here: http://lab.msdn.microsoft.com/express/visu...dk/default.aspx

If you have the non beta version then go here: http://msdn.microsoft.com/vstudio/express/...ualc/usingpsdk/

Section 3 of this document mentions setting "paths". To get to that control panel in windows, press the Windows key and the Pause Break key at the same time. Select the Advanced tab and then depending on Win2k or XP click the differently positioned Environment Variables button.

Scroll down the list a bit see if you can find 3 entries in the variables collum called "path", "include" and "lib". If they are not there, create them with the New button. The names is "path", "include" and "lib" and the values are what the microsoft document in step 3 says they should be.

If you already have them, then append a ";" to the end of the Value listing and paste the appropriate value in there. Adjust the file path if you have installed the SDK into something else than C:\Program Files\Microsoft Platform SDK.

Follow the rest of the document. Step 4 where you find and edit the corewin_express.vsprops file is pretty simple but step 5 can be a bit tricky as there are more than one entry in that file for
Code:
WIN_APP.disabled
Be sure that you find the set of 4 lines as in the document and comment them out with the //. They are listed together with 4 other entries (that I also commented out 'cos I dont like those restrictions )

If you keep getting the same build errors as before, after this, then it is probably because you forgot to delete the "vccomponents.dat" file. If you are unsure where "%USERPROFILE%\Local Settings\Application Data\Microsoft\VCExpress\8.0" points to then open up a command promt, type:
Code:
CD "%USERPROFILE%\Local Settings\Application Data\Microsoft\VCExpress\8.0"

and watch where you weind up. This is where the file is stored.

With a bit of luck, you now have a new error Very Happy
It should say that it can not find the include file "afxres.h" in WoW!Hider.rc and whats worse is that VS 2005 Express wont let you edit .rc files.
Shut down VS2005 and go to your Hider source directory. Find the file called WoW!Hider.rc and load it up in a normal text editor (love Wordpad .. and Kate on linux). Find the line that says:
Code:
#include "afxres.h"
and change it into:
Code:
#include "mfc\afxres.h"


Save the file and close the editor. Open up the Hider project in VS2005 again and try to build it. You should now be able to build WoW!
-------------------------------------------------------------------------------------------------------
One more thing.

I found that I could not make a reference to the previously build WoW!Hider.dll from VS2005. The C# IDE would say that "WoW!Hider.dll could not be added. This is not a valid assembly or COM
component. Only assemblies with extension 'dll' and COM components
can be references." and if one tried to register the dll with Regsvr one would get something of the same error message saying that no entry point was found in the dll.

It turns out that this is caused by the /MT plus /clr flags during compile with VS2005. It sounds very fancy but what you need to do is go into the Project menu -> Properties -> Configuration Properties -> General in the C++ IDE.

Here you change Common Language Runtime Support to the Old Syntax setting. Then go to C/C++ under Configuration Properties then Code Generation and change Runtime Library to Multi-threaded DLL /MD

Now it should generate a dll that you can reference to in the WoW!Sharp project.

Fill me in if I have missed something or it needs a comment or two.
Attached Files
File Type: ibf post-58-1132444744.ibf (1.2 KB, 2 views)



Jackonline is offline  
Old   #17
 
elite*gold: 10
Join Date: May 2005
Posts: 1,521
Received Thanks: 115
was bringt das?


Kaanor_ is online now  
Old   #18
 
elite*gold: 0
Join Date: May 2005
Posts: 343
Received Thanks: 7
Quote:
Originally posted by blubber88@Nov 20 2005, 01:05
was bringt das?
das ist die anleitung für Modo die ich aus dem wow!sharp forum ge c&p hab da er keinen acc da hat.
ich hoffe das er oder jemand anderes es compiled bekommt sodass ich irgendwann mal die exe anklicken kann ;(
denn ich schaffe es nicht zu compillen und die offsets upzudaten da ich beim compillen immer einen error bekomme


UPDATE:
Hoffnungsvolle nachrichten
ich habe es geschaft compillen zu können mir wird es vieleicht möglich sein den bot zu updaten mit den neuen offsets.
spätestens morgen sollte er fertig sein(wenns keine probs gibt )
Jackonline is offline  
Old   #19
 
elite*gold: 0
Join Date: Jun 2005
Posts: 195
Received Thanks: 11
juhhhhhhhhhhh das klingt suuuper! =) ich hätte es nicht hinbekommen! wenn du ihn puplic machst bekommst nen sooowas von dickes Karma *g

*freufreu*


BadBunny is offline  
Old   #20
 
elite*gold: 0
Join Date: May 2005
Posts: 343
Received Thanks: 7
Quote:
Originally posted by BadBunny@Nov 20 2005, 03:04
juhhhhhhhhhhh das klingt suuuper! =) ich hätte es nicht hinbekommen! wenn du ihn puplic machst bekommst nen sooowas von dickes Karma *g

*freufreu*
so bin hängen geblieben und zwar an einem simplen problem:

Quote:
One more thing.

I found that I could not make a reference to the previously build WoW!Hider.dll from VS2005. The C# IDE would say that "WoW!Hider.dll could not be added. This is not a valid assembly or COM
component. Only assemblies with extension 'dll' and COM components
can be references." and if one tried to register the dll with Regsvr one would get something of the same error message saying that no entry point was found in the dll.

It turns out that this is caused by the /MT plus /clr flags during compile with VS2005. It sounds very fancy but what you need to do is go into the Project menu -> Properties -> Configuration Properties -> General in the C++ IDE.

Here you change Common Language Runtime Support to the Old Syntax setting. Then go to C/C++ under Configuration Properties then Code Generation and change Runtime Library to Multi-threaded DLL /MD

Now it should generate a dll that you can reference to in the WoW!Sharp project.

Fill me in if I have missed something or it needs a comment or two.
Fakt ist das die datei in dem Ordner wow!sharp für die ältere version von VS 2005 gedacht ist
in dem quote wird darauf hingewiesen das man eine dll erstellen kann die es irgendwie ermöglicht die veraltete version trotzdem auf der neuen laufen zu lassen damit man sie compillen kann.
Leider hab ich keinen plan wo diese Dll abgelegt wird noch weis ich wie man die kompatibilität zwischen der alten und neuen version von VS mit dieser DLL herstellt :cry:

Update:
Morgen gehts weiter hab heute net geschafft es kompatibel zu machen hab jetzt im Sharp forum mal gefragt ,mal kcuken was sie antworten....
morgen gehts weiter...... >
Jackonline is offline  
Old   #21
 
elite*gold: 0
Join Date: May 2005
Posts: 1,034
Received Thanks: 4
boah **** is das viel text ;_; mal schauen ob ich mir das durchlesen wenn ich mal zeit hab :X
Modo is offline  
Old   #22
 
elite*gold: 0
Join Date: Jun 2005
Posts: 195
Received Thanks: 11
hmmmm klingt ja echt um einiges komplizierter als erwartet. Hab auch mal verscuht den passenden platz für die dll zu finden, doch letztendlich hab ich sie überall hinkopiert und nicht die passenden stelle gefunden :-/ Kann nicht irgend jemand helfen? Es hat doch schon einer gesagt, dass er es hinbekommen hat warum hilft er nicht mal dabei?

dann gedulde ich mich auch noch ein wenig vielleicht bekomme ich es ja irgendwie hin doch zweifle stark daran.
BadBunny is offline  
Old   #23
 
elite*gold: 0
Join Date: May 2005
Posts: 343
Received Thanks: 7
mom du sagts er generiert bei dir eine dll?
kannste du mal sagen wie die heißt und wo die dann liegt?
Jackonline is offline  
Old   #24
 
elite*gold: 0
Join Date: May 2005
Posts: 1,034
Received Thanks: 4
bei 1.8 gehts aber bei 1.8.3 nich x[
Modo is offline  
Old   #25
 
elite*gold: 0
Join Date: Apr 2005
Posts: 654
Received Thanks: 5



Aber danke für den Denkanstoss und die Guides!


JaMaL is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
Bitefight-Bot Release (Funktioniert mit der neuen Version von Bite-Fight)
Der Bot -kann auf jedem deutschen Server benutzt werden -funktioniert bei Premium und nicht Premium -kann Gegner per Zufall angreifen -kann...
80 Replies - Browsergames
GarenaHack 3.18 Latest Version Full Private version + Mega Exp Plugin Cracked
This is the GarenaHack 3.18 latest version cracked, so you may enjoy free private version. http://i15.tinypic.com/8adnxxz.png DOWNLOAD LINKS:...
10 Replies - General Gaming Discussion
änderungen nt bot 1.7 zu der neuen version fpr 1.13c
edit: es soll natürlich für und nicht fpr heißen^^ hi! ich wollte mal fragen, welche dateien in dem neuen ntbot geändert wurden würde gerne...
0 Replies - Diablo 2 Programming
Wie kann ich dekaron hacken ? die neuen Version
Hi ich wollte mal fragen wie ich dekaron Epediton Hacken kann ?..... wie kann ich die bots rumlaufen lassen .. aber bitte alles auf deutsch ^^ ich...
1 Replies - General Coding
An die (ziemlich) Neuen bzgl. den neuen..
Huhu Also wie Euch sicherlich wie mir aufgefallen ist(Euch sicherlich auch) gibt es des öfteren Leute die neue Thread´s aufmachen da sie ihren...
5 Replies - WoW Main - Discussions / Questions



All times are GMT +1. The time now is 22:19.


Powered by vBulletin®
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2016 elitepvpers All Rights Reserved.