It does in logic, because with > 1 there will be only shown the usercount of users in channels greater than 1 (which lots of servers don't even have) - != (or even > 0) is the right choice.
Quote:
Originally Posted by laitila
Thanks for replying but no it didn't work
$_CONFIG['allg_user_online'] = @odbc_result(@odbc_exec($odbc_connect, 'SELECT COUNT([MultiServer]) as OnlineCount FROM [' . $_CONFIG['db_databases']['chr'] . '].[dbo].[CHARACTER_TBL] WHERE [MultiServer] != 0'), 'OnlineCount');
what else should i try:/? can it be something wrong in the database?
Remove the @'s in that statement (@ suppresses errors in PHP functions) - the query itself looks fine.
It does in logic, because with > 1 there will be only shown the usercount of users in channels greater than 1 (which lots of servers don't even have) - != (or even > 0) is the right choice.
Remove the @'s in that statement (@ suppresses errors in PHP functions) - the query itself looks fine.
You should look whom I quoted. I said between != 0 and > 0 is no difference in that function.
You should look whom I quoted. I said between != 0 and > 0 is no difference in that function.
If the MultiServer is negative, e.g. -1 (which won't happen, I know), it will also count. But while programming we should always be precise with what we want to achieve.
So to be exact, there IS a difference, even if it won't be noticed at all.
If the MultiServer is negative, e.g. -1 (which won't happen, I know), it will also count. But while programming we should always be precise with what we want to achieve.
So to be exact, there IS a difference, even if it won't be noticed at all.
That's why I wrote in this function. Things which will never happen shouldn't be implemented, otherwise you would programm thousands of lines of code for an easy function.
[Navi Cat ER 1136] Column count doesn't match value count at row 1 04/16/2015 - Metin2 Private Server - 0 Replies hey
Weiß jemand wie ich das Problem löse, google hilft mir nicht wirklich :/
Finde den Fehler nicht... bzw die fehlende Spalte what ever
würde mich sehr freuen wenn mir jemand helfen kann.
[Err] 1136 - Column count doesn't match value count at row 1 [Waffen einfügen] 10/11/2014 - Metin2 Private Server - 6 Replies Hallo hab da ein komischer Fehler
1136 - Column count doesn't match value count at row 1
INSERT INTO `item_proto` VALUES ('164500', 'Testschwert+0', 'Testschwert+0', '1', '3', '0', '3', '56', '1', '16', '', '1', '1', '164501', '0', '0', '15', '1', '65', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', '-1', '-1', '-1', '-1', '-1', '0', '3', '0');
INSERT INTO `item_proto` VALUES ('164501', 'Testschwert+1', 'Testschwert+1', '1', '3', '0', '3', '56', '1', '16',...
Navicat - [Err] 1136 - Column count doesn't match value count at row 1 01/14/2012 - Metin2 Private Server - 1 Replies Hallo x(
Ich weis nicht ob ich zu doof bin ein loch in den Schnee zu pissen oder ob wirklich was falsch hier ist..
Aufjedenfall muss ich die Querry für die 12 neuen metin steine in Serverside einfügen aber jedesmal bekomme ich die meldung:
INSERT INTO mob_proto VALUES(8028, 'Metin der Hoffnung', 'Metin der Hoffnung', 5, 2, 3, 95, '', 'NOMOVE', 0, '', 'STUN,SLOW,CURSE,TERROR', 0, '', 0, 0, 0, 60, 0, 0, 0, 999999, 5, 1, 184800, 92400, 540, 57, 9529, 9530, 0, 2000, 175, 0, 0, 0, 0, 0, 0, 0,...
column count doesn't match value count value at row 1 fehler beheben. wie? 12/15/2011 - Metin2 Private Server - 1 Replies Hallo Epvp ich habe bei den 1678 serverfiles von daroo diesen fehler hier column count doesn't match value count value at row 1 wenn ich etwas in die item_proto oder in die mob_proto hinzufügen will z.B wenn ich querys einfügen will kommt dieser fehler habe schon alles ausprobiert mit 6 0en hinten dran aber es klappt einfach nichts Bitte helft mir :)
Bitte helft mir :( :(
Daroo Files Lehrer [Err] 1136 - Column count doesn't match value count at row 1 12/08/2011 - Metin2 Private Server - 3 Replies Hallo ,
Wollte bei den Daroo Files die LKehrer bestücken.
Manche habe ich schon doch ich habe ehrlich keine
Lust mehr bekommen. Und habe gehofft das es hier welche
Released haben. Ich habe auch 2 Themen dazu gefunden mit
den Release.
Doch wenn ich sie einfügen will kommt dieser Fehler
1136 - Column count doesn't match value count at row 1