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

Grab+


Post New Thread Reply   
 
Thread Tools Display Modes
ian.cammarata
Member
Join Date: May 2007
Location: U.S.
Old 11-12-2007 , 16:41   Re: Grab+
Reply With Quote #61

Quote:
Originally Posted by Woody56 View Post
Using 1.76c on a NS server. Getting the following errors in HLSW:
[META] WARNING: Plugin didn't set meta_result: fakemeta_amxx.dlllayerPreThink() After putting "debug" I get this error in AMXX logs:
L 11/10/2007 - 19:260: [FAKEMETA] Invalid entity
L 11/10/2007 - 19:260: [AMXX] Displaying debug trace (plugin "grab_plus.amxx")
L 11/10/2007 - 19:260: [AMXX] Run time error 10: native error (native "pev")
L 11/10/2007 - 19:260: [AMXX] [0] phpieMnFg.sma::fm_player_prethink (line 236)

Any suggestions

All fixed, get 1.2.1
__________________
ian.cammarata is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 11-12-2007 , 17:53   Re: Grab+
Reply With Quote #62

ian, just fyi not sure if you want to add a check or increase it for them:

If gp_throw_force is set higher than 2000, the server cvar sv_maxvelocity must be changed as well. sv_maxvelocity's default is 2000 (at least for cstrike, not sure about other mods), and if you set speed for velocity_by_aim higher than that it will not go where you aim but skew in another direction.

----------------------
Also, I believe it's faster to not change vectors like this with a for loop:
for( new i = 0; i < 3; i++ ) vViewPos[i] += ofs[i]
but rather do them manually:
vViewPos[0] += ofs[0]
vViewPos[1] += ofs[1]
vViewPos[2] += ofs[2]

Last edited by vittu; 11-12-2007 at 18:07.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
ian.cammarata
Member
Join Date: May 2007
Location: U.S.
Old 11-16-2007 , 10:02   Re: Grab+
Reply With Quote #63

Quote:
Originally Posted by vittu View Post
Also, I believe it's faster to not change vectors like this with a for loop:
for( new i = 0; i < 3; i++ ) vViewPos[i] += ofs[i]
but rather do them manually:
vViewPos[0] += ofs[0]
vViewPos[1] += ofs[1]
vViewPos[2] += ofs[2]
You're probably right, I guess I'll change it. But I really liked having fewer lines of code.
__________________
ian.cammarata is offline
undoedun
New Member
Join Date: Nov 2007
Old 11-16-2007 , 12:59   Re: Grab+
Reply With Quote #64

Look good! I must test this!
undoedun is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 11-16-2007 , 16:05   Re: Grab+
Reply With Quote #65

Quote:
Originally Posted by ian.cammarata View Post
You're probably right, I guess I'll change it. But I really liked having fewer lines of code.
I don't care about less lines of code, I prefer legibility and speed
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
RenXO
New Member
Join Date: Nov 2007
Location: Buenos Aires
Old 11-23-2007 , 13:12   Re: Grab+
Reply With Quote #66

No one for spanish translations?

[es]
COULDNT = No puedes agarrar a ese jugador.
ALREADY = Alguien ya esta agarrando eso.
RenXO is offline
killlotz
Junior Member
Join Date: Aug 2007
Location: Pennsylvania, USA
Old 11-24-2007 , 16:47   Re: Grab+
Reply With Quote #67

What admin flag do you ahve to have to use this?
__________________
This is bunny
(\__/)
(='.'=)
(")_(")
Help Bunny by copying and pasting him into your web page/signature to help him gain world domination.
http://www.thisisbunny.com/
killlotz is offline
Send a message via AIM to killlotz Send a message via Skype™ to killlotz
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 11-24-2007 , 16:58   Re: Grab+
Reply With Quote #68

Quote:
Originally Posted by killlotz View Post
What admin flag do you ahve to have to use this?
You can change it in the sma, but requires a recompile:
Code:
#define ADMIN ADMIN_LEVEL_A
flag "m"
http://www.amxmodx.org/funcwiki.php?...=1#const_admin
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
ian.cammarata
Member
Join Date: May 2007
Location: U.S.
Old 11-24-2007 , 19:50   Re: Grab+
Reply With Quote #69

Quote:
Originally Posted by vittu View Post
You can change it in the sma, but requires a recompile:
Code:
#define ADMIN ADMIN_LEVEL_A
Actually if you're using AMXX 1.8, you can change the flag by editing the file:
configs/cmdaccess.ini

More info in the changelog:
http://wiki.amxmodx.org/AMX_Mod_X_1...._Flag_Changing
__________________
ian.cammarata is offline
cs1.6
Senior Member
Join Date: Dec 2006
Old 12-15-2007 , 09:58   Re: Grab+
Reply With Quote #70

Hi,


Works great. Is it possible to add a cvar/feature that in chat a message is shown? After a while of grabbing entities or players and having your screen turn back and forth from normal to red you get eye aching. And if you disable the screenfading you are never sure if you grabbed the enity or not. A little cvar regarding a chat message would help much and i think is done fast.

Thanks,

cs
cs1.6 is offline
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 09:32.


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