Donations
|
If you wish to make a donation you can by clicking the image below.
|
|
|
|
|
25th June, 2014, 01:28 PM
|
|
Holy Shit!!
|
|
Join Date: Jan 2006
Posts: 676
|
|
im on php 5.4 I was on 5.2 but I upgraded. all is well now though
I do have another weird issue. I see some players in the rankings with no name? it shows a country flag though. Does this happen if they are using non standard characters in their name?
|
28th June, 2014, 09:32 PM
|
|
Godlike
|
|
Join Date: Dec 2011
Location: Tennessee, USA
Posts: 441
|
|
I've seen some peoples going without names and I have no idea how that happen. I do know about the blank character but not sure. Ban no name! LOL jk
|
30th June, 2014, 04:54 PM
|
|
Holy Shit!!
|
|
Join Date: Jan 2006
Posts: 676
|
|
im on a windows based game server, but Linux hosted webserver. its two separate IP's. I did find out who the players were one with weird characters and the other has regular characters.. so weird
Last edited by qwerty : 30th June, 2014 at 05:04 PM.
|
25th July, 2014, 12:40 PM
|
|
Dominating
|
|
Join Date: Aug 2007
Location: UK
Posts: 100
|
|
I had problems with utstats, when my gameserver was on windows. and webserver on linux, better make it all on the same box or vps!
|
25th July, 2014, 06:40 PM
|
|
Holy Shit!!
|
|
Join Date: Jan 2006
Posts: 676
|
|
I figured its Linux webserver that doesn't handle special chars
|
26th July, 2014, 09:15 PM
|
Dominating
|
|
Join Date: Sep 2006
Posts: 106
|
|
It has to do with character encoding afaik. Default will be different for linux opposed to windows.
I would suggest to try a few different ones enforced in your database - I had luck with "latin" for example, which is the default for windows.
|
28th July, 2014, 04:44 PM
|
|
Holy Shit!!
|
|
Join Date: Jan 2006
Posts: 676
|
|
thanks ill try that
|
28th July, 2014, 05:09 PM
|
|
Holy Shit!!
|
|
Join Date: Jan 2006
Posts: 676
|
|
right now its on latin1_swedish_ci
|
30th July, 2014, 08:44 PM
|
Dominating
|
|
Join Date: Sep 2006
Posts: 106
|
|
I've been looking into it some more. Quick hax that works is to change import.php at #334
Code:
while (($data = my_fgets($handle, 5000)) !== FALSE) {
//if ($debug) debug_output('Raw input ', $data);
//$data = preg_replace('/[\x00]/', '', $data);
//if ($debug) debug_output('After preg_replace', $data);
$data = iconv(mb_detect_encoding( $data ), 'UTF-8', $data );
$data = explode("\t", $data);
Basically this will convert the file to utf-8. Assuming you have a default mysql database setup, that should be utf-8 as well. This enabled the "weird" chars from a different server to correctly import on another OS.
|
31st July, 2014, 12:52 PM
|
|
Holy Shit!!
|
|
Join Date: Jan 2006
Posts: 676
|
|
thanks!! ill give it a try
|
2nd September, 2014, 03:44 PM
|
Rampage
|
|
Join Date: Nov 2008
Posts: 51
|
|
Quote:
Originally Posted by qwerty
im on php 5.4 I was on 5.2 but I upgraded. all is well now though
I do have another weird issue. I see some players in the rankings with no name? it shows a country flag though. Does this happen if they are using non standard characters in their name?
|
If UTStats doesnt import logs you need replace this file, for me works
import.php
and this set to true:
Code:
$debug = isset($_REQUEST['debug']) ? $_REQUEST['debug'] : true;
I have questions how to change background, styles and others images, colors, fonts, color/font of tables on site, what file can configurate this ?
__________________
ZONE ZONE ZONE ZONE ZONE ...
________________________________
-- \\'. server / UT99 --
-----------------------------------------
|
2nd September, 2014, 04:36 PM
|
|
Holy Shit!!
|
|
Join Date: Jan 2006
Posts: 676
|
|
thanks for that^^ my imports broke somehow and this file fixed the issue
|
10th January, 2015, 03:08 PM
|
Rampage
|
|
Join Date: Nov 2008
Posts: 51
|
|
hello can someone help ? I dont how to fix that, hm
Code:
Staring FTP client class with PORT mode support
UMASK 022
Transfer type: auto ASCII
Timeout 30
Passive mode off
Connect to:
- Server: xx.xx.xx.xx
- Port: 21
Host "rev.xx.xx.xx.xx.pukawka.pl(xx.xx.xx.xx):21"
Local OS : UNIX
Using PHP's socket extension
Creating socket
Connecting to "xx.xx.xx.xx:21"
Connected to remote host "rev.xx.xx.xx.xx.pukawka.pl:21". Waiting for greeting.
GET < 220 xx.xx.xx.xx FTP server ready
PUT > USER xxx
GET < 331 Password required for xxx
PUT > PASS xxxxx
GET < 230 User xxx logged in
Authentication succeeded
PUT > REST 100
GET < 501 REST: Resuming transfers not allowed in ASCII mode
This server can't resume broken uploads/downloads
Transfer type: binary
Passive mode off
PUT > PWD
GET < 257 "/" is the current directory
PUT > CWD /Logs
GET < 250 CWD command successful
PUT > PWD
GET < 257 "/Logs" is the current directory
PUT > TYPE A
GET < 200 Type set to A
Creating data socket
PUT > PORT xx,xx,xx,xx,xxx,244
GET < 200 PORT command successful
PUT > NLST
GET < 150 Opening ASCII mode data connection for file list
Connecting to xx.xx.xx.xx:29684
Disconnected data from remote host
GET < 226 Transfer complete
~[ACE] - ___ [ xxx _] -lll- [ xxx _] ________ ________ [ xx _] ___ _____2015.01.10.16.00.23_DM-Deck16][_`')B('__G0L_enBL00_y.log
PUT > QUIT
GET < 221 Goodbye.
Session finished
Socket closed
__________________
ZONE ZONE ZONE ZONE ZONE ...
________________________________
-- \\'. server / UT99 --
-----------------------------------------
|
21st May, 2015, 11:41 AM
|
|
Godlike
|
|
Join Date: Dec 2011
Location: Tennessee, USA
Posts: 441
|
|
Wonder if it have something in the player name?
|
26th May, 2015, 11:57 PM
|
|
Holy Shit!!
|
|
Join Date: Jan 2006
Posts: 676
|
|
with all the ip changes and aliases I found it impossible for accurate stats
|
24th June, 2016, 07:15 PM
|
|
Rampage
|
|
Join Date: Sep 2008
Location: Netherlands, Friesland
Posts: 58
|
|
I use PHP v5.5.
When i try to import in utstats i get the following error;
Code:
Code on line 46: DeBugMessage("Execute: import.php");
Iam using the import.php from 'for_vanaxel2' ( Uses ENGINE and not TYPE anymore for creating TEMP_TABLE)
(http://www.rork.nl/tmp/for_vanaxel2.zip)
Here is my line 46;
Code:
DeBugMessage("Execute: import.php");
Last edited by isense : 24th June, 2016 at 07:50 PM.
|
12th February, 2017, 08:50 AM
|
Forum Newcomer
|
|
Join Date: Dec 2016
Posts: 5
|
|
Images of maps in UTStats
We got a problem. It lies in the fact that the images are not displayed on the site. We made pictures of all maps which are on the server and we uploaded the pictures on the web server (images\maps). Unfortunately, on the website there aren't images of maps. We continue to see 'SORRY There is no pic for this map' (blank.jpg from images\maps).
What is wrong? What are we doing wrong?
I would be very grateful for the help.
|
13th February, 2017, 02:19 AM
|
Dominating
|
|
Join Date: Mar 2012
Posts: 164
|
|
Doesn't look like there's anything obvious in the PHP files.
The only thing I might suggest is to make sure that the screenshot names exactly match the map file names.
In the 4 locations where 'blank.jpg' turns up in a grep search, the path name is always forced to lowercase before calling "file_exists" on it. Linux path names are case-sensitive, so I suppose this means that all of the map file image names would also need to be in lowercase, e.g.,
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|