-_-!!! 2.24b Compiling... errrrrrr

All Helbreath Server Source Discussion here.
Post Reply
ondal01
noob
Posts: 18
Joined: Fri Oct 15, 2004 8:25 am

Post by ondal01 »

way? way? way? way? way? way?

Compiling resources...
Compiling...
BuildItem.cpp
Client.cpp
DelayEvent.cpp
DynamicObject.cpp
Fish.cpp
Game.cpp
c:\2.24b sources\game.cpp(1107) : warning C4101: 'dwTime' : unreferenced local variable
c:\2.24b sources\game.cpp(2109) : warning C4305: '=' : truncation from 'const int' to 'char'
c:\2.24b sources\game.cpp(2109) : warning C4309: '=' : truncation of constant value
c:\2.24b sources\game.cpp(8844) : warning C4305: '=' : truncation from 'const int' to 'short'
c:\2.24b sources\game.cpp(8844) : warning C4309: '=' : truncation of constant value
c:\2.24b sources\game.cpp(37395) : error C2001: newline in constant
c:\2.24b sources\game.cpp(37396) : error C2143: syntax error : missing ')' before '}'
c:\2.24b sources\game.cpp(37396) : error C2143: syntax error : missing ';' before '}'
GuildsMan.cpp
Item.cpp
Magic.cpp
Map.cpp
Mineral.cpp
Misc.cpp
Msg.cpp
Npc.cpp
OccupyFlag.cpp
Portion.cpp
Quest.cpp
Skill.cpp
StrategicPoint.cpp
StrTok.cpp
Teleport.cpp
TeleportLoc.cpp
TempNpcItem.cpp
Tile.cpp
wmain.cpp
XSocket.cpp
DebugDialog.cpp
C:\2.24b Sources\DebugDialog.cpp(85) : warning C4018: '<' : signed/unsigned mismatch
C:\2.24b Sources\DebugDialog.cpp(88) : warning C4018: '<' : signed/unsigned mismatch
C:\2.24b Sources\DebugDialog.cpp(97) : warning C4018: '<' : signed/unsigned mismatch
Error executing cl.exe.



Results
HGserver.exe - 3 error(s), 8 warning(s)

----------------------------------------------------------------------
Microsoft Visual C++ 6.0 , Windows XP SE1
Windy
Member
Posts: 157
Joined: Tue Nov 18, 2003 8:31 am
Location: wishing I was somewhere else

Post by Windy »

c:\2.24b sources\game.cpp(37395) : error C2001: newline in constant
c:\2.24b sources\game.cpp(37396) : error C2143: syntax error : missing ')' before '}'
c:\2.24b sources\game.cpp(37396) : error C2143: syntax error : missing ';' before '}'

go to those 3 lines and fix the errors it tells u the lines (37395) and the error its missing a ) before } so put one in
<span style='color:blue'>Coding with Evil Intentions....Evil at its Best....</span>
CDWriter
Member
Posts: 123
Joined: Sun Feb 22, 2004 12:08 am

Post by CDWriter »

to remove this line ...
Game.cpp
c:\2.24b sources\game.cpp(1107) : warning C4101: 'dwTime' : unreferenced local variable

go there and add this in // front of the dwtTime example below..



char * cp, cData[3000];
class CTile * pTile;
DWORD * dwp; //dwTime;
WORD * wp, wObjectID;

when they where trying to get the hack checker for speeder they add dwTime there ...but with no luck so they omitted it out but for got the call...

as for these lines
c:\2.24b sources\game.cpp(37395) : error C2001: newline in constant
c:\2.24b sources\game.cpp(37396) : error C2143: syntax error : missing ')' before '}'
c:\2.24b sources\game.cpp(37396) : error C2143: syntax error : missing ';' before '}'

case 32: break; //<---line 37395
case 21: //<--line 37396
iQuestNum = _iTalkToNpcResult_Guard(iClientH, &iQuestType, &iResMode, &iRewardType, &iRewardAmount, &iContribution, cTargetName, &iTargetType, &iTargetCount, &iX, &iY, &iRange); //<---line 37397
if (iQuestNum >= 1000) return;
break;

too easy....


HGserver.exe - 0 error(s), 5 warning(s)



now if only someone would help me on this error


d:\2.24b sources\game.cpp(23877) : warning C4700: local variable 'cMapIndex' used without having been initialized

it would be very help full and get me to 4 errors
<_< :rolleyes: <_<
ondal01
noob
Posts: 18
Joined: Fri Oct 15, 2004 8:25 am

Post by ondal01 »

Thanks ^^
Post Reply