Error compiling Hearthstone menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Nadromar's Avatar Contributor
    CoreCoins Purchaser
    Reputation
    369
    Join Date
    Oct 2006
    Posts
    510
    Thanks G/R
    15/28
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Error compiling Hearthstone

    Whenever I try to compile hearthstone I get this error

    5>..\..\src\hearthstone-world\Vehicle.cpp(665) : error C2227: left of '->IsPlayer' must point to class/struct/union/generic type
    5> type is ''unknown-type''
    5>..\..\src\hearthstone-world\Vehicle.cpp(665) : error C3861: 'GetControllingUnit': identifier not found
    5>..\..\src\hearthstone-world\Vehicle.cpp(665) : error C3861: 'GetControllingUnit': identifier not found
    5>..\..\src\hearthstone-world\Vehicle.cpp(667) : error C2227: left of '->GetGroup' must point to class/struct/union/generic type
    5>..\..\src\hearthstone-world\Vehicle.cpp(667) : error C2227: left of '->GetGroup' must point to class/struct/union/generic type
    5>..\..\src\hearthstone-world\Vehicle.cpp(667) : error C3861: 'GetControllingUnit': identifier not found
    5>..\..\src\hearthstone-world\Vehicle.cpp(667) : error C3861: 'GetControllingUnit': identifier not found

    Error compiling Hearthstone
  2. #2
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    On line 665 of Vehicle.cpp:

    Code:
     	        if( GetControllingUnit() && GetControllingUnit()->IsPlayer() )
     	        {
     	                if( !TO_PLAYER(GetControllingUnit())->GetGroup() || TO_PLAYER(GetControllingUnit())->GetGroup() != GetPlayer()->GetGroup() )
     	                        return;
    	        }
    Replace this with
    Code:
     	        if( pVehicle->GetControllingUnit() && pVehicle->GetControllingUnit()->IsPlayer() )
     	        {
     	                if( !TO_PLAYER(pVehicle->GetControllingUnit())->GetGroup() || TO_PLAYER(pVehicle->GetControllingUnit())->GetGroup() != GetPlayer()->GetGroup() )
     	                        return;
    	        }

  3. #3
    Nadromar's Avatar Contributor
    CoreCoins Purchaser
    Reputation
    369
    Join Date
    Oct 2006
    Posts
    510
    Thanks G/R
    15/28
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It worked Thanks +rep

    Edit: Must spread out <<

  4. #4
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    :S lol

  5. #5
    Heraklion's Avatar Member
    Reputation
    1
    Join Date
    Apr 2009
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lol fast solve !

Similar Threads

  1. Hearthstone compiling error 3.3.0 Windows7
    By ReppzYouTube in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 12-19-2009, 12:44 PM
  2. How to Compile Hearthstone Core
    By Vindicated in forum WoW EMU Guides & Tutorials
    Replies: 89
    Last Post: 11-15-2009, 08:17 AM
  3. [ Help ] - Error compile to class DSCStorage with ScriptDev2
    By Ithylis in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 08-01-2009, 03:05 PM
  4. Error compiling with custom scripts
    By Nadromar in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 06-14-2009, 01:16 PM
  5. error compiling RemovePvPFlag
    By soul02 in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 06-20-2008, 08:14 AM
All times are GMT -5. The time now is 10:03 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search