• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->

Plugin errors Please help... (1 Viewer)

wolfman6801

New member
Joined
Sep 12, 2004
RedCents
34¢
I get all but a few to compile, then on the few I get lots of errors. Can anyone please explain how to compile them without the errors? Please. I have copied the errors I recieved below:

PHP:
Error	1	error C2039: 'Server' : is not a member of 'EQData::_CHARINFO'	c:\MQ2\MQ2Bardswap\MQ2Bardswap.cpp	118
Error	2	error C2039: 'MemorizedSpells' : is not a member of 'EQData::_CHARINFO'	c:\MQ2\MQ2Bardswap\MQ2Bardswap.cpp	260
Error	3	error C2039: 'pActorInfo' : is not a member of 'EQData::_SPAWNINFO'	c:\MQ2\MQ2Bardswap\MQ2Bardswap.cpp	260
Error	4	error C2227: left of '->CastingSpellID' must point to class/struct/union/generic type	c:\MQ2\MQ2Bardswap\MQ2Bardswap.cpp	260
Error	5	error C2039: 'Server' : is not a member of 'EQData::_CHARINFO'	c:\MQ2\MQ2AutoSkills\MQ2AutoSkills.cpp	331
Error	6	error C2039: 'Server' : is not a member of 'EQData::_CHARINFO'	c:\MQ2\MQ2AutoSkills\MQ2AutoSkills.cpp	360
Warning	7	warning C4244: 'initializing' : conversion from 'DWORD' to 'BYTE', possible loss of data	c:\MQ2\MQ2AutoSkills\MQ2AutoSkills.cpp	383
Error	8	error C2039: 'pActorInfo' : is not a member of 'EQData::_SPAWNINFO'	c:\MQ2\MQ2AutoSkills\MQ2AutoSkills.cpp	410
Error	9	error C2039: 'pActorInfo' : is not a member of 'EQData::_SPAWNINFO'	c:\MQ2\MQ2AutoSkills\MQ2AutoSkills.cpp	410
Error	10	error C2227: left of '->Mount' must point to class/struct/union/generic type	c:\MQ2\MQ2AutoSkills\MQ2AutoSkills.cpp	410
Error	11	error C2039: 'pActorInfo' : is not a member of 'EQData::_SPAWNINFO'	c:\MQ2\MQ2AutoSkills\MQ2AutoSkills.cpp	413
Error	12	error C2227: left of '->CastingSpellID' must point to class/struct/union/generic type	c:\MQ2\MQ2AutoSkills\MQ2AutoSkills.cpp	413
Error	13	error C2039: 'Class' : is not a member of 'EQData::_CHARINFO'	c:\MQ2\MQ2AutoSkills\MQ2AutoSkills.cpp	413
Error	14	error C2039: 'pActorInfo' : is not a member of 'EQData::_SPAWNINFO'	c:\MQ2\MQ2AutoSkills\MQ2AutoSkills.cpp	472
Error	15	error C2227: left of '->pTargetOfTarget' must point to class/struct/union/generic type	c:\MQ2\MQ2AutoSkills\MQ2AutoSkills.cpp	472
Error	16	error C2039: 'Server' : is not a member of 'EQData::_CHARINFO'	c:\MQ2\MQ2Autoforge\MQ2Autoforge.cpp	63
Error	17	error C2039: 'pActorInfo' : is not a member of 'EQData::_SPAWNINFO'	c:\MQ2\MQ2Autoforge\MQ2Autoforge.cpp	98
Error	18	error C2227: left of '->SpellETA' must point to class/struct/union/generic type	c:\MQ2\MQ2Autoforge\MQ2Autoforge.cpp	98
Error	19	error C2039: 'Cursor' : is not a member of 'EQData::_CHARINFO'	c:\MQ2\MQ2Autoforge\MQ2Autoforge.cpp	109
Error	20	error C2039: 'Cursor' : is not a member of 'EQData::_CHARINFO'	c:\MQ2\MQ2Autoforge\MQ2Autoforge.cpp	118
Error	21	error C2039: 'Cursor' : is not a member of 'EQData::_CHARINFO'	c:\MQ2\MQ2Autoforge\MQ2Autoforge.cpp	120
Error	22	error C2039: 'Cursor' : is not a member of 'EQData::_CHARINFO'	c:\MQ2\MQ2Autoforge\MQ2Autoforge.cpp	122
Error	23	error C2039: 'Server' : is not a member of 'EQData::_CHARINFO'	c:\MQ2\MQ2Autoforge\MQ2Autoforge.cpp	155
Error	24	error C2039: 'Skill' : is not a member of 'EQData::_CHARINFO'	c:\MQ2\MQ2Autoforge\MQ2Autoforge.cpp	207
Error	25	error C2039: 'Cursor' : is not a member of 'EQData::_CHARINFO'	c:\MQ2\MQ2Autoforge\MQ2Autoforge.cpp	235
Error	26	error C2227: left of '->Item' must point to class/struct/union/generic type	c:\MQ2\MQ2Autoforge\MQ2Autoforge.cpp	235
Error	27	error C2227: left of '->Name' must point to class/struct/union/generic type	c:\MQ2\MQ2Autoforge\MQ2Autoforge.cpp	235
Error	28	error C2039: 'Cursor' : is not a member of 'EQData::_CHARINFO'	c:\MQ2\MQ2Autoforge\MQ2Autoforge.cpp	287
Error	29	error C2227: left of '->Item' must point to class/struct/union/generic type	c:\MQ2\MQ2Autoforge\MQ2Autoforge.cpp	287
Error	30	error C2227: left of '->Name' must point to class/struct/union/generic type	c:\MQ2\MQ2Autoforge\MQ2Autoforge.cpp	287
Warning	31	warning C4244: 'argument' : conversion from 'time_t' to 'int', possible loss of data	c:\MQ2\MQ2EQIM\MQ2EQIM.cpp	380
Error	32	error C2143: syntax error : missing ';' before 'string'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	1
Error	33	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	1
Error	34	error C2146: syntax error : missing ';' before identifier 'DoWarp'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	13
Error	35	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	13
Error	36	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	13
Error	37	error C2146: syntax error : missing ';' before identifier 'Warp'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	14
Error	38	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	14
Error	39	error C2086: 'int VOID' : redefinition	c:\MQ2\MQ2Warp\MQ2Warp.cpp	14
Error	40	error C2065: 'PSPAWNINFO' : undeclared identifier	c:\MQ2\MQ2Warp\MQ2Warp.cpp	14
Error	41	error C2146: syntax error : missing ')' before identifier 'pChar'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	14
Error	42	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	14
Error	43	error C2059: syntax error : ')'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	14
Error	44	error C2146: syntax error : missing ';' before identifier 'zWarp'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	15
Error	45	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	15
Error	46	error C2086: 'int VOID' : redefinition	c:\MQ2\MQ2Warp\MQ2Warp.cpp	15
Error	47	error C2146: syntax error : missing ')' before identifier 'pChar'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	15
Error	48	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	15
Error	49	error C2059: syntax error : ')'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	15
Error	50	error C2146: syntax error : missing ';' before identifier 'ExactLocation'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	16
Error	51	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	16
Error	52	error C2086: 'int VOID' : redefinition	c:\MQ2\MQ2Warp\MQ2Warp.cpp	16
Error	53	error C2146: syntax error : missing ')' before identifier 'pChar'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	16
Error	54	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	16
Error	55	error C2059: syntax error : ')'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	16
Error	56	error C2146: syntax error : missing ';' before identifier 'ExactLocation'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	18
Error	57	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	18
Error	58	error C2086: 'int VOID' : redefinition	c:\MQ2\MQ2Warp\MQ2Warp.cpp	18
Error	59	error C2146: syntax error : missing ')' before identifier 'pChar'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	18
Error	60	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	18
Error	61	error C2374: 'ExactLocation' : redefinition; multiple initialization	c:\MQ2\MQ2Warp\MQ2Warp.cpp	18
Error	62	error C2059: syntax error : ')'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	18
Error	63	error C2143: syntax error : missing ';' before '{'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	19
Error	64	error C2447: '{' : missing function header (old-style formal list?)	c:\MQ2\MQ2Warp\MQ2Warp.cpp	19
Error	65	error C2146: syntax error : missing ';' before identifier 'zWarp'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	25
Error	66	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	25
Error	67	error C2086: 'int VOID' : redefinition	c:\MQ2\MQ2Warp\MQ2Warp.cpp	25
Error	68	error C2146: syntax error : missing ')' before identifier 'pChar'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	25
Error	69	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	25
Error	70	error C2374: 'zWarp' : redefinition; multiple initialization	c:\MQ2\MQ2Warp\MQ2Warp.cpp	25
Error	71	error C2059: syntax error : ')'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	25
Error	72	error C2143: syntax error : missing ';' before '{'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	26
Error	73	error C2447: '{' : missing function header (old-style formal list?)	c:\MQ2\MQ2Warp\MQ2Warp.cpp	26
Error	74	error C2146: syntax error : missing ';' before identifier 'Warp'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	43
Error	75	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	43
Error	76	error C2086: 'int VOID' : redefinition	c:\MQ2\MQ2Warp\MQ2Warp.cpp	43
Error	77	error C2146: syntax error : missing ')' before identifier 'pChar'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	43
Error	78	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	43
Error	79	error C2374: 'Warp' : redefinition; multiple initialization	c:\MQ2\MQ2Warp\MQ2Warp.cpp	43
Error	80	error C2059: syntax error : ')'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	43
Error	81	error C2143: syntax error : missing ';' before '{'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	44
Error	82	error C2447: '{' : missing function header (old-style formal list?)	c:\MQ2\MQ2Warp\MQ2Warp.cpp	44
Error	83	error C2146: syntax error : missing ';' before identifier 'DoWarp'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	119
Error	84	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	119
Error	85	error C2086: 'int VOID' : redefinition	c:\MQ2\MQ2Warp\MQ2Warp.cpp	119
Error	86	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	120
Error	87	error C2065: 'PZONEINFO' : undeclared identifier	c:\MQ2\MQ2Warp\MQ2Warp.cpp	122
Error	88	error C2146: syntax error : missing ';' before identifier 'Zone'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	122
Error	89	error C2065: 'Zone' : undeclared identifier	c:\MQ2\MQ2Warp\MQ2Warp.cpp	122
Error	90	error C2146: syntax error : missing ';' before identifier 'pZoneInfo'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	122
Error	91	error C2065: 'pZoneInfo' : undeclared identifier	c:\MQ2\MQ2Warp\MQ2Warp.cpp	122
Error	92	error C2227: left of '->SafeYLoc' must point to class/struct/union/generic type	c:\MQ2\MQ2Warp\MQ2Warp.cpp	123
Error	93	error C2227: left of '->SafeXLoc' must point to class/struct/union/generic type	c:\MQ2\MQ2Warp\MQ2Warp.cpp	124
Error	94	error C2227: left of '->SafeZLoc' must point to class/struct/union/generic type	c:\MQ2\MQ2Warp\MQ2Warp.cpp	125
Error	95	error C2227: left of '->SafeYLoc' must point to class/struct/union/generic type	c:\MQ2\MQ2Warp\MQ2Warp.cpp	127
Error	96	error C2227: left of '->SafeXLoc' must point to class/struct/union/generic type	c:\MQ2\MQ2Warp\MQ2Warp.cpp	128
Error	97	error C2227: left of '->SafeZLoc' must point to class/struct/union/generic type	c:\MQ2\MQ2Warp\MQ2Warp.cpp	129
Error	98	error C2065: 'CHAR' : undeclared identifier	c:\MQ2\MQ2Warp\MQ2Warp.cpp	131
Error	99	error C2146: syntax error : missing ';' before identifier 'szMsg'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	131
Error	100	error C2065: 'szMsg' : undeclared identifier	c:\MQ2\MQ2Warp\MQ2Warp.cpp	131
Error	101	error C2065: 'MAX_STRING' : undeclared identifier	c:\MQ2\MQ2Warp\MQ2Warp.cpp	131
Error	102	error C2059: syntax error : '{'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	131
Error	103	error C2143: syntax error : missing ';' before '{'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	131
Error	104	error C2143: syntax error : missing ';' before '}'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	131
Error	105	error C2227: left of '->SafeYLoc' must point to class/struct/union/generic type	c:\MQ2\MQ2Warp\MQ2Warp.cpp	132
Error	106	error C2227: left of '->SafeXLoc' must point to class/struct/union/generic type	c:\MQ2\MQ2Warp\MQ2Warp.cpp	132
Error	107	error C2227: left of '->SafeZLoc' must point to class/struct/union/generic type	c:\MQ2\MQ2Warp\MQ2Warp.cpp	132
Error	108	error C3861: 'sprintf': identifier not found	c:\MQ2\MQ2Warp\MQ2Warp.cpp	132
Error	109	error C2065: 'COLOR_PURPLE' : undeclared identifier	c:\MQ2\MQ2Warp\MQ2Warp.cpp	133
Error	110	error C3861: 'WriteChatColor': identifier not found	c:\MQ2\MQ2Warp\MQ2Warp.cpp	133
Error	111	error C2065: 'DWORD' : undeclared identifier	c:\MQ2\MQ2Warp\MQ2Warp.cpp	135
Error	112	error C2146: syntax error : missing ';' before identifier 'MLPTSC'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	135
Error	113	error C2065: 'MLPTSC' : undeclared identifier	c:\MQ2\MQ2Warp\MQ2Warp.cpp	135
Error	114	error C2227: left of '->SafeYLoc' must point to class/struct/union/generic type	c:\MQ2\MQ2Warp\MQ2Warp.cpp	138
Error	115	error C2227: left of '->SafeXLoc' must point to class/struct/union/generic type	c:\MQ2\MQ2Warp\MQ2Warp.cpp	139
Error	116	error C2227: left of '->SafeZLoc' must point to class/struct/union/generic type	c:\MQ2\MQ2Warp\MQ2Warp.cpp	140
Warning	117	warning C4508: 'DoWarp' : function should return a value; 'void' return type assumed	c:\MQ2\MQ2Warp\MQ2Warp.cpp	141
Error	118	error C2146: syntax error : missing ';' before identifier 'VOID'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	143
Error	119	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	143
Error	120	error C2146: syntax error : missing ';' before identifier 'InitializePlugin'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	143
Error	121	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	143
Error	122	error C2086: 'int VOID' : redefinition	c:\MQ2\MQ2Warp\MQ2Warp.cpp	143
Error	123	error C2448: 'InitializePlugin' : function-style initializer appears to be a function definition	c:\MQ2\MQ2Warp\MQ2Warp.cpp	144
Error	124	error C2146: syntax error : missing ';' before identifier 'VOID'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	151
Error	125	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	151
Error	126	error C2086: 'int PLUGIN_API' : redefinition	c:\MQ2\MQ2Warp\MQ2Warp.cpp	151
Error	127	error C2146: syntax error : missing ';' before identifier 'ShutdownPlugin'	c:\MQ2\MQ2Warp\MQ2Warp.cpp	151
Error	128	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\MQ2\MQ2Warp\MQ2Warp.cpp	151
Error	129	error C2086: 'int VOID' : redefinition	c:\MQ2\MQ2Warp\MQ2Warp.cpp	151
Error	130	error C2448: 'ShutdownPlugin' : function-style initializer appears to be a function definition	c:\MQ2\MQ2Warp\MQ2Warp.cpp	152
 
You've got a few things in there that you haven't defined, like MLPTSC.

It also looks like you're using old code, because there's no reason to have "->Server".

Also, you probably have some spaces in your code where there doesn't need to be spaces from copy/paste.

Seeing the SafeYLoc, and so-on, you're attempting to reference a line in eqgame.h that you don't need to be changing.

Compile your source first, then do these plugins one by one to find the errors, not batch build or build solution. When you do that, go to the line in question and look at it. If you find that you can't see a definition or a reasonable error, then research why.
 
Sorry about posting VIP plugin codes I am very sorry :o

I will try to fix my problem by going to mq2 site and see what I can do to fix this. Have to get some sleep will post what I found and if I am still having problems. Thank You TurkReno for your help and reminding me of the vip source not being allowed.
 
Last edited:
From looking at those errors, it looks like you need to update your source codes. pActorInfo was removed a long time ago. If you want a quick fix, every time you see pActorInfo->, just delete pActorInfo->. That should fix most of those issues.

Also, idk if this is just your post, but do you really have plugins named MQ2MQ2AutoforgeMQ2Autoforge ?
 
thez said:
From looking at those errors, it looks like you need to update your source codes. pActorInfo was removed a long time ago. If you want a quick fix, every time you see pActorInfo->, just delete pActorInfo->. That should fix most of those issues.

Also, idk if this is just your post, but do you really have plugins named MQ2MQ2AutoforgeMQ2Autoforge ?

Wow never knew that all those I listed have MQ2MQ2<Name>MQ2<Name> I assume this is not correct? I saved it as just MQ2<Name>.cpp in MQ2 folder. Got most of the plugins to compile only a few won't.

I really appreciate the help. I will be going through all errors and doing some searching on MQ2 site.
 
Ok, I got mq2autoskills to work. I wasn't to bright I didn't read all the post from the link :o VIP Link>>> Link to working Autoskills plugin code

11th post down on page 10 <DigitalMocking>Sat Dec 17, 2005 9:03 am. I just compiled it and loaded it but haven't checked out if working properly yet. Thank You to the ones who were patient with me and sorry for not researching this before posting. ;)
 
Plugin errors Please help...

Users who are viewing this thread

Back
Top