little help anyone?

All Helbreath Server Source Discussion here.
xenx
Member
Posts: 169
Joined: Tue Oct 03, 2006 7:08 am

Post by xenx »

hi guys and gals, iv got what is most likely a complete noob question, but iv never compiled C++ sources before so im clueless at the moment

iv downloaded sources for a client and a GServer from here,
both of the them have includes for a file called windows.h
when i try to compile either of them i just get spammed with "no such file or directory" for this windows.h

is it something generic or is it missing or?

any help greatly appreciated folks cheers
xenx
Member
Posts: 169
Joined: Tue Oct 03, 2006 7:08 am

Post by xenx »

AHA(srry to reply to myself)

i beleive i have sorted it, its because VC++ 2005 express doesnt come with a load of stuff. having to install windows SDK and DX9 SDK
for the includes, problem solved i hope, after about a gig of downloads..lol

*edit* OMG if any of you guys have the important bits like d3dtypes.h
etc from the DX9 SDK and fancy sending them to me gimme a shout, the whole thing is like 550mb O.o */edit*
xenx
Member
Posts: 169
Joined: Tue Oct 03, 2006 7:08 am

Post by xenx »

guys im in real need of a little help now, iv managed to fix all that lot myself and get that all sorted but now im being spammed with errors along the lines of:

\Curse.cpp(181) : error C3861: 'strcpy': identifier not found

loads of those

and not always for strcpy sometimes its like : 'i': identifier not found

iv looked all over the web but cant seem to find any explination, could any of you pro's point me in the right direction pls if u have 2 seconds
ADDKiD
<3 bd long time
Posts: 967
Joined: Tue Jul 12, 2005 8:07 pm
Location: Washington, USA
Contact:

Post by ADDKiD »

I feel like shooting you. You replied 3 Times to your own Topic. Spamming yourself. Your an Idiot. Idiots don't use Sources. People like Juggalo2, Dax, Jensen, those types use Sources not you, so quit trying, you'll never learn. And have you ever heard of the <span style='color:red'><span style='font-size:21pt;line-height:100%'><span style='font-family:Arial'>EDIT BUTTON!?!OMFG!</span></span></span>
xenx
Member
Posts: 169
Joined: Tue Oct 03, 2006 7:08 am

Post by xenx »

i am not using the sources im just trying to compile them so i can use the exe's,
and it made much more sence to reply to myself so it all made sence as i was going through it,

also im no idiot, i just dont happen to know C++

PLUS, if your so superior you could have just replied with an answer instead of a flame!
Kenshi
Loyal fan
Posts: 208
Joined: Thu Nov 20, 2003 8:27 am

Post by Kenshi »

ADDKiD you're a fuckhead, leave the cunt alone at least he's trying. You on the other hand are just whinging and bitching over shit. Not everyone has a degree in Software Engineering and especially not you. There's not a rule against replying to your own post. So shut the fuck up and leave the cunt alone.
get rooted.
Crossfade
Loyal fan
Posts: 354
Joined: Sun Mar 20, 2005 5:55 pm

Post by Crossfade »

Kenshi wrote: ADDKiD you're a fuckhead, leave the cunt alone at least he's trying. You on the other hand are just whinging and bitching over shit. Not everyone has a degree in Software Engineering and especially not you. There's not a rule against replying to your own post. So shut the fuck up and leave the cunt alone.
don't start crying just yet, addkid proves a point.
xenx
Member
Posts: 169
Joined: Tue Oct 03, 2006 7:08 am

Post by xenx »

it dont matter about him, after about 6 hours iv figured most of it out myself,

only thing left to figure out is injecting the angel code
Crossfade
Loyal fan
Posts: 354
Joined: Sun Mar 20, 2005 5:55 pm

Post by Crossfade »

xenx wrote: it dont matter about him, after about 6 hours iv figured most of it out myself,

only thing left to figure out is injecting the angel code
angels suck, useless codes
xenx
Member
Posts: 169
Joined: Tue Oct 03, 2006 7:08 am

Post by xenx »

im only half doing it for the angels and half doing for the challenge, hehe

although iv just given up, to many errors cant even begin to fix it ill start again 2morrow
Tafka12
&lt;3 bd long time
Posts: 772
Joined: Wed Dec 28, 2005 6:32 pm

Post by Tafka12 »

<span style='color:red'>Yo Yo i'm telling everyone to fuck off over the internet i'm so cool now</span>
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
xenx
Member
Posts: 169
Joined: Tue Oct 03, 2006 7:08 am

Post by xenx »

does anyone fancy giving me a hand with this error

sources\cximage\ximatran.cpp(183) : error C2666: 'div' : 2 overloads have similar conversions

its from here

imgDest.Clear(0);
for (y = 0; y < head.biHeight; y++) {
// Figure out the Column we are going to be copying to
div_r = div(y + dlineup, 8);
// set bit pos of src column byte
bitpos = 1 << div_r.rem;
srcdisp = bsrc + y * info.dwEffWidth;
for (x = 0; x < (long)info.dwEffWidth; x++) {
// Get Source Bits
sbits = srcdisp + x;

seems to be something to do with the Div's i actually managed to get it to compile last night but i totally forgot what i did, i changed all the div's round so i prolly broke the code anyway, its the only error im getting at the moment until i inject the angel code when i get 150 errors. lol anyway any assistance wud be nice,

<edit> you know iv been looking around the net and i think most of the compiler errors are because im using a newer C++ compiler, u all seem to use c++ 6.0 and im using 2005 express and apparently ur using old code that is now outdated, has anyone tried compiling these sources on a new compiler like 2005 express? </edit>
xenx
Member
Posts: 169
Joined: Tue Oct 03, 2006 7:08 am

Post by xenx »

i still cant get the error above sorted out, anyone got any ideas? come on you code guru's
Kenshi
Loyal fan
Posts: 208
Joined: Thu Nov 20, 2003 8:27 am

Post by Kenshi »

Idiot... There is a reason we use 6.0, we don't just "choose" to use outdated software. Helbreath was made with Visual C++ 6.0 because it is now a very outdated game in itself. Because of this, the code is old and is created for this version of C++ and 2005 does not compile/ work in the same was as 6.0 therefore use 6.0 to compile it.
get rooted.
Crossfade
Loyal fan
Posts: 354
Joined: Sun Mar 20, 2005 5:55 pm

Post by Crossfade »

xenx wrote: does anyone fancy giving me a hand with this error

sources\cximage\ximatran.cpp(183) : error C2666: 'div' : 2 overloads have similar conversions

its from here

imgDest.Clear(0);
for (y = 0; y < head.biHeight; y++) {
// Figure out the Column we are going to be copying to
div_r = div(y + dlineup, 8);
// set bit pos of src column byte
bitpos = 1 << div_r.rem;
srcdisp = bsrc + y * info.dwEffWidth;
for (x = 0; x < (long)info.dwEffWidth; x++) {
// Get Source Bits
sbits = srcdisp + x;

seems to be something to do with the Div's i actually managed to get it to compile last night but i totally forgot what i did, i changed all the div's round so i prolly broke the code anyway, its the only error im getting at the moment until i inject the angel code when i get 150 errors. lol anyway any assistance wud be nice,

<edit> you know iv been looking around the net and i think most of the compiler errors are because im using a newer C++ compiler, u all seem to use c++ 6.0 and im using 2005 express and apparently ur using old code that is now outdated, has anyone tried compiling these sources on a new compiler like 2005 express? </edit>
your overloading the functions using too many parameters
Post Reply