View Single Post
  #25  
Unread 9th October, 2007, 04:36 AM
Baiter's Avatar
Baiter Baiter is offline
Holy Shit!!
 
Join Date: Apr 2004
Location: Houston, TX
Posts: 1,566
Default

Quote:
Originally Posted by killereye View Post
Beta release of player merging utility
Ok I've quickly updated my old code of this merging utility (see my previous post) and it runs now in the admin page of utstats.

Features
- It gives a list of all nicks to a certain IP
- Click "merge xxx.xxx.xxx.xxx" below it to go merge the nicks to one nick
- In the pop-up select the nick to merge to
- It'll merge all nicks in one operation to that nick!
- Also features an ignore ip's option, select the ips you want to ignore and press the ignore button at the bottom end. These ips won't show up in the list next time.

Screenshots

[i]All ip's with the nicks[/i[


Merge all nicks of a certain IP to one nick you selected

Installation
You can download it from the [C]W[L] downloads page or directly by clicking here.

a) Add plm.php to your stats/pages/admin/ folder
b) Edit stats/pages/admin/main.php
- search:
echo '<li><a href="admin.php?key='. urlencode($adminkey) .'&amp;action=mservers">Merge Servers</a></li>';
- add below it:
echo '<li><a href="admin.php?key='. urlencode($adminkey) .'&amp;action=plm">Merge IPs with more than 1 Player</a></li>';
c) Add a table to the stats database
- name: uts_ignoreips
- one field, named "ip", type "bigint(15)", not null, primary key

Be cautious, it's only a beta release. I tested it on a few occasions, but still might contain some errors. I'm not sure if I'm gonna update this code tho

Please give feedback or bug reports!

Hey Killereye,

I've been looking at your enhancements to the merging system, and I was quite impressed.

I did have a couple problems, and a couple suggestions.

First of all I have a VERY full server with hundreds of unique players a day.



When I first installed this and ran it....I got an error on the bottom of the page after about 5 minutes of waiting. There were about a hundred or more ips
And their aliases, but this is what the error said on the very bottom....

Fatal error: Maximum execution time of 300 seconds exceeded in C:\...\utstats\pages\admin\plm.php on line 147

I guess the only thing I can do is to increase the timeout value. But forgive my ignorance, where do I go to do that?

Suggestions:


Suggestion #1

Beside each Alias, have in parenthesis' the number of matches they have played

Example:

24.150.223.59 - 412540731

Ben Dover (2)
dis|eased[t] (54)
dis|ease[t] (1)
Heart_Break_Kid (774)
Magentic (909)
PH|Magentic (67)


Suggestion #2

Also, to reduce the time it takes for the stats to processing on the plm request, I have another suggestion.

It would be VERY nice to have a way you can ask for only a certain range of IPs to be processing for aliases.

For Example:

24.50.0.0 to 25.50.255.255

This would conserve time and help admins out tremendously
__________________
-={SDA}=-Baiter | Maker of Sniper's Heaven
Clan SDA | UT Server Baiter Edition | Play Sniper's Heaven!!! | SDA Gaming Servers
Reply With Quote