Hooking SV_ConnectClient on Reapi (rehlds)
how to hook SV_ConnectClient using reapi and any one got link to reapi similar functions of orpheu ?
thnx anyway |
Re: Hooking SV_ConnectClient on Reapi (rehlds)
What exactly you need to do?
in AMXX have same hook that you can block / hook some params |
Re: Hooking SV_ConnectClient on Reapi (rehlds)
i wanna use it for admin slot reservation to make a random player kicked if any admin join (when server is full) and try to force cl_allowdownload 1 (i think its not slowhacking cause this command aint used for bad things..)
|
Re: Hooking SV_ConnectClient on Reapi (rehlds)
Quote:
|
Re: Hooking SV_ConnectClient on Reapi (rehlds)
Quote:
1. Default amxx already do slot reservation and kick an player if server is full if i remember (If not, is easy to do) 2. cl_allowdownload will not let player enter if he do not have downloaded files from server. If player really want to enter, is only allow download to not make sense force this cvar on players anyway. 3. It still slowhack 4. You do not need to hook any function than default client_connect to do it. There is 4 reasons, but the last i suspect is to work with a non-steam? |
Re: Hooking SV_ConnectClient on Reapi (rehlds)
Quote:
Quote:
1. Default amxx Slot Reservation just reserve a slot means when server only 31/32 only the admins will can join to the server. and what i wanna do is to make the server 32/32 than if any admin join using console a random player get kicked.. 2. like i said some players doesn't know how to allow download that why i'm try to use reapi 3. without this command some players will can't even join but OK no prob 4. using cl_allowdownload 0 player will can't even reach client_connect so i need to use reapi.. 5. you got no reason to suspect that i have no steam server else you're just going off topic nothing else its some thing like to be : - Good Morning - I Like it too LOL |
Re: Hooking SV_ConnectClient on Reapi (rehlds)
Still be not supported here
1. IT still slowhack, and do not make sense since newbie clients never change cl_allowdownload from the default "1", if some player change it ti is because he know how to activate it again 2. SV_ConnectClient still not work if the player is not entered in server, you can't just set a cvar or send an command from players that is not connected to server anyway. 3. About slot, i will say it again: Can be easily done You have create a problem that is not exists in a normal way |
Re: Hooking SV_ConnectClient on Reapi (rehlds)
1. already said OK no prob...
2. no it works tested SV_ConnectClient method but using orpheu.. 3. i need to make it auto (no website button or something like that) i just asked for reapi SV_ConnectClient hook method but thnx anyway |
Re: Hooking SV_ConnectClient on Reapi (rehlds)
You can hook SV_ConnectClient, but never can send a command to client that is not connected even if use reapi.
You can send a message to client when he connect to get server files. I suggest a message like this http://www.amxservera.ru/uploads/pos...1_untitled.jpg here: https://forums.alliedmods.net/showthread.php?p=816224 |
Re: Hooking SV_ConnectClient on Reapi (rehlds)
i know.but u didn't understand me aswell clients reach SV_ConnectClient before sv is full kick thats why i wanna use it can u tell how to hook it and thnx so mush for the suggestion :)
|
All times are GMT -4. The time now is 17:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.