View Single Post
  #2  
Old 05-09-2004, 02:45 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default Re: Errors while compiling

C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\client_process.cpp(5021) : error C2086: 'i' : redefinition

To fix this, edit client_process.cpp. Around line 5021, change the 'i' to a 'j' in the for loop:

Code:
for(int j = 0; j < 9; j++)
        {
                sze->equip[j] = GetEquipmentMaterial(j);
                sze->colors[j].color = GetEquipmentColor(j);
        }


C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\npc.cpp(429) : error C2065: 'cit_timer' : undeclared identifier

This error seems to be caused because that bit of code should only be compiled for GUILDWARS and was introduced with the 05-08 source. Edit npc.cpp, goto line 429 and #ifdef that code, i.e.

Code:
#ifdef GUILDWARS
        if(cit_timer && cit_timer->Check())
        {
                Depop();
                return false;
        }
#endif


C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\npc.cpp(429) : error C2227: left of '->Check' must point to class/struct/union

That error will probably go away when you fix the previous one.
Reply With Quote