Jump to content

Snowman

Member
  • Content count

    3
  • Joined

  • Last visited

About Snowman

  • Rank
    Newbie
  • Birthday 12/17/78

Profile Information

  • Gender
    Male
  • Location
    Russian
  1. [Release] Virtual Garage for 1.0.6.1+

    Hi all, the script works fine, but I had to modify slightly the table in the database. The whole thing again in the russian language. When a variable _displayName enters the vehicle name in english(for example _displayName = GAZ (grey)), then it is processed normally and the transport is written to the database. If the variable _displayName will come the vehicle name with russian letters(for example _displayName = Внедорожник (белый)), then in the database it will not be recorded and will cause an error. [13:25:38 +00:-1] [Thread 456002976] extDB: Found extdb-conf.ini [13:25:38 +00:-1] [Thread 456002976] extDB: Detected 4 Cores, Setting up 4 Worker Threads [13:25:38 +00:-1] [Thread 456002976] extDB: Database Type: MySQL [13:25:38 +00:-1] [Thread 456002976] extDB: Database Session Pool Started [13:25:38 +00:-1] [Thread 456002976] extDB: DB_RAW_V3: Initialized: ADD_QUOTES True [13:34:31 +00:-1] [Thread 544609928] extDB: DB_RAW_V3: Error StatementException: MySQL: [MySQL]: [Comment]: mysql_stmt_execute error [mysql_stmt_error]: Incorrect string value: '\xD0\x92\xD0\xBD\xD0\xB5...' for column 'DisplayName' at row 1 [mysql_stmt_errno]: 1366 [mysql_stmt_sqlstate]: HY000 [statemnt]: INSERT INTO garage (PlayerUID, Name, DisplayName, Classname, CharacterID, Inventory, Hitpoints, Fuel, Damage, Colour, Colour2) VALUES ('76561198225362352','Snow','Внедорожник (белый)','hilux1_civil_3_open_DZE','0','[[["G17_DZ"],[1]],[[],[]],[[],[]]]','[["motor",0.245],["sklo predni P",0.401]]','0.476596','0','0','0') [13:34:31 +00:-1] [Thread 544609928] extDB: DB_RAW_V3: Error StatementException: SQL: INSERT INTO garage (PlayerUID, Name, DisplayName, Classname, CharacterID, Inventory, Hitpoints, Fuel, Damage, Colour, Colour2) VALUES ('76561198225362352','Snow','Внедорожник (белый)','hilux1_civil_3_open_DZE','0','[[["G17_DZ"],[1]],[[],[]],[[],[]]]','[["motor",0.245],["sklo predni P",0.401]]','0.476596','0','0','0') [13:35:55 +00:-1] [Thread 456002976] extDB: Stopping ... A solution to this problem is to change the encoding in the table from latin1_swedish_ci to utf8_general_ci. Here is an example SQL query to the database: ALTER TABLE `garage` ADD `displayName` VARCHAR(50) CHARACTER SET utf8 NOT NULL DEFAULT '' AFTER `Name`;
  2. [RELEASE] Virtual Garage update for 1061

    I can help with translation into Russian language.
  3. Hi all, sorry for my English, I used Google translator. This error is related to the russian language in the game and appears when you attempt to reload the audio signal or the laser marker. In the script in the array _rearm_ignore = ["Horn","Laser Marker"]; need to add "Звуковой сигнал","Лазерный маркер" and then not be able to reload these weapons, and therefore will not error.
×