AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Frequent Fragger Program (slot reservations deluxe) Ver 4.7 (https://forums.alliedmods.net/showthread.php?t=25847)

slurpycof 03-21-2006 15:35

Frequent Fragger Program (slot reservations deluxe) Ver 4.7
 
2 Attachment(s)
You can now use nvault or mysql if you are able.
Sample php files are attached for MySql users to enable user's viewing their time online.

// OTHER SETTINGS MYSQL VERSION:
// ===============
// - sql module must be enabled
//
// - amx_sql_host, amx_sql_user, amx_sql_pass and amx_sql_db are set in
// $moddir/addons/amxmodx/configs/sql.cfg
//
// OTHER SETTINGS NVAULT VERSION:
// ===============
// - ***REQUIRES THE NVAULT MODULE TO BE INSTALLED***
//
// DESCRIPTION:
// ============
// Slot reservation for Admins and for Frequent Fraggers on your server.
// The more a non-admin plays the better the chance they have of getting a reserved slot.
// Admins will always get a slot as long as the server is not full of admins.
// "Membership has its rewards"
//
// Features:
// - enable/disable reservation
// - redirect/kick new players when they try
// to join a full server (non admins)
// - redirect/kick the player with the lowest
// total play time
// - ability to redirect to password protected servers
// - hide/show the reserved slot
// - tracks the total time on server and gives the non admin
// players with the most time the ability to get a reserved slot
// - say /fragtime to display your total time on the server in Days, Hours, Minutes
// - Admin can add "bonus" time to a players total time using the command
// amx_ffpbonus <name or #userid> <seconds>
// - automatically decays players total time 5% if they have not been
// on the server for at least 1 day (% decay cvar changeable) (MYSQL version only)
// - deletes players from database after 30 days automatically (cvar changeable) (MYSQL version only)
// - deletes players from database after 30 days using admin command amx_ffpprune (cvar changeable) (NVAULT version only)
// - track players kills and deaths
// - stores last name used (MYSQL version only)
//
// Notes:
// - "FrequentFraggerProgram" replaces the standard "adminslots" that come
// with AMX Mod X by default, so be sure to disable it!
// - "amx_reservation" is already present in your amxx.cfg, just be sure
// to change the value to 1 to enable this plugin!

v3x 03-21-2006 16:46

Ah, here it is again :P

Your code is all bunched up ;\

slurpycof 03-21-2006 19:56

not as bunched anymore :wink:

The Real DeAtH07 03-21-2006 20:34

Where is the .txt file?

slurpycof 03-21-2006 21:07

Not required anymore. Sorry, missed that when I removed it.

v3x 03-23-2006 01:34

Quote:

Originally Posted by slurpycof
not as bunched anymore :wink:

Mm.. better :P

Do you want me to do anything with the old one?

Hops 03-23-2006 03:54

Code:

L 03/23/2006 - 10:39:11: "Player<1><VALVE_ID_LAN><>" connected, address "0.0.0.0:62868"
./hlds_run: line 342:  5582 Segmentation fault  (core dumped) $HL_CMD
Cannot access memory at address 0x400164bc
debug.cmds:1: Error in sourced command file:
Cannot access memory at address 0xbffee65c
email debug.log to [email protected]
Thu Mar 23 10:39:12 UTC 2006: Server restart in 10 seconds
Thu Mar 23 10:39:16 UTC 2006: Server Quit

i get this error as soon someone connects to my server
i have amxmodx 1.70

Sir Apocalypse 03-23-2006 09:39

This plugin didnt inflict that..

Hops 03-23-2006 09:59

Quote:

Originally Posted by Sir Apocalypse
This plugin didnt inflict that..

i get this error when i instaled this plugin :(
and when i remove this plugin the server works fine
i realy like the idea of this plugin and i would be wery glad if i could run it on my server
p.s. sorry for my english :)

ctemiz87 03-23-2006 10:37

where are all the other CVARs??

slurpycof 03-23-2006 17:17

Quote:

Originally Posted by v3x
Quote:

Originally Posted by slurpycof
not as bunched anymore :wink:

Mm.. better :P

Do you want me to do anything with the old one?

Trash the old one please

slurpycof 03-23-2006 17:18

Quote:

Originally Posted by ctemiz87
where are all the other CVARs??

register_cvar("amx_reservation","1")
register_cvar("amx_hidereserved","0")
register_cvar("amx_reservedslots","1")
register_cvar("amx_ffphistory", "30") //how many days to keep when running amx_ffpprune

Those are the 4. The only one you need to change is the amx_ffphistory

bmann_420 03-26-2006 22:43

Thank God Slurpy, so glad to see this =) This is one of my favorites, good job :up:

slurpycof 03-26-2006 23:22

Quote:

Originally Posted by Hops
Code:

L 03/23/2006 - 10:39:11: "Player<1><VALVE_ID_LAN><>" connected, address "0.0.0.0:62868"
./hlds_run: line 342:  5582 Segmentation fault  (core dumped) $HL_CMD
Cannot access memory at address 0x400164bc
debug.cmds:1: Error in sourced command file:
Cannot access memory at address 0xbffee65c
email debug.log to [email protected]
Thu Mar 23 10:39:12 UTC 2006: Server restart in 10 seconds
Thu Mar 23 10:39:16 UTC 2006: Server Quit

