Code:
c:ascenttrunksrcascent-worldAlteracValley.h(30) : error C2143: syntax error : missing ';' before '*'
c:ascenttrunksrcascent-worldAlteracValley.h(30) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:ascenttrunksrcascent-worldAlteracValley.h(30) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:ascenttrunksrcascent-worldAlteracValley.h(30) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:ascenttrunksrcascent-worldAlteracValley.h(30) : warning C4183: 'Create': missing return type; assumed to be a member function returning 'int'
c:ascenttrunksrcascent-worldAlteracValley.h(30) : error C2440: 'return' : cannot convert from 'AlteracValley *' to 'int *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Line:
Code:
static &CBattleground * Create(MapMgr * m, uint32 i, uint32 l, uint32 t) { return new AlteracValley(m, i, l, t); }
I put the &CBattlegound in av.h there to test if it would stop getting this error:
Code:
AlteracValley.cpp
....srcascent-worldAlteracValley.cpp(67) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(67) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(68) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(68) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(69) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(69) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(70) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(70) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(71) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(71) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(72) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(72) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(73) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(73) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(74) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(74) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(75) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(75) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(76) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(76) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(77) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(77) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(78) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(78) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(79) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(79) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(80) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(80) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(81) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(81) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(82) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(82) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(83) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(83) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(84) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(84) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(85) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(85) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(86) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(86) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(87) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(87) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(88) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(88) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(89) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(89) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(90) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(90) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(91) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(91) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(92) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(92) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(93) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(93) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(94) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(94) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(95) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(95) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(96) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(96) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(97) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(97) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(98) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(98) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(99) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(99) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(100) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(100) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(101) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(101) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(102) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(102) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(103) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(103) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(104) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(104) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(105) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(105) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(106) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(106) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(107) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(107) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(108) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(108) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(109) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(109) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(110) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(110) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(111) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(111) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(112) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(112) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(113) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(113) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(114) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(114) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(115) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(115) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(116) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(116) : error C2109: subscript requires array or pointer type
....srcascent-worldAlteracValley.cpp(117) : error C3867: 'CBattleground::SetWorldState': function call missing argument list; use '&CBattleground::SetWorldState' to create a pointer to member
....srcascent-worldAlteracValley.cpp(117) : fatal error C1003: error count exceeds 100; stopping compilation
It get's rid of the error once I put &CBattleground in AlteracValley.h but gives more errors (Top)