Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - AgentRev

Pages: 1 2 [3] 4 5 6 7 ... 175
Addons & Mods / Re: hide the password
« on: Nov 16, 2021, 07:41 AM »
Even if you hide it, people can still see your cursor pressing the buttons...

In addons\AF_Keypad\AF_KP_fncs.sqf, replace

Code: [Select]
ctrlSetText[1000, InputText];

Code: [Select]
ctrlSetText [1000, InputText regexReplace [".","*"]];
If you want to type the password using your keyboard, open addons\AF_Keypad\AF_KP_dialogs.hpp, and after

Code: [Select]

Code: [Select]
onKeyDown="params ['','_key']; { if (_key in _x) exitWith { ['number', _x find _key] execVM 'addons\AF_Keypad\AF_KP_fncs.sqf' } } forEach [[11,2,3,4,5,6,7,8,9,10],[82,79,80,81,75,76,77,71,72,73]]";

Technical Support / Re: Vehicle parking error
« on: Nov 14, 2021, 11:26 AM »
Dude, your mission is laggy as hell. It crashed my game twice. Server takes like 10 friggin minutes to start. Your "addons\AI_spawn" thing is grinding down everything to a halt. Also your A3W code is outdated by 3 years. You have to stay up to date and cut down on laggy addons if you want saving to work properly.

Technical Support / Re: Vehicle parking error
« on: Nov 05, 2021, 04:17 PM »
I don't see any problem in the log, do you have A3W_vehicleSaving = 1; in your config? The only thing that would cause this problem is if this value is set to 0. Can you send me your PBO?

Addons & Mods / Re: StatusBar
« on: Nov 04, 2021, 05:50 AM »
In the unmodified statusBar script, the text displayed at that screen location corresponds to %18 (which you replaced to %?:%?). Change it back to %18. That value means it will get replaced by the 18th argument of the format command, which happens to be AJ_SERVERTIME_PUBVAR.

This variable is controlled by the server in addons\statusBar\fn_aj_s_refreshTime.sqf. It is coded to display the server's local clock regardless of the player's timezone, but it needs the real_date mod to work, unless you apply the fix I described here.

Addons & Mods / Re: Random Territories setup on server restart
« on: Nov 04, 2021, 05:21 AM »
In server\default_config.sqf, set A3W_territoryAllowed = [""];

As weird as it may seem, this should normally work with the change described in my previous post.

Also, your mission is throwing out a bunch of errors about the real_date mod being missing. You don't actually need that anymore, you can replace all occurrences of

Code: [Select]
call compile ("real_date" callExtension "+")

Code: [Select]
in addons\statusBar\fn_aj_s_refreshTime.sqf
and addons\serverRestartMessages\serverRestartMessages.sqf

Addons & Mods / Re: Random Territories setup on server restart
« on: Oct 31, 2021, 04:48 PM »
Okay, the fix is simple, use this in config.sqf, I tested and it should work:

Code: [Select]
if (isServer) then
_territoryFile = selectRandom ["100_kavala", "101_altisair", "102_pyrgos", "103_selankano", "104_kore", "105_agios", "106_zaros", "107_docks", "108_athira", "109_ghost", "110_abdera", "111_dorida", "112_panochori", "113_lakka", "114_magos", "115_neochori", "116_charkia", "117_agiosgeorgios", "118_sofia", "119_syrta", "120_paros", "121_boat" ];
config_territory_markers = compileFinal str call compile preprocessFileLineNumbers format ["mapConfig\territories\%1.sqf", _territoryFile];
publicVariable "config_territory_markers";

Also, your mission has many errors in regards to fn_refillbox.sqf, some side missions trying to create boxes using non-existent boxTypes, for instance mission_AirWreck.sqf trying to create boxes of types "US", "OTHER", "RU", "MILITIA".

Your only valid box types are "mission_USLaunchers", "mission_USSpecial", "mission_Main_A3snipers".