i get this error as soon someone connects to my server
i have amxmodx 1.70

Sorry, I missed your post earlier. It is causing the error because you are running it on a lan and it tracks by steamid. According to the error mesage you have a client with VALVE_ID_LAN and an ip address of 0.0.0.0. There is no way to track that player since it is not a unique connection in any way.

Trip~Hazard 03-30-2006 09:06

Hats off to slurpy on this one :D. I begged and waited patiently for nearly a year and the wait was well worth it. Plugin is functioning perfectly on our server with no errors. This plugin actually has helped to increase our server activity by inadvertently creating another way to compete. We have regulars competing with other regulars to get the highest fragtime now :D.

AllMassive 03-31-2006 12:23

Re: Frequent Fragger Program V4
 
Quote:

Originally Posted by slurpycof
NOW USING NVAULT FOR NON-MYSQL SERVERS

Where can i get the previous Version for use with mysqldb?

Was there such a version ?

bmann_420 03-31-2006 18:43

Can you add a redirect ip adress on here, that would be great. :up:

@AllMassive,

its gone

AllMassive 03-31-2006 20:28

so could comeone give me a dl-url for v3 ?

we run a server with about 8000 new IDs each month - dont want to run that on *.txt-files. . .

bmann_420 04-01-2006 08:56

The sql version is trashed. Dont work with new amxx

AllMassive 04-01-2006 16:33

uoh

Will there be a mysql-version of v4 ?

*duck*

slurpycof 04-02-2006 22:03

Quote:

Originally Posted by AllMassive
uoh

Will there be a mysql-version of v4 ?

*duck*

yes

slurpycof 04-02-2006 22:04

Quote:

Originally Posted by bmann_420
Can you add a redirect ip adress on here, that would be great. :up:

@AllMassive,

its gone

ver 4.1 will have it. :wink:

AllMassive 04-03-2006 20:14

WOOOHOOOO


:D

slurpycof 04-03-2006 22:09

Version 4.1 using nvault with redirect added is being beta tested for me now

Version 4.2 using MySQL which will be released as a seperate plugin probably is also being beta tested now.

slurpycof 04-09-2006 22:16

I have added mysql support for this plugin and included an example php page for displaying the stored data on your website.

AllMassive 04-09-2006 23:28

thx for adding mysql-support :!:

slurpycof 04-10-2006 13:06

There was an error in the way the date was displayed in the php files. Fixed and uploaded new version.

Janet Jackson 04-11-2006 19:32

The date (last connected) is still not correctly displayed on my webserver : http://www.girlpowered.net/freqfrag/org.php

I have disabled all slot reservation and privileges functions, I just wanted to record the total player time and last connection. I integrated your script in my forums and added a link in everyone's profile. Great plugin :)

slurpycof 04-11-2006 20:07

I am not a php coder so I am having issues trying to get it to display right. Once I get it I will post it. Unless of course on of you php programmers wouldn't mind helping ;)

slurpycof 04-12-2006 01:10

I got the date to display right finally thanks to -[AfK]- TiMbErLaNd doing the testing for me on his version of the plugin. The working files are uploaded to the first post. Here is a link to the an example that -[AfK]- is using. It only tracks clan members so it includes names, but you can see what it will look like, minus the cool background.

http://www.afkfaction.com/clantracker.php

Janet Jackson 04-12-2006 10:58

Thanks, that query works perfect :)

AllMassive 04-13-2006 12:07

Seems like the SQL-Version is losing db-entry's.

Some ppl complain that their online-time has been resettet.

Unfortionatly I cannot provide any logfiles.

slurpycof 04-13-2006 15:18

I am not sure why this would happen. The only thing I can think of is that it may have to do with the steamid pending issue. I will try to find a work around for that.

mats 04-13-2006 16:40

ccan you make something that when you say /toptime or something you can see the best 5peaple that are the longest online on the server?

AllMassive 04-13-2006 17:55

I also thought about another option:
Now we have amx_ffpminimun to define a certain amount of time to get a slot.

How about a new option that could be defined by the admin, that always thr 5 or 10 best-ranked players get a reserved slot.

Mulan 04-13-2006 20:08

rofl... nice copy www.kelten-xtreme.de/usertime.php?action=view

AllMassive 04-13-2006 21:05

@Mulan:
Don't drink and drive
:P

slurpycof 04-13-2006 21:18

Quote:

Originally Posted by mats
ccan you make something that when you say /toptime or something you can see the best 5peaple that are the longest online on the server?

That would only work for the sql version

Mulan 04-14-2006 14:56

Quote:

Originally Posted by AllMassive
@Mulan:
Don't drink and drive
:P

Lol? its a little copy from our HP or not?
since today u can klick on the Name and u see all the names from the player he has used on the server... :P

slurpycof 04-14-2006 14:59

So what you are saying is that this plugin is a copy of something you have on your website? Just out of curiosity, how long have you had that?


All times are GMT -4. The time now is 10:16.

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