Home » Renegade Discussions » Mod Release Forum » [Script] Hooks.dll
Re: [Script] Hooks.dll [message #373745 is a reply to message #373688] |
Fri, 27 February 2009 05:31 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to previous message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/avatars/gosticon 0000.jpeg) |
jnz
Messages: 3396 Registered: July 2006 Location: 30th century
Karma:
|
General (3 Stars) |
|
|
halo2pac wrote on Fri, 27 February 2009 01:29 | Can you
StringClass tmp;
RequestSerial(ID, tmp);
In the Loading_Hook?
also if the loader is in a ban list, can u disconnect him before he joins?
|
You can request a player's serial wherever you want, but it will only call the hook when a player's client sends it, and it only sends it when it's requested. Also be careful, there is a bug in server.exe. The loading hook is called twice, with the boolian toggled. Just do a check on it to make sure it is 0 before sending the request. The loading hook isn't called for the player join, so don't expect to get the serial when they join.
A pre-join hook that is block-able will be avaliable. I think there's 3 options:
"The game is full"
"Version missmatch"
"You are banned from this channel"
The user sees this message as they try to join.
I wont be putting any sort of functionality in Hooks.dll, the actuall banning is up to you to impliment.
[Updated on: Fri, 27 February 2009 05:33] Report message to a moderator
|
|
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
[Script] Hooks.dll
By: jnz on Sun, 01 February 2009 10:09
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: cAmpa on Sun, 01 February 2009 10:31
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: halo2pac on Sun, 01 February 2009 14:38
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: Omar007 on Sun, 01 February 2009 14:42
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: Caveman on Sun, 01 February 2009 17:29
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: _SSnipe_ on Sun, 01 February 2009 17:31
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: raven on Sun, 01 February 2009 21:55
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: _SSnipe_ on Sun, 01 February 2009 22:03
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: raven on Sun, 01 February 2009 18:22
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: Ethenal on Sun, 01 February 2009 21:43
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: _SSnipe_ on Sun, 01 February 2009 21:53
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: jnz on Mon, 02 February 2009 00:08
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: Omar007 on Mon, 02 February 2009 14:23
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: cAmpa on Mon, 02 February 2009 14:41
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: raven on Mon, 02 February 2009 23:40
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: jnz on Tue, 03 February 2009 00:30
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: raven on Tue, 03 February 2009 00:50
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: halo2pac on Thu, 26 February 2009 18:29
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: jnz on Fri, 27 February 2009 05:31
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: raven on Fri, 27 February 2009 04:47
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: halo2pac on Fri, 27 February 2009 11:32
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: jnz on Fri, 27 February 2009 11:36
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
By: jnz on Sat, 23 April 2011 00:36
|
![Read Message Read Message](/theme/Renegade_Forums/images/read.png) |
|
Re: [Script] Hooks.dll
|
Goto Forum:
Current Time: Sun Sep 01 18:25:17 MST 2024
Total time taken to generate the page: 0.00975 seconds
|