• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Script Issue [Can't seem to find new identifiers]

Status
Not open for further replies.

Mookz

Epic Member
Can't figure out what needs to be updated on this script, I did 30+ Fixes but not can't figure out these last few.

Would be awesome for some help.

Errors:

RED = Errors
GREEN = Where error is located.

Code:
[COLOR="#FF0000"]4>..\..\..\..\Source\src\server\scripts\Kalimdor\CavernsOfTime\CullingOfStratholme\instance_culling_of_stratholme.cpp(225) : error C3861: 'CompleteAchievement': identifier not found[/COLOR]

[COLOR="#00FF00"]case DONE:
                                DoUpdateWorldState(WORLDSTATE_TIME_GUARDIAN_SHOW, 0);
                                CompleteAchievement(ACHIEVEMENT_CULLING_TIME);
                                break;[/COLOR]

Code:
[COLOR="#FF0000"]4>..\..\..\..\Source\src\server\scripts\Kalimdor\CavernsOfTime\CullingOfStratholme\instance_culling_of_stratholme.cpp(314) : error C3861: 'CompleteAchievement': identifier not found[/COLOR]

[COLOR="#00FF00"]case DONE:
                                CompleteAchievement(ACHIEVEMENT_ZOMBIEFEST);
                                DoSendNotifyToInstance(zombiefestWarnings[10]);
                                _zombieFest = data;
                                break;[/COLOR]

Code:
[COLOR="#FF0000"]4>..\..\..\..\Source\src\server\scripts\Kalimdor\CavernsOfTime\CullingOfStratholme\boss_infinite_corruptor.cpp(76) : error C2039: 'Yell' : is not a member of 'Creature'[/COLOR]

[COLOR="#00FF00"]void EnterCombat(Unit* /*who*/)
        {
            me->Yell(SAY_CORRUPTOR_AGGRO, LANG_UNIVERSAL, 0);
        }][/COLOR]

Code:
[COLOR="#FF0000"]4>..\..\..\..\Source\src\server\scripts\Kalimdor\CavernsOfTime\CullingOfStratholme\boss_infinite_corruptor.cpp(81) : error C2039: 'Yell' : is not a member of 'Creature'[/COLOR]

[COLOR="#00FF00"]void JustDied(Unit* pKiller)
        {
            me->Yell(SAY_CORRUPTOR_DEAD, LANG_UNIVERSAL, 0);
            if (instance)
                instance->SetData(DATA_INFINITE_EVENT, DONE);
        }
[/COLOR]

Code:
[COLOR="#FF0000"]4>..\..\..\..\Source\src\server\scripts\Kalimdor\CavernsOfTime\CullingOfStratholme\boss_infinite_corruptor.cpp(90) : error C2039: 'YellToZone' : is not a member of 'Creature'[/COLOR]

[COLOR="#00FF00"]void DoAction(const int32 id)
        {
            if(id == 0) // Called from InstanceScript
            {
                me->YellToZone(SAY_CORRUPTOR_DESPAWN, LANG_UNIVERSAL, 0);
                me->DespawnOrUnsummon(1000);
            }
        }[/COLOR]
 

Rochet2

Moderator / Eluna Dev
Share the full script?
CompleteAchievement doesnt seem to exist and cant see the context.
Use MonsterYell instead of Yell
Not exactly sure of YellToZone. Cant seem to find a replacement coded in. Hmm..
Just use Yell?
 
Status
Not open for further replies.
Top