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

[TF2] Request:- Stun Wrench


Post New Thread Reply   
 
Thread Tools Display Modes
max42
Member
Join Date: Nov 2009
Old 12-01-2010 , 04:03   Re: [TF2] Request:- Stun Wrench
Reply With Quote #11

thanks tylerst

just tested this on my server the script is running because i can set sm_stunwrench_duration but when u hit an enemy it does not do anything :S

have you tested the script ?

im just wondering because if you have then it maybe something on my server stopping it from working

thanks
max42
max42 is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 12-01-2010 , 04:42   Re: [TF2] Request:- Stun Wrench
Reply With Quote #12

Quote:
Originally Posted by max42 View Post
thanks tylerst

just tested this on my server the script is running because i can set sm_stunwrench_duration but when u hit an enemy it does not do anything :S

have you tested the script ?

im just wondering because if you have then it maybe something on my server stopping it from working

thanks
max42
Tested when I recoded it, just tested it agan now, and it worked fine.
The plugin has lots of checks so make sure of this:

1. You have either the p flag or the z flag
2. The hit didn't kill the enemy
3. You have a NORMAL wrench equipped, not a southern hospitality, gunslinger, golden wrench, or custom wrench(name tag, description tag etc)
4. stunduration is greater than 0


If you pass all that, the plugin should stun your enemy

Last edited by Tylerst; 12-01-2010 at 04:46.
Tylerst is offline
max42
Member
Join Date: Nov 2009
Old 12-01-2010 , 10:51   Re: [TF2] Request:- Stun Wrench
Reply With Quote #13

hi Tylerst

thanks for testing and getting back to me

i have double checked i have only standard weapons equpied and using both p and z tag

however it still does not work on my server i guess theres another script installed stopping it from working ><

cheers
Max42
max42 is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 12-01-2010 , 22:03   Re: [TF2] Request:- Stun Wrench
Reply With Quote #14

Quote:
Originally Posted by max42 View Post
hi Tylerst

thanks for testing and getting back to me

i have double checked i have only standard weapons equpied and using both p and z tag

however it still does not work on my server i guess theres another script installed stopping it from working ><

cheers
Max42
Here is a 'debug' version of sorts, it will print to chat exactly which check is failing in chat when you hit an enemy so we will know where your problem is(As such, I suggest only doing this when you can do it alone in the server with a bot or a friend, or there will be spam all over the place). Post here whatever message you get in chat and I can help fix it.


If you get nothing in chat, something you have may be preventing the stun itself from running.
Attached Files
File Type: sp Get Plugin or Get Source (stunwrench.sp - 195 views - 1.9 KB)

Last edited by Tylerst; 12-01-2010 at 22:12.
Tylerst is offline
max42
Member
Join Date: Nov 2009
Old 12-02-2010 , 03:32   Re: [TF2] Request:- Stun Wrench
Reply With Quote #15

thanks tylerst

i have tried the debug script and heres the output

Quote:
Admin Access check failed
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
Attacker check failed: attacker 0
so it seemd from that the admin check is not allowing access

here is the setup i have for sourcemod admin file

Quote:
"Max42"
{
"auth" "steam"
"identity" "STEAM_0:1:12343893"
"flags" "z o p"
}
could it be because i need to use the 3 tags together ?

thanks
Max42
max42 is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 12-02-2010 , 04:40   Re: [TF2] Request:- Stun Wrench
Reply With Quote #16

Quote:
Originally Posted by max42 View Post
thanks tylerst

i have tried the debug script and heres the output



so it seemd from that the admin check is not allowing access

here is the setup i have for sourcemod admin file



could it be because i need to use the 3 tags together ?

thanks
Max42
Most of that is not the admin check, it's the attacker check.

Given that it returned attacker 0, I gather than you're probably using a listen server
(Using sourcemod in your steam tf2 folder and creating server from the game, as opposed to a dedicated server)? For dedicated servers 0 is the the world(the console), but for listen servers, the the world is the creator of it.

Also, for your flags
Code:
"flags" "z o p"
you should just use
Code:
"flags" "z"
z allows everything, you don't need the others.

Also, I don't know if keyvalues ignores them or not, but don't use spaces("zop" as opposed to "z o p")

In any case, going on that information, this one should work for you:
Attached Files
File Type: sp Get Plugin or Get Source (stunwrench.sp - 229 views - 1.2 KB)

Last edited by Tylerst; 12-02-2010 at 04:50.
Tylerst is offline
max42
Member
Join Date: Nov 2009
Old 12-02-2010 , 05:46   Re: [TF2] Request:- Stun Wrench
Reply With Quote #17

i run the server from a dedibox

it still does not work for some reason i have sent you a pm

thanks tylerst
max42 is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 12-02-2010 , 08:10   Re: [TF2] Request:- Stun Wrench
Reply With Quote #18

Quote:
Originally Posted by max42 View Post
i run the server from a dedibox

it still does not work for some reason i have sent you a pm

thanks tylerst
I sent you a reply. Tell me if you get it or not, sometimes I have trouble with PMs.

Last edited by Tylerst; 12-02-2010 at 08:12.
Tylerst is offline
max42
Member
Join Date: Nov 2009
Old 12-02-2010 , 10:44   Re: [TF2] Request:- Stun Wrench
Reply With Quote #19

Hi tylerst

got your pm dont have time to take a proper look at it at the moment but i have skip read it and can see that you have got it working

thats great news thank you very much for doing this

regards
Max42
max42 is offline
max42
Member
Join Date: Nov 2009
Old 12-02-2010 , 17:17   Re: [TF2] Request:- Stun Wrench
Reply With Quote #20

lol i found a bug

if u build a normal sentry and keep you wrench out when the sentry attacks the other team it bonks them as well

anyway round this ?
max42 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 04:20.


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