Re: [hlcoders] Gmail Mailing Lists

2004-12-20 Thread Hasan Aljudy
I got 10 gmail invites yesterday .. anybody needs one? On Sun, 12 Dec 2004 12:45:50 -0600, Igor Murashkin [EMAIL PROTECTED] wrote: The whole point of Gmail is that you only use Gmail, and nothing else. They've been way too nice by adding forwarding support and POP3 support when other free

[hlcoders] Finding the entity based on the userid

2004-12-20 Thread Josh
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] I was just wondering how I can get an entity or an index of the entity that is fired. Meaning the player_hurt event is fired and I get a userid of 2. Will this is different than the IndexOfEdict

Re: [hlcoders] Gmail Mailing Lists

2004-12-20 Thread Roc Solomita
I have 6 invites left. If anyone needs one mail me off list Happy Holidays From: Hasan Aljudy [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [hlcoders] Gmail Mailing Lists Date: Mon, 20 Dec 2004 09:11:33 -0700 I got 10 gmail invites yesterday .. anybody needs

Re: [hlcoders] Finding the entity based on the userid

2004-12-20 Thread Ronny Schedel
The UserID can be accessed through the IPlayerInfo and the IPlayerInfoManager interfaces. Greets Ronny This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] I was just wondering how I can get an entity or an index of the entity that is fired. Meaning the

Re: [hlcoders] Finding the entity based on the userid

2004-12-20 Thread Marcelo Bezerra
You can look from 1 to maxplayers, get the pEntity and use: engine-GetPlayerUserId(pEntity); Loop from Josh wrote: This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] I was just wondering how I can get an entity or an index of the entity that is fired.

RE: [hlcoders] Finding the entity based on the userid

2004-12-20 Thread Josh
OK all I have is the playerid (userid). How do I get a pointer to the entity having this userid? And I CANNOT use IndexOfEdict b/c that is a different number. For example, I join a game then I call the iplayerinfo on myself and find out that my userid is 2. But IndexOfEdict is 1. They are

Re: [hlcoders] Finding the entity based on the userid

2004-12-20 Thread Pavol Marko
When you have the userid (the thing that appears in the logs and such), you can do the loop thing to get the entity id (as described by Marcelo and me before). Then, you can do PEntFromEntIndex (or whatever) to get the edict pointer. PM - Original Message - From: Josh [EMAIL PROTECTED] To:

Re: [hlcoders] Finding the entity based on the userid

2004-12-20 Thread Marcelo Bezerra
for(int i=1;i=maxplayers;i++) { edict_t *pEntity = engine-PEntityOfEntIndex(i); if(!pEntity || pEntity-IsFree()) { continue; } int uid = engine-GetPlayerUserId(pEntity); } Josh wrote: OK all I have is the playerid (userid). How do I get a pointer to the entity having this

Re: [hlcoders] Finding the entity based on the userid

2004-12-20 Thread Roy Laurie
I'm putting together a Type Conversions list for such. Everyone's welcome to add / edit. http://hl2-dev.com/wiki/index.php?pagename=SdkTypeConversions -- Roy Kylratix Laurie On 20 Dec 2004 at 18:20, Ronny Schedel wrote: The UserID can be accessed through the IPlayerInfo and the

RE: [hlcoders] Finding the entity based on the userid

2004-12-20 Thread Josh
Yea that's what I was thinking :( I was really hoping to not do that, as a LOT of functions will need to call that function. (I'm working on a war3 mod for CSS, just building the groundwork). So every time someone is shot / died that will be called twice. Doesn't that seem intensive? Do you

Re: [hlcoders] Finding the entity based on the userid

2004-12-20 Thread tei
Josh wrote: Yea that's what I was thinking :( I was really hoping to not do that, as a LOT of functions will need to call that function. (I'm working on a war3 mod for CSS, just building the groundwork). So every time someone is shot / died that will be called twice. Doesn't that seem

Re: [hlcoders] Finding the entity based on the userid

