Re: [hlcoders] Preprocessor Trouble
The problem wasn't with hotmail. the problem was that he was sending an entirely new email with the same header instead of using the reply button. I think he fixed it now. 2008/8/9 Anthony R. Paloma [EMAIL PROTECTED]: I use Outlook with the free version of Hotmail and it works fine. However, I used the web client to send this message so hopefully it doesn't jack everything up. Date: Sat, 9 Aug 2008 20:46:48 +0100 From: [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Preprocessor Trouble Problem is with the free version of hotmail is that you cannot use a mail client. Ondr(ej Hošek wrote: He can try using a mail client instead of the webmail. That might make it go away (unless it has already been proven wrong). ~~ Ondra On 07.08.08 16:19 Uhr, Keeper wrote: As it has been said, it's a hotmail issue. There's nothing he can do (aside from sign up for a gmail account). My client groups them fine. Maybe you can change something on your end? Keeper ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _ Reveal your inner athlete and share it with friends on Windows Live. http://revealyourinnerathlete.windowslive.com?locale=en-usocid=TXT_TAGLM_WLYIA_whichathlete_us ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Preprocessor Trouble
He can try using a mail client instead of the webmail. That might make it go away (unless it has already been proven wrong). ~~ Ondra On 07.08.08 16:19 Uhr, Keeper wrote: As it has been said, it's a hotmail issue. There's nothing he can do (aside from sign up for a gmail account). My client groups them fine. Maybe you can change something on your end? Keeper ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Preprocessor Trouble
Problem is with the free version of hotmail is that you cannot use a mail client. Ondr(ej Hoek wrote: He can try using a mail client instead of the webmail. That might make it go away (unless it has already been proven wrong). ~~ Ondra On 07.08.08 16:19 Uhr, Keeper wrote: As it has been said, it's a hotmail issue. There's nothing he can do (aside from sign up for a gmail account). My client groups them fine. Maybe you can change something on your end? Keeper ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Preprocessor Trouble
I use Outlook with the free version of Hotmail and it works fine. However, I used the web client to send this message so hopefully it doesn't jack everything up. Date: Sat, 9 Aug 2008 20:46:48 +0100 From: [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Preprocessor Trouble Problem is with the free version of hotmail is that you cannot use a mail client. Ondr(ej Hošek wrote: He can try using a mail client instead of the webmail. That might make it go away (unless it has already been proven wrong). ~~ Ondra On 07.08.08 16:19 Uhr, Keeper wrote: As it has been said, it's a hotmail issue. There's nothing he can do (aside from sign up for a gmail account). My client groups them fine. Maybe you can change something on your end? Keeper ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _ Reveal your inner athlete and share it with friends on Windows Live. http://revealyourinnerathlete.windowslive.com?locale=en-usocid=TXT_TAGLM_WLYIA_whichathlete_us ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Preprocessor Trouble
This can happen when you define a datadesc table in the header. Perhaps it's the same for network tables? Øystein Dale wrote: Just got a new error: Error1error LNK2001: unresolved external symbol class RecvTable DT_CWeaponAK74::g_RecvTable ([EMAIL PROTECTED]@@3VRecvTable@@A) weapon_ak74.obj _ Med MSN på mobilen holder du deg oppdatert. http://info.mobile.no.msn.com/pc/default.aspx?ocid=30032 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Preprocessor Trouble
Oystein, Could you please reply to your threads not make a whole new email its quite annoying :( On Thu, Aug 7, 2008 at 7:57 AM, Tom Edwards [EMAIL PROTECTED]wrote: This can happen when you define a datadesc table in the header. Perhaps it's the same for network tables? Øystein Dale wrote: Just got a new error: Error1error LNK2001: unresolved external symbol class RecvTable DT_CWeaponAK74::g_RecvTable ([EMAIL PROTECTED]@@3VRecvTable@@A) weapon_ak74.obj _ Med MSN på mobilen holder du deg oppdatert. http://info.mobile.no.msn.com/pc/default.aspx?ocid=30032 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Preprocessor Trouble
As it has been said, it's a hotmail issue. There's nothing he can do (aside from sign up for a gmail account). My client groups them fine. Maybe you can change something on your end? Keeper -Original Message- From: John [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2008 8:30 AM To: Discussion of Half-Life Programming Subject: Re: [hlcoders] Preprocessor Trouble Oystein, Could you please reply to your threads not make a whole new email its quite annoying :( ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
[hlcoders] Preprocessor Trouble
I'm coding a weapon for the HL2MP, but I'm having serious issues with the preprocessor blocks. I'm getting the wrong blocks on both server/client project All the weapon .cpp files used in HL2MP lies in src\game_shared\hl2mp. The default weapons are fine, the preprocessor blocks are correct on both projects. However, in my file, weapon_ak74.cpp (Not a typo, it really is AK74) the preprocessor blocks are either reversed or both projects has the CLIENT_DLL as the active block. This means that when compiling i get several errors stating: Error C2653: 'C_CWeaponAK74' : is not a class or namespace nameg:\viral outbreak\src\game_shared\hl2mp\weapon_ak74.cpp102 and if I let it go all the way to the server build too: Error2error C2653: 'CCWeaponAK74' : is not a class or namespace name g:\viral outbreak\src\game_shared\hl2mp\weapon_ak74.cpp102 Not sure if the last one is correct, the real name of the class is CWeaponAK74 (without quotes of course). I've based the file on the weapon_smg1.cpp file, the standard HL2 SMG Thanks for any help in advance, Øystein _ Med MSN på mobilen holder du deg oppdatert. http://info.mobile.no.msn.com/pc/default.aspx?ocid=30032 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Preprocessor Trouble
Show us the offending lines. It sounds like your network table declarations are wrong. -Tony On Wed, Aug 6, 2008 at 6:47 PM, Øystein Dale [EMAIL PROTECTED]wrote: I'm coding a weapon for the HL2MP, but I'm having serious issues with the preprocessor blocks. I'm getting the wrong blocks on both server/client project All the weapon .cpp files used in HL2MP lies in src\game_shared\hl2mp. The default weapons are fine, the preprocessor blocks are correct on both projects. However, in my file, weapon_ak74.cpp (Not a typo, it really is AK74) the preprocessor blocks are either reversed or both projects has the CLIENT_DLL as the active block. This means that when compiling i get several errors stating: Error C2653: 'C_CWeaponAK74' : is not a class or namespace nameg:\viral outbreak\src\game_shared\hl2mp\weapon_ak74.cpp102 and if I let it go all the way to the server build too: Error2error C2653: 'CCWeaponAK74' : is not a class or namespace nameg:\viral outbreak\src\game_shared\hl2mp\weapon_ak74.cpp102 Not sure if the last one is correct, the real name of the class is CWeaponAK74 (without quotes of course). I've based the file on the weapon_smg1.cpp file, the standard HL2 SMG Thanks for any help in advance, Øystein _ Med MSN på mobilen holder du deg oppdatert. http://info.mobile.no.msn.com/pc/default.aspx?ocid=30032 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- -Tony ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
[hlcoders] Preprocessor Trouble
//= Copyright © 1996-2005, Valve Corporation, All rights reserved. // // // Purpose: // //=// #include cbase.h #include npcevent.h #include in_buttons.h #ifdef CLIENT_DLL #include c_hl2mp_player.h #else //#include grenade_ar2.h //We dont have the nade #include hl2mp_player.h //#include basegrenade_shared.h #endif #include weapon_hl2mpbase.h #include weapon_hl2mpbase_machinegun.h #ifdef CLIENT_DLL #define CWeaponAK74 C_WeaponAK74 #endif // memdbgon must be the last include file in a .cpp file!!! #include tier0/memdbgon.h /* #define SMG1_GRENADE_DAMAGE 100.0f #define SMG1_GRENADE_RADIUS 250.0f */ class CWeaponAK74 : public CHL2MPMachineGun { public: DECLARE_CLASS( CWeaponAK74, CHL2MPMachineGun ); CWeaponAK74(); DECLARE_NETWORKCLASS(); DECLARE_PREDICTABLE(); voidPrecache( void ); voidAddViewKick( void ); //We wont need this yet //voidSecondaryAttack( void ); intGetMinBurst() { return 2; } intGetMaxBurst() { return 5; } virtual void Equip( CBaseCombatCharacter *pOwner ); boolReload( void ); //Modified for VI, the rate for ak47u is 735/min (at most) 60/735=~0.082/sec between bullets floatGetFireRate( void ) { return 0.082f; }// 12.2 Hz ActivityGetPrimaryAttackActivity( void ); virtual const Vector GetBulletSpread( void ) { //The SMG sprays enough? static const Vector cone = VECTOR_CONE_5DEGREES; return cone; } const WeaponProficiencyInfo_t *GetProficiencyValues(); #ifndef CLIENT_DLL DECLARE_ACTTABLE(); #endif protected: Vectorm_vecTossVelocity; floatm_flNextGrenadeCheck; private: CWeaponAK74( const CWeaponAK74 ); }; IMPLEMENT_NETWORKCLASS_ALIASED( CWeaponAK74, DT_CWeaponAK74 ) //---Faulty line of code BEGIN_NETWORK_TABLE( CWeaponAK74, DT_WeaponAK74 ) END_NETWORK_TABLE() BEGIN_PREDICTION_DATA( CWeaponAK74 ) END_PREDICTION_DATA() LINK_ENTITY_TO_CLASS( weapon_ak74, CWeaponAK74 ); PRECACHE_WEAPON_REGISTER(weapon_ak74); //--- The above is my code The offending line is this: IMPLEMENT_NETWORKCLASS_ALIASED( CWeaponAK74, DT_CWeaponAK74 ) _ Få Windows Live Messenger på mobilen. http://windowslivemobile.msn.com/Homepage.aspx?lang=nb-noocid=30032 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Preprocessor Trouble
IMPLEMENT_NETWORKCLASS_ALIASED( CWeaponAK74, DT_CWeaponAK74 ) change to: IMPLEMENT_NETWORKCLASS_ALIASED( WeaponAK74, DT_CWeaponAK74 ) Note the missing C in CWeaponAK74 in my version. The _ALIASED macro adds the C_ and C automatically Regards, Paul On Wed, Aug 6, 2008 at 7:16 PM, Øystein Dale [EMAIL PROTECTED]wrote: //= Copyright (c) 1996-2005, Valve Corporation, All rights reserved. // // // Purpose: // //=// #include cbase.h #include npcevent.h #include in_buttons.h #ifdef CLIENT_DLL #include c_hl2mp_player.h #else //#include grenade_ar2.h //We dont have the nade #include hl2mp_player.h //#include basegrenade_shared.h #endif #include weapon_hl2mpbase.h #include weapon_hl2mpbase_machinegun.h #ifdef CLIENT_DLL #define CWeaponAK74 C_WeaponAK74 #endif // memdbgon must be the last include file in a .cpp file!!! #include tier0/memdbgon.h /* #define SMG1_GRENADE_DAMAGE 100.0f #define SMG1_GRENADE_RADIUS 250.0f */ class CWeaponAK74 : public CHL2MPMachineGun { public: DECLARE_CLASS( CWeaponAK74, CHL2MPMachineGun ); CWeaponAK74(); DECLARE_NETWORKCLASS(); DECLARE_PREDICTABLE(); voidPrecache( void ); voidAddViewKick( void ); //We wont need this yet //voidSecondaryAttack( void ); intGetMinBurst() { return 2; } intGetMaxBurst() { return 5; } virtual void Equip( CBaseCombatCharacter *pOwner ); boolReload( void ); //Modified for VI, the rate for ak47u is 735/min (at most) 60/735=~0.082/sec between bullets floatGetFireRate( void ) { return 0.082f; }// 12.2 Hz ActivityGetPrimaryAttackActivity( void ); virtual const Vector GetBulletSpread( void ) { //The SMG sprays enough? static const Vector cone = VECTOR_CONE_5DEGREES; return cone; } const WeaponProficiencyInfo_t *GetProficiencyValues(); #ifndef CLIENT_DLL DECLARE_ACTTABLE(); #endif protected: Vectorm_vecTossVelocity; floatm_flNextGrenadeCheck; private: CWeaponAK74( const CWeaponAK74 ); }; IMPLEMENT_NETWORKCLASS_ALIASED( CWeaponAK74, DT_CWeaponAK74 ) //---Faulty line of code BEGIN_NETWORK_TABLE( CWeaponAK74, DT_WeaponAK74 ) END_NETWORK_TABLE() BEGIN_PREDICTION_DATA( CWeaponAK74 ) END_PREDICTION_DATA() LINK_ENTITY_TO_CLASS( weapon_ak74, CWeaponAK74 ); PRECACHE_WEAPON_REGISTER(weapon_ak74); //--- The above is my code The offending line is this: IMPLEMENT_NETWORKCLASS_ALIASED( CWeaponAK74, DT_CWeaponAK74 ) _ Få Windows Live Messenger på mobilen. http://windowslivemobile.msn.com/Homepage.aspx?lang=nb-noocid=30032 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Preprocessor Trouble
and that's your problem. It should be like this. IMPLEMENT_NETWORKCLASS_ALIASED( WeaponAK74, DT_WeaponAK74 ) the C and C_ gets tacked onto the beginning, and you also had DT_CWeaponAK74, but everywhere else was using DT_WeaponAK74. On Wed, Aug 6, 2008 at 7:16 PM, Øystein Dale [EMAIL PROTECTED]wrote: The offending line is this: IMPLEMENT_NETWORKCLASS_ALIASED( CWeaponAK74, DT_CWeaponAK74 ) -- -Tony ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
[hlcoders] Preprocessor Trouble
Just got a new error: Error1error LNK2001: unresolved external symbol class RecvTable DT_CWeaponAK74::g_RecvTable ([EMAIL PROTECTED]@@3VRecvTable@@A) weapon_ak74.obj _ Med MSN på mobilen holder du deg oppdatert. http://info.mobile.no.msn.com/pc/default.aspx?ocid=30032 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Preprocessor Trouble
something is wrong On Wed, Aug 6, 2008 at 6:30 PM, Øystein Dale [EMAIL PROTECTED] wrote: Just got a new error: Error1error LNK2001: unresolved external symbol class RecvTable DT_CWeaponAK74::g_RecvTable ([EMAIL PROTECTED]@@3VRecvTable@@A) weapon_ak74.obj _ Med MSN på mobilen holder du deg oppdatert. http://info.mobile.no.msn.com/pc/default.aspx?ocid=30032 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Preprocessor Trouble
i keep getting new threads On Wed, Aug 6, 2008 at 6:46 PM, Nick [EMAIL PROTECTED] wrote: something is wrong On Wed, Aug 6, 2008 at 6:30 PM, Øystein Dale [EMAIL PROTECTED] wrote: Just got a new error: Error1error LNK2001: unresolved external symbol class RecvTable DT_CWeaponAK74::g_RecvTable ([EMAIL PROTECTED]@@3VRecvTable@@A) weapon_ak74.obj _ Med MSN på mobilen holder du deg oppdatert. http://info.mobile.no.msn.com/pc/default.aspx?ocid=30032 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Preprocessor Trouble
four your replies On Wed, Aug 6, 2008 at 6:46 PM, Nick [EMAIL PROTECTED] wrote: i keep getting new threads On Wed, Aug 6, 2008 at 6:46 PM, Nick [EMAIL PROTECTED] wrote: something is wrong On Wed, Aug 6, 2008 at 6:30 PM, Øystein Dale [EMAIL PROTECTED] wrote: Just got a new error: Error1error LNK2001: unresolved external symbol class RecvTable DT_CWeaponAK74::g_RecvTable ([EMAIL PROTECTED]@@3VRecvTable@@A) weapon_ak74.obj _ Med MSN på mobilen holder du deg oppdatert. http://info.mobile.no.msn.com/pc/default.aspx?ocid=30032 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Preprocessor Trouble
to you're own threads On Wed, Aug 6, 2008 at 6:47 PM, Nick [EMAIL PROTECTED] wrote: four your replies On Wed, Aug 6, 2008 at 6:46 PM, Nick [EMAIL PROTECTED] wrote: i keep getting new threads On Wed, Aug 6, 2008 at 6:46 PM, Nick [EMAIL PROTECTED] wrote: something is wrong On Wed, Aug 6, 2008 at 6:30 PM, Øystein Dale [EMAIL PROTECTED] wrote: Just got a new error: Error1error LNK2001: unresolved external symbol class RecvTable DT_CWeaponAK74::g_RecvTable ([EMAIL PROTECTED]@@3VRecvTable@@A) weapon_ak74.obj _ Med MSN på mobilen holder du deg oppdatert. http://info.mobile.no.msn.com/pc/default.aspx?ocid=30032 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
[hlcoders] Preprocessor Trouble
I suspect it is my fault. I reply to hlcoders at list.valvesoftware.com, is this wrong? _ Hold kontakten med Windows Live Messenger. http://clk.atdmt.com/GBL/go/msnnkdre001003gbl/direct/01/ ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
[hlcoders] Preprocessor Trouble
Never mind, it was a ghost error that went away by just copy/pasting the code around a little. Silly stuff... Anyway thanks for the great help. BTW, I'm not sure if I'm replying to this mailing list correctly. The address I'm sending to is [EMAIL PROTECTED] Can someone confirm or correct this? _ Finn dine favorittklipp på MSN Video. http://video.msn.com/?mkt=nb-nofrom=HMTAG ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Preprocessor Trouble
You are replying fine. Just ignore him. Keeper -Original Message- From: Øystein Dale [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 8:22 PM To: hlcoders@list.valvesoftware.com Subject: [hlcoders] Preprocessor Trouble Never mind, it was a ghost error that went away by just copy/pasting the code around a little. Silly stuff... Anyway thanks for the great help. BTW, I'm not sure if I'm replying to this mailing list correctly. The address I'm sending to is [EMAIL PROTECTED] Can someone confirm or correct this? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Preprocessor Trouble
Øystein Dale wrote: BTW, I'm not sure if I'm replying to this mailing list correctly. The address I'm sending to is [EMAIL PROTECTED] Can someone confirm or correct this? hlcoders@list.valvesoftware.com is the correct email address. The threaded or not-threaded issue is more than likely due to which email client you use (some less-than-awesome email clients don't support threaded emails properly when replying to emails). You are using Reply to respond to messages, right? -- Jeffrey botman Broome ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Preprocessor Trouble
It's hotmail. Everyone who uses hotmail on this list, screws up threads ;) -Tony On Wed, Aug 6, 2008 at 8:38 PM, Jeffrey botman Broome [EMAIL PROTECTED] wrote: Øystein Dale wrote: BTW, I'm not sure if I'm replying to this mailing list correctly. The address I'm sending to is [EMAIL PROTECTED] Can someone confirm or correct this? hlcoders@list.valvesoftware.com is the correct email address. The threaded or not-threaded issue is more than likely due to which email client you use (some less-than-awesome email clients don't support threaded emails properly when replying to emails). You are using Reply to respond to messages, right? -- Jeffrey botman Broome ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- -Tony ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders