Errors related to LouD's persistent player textures

Errors related to LouD's persistent player textures

« posted: Oct 17, 2015, 09:46 AM »
I cherry-picked LouD's persistent player textures hack. However, I got following errors in the rpt log. And players are all stuck at the "Welcome to Wasteland, please wait for your client to initiate" screen.

Code: [Select]
684 15:46:23 "[extDB2] ███ Protocol Error: [0,"Error Statement Exception"], Unique ID: 109"
685 Wrong init state
686 15:46:24 Error in expression <blicVariableClient _pvarName;
687
688 {
689 if (_x select 0 == "BankMoney") then
690 {
691 _player >
692 15:46:24   Error position: <select 0 == "BankMoney") then
693 {
694 _player >
695 15:46:24   Error Generic error in expression
696 15:46:24 File mpmissions\__cur_mp.Altis\persistence\server\players\setupPlayerDB.sqf, line 65

What is weird is that this file didn't get touched in the cherry-pick.

Here's the extDB2 log:

Code: [Select]
51 [15:46:22 +08:00] [Thread 5172] extDB2: SQL_CUSTOM_V2: Error StatementException: MySQL: [MySQL]: [Comment]: mysql_stmt_prepare error    [mysql_stmt_error]: Unknown column 'UniformTexture' in 'field list'     [mysql_stmt_errno]: 1054            [mysql_stmt_sqlstate]: 42S22    [statemnt]: SELECT Damage,HitPoints,LoadedMagazines,PrimaryWeapon,SecondaryWeapon,HandgunWeapon,PrimaryWeaponItems,SecondaryWeaponItems,HandgunItems,AssignedItems,CurrentWeapon,Stance,Uniform,Ve    st,Backpack,Goggles,Headgear,UniformWeapons,UniformItems,UniformMagazines,VestWeapons,VestItems,VestMagazines,BackpackWeapons,BackpackItems,BackpackMagazines,WastelandItems,UniformTexture,BackpackTexture,Hunger,Thirst,Position,Direct    ion,Money FROM PlayerSave WHERE PlayerUID = ? AND MapID = ?;
 52 [15:46:22 +08:00] [Thread 5172] extDB2: SQL_CUSTOM_V2: Wiping Statements + Session
 53 [15:46:22 +08:00] [Thread 5172] extDB2: SQL_CUSTOM_V2: Error: UniqueID: 109 Input String: getPlayerSave:76561197964447881:1:Damage,HitPoints,LoadedMagazines,PrimaryWeapon,SecondaryWeapon,HandgunWeapon,PrimaryWeaponItems,SecondaryWeap    onItems,HandgunItems,AssignedItems,CurrentWeapon,Stance,Uniform,Vest,Backpack,Goggles,Headgear,UniformWeapons,UniformItems,UniformMagazines,VestWeapons,VestItems,VestMagazines,BackpackWeapons,BackpackItems,BackpackMagazines,Wasteland    Items,UniformTexture,BackpackTexture,Hunger,Thirst,Position,Direction,Money

Re: Errors related to LouD's persistent player textures

« Reply #1 posted: Oct 17, 2015, 01:16 PM »
OK. I added the missing columns using following commands:

Code: [Select]
ALTER TABLE PlayerSave ADD UniformTexture VARCHAR(128) NOT NULL DEFAULT '\"\"';
ALTER TABLE PlayerSave ADD BackpackTexture VARCHAR(128) NOT NULL DEFAULT '\"\"';

And problem solved.
  • Offline LouD
  • Silent but deadly ;)
  • Moderator
  • Veteran
  • ******
  • Posts: 1415

Re: Errors related to LouD's persistent player textures

« Reply #3 posted: Oct 18, 2015, 11:36 AM »
Thanks a lot, LouD.

Do you have a working kill stats mod?