Addons & Mods / Re: Random Territories setup on server restart
« on: Oct 31, 2021, 06:46 AM »
Just upload your mission PBO somewhere, will be a lot easier for me to find the problem.

Addons & Mods / Re: Random Territories setup on server restart
« on: Oct 31, 2021, 03:52 AM »
I've said it before and I'll say it again, this method of creating markers is especially dumb, and I am baffled that it is still around after 7 years, even thought it was never supported and I repeatedly told people to use the mission editor instead.

The value passed to config_territory_markers must be an array containing territory values. The scripts you are calling pass nothing at all, so config_territory_markers stays empty. There is a way to both create the markers and still pass an array. Look at this code, this is the kind of array the scripts are supposed to return:

You can add such arrays to every individual script, so here for 101_altisair.sqf, I added the relevant entries at the bottom:

Code: [Select]
_pos = [14164.5,16261.567,19.581909];
_marker = createMarker ["TERRITORY_101_ALTISAIR_A", _pos];
_marker setMarkerShape "RECTANGLE";
_marker setMarkerBrush "DiagGrid";
_marker setMarkerSize [35, 35];
_marker setMarkerDir 291.92801;
_marker setMarkerColor "ColorYellow";
_marker setMarkerType "Empty";

_pos = [14162.613,16262.271,19.583485];
_marker = createMarker ["Flag_101_ALTISAIR_A", _pos];
_marker setMarkerType "mil_flag";
_marker setMarkerText "A";
_marker setMarkerSize [.5, .5];
_marker setMarkerColor "ColorYellow";

_pos = [14944.165,16782.613,17.91];
_marker = createMarker ["TERRITORY_101_ALTISAIR_B", _pos];
_marker setMarkerShape "RECTANGLE";
_marker setMarkerBrush "DiagGrid";
_marker setMarkerSize [45, 45];
_marker setMarkerDir 44.808;
_marker setMarkerColor "ColorYellow";
_marker setMarkerType "Empty";

_pos = [14944.165,16782.613,17.91];
_marker = createMarker ["Flag_101_ALTISAIR_B", _pos];
_marker setMarkerType "mil_flag";
_marker setMarkerText "B";
_marker setMarkerSize [.5, .5];
_marker setMarkerColor "ColorYellow";

_pos = [15187.396,17332.213,17.889727];
_marker = createMarker ["TERRITORY_101_ALTISAIR_C", _pos];
_marker setMarkerShape "RECTANGLE";
_marker setMarkerBrush "DiagGrid";
_marker setMarkerSize [47, 35];
_marker setMarkerDir 587.07202;
_marker setMarkerColor "ColorYellow";
_marker setMarkerType "Empty";

_pos = [15185.088,17333.717,17.886816];
_marker = createMarker ["Flag_101_ALTISAIR_C", _pos];
_marker setMarkerType "mil_flag";
_marker setMarkerText "C";
_marker setMarkerSize [.5, .5];
_marker setMarkerColor "ColorYellow";

["TERRITORY_101_ALTISAIR_A", "Altis Airport (A)", 3500],
["TERRITORY_101_ALTISAIR_B", "Altis Airport (B)", 3500],
["TERRITORY_101_ALTISAIR_C", "Altis Airport (C)", 3500]

As you can see, I took the 3 Altis Airport entries from the territories.sqf link above, added them to the bottom of your 101_altisair.sqf. The numbers are not identical, I had to change "TERRITORY_1_..." to "TERRITORY_101_...". Do the same thing for all of your files; add the 3 matching territories to the bottom of each file, and make sure to change the numbers so they match with the filename.  For instance, in the case of "102_pyrgos.sqf", you will need all three "TERRITORY_2_..." entries, and since its called "102_pyrgos.sqf", those will need to be changed to "TERRITORY_102_..."

Technical Support / Re: Vehicle parking error
« on: Oct 30, 2021, 10:33 AM »
If fn_savevehicle is undefined, it most likely means there was another earlier error during server startup. I would need to see the whole server RPT to find out.

Addons & Mods / Re: Random Territories setup on server restart
« on: Oct 30, 2021, 10:30 AM »
Can you post the code inside one of the files, for example 101_altisair.sqf?

« on: Oct 22, 2021, 06:59 AM »
That's pretty cool, however I'm not sure if you're gonna find enough people to maintain a decent server population. Only a small fraction of the Arma playerbase buys Creator DLCs, and even vanilla servers have trouble retaining players, aside from the few popular servers.

Nonetheless, I will answer your questions:

How do I set a mission to only run between certain hrs? (I need the tunnel rat mission to only run at night which will force players to use flashlights when down in the tunnels)

Requires manual edits to server\missions\missionController.sqf

Is it possible to set overcast/rain for day time only? (At night it makes it too dark)

Requires manual edits to addons\scripts\DynamicWeatherEffects.sqf. You can reduce overcast by lowering the _maximumOvercast value. Rain is disabled by default due to buggy Arma weather syncing.

Is it possible to disable grenades and other throwables when players are inside a tunnel for the Tunnel Rat missions? (players enter/exit the tunnels via spawned tunnel entry/exit points so a teleport script is executed when this happens, maybe it can be enabled/disabled then?)

Requires manual edits to client\clientEvents\onKeyPress.sqf, maybe add something like this:

Code: [Select]
if (!_handled && _key in actionKeys "throw" && inTheTunnel) then
_handled = true;

Replace inTheTunnel with your variable or whatever.

In the tunnels when a player is climbing a ladder and they open their parachute they fall into a restricted zone, can parachutes be disable/re-enabled when they enter/exit the tunnel?

Maybe do manual edits to client\functions\fn_openParachute.sqf to cancel its behavior when inside tunnels.

Can the ‘A3W_missionFarAiDrawLines’ be disabled only for the Tunnel Rat missions?

Requires manual edits to client\functions\drawPlayerMarkers.sqf

Is someone able to merge the Advanced Tow Ropes addon into the wasteland mod using the R3F LOG so the external mod isn't required at all?

Advanced Tow Ropes is a neat idea on paper, but in practice, it's absolute garbage. Shit starts blowing up as soon as you try to cross a bridge, or going over a curb, or if the server starts lagging, etc... Not worth the trouble.

Please note that I will not provide further information regarding manual edits, it's your job to code these new features.

Yes, I'm having the exact same problem with my tanoa server, the Altis saves just fine but everything saves in tanoa apart from the bank money. if someone would be so kind to glance over my rpt just to see what is going wrong thanks in advance guys

Are you running both servers with the same database? When Tanoa players make an ATM deposit then leave and join back the server, what bank amount do they have: their Altis bank amount, or zero?

Do you think you could export the entire database and send me the SQL file? You can also PM me your database IP and login, I can check the data remotely.

Hosting & Management / Re: Wasteland & IFA3 compatibility issue
« on: Sep 15, 2021, 09:33 PM »
Yeah, if you are using a bunch of mods, you're better off by at least changing _escCheck = true; to _escCheck = false; in payload.sqf, or disabling the payload altogether.

I'm not really sure if my antihack payload is useful anymore, BattlEye memory protection and the removal of file patching by Bohemia have pretty much wiped out the kind of cheats that I built it for.

Editing & Coding / Re: Icon group
« on: Aug 20, 2021, 07:48 PM »
In "client\icons", you have these 3 files:
  • igui_side_blufor_ca.paa
  • igui_side_indep_ca.paa
  • igui_side_opfor_ca.paa

Editing & Coding / Re: Hiding a store
« on: Jul 19, 2021, 10:01 PM »
In "client\functions" there are 3 scripts, "createGeneralStoreMarkers.sqf", "createGunStoreMarkers.sqf", and "createVehicleStoreMarkers.sqf". You would have to edit each of these manually to your expectations.

There is also the option "A3W_showGunStoreStatus" in "server\default_config.sqf" to remove the gunstore circles when set to a value of 0.

Pages: 1 2 [3] 4 5 6 7 ... 175