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

Steam Group Whitelist 2.0


Post New Thread Reply   
 
Thread Tools Display Modes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-07-2023 , 23:07   Re: Steam Group Whitelist
Reply With Quote #11

Quote:
Originally Posted by bigdaddy424 View Post
i had no idea that i was using spaces instead of tabs this whole time. whenever i code or write in general and make grammar mistakes and such so i end up deleting the whole word by holding ctrl and pressing delete simultaneously, making me think that its in fact tabs not spaces. try it yourself and yes i blame the editor. thank you for noticing it and calling it out. i chuckled reading this. bless


i thought that 4 spaces would translate to a single tab. i followed the steps and it fairly easy to switch to tabs. cheers
You should enable "Render Whitespace" so that you can see what characters constitute the whitespace. A tab is a single character that can be viewed as any width but most editors that I've used/seen set this width to be the equivalent of 4 spaces (this is the "tab size" value in units of spaces).
__________________
fysiks is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 07-08-2023 , 07:29   Re: Steam Group Whitelist
Reply With Quote #12

It's looking better. It can be done in 90 lines but more importantly is the kick command. That will not kick. I think you meant amx_kick?
DJEarthQuake is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 07-08-2023 , 16:07   Re: Steam Group Whitelist
Reply With Quote #13

Quote:
Originally Posted by fysiks View Post
You should enable "Render Whitespace" so that you can see what characters constitute the whitespace. A tab is a single character that can be viewed as any width but most editors that I've used/seen set this width to be the equivalent of 4 spaces (this is the "tab size" value in units of spaces).
never went that deep into settings but i did have it hard setting up amxx to work. it does look horrible setting the value to 'all'

Quote:
Originally Posted by DJEarthQuake View Post
It's looking better. It can be done in 90 lines but more importantly is the kick command. That will not kick. I think you meant amx_kick?
i can get rid of some brackets here and there but i decided not to so its easier to work around them.
im afraid that amx_kick will not kick players with immunity access
__________________
bigdaddy424 is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 07-17-2023 , 16:32   Re: Steam Group Whitelist
Reply With Quote #14

Quote:
Originally Posted by bigdaddy424 View Post
im afraid that amx_kick will not kick players with immunity access
Just force the message

Code:
message_begin(MSG_ONE, SVC_DISCONNECT,_, id)
write_string("Your Kick message!")
message_end()
__________________

Last edited by Jhob94; 07-17-2023 at 16:34.
Jhob94 is offline
JuanitoAlimana
Senior Member
Join Date: Aug 2021
Old 07-21-2023 , 02:28   Re: Steam Group Whitelist
Reply With Quote #15

I keep getting ERROR: gRIP Response Status Failed: Result (403) and ERROR: gRIP Response Status Failed: Result (400) with some players.
JuanitoAlimana is online now
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 07-21-2023 , 20:50   Re: Steam Group Whitelist
Reply With Quote #16

do you mind sharing your whitelist_* cvar values
__________________
bigdaddy424 is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 07-21-2023 , 20:51   Re: Steam Group Whitelist
Reply With Quote #17

Quote:
Originally Posted by Jhob94 View Post
Just force the message

Code:
message_begin(MSG_ONE, SVC_DISCONNECT,_, id)
write_string("Your Kick message!")
message_end()
im certain i will use this way from now on
thanks
__________________
bigdaddy424 is offline
JuanitoAlimana
Senior Member
Join Date: Aug 2021
Old 07-21-2023 , 20:52   Re: Steam Group Whitelist
Reply With Quote #18

Quote:
Originally Posted by bigdaddy424 View Post
do you mind sharing your whitelist_* cvar values
"whitelist_enable", "1"
"whitelist_flags", "a"
"whitelist_kick_message", "To gain access join our Steam Group:"
JuanitoAlimana is online now
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 07-21-2023 , 21:17   Re: Steam Group Whitelist
Reply With Quote #19

error 403 is a result of unauthorized access meaning that api key might be wrong/old
error 400 happens when the url is not formated correctly. are you sure you're using the steam group id that has 8 digits?
__________________
bigdaddy424 is offline
JuanitoAlimana
Senior Member
Join Date: Aug 2021
Old 07-21-2023 , 21:24   Re: Steam Group Whitelist
Reply With Quote #20

Quote:
Originally Posted by bigdaddy424 View Post
error 403 is a result of unauthorized access meaning that api key might be wrong/old
I use the same api key for another plugin which retrieves avatar from steamids and it works fine.


Quote:
Originally Posted by bigdaddy424 View Post
error 400 happens when the url is not formated correctly. are you sure you're using the steam group id that has 8 digits?
Positive.

As I said, it works with some players, it kicks them and shows them the message to join the group. Sometimes it doesn't work and those errors are displayed or it kicks people who ARE in the group. Weird.
JuanitoAlimana is online now
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 05:29.


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