2.24c Error

All Helbreath Server Source Discussion here.
Post Reply
asdasd99
noob
Posts: 11
Joined: Thu Dec 30, 2004 10:16 pm

Post by asdasd99 »

Build Log

--------------------Configuration: HGserver - Win32 Debug--------------------

Command Lines
Creating command line "rc.exe /l 0x412 /fo"Debug/HGserver.res" /d "_DEBUG" "C:\down\HBx[2.24b]source\2.24b Sources\HGserver.rc""
Creating temporary file "C:\WINDOWS\TEMP\RSP61B2.TMP" with contents
[
/nologo /G5 /MTd /W3 /Gm /GX /ZI /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /Fp"Debug/HGserver.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /c
"C:\down\HBx[2.24b]source\2.24b Sources\BuildItem.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\Client.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\DelayEvent.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\DynamicObject.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\Fish.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\Game.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\GuildsMan.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\Item.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\Magic.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\Map.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\Mineral.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\Misc.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\Msg.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\Npc.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\OccupyFlag.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\Portion.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\Quest.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\Skill.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\StrategicPoint.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\StrTok.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\Teleport.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\TeleportLoc.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\TempNpcItem.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\Tile.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\wmain.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\XSocket.cpp"
"C:\down\HBx[2.24b]source\2.24b Sources\DebugDialog.cpp"
]
Creating command line "cl.exe @C:\WINDOWS\TEMP\RSP61B2.TMP"
Creating temporary file "C:\WINDOWS\TEMP\RSP61B3.TMP" with contents
[
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /profile /debug /machine:I386 /out:"Debug/HGserver.exe"
".\Debug\BuildItem.obj"
".\Debug\Client.obj"
".\Debug\DelayEvent.obj"
".\Debug\DynamicObject.obj"
".\Debug\Fish.obj"
".\Debug\Game.obj"
".\Debug\GuildsMan.obj"
".\Debug\Item.obj"
".\Debug\Magic.obj"
".\Debug\Map.obj"
".\Debug\Mineral.obj"
".\Debug\Misc.obj"
".\Debug\Msg.obj"
".\Debug\Npc.obj"
".\Debug\OccupyFlag.obj"
".\Debug\Portion.obj"
".\Debug\Quest.obj"
".\Debug\Skill.obj"
".\Debug\StrategicPoint.obj"
".\Debug\StrTok.obj"
".\Debug\Teleport.obj"
".\Debug\TeleportLoc.obj"
".\Debug\TempNpcItem.obj"
".\Debug\Tile.obj"
".\Debug\wmain.obj"
".\Debug\XSocket.obj"
".\Debug\DebugDialog.obj"
".\Debug\HGserver.res"
".\Winmm.lib"
".\Ws2_32.lib"
]
Creating command line "link.exe @C:\WINDOWS\TEMP\RSP61B3.TMP"
Output Window
Compiling resources...
Compiling...
BuildItem.cpp
Client.cpp
DelayEvent.cpp
DynamicObject.cpp
Fish.cpp
Game.cpp
c:\down\hbx[2.24b]source\2.24b sources\game.cpp(1107) : warning C4101: 'dwTime' : unreferenced local variable
c:\down\hbx[2.24b]source\2.24b sources\game.cpp(2109) : warning C4305: '=' : truncation from 'const int' to 'char'
c:\down\hbx[2.24b]source\2.24b sources\game.cpp(2109) : warning C4309: '=' : truncation of constant value
c:\down\hbx[2.24b]source\2.24b sources\game.cpp(8844) : warning C4305: '=' : truncation from 'const int' to 'short'
c:\down\hbx[2.24b]source\2.24b sources\game.cpp(8844) : warning C4309: '=' : truncation of constant value
c:\down\hbx[2.24b]source\2.24b sources\game.cpp(37395) : error C2001: newline in constant
c:\down\hbx[2.24b]source\2.24b sources\game.cpp(37396) : error C2143: syntax error : missing ')' before '}'
c:\down\hbx[2.24b]source\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:\down\HBx[2.24b]source\2.24b Sources\DebugDialog.cpp(85) : warning C4018: '<' : signed/unsigned mismatch
C:\down\HBx[2.24b]source\2.24b Sources\DebugDialog.cpp(88) : warning C4018: '<' : signed/unsigned mismatch
C:\down\HBx[2.24b]source\2.24b Sources\DebugDialog.cpp(97) : warning C4018: '<' : signed/unsigned mismatch
Error executing cl.exe.


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


///////////////////////////////////
ZeroMemory(cRewardName, sizeof(cRewardName));
if (iQuestNum > 0) {
if (iRewardType > 1) {
strcpy(cRewardName, m_pItemConfigList[iRewardType]->m_cName);
}
else {
switch (iRewardType) {
case -10: strcpy(cRewardName, "┻쪭-?); break; <---- error?
}
}

m_pClientList[iClientH]->m_iAskedQuest = iQuestNum;
m_pClientList[iClientH]->m_iQuestRewardType = iRewardType;
m_pClientList[iClientH]->m_iQuestRewardAmount = iRewardAmount;


////////////////////////////////////////////

C:\down\HBx[2.24c]source\HBx 2.24c Source\Game.cpp(37395) : error C2001: newline in constant
C:\down\HBx[2.24c]source\HBx 2.24c Source\Game.cpp(37396) : error C2143: syntax error : missing ')' before '}'
C:\down\HBx[2.24c]source\HBx 2.24c Source\Game.cpp(37396) : error C2143: syntax error : missing ';' before '}'

~~~~~~~~~~~~~~~~~~~~~~~~~~~


ZeroMemory(cRewardName, sizeof(cRewardName));
if (iQuestNum > 0) {
if (iRewardType > 1) {
strcpy(cRewardName, m_pItemConfigList[iRewardType]->m_cName);
}
else {
switch (iRewardType) {
case -10: strcpy(cRewardName, "┻쪭-?"); break; <---change????
}
}
????
Post Reply