Need help compiling a HG Server

All Helbreath Server Source Discussion here.
Post Reply
drunk
Loyal fan
Posts: 265
Joined: Wed Mar 17, 2004 1:43 pm

Post by drunk »

What files do I have to compile to make the hg server.I got microsoft visual c++ 2005 beta edition.Is game.cpp the only file needed to compile it?Cause when I tried compiling the game.cpp I always get this error.


Compiling...
BuildItem.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\BuildItem.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Client.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\Client.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
CrusadeCore.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\Game.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
DebugDialog.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\DebugDialog.h(1) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
DelayEvent.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\DelayEvent.h(8) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
DynamicObject.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\DynamicObject.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Fish.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\Fish.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Game.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\Game.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
GuildsMan.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\GuildsMan.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Item.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\Item.h(8) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Magic.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\Magic.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Map.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\Map.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Misc.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\Misc.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Msg.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\Msg.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Npc.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\Npc.h(13) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
OccupyFlag.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\OccupyFlag.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Portion.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\Portion.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
rusadeCore.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\Game.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Skill.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\Skill.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
StrategicPoint.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\StrategicPoint.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
Compiling...
StrTok.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\StrTok.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Teleport.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\Teleport.h(8) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
TeleportLoc.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\TeleportLoc.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
TempNpcItem.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\TempNpcItem.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Tile.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\Tile.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Wmain.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\Wmain.cpp(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
XSocket.cpp
c:\Documents and Settings\Andy\My Documents\HB Server Files\2.24b Sources\XSocket.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...


This is my first time trying to compile something so I need some help.
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

at the same folder that is game.cpp there is a file called
HGserver.dsw


open it, it should open with ur visual basic c++ now go to

BUILD -> BUILD HGSERVER

or just hit F7

after it finished, if it did not found any errors then u should find ur HGserver at sourcefolder/Debug/ B) that means if the Debug folder
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
bigchief
Loyal fan
Posts: 289
Joined: Sat Feb 28, 2004 12:45 pm
Location: In Chicks Rooms/Dorms Or Passed Out On The Floor
Contact:

Post by bigchief »

i told him that and he still said he got the error lol :S
Just remember if you shake it more then 3 times your playing with it.
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

maybe the source arent completes
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
ruberto
Regular
Posts: 64
Joined: Mon May 31, 2004 7:33 pm

Post by ruberto »

Ohh im so tired of this could someone help me and tell whats going on...plz i really need to get that working

down here are the 2.24b hbx source files from outpost

TY



Build Log Build started: Project: HGserver, Configuration: Release|Win32
Command Lines HGserver : warning PRJ0041 : Cannot find missing dependency 'afxres.h' for file 'HGserver.rc'. Your project may still build, but may continue to appear out of date until this file is found.

Creating temporary file "c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\Release\RSP00000140004072.rsp" with contents
[
/O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /EHsc /MT /YX"stdafx.h" /Fp".\Release/HGserver.pch" /Fo".\Release/" /Fd".\Release/" /W3 /c /TP

".\DebugDialog.cpp"

".\XSocket.cpp"

".\Wmain.cpp"

".\Tile.cpp"

".\TeleportLoc.cpp"

".\StrTok.cpp"

".\StrategicPoint.cpp"

".\Skill.cpp"

".\Quest.cpp"

".\Portion.cpp"

".\OccupyFlag.cpp"

".\Npc.cpp"

".\Msg.cpp"

".\Misc.cpp"

".\Mineral.cpp"

".\Map.cpp"

".\Magic.cpp"

".\Item.cpp"

".\GuildsMan.cpp"

".\Game.cpp"

".\Fish.cpp"

".\DynamicObject.cpp"

".\DelayEvent.cpp"

".\Client.cpp"

".\BuildItem.cpp"
]
Creating command line "cl.exe @"c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\Release\RSP00000140004072.rsp" /nologo"
Output Window Compiling...
cl : Command line warning D9002 : ignoring unknown option '/YXstdafx.h'
DebugDialog.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\DebugDialog.h(1) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
XSocket.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\XSocket.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Wmain.cpp
Wmain.cpp(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Tile.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\Tile.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
TeleportLoc.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\TeleportLoc.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
StrTok.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\StrTok.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
StrategicPoint.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\StrategicPoint.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Skill.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\Skill.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Quest.cpp
Portion.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\Portion.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
OccupyFlag.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\OccupyFlag.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Npc.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\Npc.h(13) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Msg.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\Msg.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Misc.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\Misc.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Mineral.cpp
Map.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\Map.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Magic.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\Magic.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Item.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\Item.h(8) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
GuildsMan.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\GuildsMan.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Game.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\Game.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
Compiling...
Fish.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\Fish.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
DynamicObject.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\DynamicObject.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
DelayEvent.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\DelayEvent.h(8) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Client.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\Client.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
BuildItem.cpp
c:\Documents and Settings\Robert Rosimannus\Desktop\2.24bSources\2.24b Sources\BuildItem.h(12) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
tyteman
Spamtastic
Posts: 1149
Joined: Wed Nov 12, 2003 2:00 pm
Location: CA, USA

Post by tyteman »

something seems to be wrong with your windows header file.. lol.. what compiler are you using? i used ms visual c++ and it workedj sut fine.. i'm not sure about devi
"<i>One night I was talking to God, but I realized I was talking to <u>myself</u></i>"<br><br><img src='http://img61.imageshack.us/img61/2678/untitled13bf.gif' border='0' alt='user posted image' /><br><br><b><u>Links</u></b><br>
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

worked good for me too B)
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
ruberto
Regular
Posts: 64
Joined: Mon May 31, 2004 7:33 pm

Post by ruberto »

that ms visual studio 6 or what was it didnt work at all

yesterday i downloaded that MS 2005 beta and theres that windows.h problem
playa
noob
Posts: 26
Joined: Mon Mar 22, 2004 3:54 am

Post by playa »

its the problem with that version ur using cause i had the same problem that it doesnt identify the windows.h file and your best using microsoft vc++ 6.0 get from kazaa lite or something where i got mine and it works fine
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

microsoft c++ 6.0 same one i use B)
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
Windy
Member
Posts: 157
Joined: Tue Nov 18, 2003 8:31 am
Location: wishing I was somewhere else

Post by Windy »

when I tired SP2 visual C++ stopped workin and I just flat out hated SP2 so I deleted it but with SP2 it just crashed before the program even opened lol
<span style='color:blue'>Coding with Evil Intentions....Evil at its Best....</span>
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

i have sp2 and c++ 6.0 B)
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
wayne
noob
Posts: 13
Joined: Thu May 20, 2004 7:04 am

Post by wayne »

use bloodshed its more easier to deal with....its free on internet just search with google...."bloodshed compiler". i have VB and visual 6.0 and i like the simple bloodshed
<span style='color:yellow'>www.slimtastic.tk</span> <--edited clients for some servers
Post Reply