PDA

View Full Version : no_reconnect (syzo)


kingpin
05-14-2004, 08:53
ported upon request here : http://130.215.27.179/forums/viewtopic.php?t=2162

Only ported and fixed the DIR structure for AMXX, changed to log_amx instead from log_to_file.

/* AMX Mod X script.
*
* No reconnect
* (c) Copyright 2002, SYZo
* This file is provided as is (no warranties).
*
* amx_minreconnecttime 20 (in seconds)
*
* ********************************************* **********************************
*
* Ported By KingPin( [email protected] ). I take no responsibility
* for this file in any way. Use at your own risk. No warranties of any kind.
*
* ********************************************* **********************************
*
*
*/

#include <amxmodx>
#define MAX_PLAYERS 32

Plugin punishes players who want to leave from punishment (ATAC) or to increase money.
Example:
Before reconnect
money = 0
on new round (if team no winner) money = 1400
after reconnect
startmoney = 800 + (if pleyer connected to no winner team) 1400 = 2200 (minimum!!!)

rootdown
05-14-2004, 09:30
thank you for the effort, but it does'nt work. from original thread

As i uppgraded to 1.6 the plugin doesn't work anymore.

Do you by any chance intend to enable the use of steam_id or is there a workaround?

kingpin
05-14-2004, 09:37
ok will fix it to use steam id in a few. didnt have time before to check the thread for what was wrong.

mICKE
05-14-2004, 09:46
Will it work for any mod or just cs?

Fireace22
05-14-2004, 09:49
it has cs icon :wink:

mICKE
05-14-2004, 09:51
Yes, but the icon can be that it is tested on cs.

didnt see any cs specific code in the plugin and the cstrike module is not used

kingpin
05-14-2004, 09:52
actually it means nothing for this post since I had no time to test it, anyone that tests it can post which mod it works on and I will put that up there, i have to goto work now so will fix it to use steam id's later.

rootdown
05-14-2004, 20:06
any update?

kingpin
05-15-2004, 00:21
sorry none yet just got off work.... 8am-10:45pm work day... so tired will work on it tomorow..

EKS
05-15-2004, 23:52
a few things:
1) You have hardcoded paths.
2) Steam id`s easly go over 16 bytes, mine is 15 :)
3) The plugin checks ip`s instead of Steam`s on users who reconnect. This is going to create problems with ppl behind NAT

kingpin
05-16-2004, 07:22
lol forgot about this plugin completely. ok will upload the newer version today. I "fixed" it the next day but filed it away and forgot about it.

knocker
05-16-2004, 07:50
could you add support to keep scores for reconnecters? for nowadays there are so many people who reconnect just to hide their bad stats. perhaps you could merge your plugin with jghg's "remember the frags"?

kingpin
05-16-2004, 08:08
i will ask him, but if he says no then u have to use it seperately.

rootdown
05-16-2004, 13:05
is it updated yet?

kingpin
05-16-2004, 13:39
try it now and see.

rootdown
05-16-2004, 14:24
it works!!! thank you very much :D

kingpin
05-16-2004, 16:22
np, lol this just went outta my mind all togather, or I woulda posted it the next day its just been in my finished scripts folder all this time.

kingpin
05-17-2004, 07:29
That someone would be "knocker" who posted above, and I've already fixed that for this plugin.

So with this new version, set rememberthefrags_resetonnewmap to 1 and when a new map loads the vault where the stats are saved, will be emptied.

so i will try to code this into it my self at some point.

knocker
05-17-2004, 12:58
well, thx anyway.

if you want to add this option, i will use your plugin since i want to run as few plugins as possible. if you dont, i will use both plugins. but i thought it might fit into the concept of "your" plugin ...

kingpin
05-17-2004, 13:42
yeah ur right lol I will get around to mutating this plugin in an hour or so right now im setting up my IRCD.

Priski
08-04-2005, 22:38
Man, this took long time to find plugin like this. When this gonna be approved? Thanks for kingping for making this. :up: