[src] /change City

Codes already submitted by people of the forums.
BlueChristmas
Loyal fan
Posts: 216
Joined: Wed Apr 19, 2006 12:19 am

Post by BlueChristmas »

slawsoo wrote: Whooooooooops ;P

D:\2.24b Sources\Game.cpp(10113) : error C2065: 'dwMsgSize' : undeclared identifier
D:\2.24b Sources\Game.cpp(10113) : error C2057: expected constant expression
D:\2.24b Sources\Game.cpp(10113) : error C2466: cannot allocate an array of constant size 0
D:\2.24b Sources\Game.cpp(10113) : error C2501: 'pData' : missing storage-class or type specifiers
D:\2.24b Sources\Game.cpp(10113) : error C2440: 'initializing' : cannot convert from 'const int' to 'int []'
There are no conversions to array types, although there are conversions to references or pointers to arrays
D:\2.24b Sources\Game.cpp(10115) : error C2143: syntax error : missing ';' before 'if'
D:\2.24b Sources\Game.cpp(10115) : error C2143: syntax error : missing ';' before '{'
D:\2.24b Sources\Game.cpp(10115) : error C2447: missing function header (old-style formal list?)
D:\2.24b Sources\Game.cpp(10132) : error C2501: 'cp' : missing storage-class or type specifiers
D:\2.24b Sources\Game.cpp(10132) : error C2440: 'initializing' : cannot convert from 'char *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
D:\2.24b Sources\Game.cpp(10134) : error C2143: syntax error : missing ';' before 'if'
D:\2.24b Sources\Game.cpp(10134) : error C2143: syntax error : missing ';' before '{'
D:\2.24b Sources\Game.cpp(10134) : error C2447: missing function header (old-style formal list?)
D:\2.24b Sources\Game.cpp(10147) : error C2501: 'wp' : missing storage-class or type specifiers
D:\2.24b Sources\Game.cpp(10147) : error C2440: 'initializing' : cannot convert from 'unsigned short *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
D:\2.24b Sources\Game.cpp(10148) : error C2501: 'wp' : missing storage-class or type specifiers
D:\2.24b Sources\Game.cpp(10148) : error C2040: 'wp' : 'int *' differs in levels of indirection from 'int'
D:\2.24b Sources\Game.cpp(10148) : error C2065: 'iClientH' : undeclared identifier
D:\2.24b Sources\Game.cpp(10148) : error C2440: 'initializing' : cannot convert from 'unsigned short' to 'int *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
D:\2.24b Sources\Game.cpp(10150) : error C2501: 'cp' : missing storage-class or type specifiers
D:\2.24b Sources\Game.cpp(10150) : error C2374: 'cp' : redefinition; multiple initialization
D:\2.24b Sources\Game.cpp(10132) : see declaration of 'cp'
D:\2.24b Sources\Game.cpp(10150) : error C2440: 'initializing' : cannot convert from 'char *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
D:\2.24b Sources\Game.cpp(10151) : error C2501: 'cp' : missing storage-class or type specifiers
D:\2.24b Sources\Game.cpp(10151) : error C2040: 'cp' : 'int *' differs in levels of indirection from 'int'
D:\2.24b Sources\Game.cpp(10151) : error C2065: 'cSendMode' : undeclared identifier
D:\2.24b Sources\Game.cpp(10151) : error C2440: 'initializing' : cannot convert from 'int' to 'int *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
D:\2.24b Sources\Game.cpp(10153) : error C2143: syntax error : missing ';' before 'if'
D:\2.24b Sources\Game.cpp(10153) : error C2143: syntax error : missing ';' before '{'
D:\2.24b Sources\Game.cpp(10153) : error C2447: missing function header (old-style formal list?)
D:\2.24b Sources\Game.cpp(10235) : error C2143: syntax error : missing ';' before 'else'
D:\2.24b Sources\Game.cpp(10235) : error C2143: syntax error : missing ';' before '{'
D:\2.24b Sources\Game.cpp(10235) : error C2447: missing function header (old-style formal list?)
D:\2.24b Sources\Game.cpp(10309) : error C2143: syntax error : missing ';' before '}'
D:\2.24b Sources\Game.cpp(10309) : error C2143: syntax error : missing ';' before '}'
D:\2.24b Sources\Game.cpp(10309) : error C2143: syntax error : missing ';' before '}'
D:\2.24b Sources\Game.cpp(10313) : error C2143: syntax error : missing ';' before '{'
D:\2.24b Sources\Game.cpp(10313) : error C2447: missing function header (old-style formal list?)
Map.cpp
Skipping... (no relevant changes detected)
wmain.cpp
Error executing cl.exe.

HGserver.exe - 37 error(s), 8 warning(s)

:blink:
declare the names it's telling you, and you have more closing } than needed.
<img src='http://img114.imageshack.us/img114/8618 ... 2dy3lx.jpg' border='0' alt='user posted image' />
Jensen
Loyal fan
Posts: 300
Joined: Tue Aug 02, 2005 7:40 am
Location: Illinois, USA
Contact:

Post by Jensen »

not that i wanna keep arguing over something as small as someones compile error i usually get that many when i dont open or close something right and it affects following functions, but your right about the exact text from the error, i was just suggesting what i thought could be the cause of them because im going to assume he actually has them declared (pretty be assumption looking at those errors tho....)
-><-
Post Reply