2004-12-20 Thread Marcelo Bezerra
You can code the loop so it looks up both pEntities on a single pass. (You will be special casing this one to speed things up). Copy and paste from my plugin: --- for(i=1;i=maxplayers (!pVictim || !pAttacker;i++)) { edict_t *pEntity =

[hlcoders] Determining the weapon that caused player_hurt

2004-12-20 Thread Josh
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Is this possible? Josh -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit:

[hlcoders] Determining the damage dealth (server-plugin)

2004-12-20 Thread Josh
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Just curious if there is a way besides keeping track of the player's current health and then subtracting that from the value passed from player_hurt. Why doesn't player_hurt just pass the damage dealt

Re: [hlcoders] Determining the weapon that caused player_hurt

2004-12-20 Thread Marcelo Bezerra
This and the damage inflicted are missing. :( We only have health and armor left. Josh wrote: This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Is this possible? Josh -- ___ To unsubscribe, edit your list

Re: [hlcoders] Finding the entity based on the userid

2004-12-20 Thread Roy Laurie
In the end, I think it comes down to a simple profiling decision. The question being: Which method is more economical? If you're handling an event that happens often...like player_death, my guess is the extra 64 bits (depending on the compiler) per player might be worth the amount of function

RE: [hlcoders] Today's Steam DLL update

2004-12-20 Thread Taylor Sherman
An update on this -- you can actually delete the Steam.dll and SteamApp.cfg from your game directory. Neither one is required anymore to do debug launches. Launching hl2.exe w/ -steam and the appropriate -game on the command-line is all that should be needed. So, the only Steam.dll on your system

[hlcoders] gmail invite

2004-12-20 Thread spo spo
Could I get one please? [EMAIL PROTECTED] Thanks heaps. Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit:

[hlcoders] Newest SDK update.

2004-12-20 Thread Ben Davison
Oh face poser how I love thee. -- - Ben Davison - http://www.shadow-phoenix.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

Re: [hlcoders] Today's Steam DLL update

2004-12-20 Thread Ian
Hi Taylor This update seems to have fixed the Hammer crash on my system with 6 folders deep. Can you confirm if this really has been one of the items fixed before I start spreading the word? I've not been able to find any release notes for this update otherwise i wouldn't be asking. Thanks Ian

RE: [hlcoders] Today's Steam DLL update

2004-12-20 Thread Alfred Reynolds
Yes, this was one of the fixes. We are working on the release notes right now. - Alfred Original Message From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Sent: Monday, December 20, 2004 4:55 PM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] Today's Steam DLL update Hi

Re: [hlcoders] gmail invite

2004-12-20 Thread Stephen Micheals
This is not the place to ask for gmail invites you may be better off using this link. http://isnoop.net/gmailomatic.php Too bad you did not send this message late last night since i would have gave you one, i recived 10 gmail invites to give out i asked around in irc gave a few out and Sent the

RE: [hlcoders] Today's Steam DLL update

2004-12-20 Thread Taylor Sherman
Yes, that's correct. The news post was a little bit late. This update also fixes the need for the working directory set in the debugger to be case-preserved. Taylor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Sent: Monday, December 20, 2004 4:55

Re: [hlcoders] Today's Steam DLL update

2004-12-20 Thread Ian
Alfred thanks for the note. I just found the update info on steampowered.com. Our mappers are now working furiously. Congrats on such a fast turnaround on that problem. On Mon, 20 Dec 2004 17:02:08 -0800, Alfred Reynolds [EMAIL PROTECTED] wrote: Yes, this was one of the fixes. We are working on

RE: [hlcoders] gmail invite

2004-12-20 Thread Tony \omega\ Sergi
Invite a friend to Gmail! You have 4 invitations left An invitation has been emailed to your friend spo at [EMAIL PROTECTED] -Original Message- From: spo spo [mailto:[EMAIL PROTECTED] Sent: December 20, 2004 7:52 PM To: [EMAIL PROTECTED] Subject: [hlcoders] gmail invite

Re: [hlcoders] Today's Steam DLL update

2004-12-20 Thread Daniel Menard
Im very happy with the way you valve guys are listening to the community. All these changes are definitly for the better. Keep up the good work and we will hopefully have some released mods soon :) On Tue, 21 Dec 2004 01:14:10 +, Ian [EMAIL PROTECTED] wrote: Alfred thanks for the note. I

[hlcoders] This is how you get the player's origin/velocity/money/health/clip/armor using a server-plugin (Windows only)

2004-12-20 Thread Josh
These offsets can change with steam updates. Thanks to Damaged Soul for leading me in the right direction and for money offsets :P I would imagine these offsets would be 5 off for a unix machine. I haven't gotten a compile for unix so I haven't tested it. #define OFFSET_ORIGIN_X

Re: [hlcoders] Today's Steam DLL update

2004-12-20 Thread Ben Davison
Can anyone get faceposer to work? I keep getting a Last extraction result: an error occured during extraction When I try to get the phonems working. On Mon, 20 Dec 2004 20:29:23 -0500, Daniel Menard [EMAIL PROTECTED] wrote: Im very happy with the way you valve guys are listening to the

Re: [hlcoders] Today's Steam DLL update

2004-12-20 Thread Hasan Aljudy
I don't have anything in the working directory field, it's left blank :P I restarted steam again just now and it's working. On Mon, 20 Dec 2004 20:29:23 -0500, Daniel Menard [EMAIL PROTECTED] wrote: Im very happy with the way you valve guys are listening to the community. All these changes are

Re: [hlcoders] This is how you get the player's origin/velocity/money/health/clip/armor using a server-plugin (Windows only)

2004-12-20 Thread Roy Laurie
How filthy and volatile. I love it. Thanks -- Roy Kylratix Laurie On 20 Dec 2004 at 20:36, Josh wrote: These offsets can change with steam updates. Thanks to Damaged Soul for leading me in the right direction and for money offsets :P I would imagine these offsets would be 5 off for a unix

[hlcoders] Half-Life 2 has hosed itself!

2004-12-20 Thread Skyler York
As the subject suggests, this latest update really hosed over my Half-Life 2 installation. After starting Steam and receiving the new update, here's what happened: 1) Steam updates and the Play Games window opens. 2) I double-click on the Half-Life 2 icon in the Steam menu. 3) Preparing to

RE: [hlcoders] Half-Life 2 has hosed itself!

2004-12-20 Thread Taylor Sherman
There's a Steam.dll in your game directory. Delete it. :) If it's not there, then find any that aren't in the main Steam directory and delete them. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Skyler York Sent: Monday, December 20, 2004 6:56 PM To:

Re: [hlcoders] Half-Life 2 has hosed itself!

2004-12-20 Thread Hasan Aljudy
I had a similar problem with a previous update. To fix it, go to your half-life 2 directory where hl2.exe resides user\half-life 2\ and delete all the exe and dll files in that directory and in all subdirectories. run half-life 2 (from steam menu) and it should recreate those files. If it still

RE: [hlcoders] Half-Life 2 has hosed itself!

2004-12-20 Thread Alfred Reynolds
Delete any SteamApp.cfg files you have on disk (this update removes the need for them) and also delete any Steam.dll files you may have copied around (except for, of course, the one in the base steam install directory). - Alfred Original Message From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [hlcoders] Half-Life 2 has hosed itself!

2004-12-20 Thread Roy Laurie
Completely shooting off of the hip, here. Try renaming or deleting your clientregistry.blob file in your hl2 directory (where hl2.exe resides). -- Roy Kylratix Laurie On 20 Dec 2004 at 21:56, Skyler York wrote: As the subject suggests, this latest update really hosed over my Half-Life 2

Re: [hlcoders] Half-Life 2 has hosed itself!

2004-12-20 Thread Skyler York
I didn't check because I've never touched a Steam.dll in my life, but it appears one managed to sneak it's way into half-life 2/bin :) Sneaky bastard child of a file. But I'm an idiot and already started re-downloading HL2, so I won't be able to let you know if things work for another two hours

Re: [hlcoders] Half-Life 2 has hosed itself!

2004-12-20 Thread Hasan Aljudy
you could have tried to validate the cache before redownloading :/ On Mon, 20 Dec 2004 22:14:29 -0500, Skyler York [EMAIL PROTECTED] wrote: I didn't check because I've never touched a Steam.dll in my life, but it appears one managed to sneak it's way into half-life 2/bin :) Sneaky bastard

[hlcoders] HL2 has hosed itself (differently)

2004-12-20 Thread Don Alvarez
Launching Half-Life2 results in: Half-Life FileSystem_Steam Error SteamStartup(0xf,0x13fb60) failed with error 1: failed to take master pipe connection lock, Win32 Error 2 The system cannot find the file specified Launching the SDK results in: Steam Error: This game is currently unavailable.

Re: [hlcoders] HL2 has hosed itself (differently)

2004-12-20 Thread Skyler York
Have you tried any of the previously suggested, er, suggestions? Don Alvarez wrote: Launching Half-Life2 results in: Half-Life FileSystem_Steam Error SteamStartup(0xf,0x13fb60) failed with error 1: failed to take master pipe connection lock, Win32 Error 2 The system cannot find the file specified

Re: [hlcoders] Half-Life 2 has hosed itself!

2004-12-20 Thread Skyler York
True, but I figured re-downloading it would be the best way to get a clean sweep of the whole installation. And I actually have a lot of work I should be doing instead of playing with Steam, so it's all for the better :P Why must Valve release such a distracting toy right around the time most

RE: [hlcoders] HL2 has hosed itself (differently)

2004-12-20 Thread Don Alvarez
Have you tried any of the previously suggested, er, suggestions? Yup. But adding a reboot to the mix seems to have helped immensely. -Don -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Skyler York Sent: Monday, December 20, 2004 8:12 PM To: [EMAIL