This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[req] problem with uq_jumpstats (mysql fix)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sigerman
Senior Member
Join Date: Aug 2013
Location: Argentina, Bs.As.
Old 05-06-2024 , 04:41   Re: [req] problem with uq_jumpstats (mysql fix)
Reply With Quote #1

Hello, I did exactly what you posted, and still having issues, let me show you in pictures what I am seeing:

Click image for larger version

Name:	sdafhsdfhsdfh.jpg
Views:	10
Size:	57.5 KB
ID:	204293

Click image for larger version

Name:	zgasfgsdf.jpg
Views:	13
Size:	6.3 KB
ID:	204294

Thanks for answering

Quote:
Originally Posted by JocAnis View Post
i guess you will need to modify utf encoding in the fields you need ("name" in your case)

open /scripting/includes/uq_jumpstats.sql

then change line for creating table for uq_players:

Code:
formatex(CreateInto, 1000, "CREATE TABLE IF NOT EXISTS uq_players (id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,name VARCHAR(64) NOT NULL,ip VARCHAR(39) NOT NULL,authid VARCHAR(35) NOT NULL, lastseen INT(10) NOT NULL,INDEX(name,authid))");
	SQL_ThreadQuery(DB_TUPLE,"QueryHandle", CreateInto);


to

formatex(CreateInto, 1000, "CREATE TABLE IF NOT EXISTS uq_players (id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,name VARCHAR(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,ip VARCHAR(39) NOT NULL,authid VARCHAR(35) NOT NULL, lastseen INT(10) NOT NULL,INDEX(name,authid))");
	SQL_ThreadQuery(DB_TUPLE,"QueryHandle", CreateInto);
of course you will need to delete your existing tables/data and start over again (there is option to update utf directly in your phpmyadmin settings, but "names" wont be automatically 'translated', logically..
sigerman is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:24.


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