06-09-2003, 06:49 PM
I am having problems compiling spells.cpp, it refuses to compile it... here is the error text:
Compiling...
spells.cpp
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(3871) : error C2601: 'CheckBuffs' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(3887) : error C2601: 'CheckPet' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(3902) : error C2601: 'FindSpell' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4200) : error C2601: 'CanUse' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4210) : error C2601: 'FindBuff' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4219) : error C2601: 'IsEffectInSpell' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4230) : error C2601: 'FindType' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4259) : error C2601: 'GetBuffSlotFromType' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4276) : error C2601: 'AddProcToWeapon' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4310) : error C2601: 'RemoveProcFromWeapon' : local function definitions are illegal
Error executing cl.exe.
spells.obj - 10 error(s), 0 warning(s)
I didn't make any changes to those sections, it just refuses to compile them, everything else is fine, the parts that I edited compile, but, those sections won't, i'm using VC++ 6, btw
Compiling...
spells.cpp
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(3871) : error C2601: 'CheckBuffs' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(3887) : error C2601: 'CheckPet' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(3902) : error C2601: 'FindSpell' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4200) : error C2601: 'CanUse' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4210) : error C2601: 'FindBuff' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4219) : error C2601: 'IsEffectInSpell' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4230) : error C2601: 'FindType' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4259) : error C2601: 'GetBuffSlotFromType' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4276) : error C2601: 'AddProcToWeapon' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4310) : error C2601: 'RemoveProcFromWeapon' : local function definitions are illegal
Error executing cl.exe.
spells.obj - 10 error(s), 0 warning(s)
I didn't make any changes to those sections, it just refuses to compile them, everything else is fine, the parts that I edited compile, but, those sections won't, i'm using VC++ 6, btw