Raised This Month: $12 Target: $400
 3% 

Agent Zero


Post New Thread Reply   
 
Thread Tools Display Modes
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 02-19-2011 , 05:47   Re: Agent Zero
Reply With Quote #51

Dont post double help requests..... Delete the other topic.
__________________
The Art of War is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 02-19-2011 , 07:45   Re: Agent Zero
Reply With Quote #52

You really had to make a whole new topic just for that?

Just because of that, I am not going to give you the fix I have.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 02-19-2011 , 11:28   Re: Agent Zero
Reply With Quote #53

server_frame is not a fix man.
It generate more lag too.

Last edited by Fr33m@n; 02-20-2011 at 13:48.
Fr33m@n is offline
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 02-19-2011 , 13:04   Re: Agent Zero
Reply With Quote #54

Quote:
Originally Posted by Fr33m@n View Post
server_frame is not a fix men.
It generate more lags too.
You cannot really fix it.
Fix what? The aim shaking or anything else?
__________________
The Art of War is offline
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 02-19-2011 , 13:06   Re: Agent Zero
Reply With Quote #55

Well i don't know but this version fix the skaking :
but server_frame is called much more than Client_Prethink and other kind of forward.
It may cause lags.

i changed the cvar name, now it's agentzero_level instead of agentz_level.
i'm too lazy to change it.
Attached Files
File Type: sma Get Plugin or Get Source (sh_agentzero.sma - 491 views - 1.7 KB)

Last edited by Fr33m@n; 02-23-2011 at 04:30. Reason: added sh_is_active check
Fr33m@n is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 02-19-2011 , 13:19   Re: Agent Zero
Reply With Quote #56

Quote:
Originally Posted by Fr33m@n View Post
Well i don't know but this version fix the skaking :
but server_frame is called much more than Client_Prethink and other kind of forward.
It may cause lags.
It haven't caused lag for me.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 02-19-2011 , 13:23   Re: Agent Zero
Reply With Quote #57

EDIT: Yeah works perfectly. As slim as youll ever get, not sure if you will need a curWeapon event if you want all weapons though.

EDIT2: Sorry, I didnt mean server pre and post think....

What I meant is the use of Ham_Weapon_PrimaryAttack in a RegisterHam with both a pre and a post (two different calls with no 4th parameter in one and 1 as 4th parameter in the other one).
__________________

Last edited by The Art of War; 02-19-2011 at 17:54.
The Art of War is offline
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 02-20-2011 , 13:29   Re: Agent Zero
Reply With Quote #58

Here is a better version (1.1) of Agent Zero who use Ham_Weapon_PrimaryAttack in Post instead of any heavy forward like PreThink and so on. Of course no shaking.

Cvar changed, here is the currents cvar
shconfig.cfg CVARS
Code:
//Agent Zero
agentzero_level 5
Attached Files
File Type: sma Get Plugin or Get Source (sh_agentzero.sma - 501 views - 2.3 KB)

Last edited by Fr33m@n; 02-24-2011 at 14:24.
Fr33m@n is offline
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 02-20-2011 , 13:33   Re: Agent Zero
Reply With Quote #59

My idea of method!! :p

But yeah, nice, even more efficient. And new efficient way of checking if user has hero
__________________

Last edited by The Art of War; 02-20-2011 at 13:35.
The Art of War is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 02-21-2011 , 19:10   Re: Agent Zero
Reply With Quote #60

Quote:
Originally Posted by Fr33m@n View Post
Here is a better version (1.1) of Agent Zero who use Ham_Weapon_PrimaryAttack in Post instead of any heavy forward like PreThink and so on. Of course no shaking.

Cvar changed, here is the currents cvar
shconfig.cfg CVARS
Code:
//Agent Zero
agentzero_level 5
If anyone can verify this version as working I will modify the main post. Ham_Weapon_PrimaryAttack would be a preferred method.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode