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

Invisible Spectator, Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ico
Member
Join Date: Jun 2013
Old 11-16-2013 , 19:43   Invisible Spectator, Help
Reply With Quote #1

Hello,
we are looking for someone to modify/correct an 'Invisible Spectator' mod made by necavi.
he is no longer developing this mod and suggested to ask the community for help.

(Game: CSS)

the mod is called 'admin stealth'

http://forums.alliedmods.net/showthread.php?p=1796351

there are two problems:
1. players become automatically visible, starting each round.
- invisibility should remain till manually changed.

2. connect and disconnect, to the server, is not working when going into 'stealth/invisible' mod.
- it should should show disconnect when going into invisible mod and connect when switching to visible.

I am not a programmer and have no idea how to modify the code/script.

Can anyone help, please?

thanks
Attached Files
File Type: smx AdminStealth.smx (6.1 KB, 227 views)
File Type: sp Get Plugin or Get Source (AdminStealth.sp - 410 views - 5.4 KB)

Last edited by Ico; 11-18-2013 at 13:13.
Ico is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 11-17-2013 , 05:54   Re: Invisible Spectator, Help
Reply With Quote #2

Sorry, I didn't understand everything...
What you want do is :
Make player totally invisible when they are in spec team, right ?
__________________
Want to check my plugins ?
Arkarr is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 11-17-2013 , 06:14   Re: Invisible Spectator, Help
Reply With Quote #3

I think he say invisible is not working.

On player spawn player should start visible untill manually changed to invisible by command.
Once invisible command call player will invisible and it should PrintToChatAll player "cheat" has disconnected.

EDIT: it sound too cheatty but i like this idea.. lolxx
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 11-17-2013 at 06:17.
GsiX is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 11-17-2013 , 06:43   Re: Invisible Spectator, Help
Reply With Quote #4

Okay, gonna do this.

Original plugin updated and fixed. My version is not needed anymore !
Link to the original plugin : http://forums.alliedmods.net/showthread.php?p=1796351
--- Admin Stealth (Arkarr's edition) ---

command(s) :

sm_stealth - Active the invisibility on your sefl, type again to go back visibile

Cvar(s) :

sm_stealth_welcomemsg "The player [PLAYERNAME] as join the game" - Display this message when someone become visible.

sm_stealth_leftmsg "The player [PLAYERNAME] as left the game" - Display this message when someone become invisible.

Installation :

1) Put the AdminStealth.smx in your plugins folder
2) Reload plugins folder (sm plugins reload), change map or restart server
3) DONE !

NOTE: GsiX helped me, --> https://forums.alliedmods.net/showthread.php?t=229939
Attached Files
File Type: sp Get Plugin or Get Source (AdminStealth.sp - 402 views - 2.6 KB)
__________________
Want to check my plugins ?

Last edited by Arkarr; 11-23-2013 at 09:24. Reason: Posted the plugin.
Arkarr is offline
Ico
Member
Join Date: Jun 2013
Old 11-17-2013 , 14:02   Re: Invisible Spectator, Help
Reply With Quote #5

thank you for the replies!
1. this is far from a 'cheat' mod! to the contrary. it enables admins to be invisible and track hackers undetected.
2. Arkarr, thank you for starting to modify the mod.
i have tested it.
current results:
1. sm_stealth does not make me invisible anymore.
2. when entering sm_stealth, it only shows the connect message.

hopefully you can look into it again. this mod is so needed on our servers!

thanks.

PS. mod purpose...to be sure,
1. when entering sm_stealth, admin will be invisible and a player disconnect message will show on the server.
2. when entering sm_stealth again, admin will be visible again and a player connect message will show on the server.

Perfect would be, if a cfg file is generated and i can assign steam id's, to be sure that only certain people can use this mod.

Last edited by Ico; 11-17-2013 at 14:16.
Ico is offline
Ico
Member
Join Date: Jun 2013
Old 11-17-2013 , 15:07   Re: Invisible Spectator, Help
Reply With Quote #6

Error Messages:

L 11/17/2013 - 10:56:53: SourceMod error session started
L 11/17/2013 - 10:56:53: Info (map "de_dust") (file "errors_20131117.log")
L 11/17/2013 - 10:56:53: [SM] Native "SetEntProp" reported: Entity -1 (-1) is invalid
L 11/17/2013 - 10:56:53: [SM] Displaying call stack trace for plugin "AdminStealth.smx":
L 11/17/2013 - 10:56:53: [SM] [0] Line 311, /groups/sourcemod/compiler-1.5/include/entity_prop_stocks.inc::SetEntityRenderMode()
L 11/17/2013 - 10:56:53: [SM] [1] Line 64, /home/groups/alliedmodders/forums/files/1/9/8/4/3/9/127855.attach::Cmd_Stealth()
L 11/17/2013 - 11:22:24: Error log file session closed.
Ico is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 11-17-2013 , 15:12   Re: Invisible Spectator, Help
Reply With Quote #7

The error shouldn't be a big deal to fix. I have 1 more question, about wich game are we talking ? I Used it on TF2 and everything wroked fine.

NOTE: You need to use this plugin in a team else then spectator.
__________________
Want to check my plugins ?
Arkarr is offline
Ico
Member
Join Date: Jun 2013
Old 11-17-2013 , 15:41   Re: Invisible Spectator, Help
Reply With Quote #8

Counter Strike Source
sm_stealth should only work when dead or in spec. actually, that doesn't matter. as long as admin becomes invisible and a disconnect message appears.

Last edited by Ico; 11-17-2013 at 15:49.
Ico is offline
necavi
Veteran Member
Join Date: Sep 2010
Old 11-17-2013 , 21:04   Re: Invisible Spectator, Help
Reply With Quote #9

If you have any specific questions about why things are the way they are with the code, feel free to ask - it is by its very nature pretty hacky, being as it uses teams that don't exist. Behaviour between games can be very different.
necavi is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 11-18-2013 , 11:02   Re: Invisible Spectator, Help
Reply With Quote #10

Quote:
Originally Posted by necavi View Post
If you have any specific questions about why things are the way they are with the code, feel free to ask - it is by its very nature pretty hacky, being as it uses teams that don't exist. Behaviour between games can be very different.
Holy cow.. i go thru this page few times and didnt notice he actually did not mention what game..


EDIT: Arkarr, as i remember, you need to loose all his weapon except the active one in order to make his equipment invisible or remove them. Once they enter visible mode restore the weapon.
If i m not mistaken, if the player change weapon, the last active weapon or the new active will be visible. Not quite sure since my last CSS plugin, but it will be visible somehow.


EDIT2: Ico, check your other plugin that may use player alpha ( visible/invisible ). If you have one, remove them and test the plugin again. From my read thru the plugin, it should do just fine.
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 11-18-2013 at 11:43.
GsiX 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 00:56.


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