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 |
|
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
|
|
|
|
|
[Script] Hooks.dll
By: jnz on Sun, 01 February 2009 10:09
|
|
|
Re: [Script] Hooks.dll
|
|
|
Re: [Script] Hooks.dll
By: cAmpa on Sun, 01 February 2009 10:31
|
|
|
Re: [Script] Hooks.dll
By: halo2pac on Sun, 01 February 2009 14:38
|
|
|
Re: [Script] Hooks.dll
By: Omar007 on Sun, 01 February 2009 14:42
|
|
|
Re: [Script] Hooks.dll
|
|
|
Re: [Script] Hooks.dll
By: Caveman on Sun, 01 February 2009 17:29
|
|
|
Re: [Script] Hooks.dll
By: _SSnipe_ on Sun, 01 February 2009 17:31
|
|
|
Re: [Script] Hooks.dll
By: raven on Sun, 01 February 2009 21:55
|
|
|
Re: [Script] Hooks.dll
By: _SSnipe_ on Sun, 01 February 2009 22:03
|
|
|
Re: [Script] Hooks.dll
|
|
|
Re: [Script] Hooks.dll
By: raven on Sun, 01 February 2009 18:22
|
|
|
Re: [Script] Hooks.dll
By: Ethenal on Sun, 01 February 2009 21:43
|
|
|
Re: [Script] Hooks.dll
By: _SSnipe_ on Sun, 01 February 2009 21:53
|
|
|
Re: [Script] Hooks.dll
By: jnz on Mon, 02 February 2009 00:08
|
|
|
Re: [Script] Hooks.dll
|
|
|
Re: [Script] Hooks.dll
|
|
|
Re: [Script] Hooks.dll
By: Omar007 on Mon, 02 February 2009 14:23
|
|
|
Re: [Script] Hooks.dll
By: cAmpa on Mon, 02 February 2009 14:41
|
|
|
Re: [Script] Hooks.dll
|
|
|
Re: [Script] Hooks.dll
By: raven on Mon, 02 February 2009 23:40
|
|
|
Re: [Script] Hooks.dll
By: jnz on Tue, 03 February 2009 00:30
|
|
|
Re: [Script] Hooks.dll
|
|
|
Re: [Script] Hooks.dll
By: raven on Tue, 03 February 2009 00:50
|
|
|
Re: [Script] Hooks.dll
By: halo2pac on Thu, 26 February 2009 18:29
|
|
|
Re: [Script] Hooks.dll
By: jnz on Fri, 27 February 2009 05:31
|
|
|
Re: [Script] Hooks.dll
By: raven on Fri, 27 February 2009 04:47
|
|
|
Re: [Script] Hooks.dll
By: halo2pac on Fri, 27 February 2009 11:32
|
|
|
Re: [Script] Hooks.dll
By: jnz on Fri, 27 February 2009 11:36
|
|
|
Re: [Script] Hooks.dll
|
|
|
Re: [Script] Hooks.dll
By: jnz on Sat, 23 April 2011 00:36
|
|
|
Re: [Script] Hooks.dll
|
Goto Forum:
Current Time: Sun Nov 24 07:45:07 MST 2024
Total time taken to generate the page: 0.01076 seconds
|