MMOCoin

Likes Likes:  0
Results 1 to 6 of 6

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Banned

    Join Date
    Sep 2009
    Location
    In My Computer
    Posts
    76
    Post Thanks / Like
    Rep Power
    0
    Reputation
    52

    errors

    i got a crap ton of errors while compiling this:
    is this not for arcemu?

    Code:
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(19) : error C2143: syntax error : missing ';' before '<class-head>'
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(23) : error C2061: syntax error : identifier 'CreaturePointer'
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(21) : error C2664: 'DuelSpectatorAI::DuelSpectatorAI(const DuelSpectatorAI &)' : cannot convert parameter 1 from 'Creature *' to 'const DuelSpectatorAI &'
    14>        Reason: cannot convert from 'Creature *' to 'const DuelSpectatorAI'
    14>        No constructor could take the source type, or constructor overload resolution was ambiguous
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(23) : error C2065: 'pCreature' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(49) : error C2061: syntax error : identifier 'CreaturePointer'
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(61) : error C2061: syntax error : identifier 'PlayerPointer'
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(47) : error C2664: 'DuelHealerAI::DuelHealerAI(const DuelHealerAI &)' : cannot convert parameter 1 from 'Creature *' to 'const DuelHealerAI &'
    14>        Reason: cannot convert from 'Creature *' to 'const DuelHealerAI'
    14>        No constructor could take the source type, or constructor overload resolution was ambiguous
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(49) : error C2065: 'pCreature' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(63) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(63) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(63) : error C2227: left of '->DuelingWith' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(63) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(63) : error C2227: left of '->CombatStatus' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(63) : error C2228: left of '.IsInCombat' must have class/struct/union
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(65) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(65) : error C2227: left of '->GetHealthPct' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(66) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(67) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(67) : error C2227: left of '->GetSession' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(67) : error C2227: left of '->SendNotification' must point to class/struct/union/generic type
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(70) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(70) : error C2227: left of '->GetManaPct' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(70) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(70) : error C2227: left of '->GetManaPct' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(72) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(73) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(73) : error C2227: left of '->CastSpell' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(73) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(81) : error C2065: 'MapMgrPointer' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(81) : error C2146: syntax error : missing ';' before identifier 'mapMgr'
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(81) : error C2065: 'mapMgr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(82) : error C2065: 'mapMgr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(82) : error C2227: left of '->GetPlayerCount' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(91) : error C2065: 'mapMgr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(91) : error C2227: left of '->GetPosX' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(92) : error C2065: 'mapMgr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(92) : error C2227: left of '->GetPosY' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(106) : error C2065: 'mapMgr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(106) : error C2227: left of '->GetCell' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(116) : error C2660: 'DuelHealerAI::HealPlayer' : function does not take 1 arguments





  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  3. #2
    Contributor
    LiLLeCarl's Avatar
    Join Date
    Jan 2009
    Posts
    106
    Post Thanks / Like
    Rep Power
    19
    Reputation
    84
    Quote Originally Posted by mec View Post
    i got a crap ton of errors while compiling this:
    is this not for arcemu?

    Code:
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(19) : error C2143: syntax error : missing ';' before '<class-head>'
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(23) : error C2061: syntax error : identifier 'CreaturePointer'
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(21) : error C2664: 'DuelSpectatorAI::DuelSpectatorAI(const DuelSpectatorAI &)' : cannot convert parameter 1 from 'Creature *' to 'const DuelSpectatorAI &'
    14>        Reason: cannot convert from 'Creature *' to 'const DuelSpectatorAI'
    14>        No constructor could take the source type, or constructor overload resolution was ambiguous
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(23) : error C2065: 'pCreature' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(49) : error C2061: syntax error : identifier 'CreaturePointer'
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(61) : error C2061: syntax error : identifier 'PlayerPointer'
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(47) : error C2664: 'DuelHealerAI::DuelHealerAI(const DuelHealerAI &)' : cannot convert parameter 1 from 'Creature *' to 'const DuelHealerAI &'
    14>        Reason: cannot convert from 'Creature *' to 'const DuelHealerAI'
    14>        No constructor could take the source type, or constructor overload resolution was ambiguous
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(49) : error C2065: 'pCreature' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(63) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(63) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(63) : error C2227: left of '->DuelingWith' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(63) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(63) : error C2227: left of '->CombatStatus' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(63) : error C2228: left of '.IsInCombat' must have class/struct/union
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(65) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(65) : error C2227: left of '->GetHealthPct' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(66) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(67) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(67) : error C2227: left of '->GetSession' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(67) : error C2227: left of '->SendNotification' must point to class/struct/union/generic type
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(70) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(70) : error C2227: left of '->GetManaPct' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(70) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(70) : error C2227: left of '->GetManaPct' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(72) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(73) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(73) : error C2227: left of '->CastSpell' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(73) : error C2065: 'plr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(81) : error C2065: 'MapMgrPointer' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(81) : error C2146: syntax error : missing ';' before identifier 'mapMgr'
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(81) : error C2065: 'mapMgr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(82) : error C2065: 'mapMgr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(82) : error C2227: left of '->GetPlayerCount' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(91) : error C2065: 'mapMgr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(91) : error C2227: left of '->GetPosX' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(92) : error C2065: 'mapMgr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(92) : error C2227: left of '->GetPosY' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(106) : error C2065: 'mapMgr' : undeclared identifier
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(106) : error C2227: left of '->GetCell' must point to class/struct/union/generic type
    14>        type is ''unknown-type''
    14>..\src\CustomScripts\zone_duel\ZONE_Duel.cpp(116) : error C2660: 'DuelHealerAI::HealPlayer' : function does not take 1 arguments
    i think this is for Aspire but its easy to convert ok? :P open is in notepad++ or vs2008 then press ctrl+f then you choose replace and put replace pointer with *

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •