• Announcements

    • Flosstradamus

      Official Discord   03/15/17

      https://discord.gg/FMkqWpF Click the link above and join our Official Discord!  Chat with developers and get quicker support!
    • Vishpala

      Arma 1.68 Update   03/15/17

      Post bugs here:  

Adam Kadmon

Donator
  • Content count

    148
  • Joined

  • Last visited

Community Reputation

29 Good

About Adam Kadmon

  • Rank
    Capo
  1. Aight so experimenting yesterday I found out that if you have in your createPersistent or carefulCreate (vehicle) Exile files this line: _vehicleObject setVehicleAmmo 0; To basically prevent vehicles bought from trader to spawn with ammo, it will break the system and only partially rearm vehicles, so yeah, if you want to be able to rearm all magz for a specific vehicle remove that. Now on a side note, script is basically almost completely working, the only thing that is not working is tanks. Apparently tanks, when fully armed, start with a negative rearm cost, that is because one file is not calling the correct loadout for tanks specifically, a way around this I found was defining in the AVS_Configuration file a really HIGH price for Tanks mags, which basically make it so that one of the magazines is discharged a little, it will bring the negative price up to positive, the only problem is, unless u set it crazy high, people will be able to refuel their tanks for a fairly cheap price. If someone would like to figure out the tank problem, let me know... I think it's the getCurrentloadout file, that basically is not showing the weapons and magazines of the turret [0,0] in tanks but only [0]
  2. Ok guys, I updated the file. Sorry for the delay. Anyways, as I said, I fixed the blacklist issue, and the rearm works without re-adding blacklisted weapons. Now what I am going to tackle is the fact that it only rearms 1 magazine instead of all of them, and hopefully I can even add an option to rearm specific magazines. Do not expect any updates soon, at least not before the end of May possibly, unless I manage to get all my university projects done before graduation
  3. Yes it does apparently, tho I will work on that as soon as I have time. Btw looks like my repo didn't update some stuff, so I will have to fix it today when I go back. Another bug that is still present is the fact that it only rearms one mag per weapon, so I will have to check the code and modify it so that it rearms multiple mags..
  4. Hello! After some work and thanks to @odizzzzle I am proud to release a 1.4.5 version that includes the extDB3 compatibility from Odiz's fork and my personal fixes for various RPT errors as well as Blacklisted Ammo/Weapons working properly. https://github.com/AdamKadmon/AVS/releases/tag/1.4.5
  5. +1
  6. I don't, as I moved on from Avs and used another old script, had too many problems with this one besides the miniguns not rearming..
  7. You have to use the Exile fix for miniguns if you want to rearm those choppers with AVS
  8. Hey, has anyone figured out how to add RHS/CUP textures to the paintshop? For CUP I noticed that each vehicle with a different texture has its own classname, so how do I go about adding that in the paintshop directly instead of listing them all? For RHS instead, the vehicles, or at least some of them, don't have the texture as a separate classname, so I went about and unpboed for example the BRT_80 and then I added this to my vehicle customs: class rhs_btr80_base { skins[] = { {"rhs_btr80_msv", 150, "DES", {"rhs_btr80\data\rhs_btr80_02_co.paa"};} {"rhs_btr80_msv", 150, "WOO", {"rhs_btr80\data\rhs_btr80_01_co.paa"};} }; }; But this didn't seem to work. Any ideas?
  9. How did you go about that?
  10. That's what happens when you don't follow the rules/cheat in game. You get banned, don't blame us for your behavior.
  11. I don't think you can add different skins to the trader if it's mod related, unless they have different class names..
  12. Too bad server can max out at 48 lol
  13. Exad literally does not lag the server at all, since it's all client sided in the apps.
  14. Have you ever solved this?
  15. Here is the errors I am getting serverside: 2:21:42 Error in expression <[1,[[any]]]> 2:21:42 Error position: <any]]]> 2:21:42 Error Undefined variable in expression: any 2:21:42 Error in expression <icle setVehicleAmmoDef 0; if (typeName _savedMagazines isEqualTo "ARRAY") then > 2:21:42 Error position: <_savedMagazines isEqualTo "ARRAY") then > 2:21:42 Error Undefined variable in expression: _savedmagazines 2:21:42 File AVS\code\fn_loadAmmo.sqf, line 37 2:21:42 bipod_hide - unknown animation source hasBipod 2:21:42 bipod_unhide - unknown animation source hasBipod 2:21:42 Error in expression <[1,[[any]]]> 2:21:42 Error position: <any]]]> 2:21:42 Error Undefined variable in expression: any 2:21:42 Error in expression <icle setVehicleAmmoDef 0; if (typeName _savedMagazines isEqualTo "ARRAY") then > 2:21:42 Error position: <_savedMagazines isEqualTo "ARRAY") then > 2:21:42 Error Undefined variable in expression: _savedmagazines 2:21:42 File AVS\code\fn_loadAmmo.sqf, line 37 2:21:42 Error in expression <[1,[[any]]]> 2:21:42 Error position: <any]]]> 2:21:42 Error Undefined variable in expression: any 2:21:42 Error in expression <icle setVehicleAmmoDef 0; if (typeName _savedMagazines isEqualTo "ARRAY") then > 2:21:42 Error position: <_savedMagazines isEqualTo "ARRAY") then > 2:21:42 Error Undefined variable in expression: _savedmagazines 2:21:42 File AVS\code\fn_loadAmmo.sqf, line 37 2:21:42 Error in expression <[1,[[any]]]> 2:21:42 Error position: <any]]]> 2:21:42 Error Undefined variable in expression: any 2:21:42 Error in expression <icle setVehicleAmmoDef 0; if (typeName _savedMagazines isEqualTo "ARRAY") then > 2:21:42 Error position: <_savedMagazines isEqualTo "ARRAY") then > 2:21:42 Error Undefined variable in expression: _savedmagazines 2:21:42 File AVS\code\fn_loadAmmo.sqf, line 37 Tho I did make sure there were not any vehicles marked with any instead of [] in the database but still got the same error.. No errors clientside. And before this I was also getting these errors: 23:29:28 Error in expression <ield = _fields select _i; if ((typeName _field) isEqualTo "SCALAR") then { _fie> 23:29:28 Error position: <_field) isEqualTo "SCALAR") then { _fie> 23:29:28 Error Undefined variable in expression: _field 23:29:28 File exile_server\code\ExileServer_util_extDB2_createMessage.sqf, line 19 23:29:28 Error in expression < { _extDB2Message = ["setVehicleAmmo", [_currentLoadout, _vehicleID]] call Exile> 23:29:28 Error position: <_currentLoadout, _vehicleID]] call Exile> 23:29:28 Error Undefined variable in expression: _currentloadout 23:29:28 File AVS\code\fn_saveAmmo.sqf, line 34 23:29:28 Error in expression <s]; }; _currentLoadout = _vehicle call AVS_fnc_getVehicleLoadout; _vehicleID => 23:29:28 Error position: <AVS_fnc_getVehicleLoadout; _vehicleID => 23:29:28 Error Undefined variable in expression: avs_fnc_getvehicleloadout 23:29:28 File AVS\code\fn_saveAmmo.sqf, line 28 As per the database errors this is what I get: [19:48:03:485877 --4:00] [Thread 7732] extDB2: Database Type: MySQL [19:48:03:487964 --4:00] [Thread 7732] extDB2: Database Session Pool Started [19:48:03:491758 --4:00] [Thread 7732] extDB2: SQL_CUSTOM_V2: Loading Template Filename: C:\Arma\Server\@ExileServer\extDB\sql_custom_v2\exile.ini [19:48:03:491875 --4:00] [Thread 7732] extDB2: SQL_CUSTOM_V2: Version 12 Detected, Latest Version 12 Available [19:48:03:494125 --4:00] [Thread 7732] extDB2: SQL_CUSTOM_V2: Loading Template Filename: C:\Arma\Server\@ExileServer\extDB\sql_custom_v2\avs.ini [19:48:03:494146 --4:00] [Thread 7732] extDB2: SQL_CUSTOM_V2: Version 8 Detected, Latest Version 12 Available [19:48:03:855840 --4:00] [Thread 6264] extDB2: SQL_CUSTOM_V2: Error StatementException: MySQL: [MySQL]: [Comment]: mysql_stmt_execute error [mysql_stmt_error]: Deadlock found when trying to get lock; try restarting transaction [mysql_stmt_errno]: 1213 [mysql_stmt_sqlstate]: 40001 [statemnt]: UPDATE territory SET deleted_at = NOW() WHERE last_paid_at < DATE_SUB(NOW(), INTERVAL ? DAY) AND deleted_at IS NULL [19:48:03:855888 --4:00] [Thread 6264] extDB2: SQL_CUSTOM_V2: Wiping Statements + Session [19:48:03:856059 --4:00] [Thread 6264] extDB2: SQL_CUSTOM_V2: Error: UniqueID: 1 Input String: markDeleteUnpaidTerritories:10 [22:47:43:028528 --4:00] [Thread 7732] extDB2: Stopping ... So after I saw this error, I went into avs.ini and changed the version from 8 to 12 and this is what happened: [23:20:50:760555 --4:00] [Thread 4104] extDB2: Database Type: MySQL [23:20:50:762692 --4:00] [Thread 4104] extDB2: Database Session Pool Started [23:20:50:767533 --4:00] [Thread 4104] extDB2: SQL_CUSTOM_V2: Loading Template Filename: C:\Arma\Server\@ExileServer\extDB\sql_custom_v2\exile.ini [23:20:50:767666 --4:00] [Thread 4104] extDB2: SQL_CUSTOM_V2: Version 12 Detected, Latest Version 12 Available [23:20:50:769745 --4:00] [Thread 4104] extDB2: SQL_CUSTOM_V2: Loading Template Filename: C:\Arma\Server\@ExileServer\extDB\sql_custom_v2\avs.ini [23:20:50:769769 --4:00] [Thread 4104] extDB2: SQL_CUSTOM_V2: Version 12 Detected, Latest Version 12 Available [02:20:33:920180 --4:00] [Thread 4104] extDB2: Stopping ... I am literally giving up on this script The problem I am facing right now basically is that whenver I blacklist some ammo or weapon, the vehicle bought will spawn with said ammo and weapon (checking from debug) but as soon as I go and rearm it, it gets back all the blacklisted ammo and weapons...