Freezingmoon
Members-
Posts
2 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Freezingmoon's Achievements
Newbie (1/3)
0
Reputation
-
Compile scriptVC100 build error
Freezingmoon replied to a topic in OldInstallation, configuration & upgrades
Oh ic. on main installing guide still stands rev 1994. mayby some1 can change this for other people installing private server Tnks anyways Regards Freezingmoon -
while i'm compiling the scriptVC100 (using Visual studio 2010) it stops after ScriptMgr.cpp it gives a build error couse there's 2 overloads having similar conversions..(error code C2666). any1 has this bug and can help me out? here's the code void DeleteFromThreatList() { // If we do not have Illidan's GUID, do not proceed if (!IllidanGUID) return; // Create a pointer to Illidan Creature* Illidan = m_creature->GetMap()->GetCreature(IllidanGUID); // No use to continue if Illidan does not exist if (!Illidan) return; ThreatList const& tList = m_creature->getThreatManager().getThreatList(); for (ThreatList::const_iterator itr = tList.begin();itr != tList.end(); ++itr) { // Loop through threatlist till our GUID is found in it. --> if ((*itr)->getUnitGuid() == m_creature->GetGUID()) <-- here's the error { (*itr)->removeReference(); // Delete ourself from his threatlist. return; // No need to continue anymore. } } // Now we delete our threatlist to prevent attacking anyone for now m_creature->DeleteThreatList(); } does someone had this error before and can help me out?? Regards, Freezingmoon
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®