II_SYS_SYS_SCR_PRO_AWATRANS' : undeclared identifier

05/10/2014 09:48 raventh1984#1
Hi elitepvpers,

I have an problem where c++ is telling me that II_SYS_SYS_SCR_PRO_AWATRANS is not defined. However its defined inside defineItem.h

Also i included the defineItem.h inside WndTransAwake.cpp/h also included it into stdfax.h inside the Neuz folder. Still its saying undeclared identifier.

When i use the define number instead of the ID Name its working but i dont want it to be source controlled. It must be resource controlled.

What is the cause of this? Also when i right click the Property name and choose "Go to Definition" its pointing me to the correct file \Resource\defineItem.h
05/11/2014 08:14 Burdenz2007#2
try to check if the definition of the item is doubled. or the number of the defined item is taken. then try again.
05/11/2014 11:10 Mognakor#3
Instead of opening all.sln, only open the project you modified (Neuz.sln i guess) and then use "Go to Definition" again.
05/13/2014 08:57 raventh1984#4
@Mognakor

I have opend only the neuz this time Recompiled it still giving me the error that its not defined.
So i included the defineItem.h at the top of the file
I hovered my mouse over the II_SYS_SYS_SCR_PRO_AWATRANS
And its telling me that its defined. also right click and go to definition is pointing me to the defineItem.h at the line where its defined.

@Burdenz no its not dubble defined nor is the define number in use by an other item.
05/13/2014 10:57 Drabur#5
is defineItem.h included?
05/13/2014 14:14 raventh1984#6
Read my post again xD
second line.
Its included.
05/28/2014 21:43 raventh1984#7
Bump.

It seems that the problem is only with the blessed files.
But i am curious on how this comes.

Steps i have done to make sure its in there.
Opend up only worldserver.sln.
Checked the line and right clicked on it and its opening defineitem.h
So that is not the problem
Removed all /Release Folders and only compiled worldserver. Still its the same error.
Also added defineitem.h to the worldserver solution but stull it isnt working.

If someone could help it will be appriciated.
Cause now i need to define numbers in the source and that is something i dont like nor want.

Btw the wierd part is that for testing only i have added this II_SYS_SYS_SCR_TEST under II_SYS_SYS_SCR_LEVELDOWN01
Also defined it but for some odd reason it cant read new defineitems.