|
You last visited: Today at 15:20
Advertisement
[RELEASE]correct errors in DB (goldlog, cube, etc..)
Discussion on [RELEASE]correct errors in DB (goldlog, cube, etc..) within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.
10/15/2012, 00:48
|
#1
|
elite*gold: 0
Join Date: Jan 2010
Posts: 73
Received Thanks: 53
|
[RELEASE]correct errors in DB (goldlog, cube, etc..)
Gold log error:
Code:
SYSERR: Oct 14 22:30:23 :: ChildLoop: AsyncSQL: query failed: Table 'log.goldlog' doesn't exist (query: INSERT DELAYED INTO goldlog (date, time, pid, what, how, hint) VALUES(CURDATE(), CURTIME(), 58399, 70583267, 'BUY', '') errno: 1146)
Solution:
Code:
DROP TABLE IF EXISTS `goldlog`;
CREATE TABLE `goldlog` (
`pid` int(50) DEFAULT NULL,
`date` date NOT NULL,
`time` datetime NOT NULL,
`what` varchar(50) CHARACTER SET latin1 NOT NULL,
`how` varchar(50) CHARACTER SET latin1 NOT NULL,
`hint` varchar(50) CHARACTER SET latin1 NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Cube error:
Code:
SYSERR: Oct 14 22:15:12 :: ChildLoop: AsyncSQL: query failed: Unknown column 'x' in 'field list' (query: INSERT DELAYED INTO cube (pid, time, x, y, item_vnum, item_uid, item_count, success) VALUES(58354, NOW(), 967746, 265564, 50801, 70582126, 1, 1) errno: 1054)
Solution:
Code:
DROP TABLE IF EXISTS `cube`;
CREATE TABLE `cube` (
`pid` int(50) DEFAULT NULL,
`time` varchar(50) COLLATE big5_bin NOT NULL DEFAULT 'SEMTEMPO',
`x` varchar(50) COLLATE big5_bin NOT NULL,
`y` varchar(50) COLLATE big5_bin NOT NULL,
`item_vnum` varchar(50) COLLATE big5_bin NOT NULL,
`item_uid` varchar(50) COLLATE big5_bin NOT NULL,
`item_count` varchar(50) COLLATE big5_bin NOT NULL,
`success` varchar(50) COLLATE big5_bin NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=big5 COLLATE=big5_bin;
I hope I helped! 
|
|
|
10/15/2012, 17:12
|
#2
|
elite*gold: 0
Join Date: Jan 2010
Posts: 1,916
Received Thanks: 538
|
Do you have for command_log?
I dont know but for me it doesnt really work..
Code:
ChildLoop: AsyncSQL: query failed: DELAYED option not supported for table 'command_log' (query: INSERT DELAYED INTO command_log (userid, server, ip, port, username, command, date ) VALUES(57701, 999, '127.0.0.1', 1, '[SA]Admin', 'n [SA]Admin ist Online', NOW()) errno: 1616)
|
|
|
10/15/2012, 17:26
|
#3
|
elite*gold: 258
Join Date: Feb 2011
Posts: 1,405
Received Thanks: 3,502
|
Quote:
Originally Posted by 'oShet
Do you have for command_log?
I dont know but for me it doesnt really work..
Code:
ChildLoop: AsyncSQL: query failed: DELAYED option not supported for table 'command_log' (query: INSERT DELAYED INTO command_log (userid, server, ip, port, username, command, date ) VALUES(57701, 999, '127.0.0.1', 1, '[SA]Admin', 'n [SA]Admin ist Online', NOW()) errno: 1616)
|
Code:
CREATE TABLE `command_log` (
`userid` int(11) DEFAULT NULL,
`server` int(11) DEFAULT NULL,
`ip` text,
`port` int(11) DEFAULT NULL,
`username` varchar(12) CHARACTER SET big5 NOT NULL DEFAULT 'NONAME',
`command` varchar(20) CHARACTER SET big5 COLLATE big5_bin DEFAULT NULL,
`date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
|
|
10/15/2012, 19:25
|
#4
|
elite*gold: 0
Join Date: Aug 2012
Posts: 974
Received Thanks: 89
|
SYSERR: Oct 15 18:21:55 :: ChildLoop: AsyncSQL: query failed: Unknown column 'logout_time' in 'field list' (query: UPDATE loginlog2 SET type='VALID', logout_time=NOW(), playtime=TIMEDIFF(logout_time,login_time) WHERE id=@i errno: 1054)
^\\\
|
|
|
10/15/2012, 21:21
|
#5
|
elite*gold: 0
Join Date: Jan 2010
Posts: 73
Received Thanks: 53
|
Code:
DROP TABLE IF EXISTS `loginlog2`;
CREATE TABLE `loginlog2` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` text,
`is_gm` int(11) DEFAULT NULL,
`login_time` datetime DEFAULT NULL,
`channel` int(11) DEFAULT NULL,
`account_id` int(11) DEFAULT NULL,
`pid` int(11) DEFAULT NULL,
`client_version` text,
`ip` text,
`logout_time` datetime DEFAULT NULL,
`playtime` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=14102 DEFAULT CHARSET=latin1;
" id=@i" WTF??
|
|
|
 |
Similar Threads
|
[Release] Eudemon flying mount , every thig correct
10/27/2013 - CO2 Weapon, Armor, Effects & Interface edits - 28 Replies
here is the right patch for a flying walking jumping dragon
here is a video the quality sucks , i have fps 5 or 4
YouTube - Broadcast Yourself watch?v=Vy3wvVguRNg
DL:P
http://hero-share.com/download/10080935/FlyingDra gon.By.kacko.rar.html
|
[Release] Pirate Correct Motion for skills and weapon handling
08/22/2012 - CO2 PServer Guides & Releases - 7 Replies
first of all u have to delete all the Pistol id's for ur source
any pistol that begin with 612xxx
all needed codes are in a txt file cause the forum didn't allow a thread with more than 100k characters
Modified DBC files http://herosh.com/download/10878709/PirateModefied DBCSByEslam.rar.html
pics:
|
[Release] Correct DB SP for Punishment system.
10/31/2011 - SRO Private Server - 3 Replies
Hello,
Here's my fixed Stored Procedures for a working Punishment system (Both AutoPunishment and SMC SR_UserPunishment)
All you need is to execute the following fixed SP:-
_RegisterPunishment
USE
GO
/****** Object: StoredProcedure . UPDATED BY KOC2000 at: 10/30/2011 ******/
|
[Release] Getting/Writing correct strings
09/11/2011 - CO2 PServer Guides & Releases - 4 Replies
Yo... simple way to fix chat/name strings:
BTW: I dunno if it was already posted here... so if it was ... sorry for the inconvenience :]
public class StringPacker
{
public static string GetString(byte array, int offset, int count)
{
string pszWords = "";
for (int x = offset; x < offset + count; x++)
|
Old key file for table 'goldlog'; repair it!
08/15/2010 - Metin2 Private Server - 12 Replies
Morgen,
ich habe seid heute einen komischen fehler ôo
ich kann in einige log datein nichtmehr rein zB goldlog
der server startet mit einigen connection refused
aber er startet trotzdem
Ich hoffe jemand weis wie man das problem lösen kann
|
All times are GMT +1. The time now is 15:23.
|
|