Jump to content


Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Posted Image Posted Image

Guest Message by DevFuse
 

Dodawanie nowej kolumny w diablo modzieproblemy z dodaniem kolumny


  • This topic is locked This topic is locked
No replies to this topic

#1 Leszcz

    Życzliwy

  • Użytkownik

  • Reputacja: 3
    Nowy

  • Postów:29
  • GG:
  • Imię:Bartek
  • Lokalizacja:Białystok
Offline

Posted 20.02.2011 09:06

Witam mam taki mały problem. Mam oto taką linijke:P
format(q_command,511,"CREATE TABLE IF NOT EXISTS `%s`(`nick` VARCHAR( 64 ),`ip` VARCHAR( 64 ),`sid` VARCHAR( 64 ), `klasa`integer( 2 ), `lvl` integer ( 3 ) DEFAULT 1, `exp` integer( 9 ) DEFAULT 0,  `str` integer( 3 ) DEFAULT 0, `int` integer( 3 ) DEFAULT 0, `dex` integer( 3 ) DEFAULT 0, `agi` integer( 3 ) DEFAULT 0, `gra` integer( 3 ) DEFAULT 0, `jum` integer( 3 ) DEFAULT 0, `kly` integer( 3 ) DEFAULT 0, `m4a` integer( 3 ) DEFAULT 0, `pac` integer( 3 ) DEFAULT 0)",g_sqlTable)]

Ale gdy dodalem kolejna kolumne tak jak tu:
format(q_command,511,"CREATE TABLE IF NOT EXISTS `%s`(`nick` VARCHAR( 64 ),`ip` VARCHAR( 64 ),`sid` VARCHAR( 64 ), `klasa`integer( 2 ), `lvl` integer ( 3 ) DEFAULT 1, `exp` integer( 9 ) DEFAULT 0,  `str` integer( 3 ) DEFAULT 0, `int` integer( 3 ) DEFAULT 0, `dex` integer( 3 ) DEFAULT 0, `agi` integer( 3 ) DEFAULT 0, `gra` integer( 3 ) DEFAULT 0, `jum` integer( 3 ) DEFAULT 0, `kly` integer( 3 ) DEFAULT 0, `m4a` integer( 3 ) DEFAULT 0, `pac` integer( 3 ) DEFAULT 0, `poi` integer( 3 ) DEFAULT 0)",g_sqlTable)
to w kompilatorze wyskakuje blad ze linijka jest za dluga.
i moje pytanie jest nastepujace:
1.CZy da sie jakos w kompilatorze zmienic dlugosc czytania linijek do np 200 znaków?
2.Jeżeli pytanie 1 nie jest realne to proszę mi powiedziec jak to np przeniesc linijke nizej lub cos innego:P

Dodano 20 luty 2011 - 14:04:

Witam mam taki mały problem. Mam oto taką linijke:P

format(q_command,511,"CREATE TABLE IF NOT EXISTS `%s`(`nick` VARCHAR( 64 ),`ip` VARCHAR( 64 ),`sid` VARCHAR( 64 ), `klasa`integer( 2 ), `lvl` integer ( 3 ) DEFAULT 1, `exp` integer( 9 ) DEFAULT 0,  `str` integer( 3 ) DEFAULT 0, `int` integer( 3 ) DEFAULT 0, `dex` integer( 3 ) DEFAULT 0, `agi` integer( 3 ) DEFAULT 0, `gra` integer( 3 ) DEFAULT 0, `jum` integer( 3 ) DEFAULT 0, `kly` integer( 3 ) DEFAULT 0, `m4a` integer( 3 ) DEFAULT 0, `pac` integer( 3 ) DEFAULT 0)",g_sqlTable)]

Ale gdy dodalem kolejna kolumne tak jak tu:
format(q_command,511,"CREATE TABLE IF NOT EXISTS `%s`(`nick` VARCHAR( 64 ),`ip` VARCHAR( 64 ),`sid` VARCHAR( 64 ), `klasa`integer( 2 ), `lvl` integer ( 3 ) DEFAULT 1, `exp` integer( 9 ) DEFAULT 0,  `str` integer( 3 ) DEFAULT 0, `int` integer( 3 ) DEFAULT 0, `dex` integer( 3 ) DEFAULT 0, `agi` integer( 3 ) DEFAULT 0, `gra` integer( 3 ) DEFAULT 0, `jum` integer( 3 ) DEFAULT 0, `kly` integer( 3 ) DEFAULT 0, `m4a` integer( 3 ) DEFAULT 0, `pac` integer( 3 ) DEFAULT 0, `poi` integer( 3 ) DEFAULT 0)",g_sqlTable)
to w kompilatorze wyskakuje blad ze linijka jest za dluga.
i moje pytanie jest nastepujace:
1.CZy da sie jakos w kompilatorze zmienic dlugosc czytania linijek do np 200 znaków?
2.Jeżeli pytanie 1 nie jest realne to proszę mi powiedziec jak to np przeniesc linijke nizej lub cos innego:P


Ktoś pomoże?:D

Edited by Leszcz, 20.02.2011 09:07.

  • +
  • -
  • 0




  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Coinsy CSGOPolygon Za SMS, PSC , Przelew - CoinSell.pro
Skiny do CS:GO za SMS, PSC, Przelew - CSGOPaka.com
Automatyczny Bot Levelowania Steam - LVLUPSteam.com
CSGO Gambling Sites and Free Betting Codes - DreamCodes.gg

Sign In