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

Admin Free Look


Post New Thread Reply   
 
Thread Tools Display Modes
VEN
Veteran Member
Join Date: Jan 2005
Old 01-09-2007 , 09:22   Re: Admin Free Look
Reply With Quote #21

Quote:
by use this event, admin will keep his "team" money
This is not the case because a reward is given on new round, not on round end.
VEN is offline
Yourgod | DarkSider
BANNED
Join Date: Jan 2007
Old 01-09-2007 , 14:25   Re: Admin Free Look
Reply With Quote #22

Very good & useful Plugin .
+karma .
Yourgod | DarkSider is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 01-09-2007 , 15:56   Re: Admin Free Look
Reply With Quote #23

If i'd set a long restartround delay (e.g. 60 seconds) why would you want to reset my team back? I have the whole minute for a free look. Also i do not see the advantage of the end_round hook. You providing the option to choose a different hooks to perform a reset of an admin's team back but i do not see why would you need to provide that choice at all. You just creating more problems with the default hook method.

I do not see how this could be useful:
Code:
if(g_team[id] == CS_TEAM_SPECTATOR) {     message_begin(MSG_ALL, g_msgTeamInfo)     write_byte(id)     write_string("SPECTATOR")     message_end() }
The Spec TeamInfo has been already updated properly (see your join_spec function) so this is unnecessary.

And again you do not care of the manual team changes. Let's say the person has been forced to free look by your plugin on non-team-change death. After that the person is choosing another team. The forced free look is gone since the person's team not the Spectators anymore. You should take care of that.
VEN is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 01-09-2007 , 22:45   Re: Admin Free Look
Reply With Quote #24

yeah, you are absolutely right VEN, thanks. I didn't test it well. I should do the same thing when they manually choose the other team after dead.
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 01-10-2007 , 18:13   Re: Admin Free Look
Reply With Quote #25

Very nice... should definately be approved, works great.
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
VEN
Veteran Member
Join Date: Jan 2005
Old 01-13-2007 , 08:30   Re: Admin Free Look
Reply With Quote #26

Isn't it crash the server with your non-alive manual team change fix?

Also what about autoteambalance? You are not cache the new team for this case.

Last edited by VEN; 01-13-2007 at 08:32.
VEN is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 01-19-2007 , 12:45   Re: Admin Free Look
Reply With Quote #27

Plugin doesn't work for VGUI menu.

Last edited by VEN; 01-20-2007 at 07:03.
VEN is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 01-20-2007 , 05:11   Re: Admin Free Look
Reply With Quote #28

is the menu id of "select a class" of VGUI menu a fixed number ?
a little bit weird, when i use VGUI menu, get_menu_id() always return 0 before I call a common menu. any ideas ?
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>

Last edited by jim_yang; 01-20-2007 at 06:48.
jim_yang is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 01-20-2007 , 07:35   Re: Admin Free Look
Reply With Quote #29

VGUI menu ids are constant. You could test get_menu_id and report to DEVs if it's (still) buggy.

To catch class selection i'd hook post "joincalss" "1"/"2"/"3"/"4" ClientCommand.

Last edited by VEN; 01-20-2007 at 07:38.
VEN is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 01-20-2007 , 07:54   Re: Admin Free Look
Reply With Quote #30

before i use cs_set_user_team to transfer them to spec, i must make sure that a client doesn't has a "choose a class" or "select a class" menu, or server will crash, because he already joined spec. now i use get_user_menu(), only old style menu return the right id. VGUI menu always return 0. but after i call any other simple menu, it return the right menu id -26 or -27 again.
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang 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 03:04.


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