訊息: SQL Error: Out of range value for column 'metal' at row 1
& O Z! O1 S* k& F
' A, J2 E$ q5 r) [* pQuery Code: LOCK TABLE uni1_planets as p WRITE, uni1_users as u WRITE; UPDATE uni1_planets as p, uni1_users as u SET p.metal = -25974645.623644, p.crystal = 818571860.40518, p.deuterium = 506526413.43294, p.eco_hash = '7d269e8d09197e530f478b54b8933e6e', p.last_update = 1422240561, p.b_building = '1422241134', p.b_building_id = 'a:3:{i:0;a:5:{i:0;i:1;i:1;i:35;i:2;d:635;i:3;d:1422241134;i:4;s:5:"build";}i:1;a:5:{i:0;i:1;i:1;i:36;i:2;d:1429;i:3;d:1422243391;i:4;s:5:"build";}i:2;a:5:{i:0;i:1;i:1;i:37;i:2;d:2144;i:3;d:1422245535;i:4;s:5:"build";}}', p.field_current = 160, p.b_hangar_id = '', p.metal_perhour = 238436402.82089, p.crystal_perhour = 289958470.38389, p.deuterium_perhour = 55653472.584432, p.metal_max = 11925000000, p.crystal_max = 11925000000, p.deuterium_max = 11925000000, p.energy_used = -36700.749147444, p.energy = 47250, p.b_hangar = 0, p.crystal_mine = p.crystal_mine + 1, p.metal_mine = p.metal_mine + 4, u.darkmatter = 3100, u.b_tech = '1422243357', u.b_tech_id = '109', u.b_tech_planet = '6166', u.b_tech_queue = 'a:3:{i:0;a:5:{i:0;i:109;i:1;i:20;i:2;d:2796;i:3;d:1422243357;i:4;s:4:"6166";}i:1;a:5:{i:0;i:120;i:1;i:13;i:2;d:13;i:3;d:1422248613;i:4;s:4:"6166";}i:2;a:5:{i:0;i:120;i:1;i:14;i:2;d:26;i:3;d:1422248639;i:4;s:4:"6166";}}' WHERE p.id = 6166 AND u.id = 962; UNLOCK TABLES;
. G5 E" E- @+ M8 T. c檔案: /includes/classes/class.Database.php
* o/ T3 L' \+ }9 q行: 2801 K6 m. E, d7 u. N
網址: http://u3.myxnova.com/game.php, m% h. ^4 c( \: M7 g
PHP-版本: 5.6.5& O& T I% H, s% ?2 i) `
PHP-API: apache2handler
& g8 y J! O3 w# F C. W; F1 A0 gMySQL-客戶端-版本: mysqlnd 5.0.11-dev - 20120503 - $Id: f373ea5dd5538761406a8022a4b8a374418b240e $ u0 i( X% |- L6 d
宇宙戰記版本: 1.7.2749
3 v- |9 q% O+ W5 Q @ \. l/ K+ B6 w$ p除錯追蹤路徑:
/ N9 h9 z3 ~, g7 t#0 /includes/classes/class.PlanetRessUpdate.php(678): Database->multi_query('LOCK TABLE uni1...')" H: ?3 b% U3 @$ D* ~2 K
#1 /includes/classes/class.PlanetRessUpdate.php(610): ResourceUpdate->SavePlanetToDB(Array, Array)
9 l1 {; q& `7 l: T- H8 V#2 /includes/classes/class.PlanetRessUpdate.php(490): ResourceUpdate->SetNextQueueTechOnTop()( k u* |+ D! m* \. ~7 y% A% f
#3 /includes/classes/class.PlanetRessUpdate.php(94): ResourceUpdate->ResearchQueue()) K: }. V i. J$ G5 E$ [" Y
#4 /includes/pages/game/class.AbstractPage.php(63): ResourceUpdate->CalcResource()
( u, ~+ [, c# [, M4 U7 h1 M0 @# |) r#5 /includes/pages/game/class.ShowOverviewPage.php(36): AbstractPage->__construct()) v. G! ~; S2 y
#6 /game.php(50): ShowOverviewPage->__construct()
! [3 ^9 g. A" V0 G; r' I; i#7 {main}
' |: R* S( ~* v# j& Q7 ?7 m
+ e. m( j( h0 t3 Q! ]; Q3 c
' N) |8 Y* A$ V2 C! J% L請問怎麼回事QQ |