Raised This Month: $ Target: $400
 0% 

Player Slot Manager v0.0.4


Post New Thread Reply   
 
Thread Tools Display Modes
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 09-13-2010 , 15:44   Re: Player Slot Manager v0.0.4
Reply With Quote #11

Quote:
Originally Posted by YamiKaitou View Post
Yes. Below is better
PHP Code:
new szName[32]; 
get_user_nameidszName31 
I apologize. Oh, and since a players name can hold.. I think 32 characters it should be,

PHP Code:
new szName[33]; 
get_user_nameidszName32 
I'll fix it in a bit, I'm doin other stuff
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 09-13-2010 , 16:18   Re: Player Slot Manager v0.0.4
Reply With Quote #12

Code:
new szName[33]; get_user_name(id, szName, charsmax(szName));
Seta00 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-13-2010 , 16:55   Re: Player Slot Manager v0.0.4
Reply With Quote #13

Player names are 31 characters max
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-13-2010 , 17:04   Re: Player Slot Manager v0.0.4
Reply With Quote #14

Either you hook jointeam + old menu, either you hook TeamInfo.
Actually you hook jointeam + TeamInfo...
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 09-13-2010 , 17:34   Re: Player Slot Manager v0.0.4
Reply With Quote #15

Quote:
Originally Posted by ConnorMcLeod View Post
Either you hook jointeam + old menu, either you hook TeamInfo.
Actually you hook jointeam + TeamInfo...
Well I hooked both because I was told I can block team join by fysiks and wrecked with return PLUGIN_HANDLED; inside the jointeam hook. But the team info event wasn't able to block it. Sadly, upon adding both hooks, I found out it didn't work.

Quote:
Originally Posted by YamiKaitou View Post
Player names are 31 characters max
Woops
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.

Last edited by GXLZPGX; 09-13-2010 at 17:38.
GXLZPGX is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 09-16-2010 , 05:59   Re: Player Slot Manager v0.0.4
Reply With Quote #16

I know a lot of people had problems with Exolent plugin (Team Limiter) but, dunno if is fixed now.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 09-16-2010 , 06:44   Re: Player Slot Manager v0.0.4
Reply With Quote #17

Quote:
Originally Posted by Alucard^ View Post
I know a lot of people had problems with Exolent plugin (Team Limiter) but, dunno if is fixed now.
Hmm, that lays in Exolents hands then. I've never used his plugin. I might flip through some of the posts in his topic to see what can be improved so I don't make some of the mistakes he may have made.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
kropto
Member
Join Date: Aug 2010
Location: Lithuanian
Old 10-16-2010 , 15:20   Re: Player Slot Manager v0.0.4
Reply With Quote #18

Please fix

Code:
L 10/16/2010 - 21:46:46: [CSTRIKE] Invalid player 5
L 10/16/2010 - 21:46:46: [AMXX] Displaying debug trace (plugin "playerslotmanager.amxx")
L 10/16/2010 - 21:46:46: [AMXX] Run time error 10: native error (native "cs_get_user_team")
L 10/16/2010 - 21:46:46: [AMXX]    [0] playerslotmanager.sma::client_disconnect (line 55)
L 10/16/2010 - 22:12:49: Start of error session.
L 10/16/2010 - 22:12:49: Info (map "jail_olo") (file "addons/amxmodx/logs/error_20101016.log")
L 10/16/2010 - 22:12:49: [CSTRIKE] Invalid player 1
L 10/16/2010 - 22:12:49: [AMXX] Displaying debug trace (plugin "playerslotmanager.amxx")
L 10/16/2010 - 22:12:49: [AMXX] Run time error 10: native error (native "cs_get_user_team")
L 10/16/2010 - 22:12:49: [AMXX]    [0] playerslotmanager.sma::client_disconnect (line 55)
L 10/16/2010 - 22:12:49: [CSTRIKE] Invalid player 4
L 10/16/2010 - 22:12:49: [AMXX] Displaying debug trace (plugin "playerslotmanager.amxx")
L 10/16/2010 - 22:12:49: [AMXX] Run time error 10: native error (native "cs_get_user_team")
L 10/16/2010 - 22:12:49: [AMXX]    [0] playerslotmanager.sma::client_disconnect (line 55)
kropto is offline
Send a message via Skype™ to kropto
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 10-16-2010 , 16:31   Re: Player Slot Manager v0.0.4
Reply With Quote #19

You can't check their team after they disconnect, that's why that error is shown. Will wait for Shadow (GXLZPGX) to fix it.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-16-2010 , 17:33   Re: Player Slot Manager v0.0.4
Reply With Quote #20

Quote:
Originally Posted by GXLZPGX View Post
psm_version <version> - I suggest you not edit this, this is just so you know what version of the plugin you have.
It's called amxx plugins in server console. You can see the version there.
__________________
fysiks 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 08:52.


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