Re: [hlcoders] Plugin supported Interface Factories...

2004-12-07 Thread Jeffrey \botman\ Broome
Ronny Schedel wrote: Did you tried IServerGameClients::GetPlayerState()? There are some angles too... I dont know, maybe it helps you. Using IServerGameClients didn't help either. It looks like the only way to get the 'origin' and 'angles' of players via a plugin is to access the GetAbsOrigin()

RE: [hlcoders] Plugin supported Interface Factories...

2004-12-07 Thread Hendrik \Punisher\ Leppkes
, 2004 9:16 PM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] Plugin supported Interface Factories... Ronny Schedel wrote: Did you tried IServerGameClients::GetPlayerState()? There are some angles too... I dont know, maybe it helps you. Using IServerGameClients didn't help either. It looks like

Re: [hlcoders] Plugin supported Interface Factories...

2004-12-07 Thread Ronny Schedel
Hmm, I get valid results (non zero) for CPlayerState::v_angle. You can get the origin from ICollideable::GetCollisionOrigin(). Greets Ronny Using IServerGameClients didn't help either. It looks like the only way to get the 'origin' and 'angles' of players via a plugin is to access the

Re: [hlcoders] Plugin supported Interface Factories...

2004-12-07 Thread Jeffrey \botman\ Broome
Ronny Schedel wrote: Hmm, I get valid results (non zero) for CPlayerState::v_angle. You can get the origin from ICollideable::GetCollisionOrigin(). Ah! Okay, I was grepping for angles not angle. I notice that 'kills' and 'deaths' is in there too! -- Jeffrey botman Broome

Re: [hlcoders] Plugin supported Interface Factories...

2004-12-06 Thread Jeffrey \botman\ Broome
Ronny Schedel wrote: Try to load the nonworking interfaces with gameServerFactory instead of interfaceFactory. Especially IServerGameDLL needs gameServerFactory. Ah, cool. I didn't even think about that. Muchas gracias. -- Jeffrey botman Broome ___ To

Re: [hlcoders] Plugin supported Interface Factories...

2004-12-06 Thread Jeffrey \botman\ Broome
Ronny Schedel wrote: Did you tried IServerGameClients::GetPlayerState()? There are some angles too... I dont know, maybe it helps you. No, I didn't try it last night because I didn't know how to load the IServerGameClients interface. After Ronny's reply, I'm assuming I can load it using

Re: [hlcoders] Plugin supported Interface Factories...

2004-12-06 Thread Ronny Schedel
Yeah, I am the same, its me, Ronny :o) Ronny Schedel wrote: Did you tried IServerGameClients::GetPlayerState()? There are some angles too... I dont know, maybe it helps you. No, I didn't try it last night because I didn't know how to load the IServerGameClients interface. After Ronny's reply,

[hlcoders] Plugin supported Interface Factories...

2004-12-05 Thread botman
I've been trying to determine which interface factories are supported by Source Engine plugins. Here's some code I added to the empty plugin Load() function... // IClientEntityList *cliententitylist = (IClientEntityList*)interfaceFactory(VCLIENTENTITYLIST_INTERFACE_VERSION, NULL); // if (

Re: [hlcoders] Plugin supported Interface Factories...

2004-12-05 Thread Jeffrey \botman\ Broome
v- HELP -v I STILL haven't determined a method to get each player's origin and angles in a plugin. The best I have found so far is to use the ICollideable::GetCollisionOrigin() and ICollideable::GetCollisionAngles() for each client (ICollideable is available through the edict_t

Re: [hlcoders] Plugin supported Interface Factories...

2004-12-05 Thread Ronny Schedel
Try to load the nonworking interfaces with gameServerFactory instead of interfaceFactory. Especially IServerGameDLL needs gameServerFactory. Greets Ronny I've been trying to determine which interface factories are supported by Source Engine plugins. Here's some code I added to the empty plugin

Re: [hlcoders] Plugin supported Interface Factories...

2004-12-05 Thread Manip
Thanks botman! PS You frigging own! :-) - Original Message - From: Jeffrey botman Broome [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 06, 2004 12:40 AM Subject: Re: [hlcoders] Plugin supported Interface Factories... v- HELP -v I STILL haven't determined