Model Change

01/29/2018 09:52 khemomo#1
I got an error while copying model change from other source. I wonder if someone can help me here please,

Here's my error. help me please

Code:
Error	35	error C2065: 'i' : undeclared identifier	D:\FlyFF\Source\_Interface\WndField.cpp	829	1	Neuz
Error	37	error C2065: 'i' : undeclared identifier	D:\FlyFF\Source\_Interface\WndField.cpp	831	1	Neuz
Error	39	error C2065: 'i' : undeclared identifier	D:\FlyFF\Source\_Interface\WndField.cpp	866	1	Neuz
Error	41	error C2065: 'i' : undeclared identifier	D:\FlyFF\Source\_Interface\WndField.cpp	868	1	Neuz
Error	1	error C2065: 'prj' : undeclared identifier	d:\flyff\source\_network\Objects\Obj.h	178	1	CoreServer
Error	3	error C2065: 'prj' : undeclared identifier	d:\flyff\source\_network\Objects\Obj.h	178	1	CoreServer
Error	5	error C2065: 'prj' : undeclared identifier	d:\flyff\source\_Network\Objects\obj.h	178	1	CoreServer
Error	7	error C2065: 'prj' : undeclared identifier	d:\flyff\source\_Network\Objects\obj.h	178	1	CoreServer
Error	9	error C2065: 'prj' : undeclared identifier	d:\flyff\source\_Network\Objects\obj.h	178	1	CoreServer
Error	11	error C2065: 'prj' : undeclared identifier	d:\flyff\source\_Network\Objects\obj.h	178	1	CoreServer
Error	13	error C2065: 'prj' : undeclared identifier	d:\flyff\source\_Network\Objects\obj.h	178	1	CoreServer
Error	15	error C2065: 'prj' : undeclared identifier	d:\flyff\source\_network\Objects\Obj.h	178	1	CoreServer
Error	17	error C2065: 'prj' : undeclared identifier	d:\flyff\source\_Network\Objects\obj.h	178	1	CoreServer
Error	19	error C2065: 'prj' : undeclared identifier	d:\flyff\source\_Network\Objects\obj.h	178	1	CoreServer
Error	21	error C2065: 'prj' : undeclared identifier	d:\flyff\source\_network\Objects\Obj.h	178	1	CoreServer
Error	23	error C2065: 'prj' : undeclared identifier	d:\flyff\source\_network\Objects\Obj.h	178	1	CoreServer
Error	2	error C2228: left of '.GetItemProp' must have class/struct/union	d:\flyff\source\_network\Objects\Obj.h	178	1	CoreServer
Error	4	error C2228: left of '.GetItemProp' must have class/struct/union	d:\flyff\source\_network\Objects\Obj.h	178	1	CoreServer
Error	6	error C2228: left of '.GetItemProp' must have class/struct/union	d:\flyff\source\_Network\Objects\obj.h	178	1	CoreServer
Error	8	error C2228: left of '.GetItemProp' must have class/struct/union	d:\flyff\source\_Network\Objects\obj.h	178	1	CoreServer
Error	10	error C2228: left of '.GetItemProp' must have class/struct/union	d:\flyff\source\_Network\Objects\obj.h	178	1	CoreServer
Error	12	error C2228: left of '.GetItemProp' must have class/struct/union	d:\flyff\source\_Network\Objects\obj.h	178	1	CoreServer
Error	14	error C2228: left of '.GetItemProp' must have class/struct/union	d:\flyff\source\_Network\Objects\obj.h	178	1	CoreServer
Error	16	error C2228: left of '.GetItemProp' must have class/struct/union	d:\flyff\source\_network\Objects\Obj.h	178	1	CoreServer
Error	18	error C2228: left of '.GetItemProp' must have class/struct/union	d:\flyff\source\_Network\Objects\obj.h	178	1	CoreServer
Error	20	error C2228: left of '.GetItemProp' must have class/struct/union	d:\flyff\source\_Network\Objects\obj.h	178	1	CoreServer
Error	22	error C2228: left of '.GetItemProp' must have class/struct/union	d:\flyff\source\_network\Objects\Obj.h	178	1	CoreServer
Error	24	error C2228: left of '.GetItemProp' must have class/struct/union	d:\flyff\source\_network\Objects\Obj.h	178	1	CoreServer
Error	36	error C2228: left of '.realid' must have class/struct/union	D:\FlyFF\Source\_Interface\WndField.cpp	829	1	Neuz
Error	38	error C2228: left of '.realid' must have class/struct/union	D:\FlyFF\Source\_Interface\WndField.cpp	831	1	Neuz
Error	40	error C2228: left of '.realid' must have class/struct/union	D:\FlyFF\Source\_Interface\WndField.cpp	866	1	Neuz
Error	42	error C2228: left of '.realid' must have class/struct/union	D:\FlyFF\Source\_Interface\WndField.cpp	868	1	Neuz
01/29/2018 09:58 Zeljian#2
undeclared identifier in WndField.h
undeclared identifier in Obj.cpp.

You need to add the missing what I mention
01/29/2018 10:04 khemomo#3
Quote:
Originally Posted by Zeljian View Post
undeclared identifier in WndField.h
undeclared identifier in Obj.cpp.

You need to add the missing what I mention
Yeah there is missing, but in what part do i need to put the "I" and "prj"?

Can I bump my post please need it asap
01/30/2018 12:33 C_O_R_E#4
See the first post:

[Only registered and activated users can see links. Click Here To Register...]

The solution is right in front of you.
01/31/2018 13:23 khemomo#5
Quote:
Originally Posted by C_O_R_E View Post
See the first post:

[Only registered and activated users can see links. Click Here To Register...]

The solution is right in front of you.
Yah i know that there's something missing and need tobe define, but its not in the wndfield.h because i tried to compare mine to the same working source there's no #define "i" from that source and there's no difference.
01/31/2018 13:59 C_O_R_E#6
Quote:
Originally Posted by khemomo View Post
Yah i know that there's something missing and need tobe define, but its not in the wndfield.h because i tried to compare mine to the same working source there's no #define "i" from that source and there's no difference.
Which documents have you already been searched for the declaration/definition of prj? The whole source?

About the identifier 'i' - can't tell since I haven't implementation of it.
If it's working, I would give a look at stdafx.*


edit$

An identifier might not only declared by #define lol.
02/03/2018 16:16 Avalion#7
for your undeclared identifier, "i", make sure that you are declaring the variable each time to goes out of scope or at the top of the function. In C++ 03, the variable was still allowed to be used after the scope ended.

The prj. issue could be a missing include to the Project.h file -- however, I doubt the coreserver would need access to it. The missing prj. is also causing the GetItemProp error.

Last but not least, make sure in project.h, make sure you copied everything considering that realid is probably stored in there and you are getting an error in there.
02/06/2018 15:48 KingKeesie#8
Use winmerge to your files and copied files and see difference and hopefully your mistake