GithubHelp home page GithubHelp logo

a3armory / a3a_a3wasteland.altis Goto Github PK

View Code? Open in Web Editor NEW
9.0 16.0 6.0 9.83 MB

A3Wasteland is a survival sandbox mission for Arma 3 where two teams and independent players fight for survival. Built in collaboration between GoT, TPG, KoS, 404Games, and others.

Home Page: http://a3wasteland.com

License: GNU Affero General Public License v3.0

SQF 84.39% C 1.85% C++ 13.71% HTML 0.05%

a3a_a3wasteland.altis's Introduction

A3Wasteland Altis

A3Wasteland is a survival-like combat sandbox, which incorporates elements of team deathmatch and sector control in one big fun-to-play package. Similar to DayZ, the objectives are to scavenge weapons and vehicles, team up with fellow players, and engage in combat to obtain control of the landscape. Best experienced with 50 or more players.

The source code is based on GoT Wasteland, which is based on 404 Wasteland, which is based on Sa-Matra's Wasteland, which is ultimately based on Tonic's Wasteland.

The mission has come a long way since 404 Wasteland. A large portion of the code has been rewritten, and it contains many new features like territory capture, player saving, vehicle saving, vehicle stores, new secondary missions, and more.

For questions and support, please visit our forums.


Team A3W developers

  • AgentRev
  • [GoT] JoSchaap
  • MercyfulFate
  • [KoS] His_Shadow
  • [KoS] Bewilderbeest
  • Torndeco
  • [404] Del1te

A list of other contributors can be found in the "Credits" section from the in-game map menu, or near the bottom of briefing.sqf


This project is licensed under the GNU Affero GPL v3. Copyright © 2013 - 2015 A3Wasteland.com

a3a_a3wasteland.altis's People

Contributors

agentrev avatar joschaap avatar gigatek1 avatar nickludlam avatar torndeco avatar mercyfulfate avatar nerdalertdk avatar loudnl avatar shinedwarf avatar wiking-at avatar red281gt avatar 82ndab-bravo17 avatar tylers-dev avatar

Stargazers

 avatar Patrick avatar  avatar Arisu avatar  avatar VerifiedMadgod avatar Gustavo Biaobock avatar poppoppop avatar

Watchers

James Cloos avatar Arisu avatar  avatar Ivan avatar pAxton avatar  avatar  avatar Gustavo Biaobock avatar  avatar Bob avatar poppoppop avatar  avatar  avatar VerifiedMadgod avatar  avatar Venetillo avatar

a3a_a3wasteland.altis's Issues

Add a check for any current water missions

I'm trying to add a check for any current water missions before any new ones pop up. I've been getting complaints about 2 sometimes 3 water missions going. Where would I add a check? Any help with the logic would be helpful too.

Helicopter Airlift Script Not Required

Good day fellas! I'm a casual Wasteland player and noticed you guys are still using the airlift scripts from the pre "Helicopter DLC" BIS released a while back. I just wanted to inform you that these old lift scripts are not required anymore, the slingload function is built in game and always on (like the bipod script).

Explosives in Gun Store

It is possible to plant explosives in the Gun Store Area. Satchels, charges, and mines are able to be activated by dropping them on the ground through the inventory. You can then look at them and a "Check mark" will appear on the center of your screen. Press your "select action" key and the explosive is now activated. An explosive charge can now be detonated remotely or use the timer. APRS mines also seem to work as intended using the same work-around.

Lag issues with Advanced Rappelling

I heard that after Torndeco looked at the code for Advanced Rappelling he said that it would cause lag because of the rope position constantly being set. @AgentRev (or anyone really) when you get some time can you look at the addon and tell me your opinion? Can't be much worse than R3F building a base, right?

Repricing of all Armored Land Vehicles Suggestions

Giga asked me to post this here. All vehicle repricing takes into account:
• Hull and turret armor.
• Commander armaments.
• Commander countermeasures.
• Top speed.
• Turret armaments (primary and secondary).
• Suspension.

Data gathered at https://docs.google.com/spreadsheets/d/1vifsaNUtj1ddQGzxusKX5dsSdiQ7so50Cljlel0aO9A/edit#gid=0
and https://docs.google.com/spreadsheets/d/1XryIyd4GF5AC16LBWFYk9Pv2rtOsAS7nOZ2vrOHHmgg/edit#gid=0
as well as independent testing.

Tanks:
• M2A1 Slammer -- $120,000
• T-100 Varsuk -- $130,000
• M2A4 Slammer UP -- $145,000
• MTB-52 Kuma (No Armor Modules) -- $150,000
• MTB-52 Kuma (All Armor Modules) -- $155,000

APCS (Wheeled):
• MSE-3 Marid -- $75,000
• AM-7 Marshall -- $85,000
• AFV-4 Gorgon -- $95,000

APCS (Tracked):
• CRV-6e Bobcat -- $85,000
• IFV-6c Panther -- $90,000
• BTR-K Kamysh -- $100,000
• FV-720 Mora -- $105,000

extDB errors

I'm getting these extDB log errors during testing.

extDB2: Version: 63
extDB2: https://github.com/Torndeco/extDB2
extDB2: Windows Version
Message: All development for extDB2 is done on a Linux Dedicated Server
Message: If you would like to Donate to extDB2 Development
Message: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2SUEFTGABTAM2
Message: Also leave a message if there is any particular feature you would like to see added.
Message: Thanks for all the people that have donated.
Message: Torndeco: 20/02/15

extDB2: Found extdb-conf.ini
extDB2: Detected 8 Cores, Setting up 6 Worker Threads

[11:31:26:033 --4:00] [Thread 12464] extDB2: Database Type: MySQL
[11:31:26:152 --4:00] [Thread 12464] extDB2: Database Session Pool Started
[11:31:26:178 --4:00] [Thread 12464] extDB2: SQL_CUSTOM_V2: Loading Template Filename: C:\server138\a3w\extDB\sql_custom_v2\a3wasteland.ini
[11:31:26:178 --4:00] [Thread 12464] extDB2: SQL_CUSTOM_V2: Version 12 Detected, Latest Version 12 Available
[11:34:28:928 --4:00] [Thread 15132] extDB2: SQL_CUSTOM_V2: Error StatementException: MySQL: [MySQL]: [Comment]: mysql_stmt_prepare error   [mysql_stmt_error]: Column 'BountyKills' specified twice    [mysql_stmt_errno]: 1110    [mysql_stmt_sqlstate]: 42000    [statemnt]: INSERT INTO PlayerInfo SET UID = ?, BattlEyeGUID = REPLACE(?,'"',''), Name='Towley',LastSide='WEST',Bounty=0,BountyKills='[]',BankMoney=0,Bounty=0,BountyKills='[]' ON DUPLICATE KEY UPDATE Name=VALUES(Name),LastSide=VALUES(LastSide),Bounty=VALUES(Bounty),BountyKills=VALUES(BountyKills),BankMoney=VALUES(BankMoney),Bounty=VALUES(Bounty),BountyKills=VALUES(BountyKills);
[11:34:28:928 --4:00] [Thread 15132] extDB2: SQL_CUSTOM_V2: Wiping Statements + Session
[11:34:28:989 --4:00] [Thread 15132] extDB2: SQL_CUSTOM_V2: Error: UniqueID: 1 Input String: insertOrUpdatePlayerInfo:76561197965853000:Name='Towley',LastSide='WEST',Bounty=0,BountyKills='[]',BankMoney=0,Bounty=0,BountyKills='[]':Name=VALUES(Name),LastSide=VALUES(LastSide),Bounty=VALUES(Bounty),BountyKills=VALUES(BountyKills),BankMoney=VALUES(BankMoney),Bounty=VALUES(Bounty),BountyKills=VALUES(BountyKills)

Any ideas?

Issue with box & parachute in mission_geoCache.sqf after Tac Ops DLC

Hi.

Tac Ops DLC broke some of my Wasteland missions. All finishing by drop a box in a parachute.
When the box touches the ground (in fact it goes below the ground level), after the parachute disappear, the box also disappears!
I took your A3Armory.Altis PBO to update mine to v1.4 (already done!), but found the same issue using your mission_geoCache.sqf.
After some research (i.e: works fine in the Airdrop_Assistance) I changed my code and fixed all 4 missions, including the GeoCache.
Follows part of my code to easily fix the problem (which was in a loop to finish the parachute drop):

// code start
_successExec =
{
// Mission completed
{ deleteVehicle _x } forEach [_GeoCache];

//SuperBox
_box = createVehicle ["CargoNet_01_box_F",[(_geoPos select 0), (_geoPos select 1), 300],[], 0, "NONE"];	
_box setDir random 360;
[_box, "WOD_SuperBox"] call fn_refillbox;

{ _x setVariable ["R3F_LOG_disabled", false, true] } forEach [_box];	
{ _x setVariable ["A3W_inventoryLockR3F", false, true] } forEach [_box];				
{ _x setVariable ["allowDamage", true, true] } forEach [_box];		

playSound3D ["A3\data_f_curator\sound\cfgsounds\air_raid.wss", _box, false, _box, 15, 1, 1500];

_para = createVehicle ["I_parachute_02_F", getPosVisual _box, [], 0, "NONE"];

_para setDir getDir _box;

_box attachTo [_para, [0, 0, 0]];

while { ((getPosVisual _box) select 2 > 10) && !(isNil "_para") } do
{
	_para setVectorUp [0,0,1];
	_para setVelocity [0, 0, -10];
	sleep 0.1;
};

waituntil { ((((getPosVisual _box) select 2) < 2) || (isNil "_para")) };	

detach _box;

sleep 0.5;
_box setVectorUp [0,0,1];

// Unlock
{ _x setVariable ["allowDamage", true, true] } forEach [_box];	
{ _x setVariable ["R3F_LOG_disabled", false, true] } forEach [_box];
{ _x setVariable ["A3W_inventoryLockR3F", false, true] } forEach [_box];
sleep 2;	

_smoke1 = "SmokeShellYellow" createVehicle getPosVisual _box;
_smoke1 attachto [_box,[0,0,-0.5]];

_successHintMessage = " The GeoCache supplies have been delivered by parachute!";

};
// code end

Regards,

Bounty

Hey,

By now i assume Rev doesn't want or has time to implement the Bounty feature into vanilla wasteland so would you mind if i used this, but also could someone explain how this should be implemented please

thanks

Ejection seat and windshield?

I would like to find the model/class names for the ejection seat and windshield. The seat is a vehicle lol; you can get in and it even has a option to unflip it. I would like to add them to our clean-up script.

Laser Designator Thermal Imaging

Since the new update I've noticed that Laser Designators do not have thermal anymore. I wish to enable that again, but i've tried in so many different ways that I am starting to believe it is impossible. Don't know if it is only me, or if you've done it on purpose. Please help me out! :) I have tried messing arround with every single line of code that could have anything to do with thermals without success.. Please do not tell me to set "A3W_disableBuiltInThermal" to 0 because that was the first thing i tried without success.

Karts and similar vehicles locked from store...

Karts, Hatchbacks, and other vehicles that are not normally lockable will spawn from vehicle stores locked. There is no way to unlock these vehicles, so they are inaccessible. I tested this using vehicles on Stratis.

Explosives in Gun Store

It is possible to plant explosives inside the Gun Store once again. I successfully placed an Explosive charge at the feet of the vendor on Aug-5-2017.

Help add player in vehicle check

I need help adding a check for a player in vehicle for a couple missions. I have added a UID check but I'm trying to add a || check to it.

Original commit, will revert later.
2e7fee0

New code with the tried player vehicle check.

//delete existing base parts and vehicles at location
_baseToDelete = nearestObjects [_missionPos, ["ALL"], 25] select {_x getVariable ["ownerUID", ""] == ""} || {isNull objectParent player};
{ deleteVehicle _x } forEach _baseToDelete;

fn_registerKillScore.sqf errors for 13 days

Any help with this would be appreciated. Brains to fried right now to see anything.

14:35:42 Error in expression <umedKiller && _presumedKiller != _unit) then

if(!_friendlyFire)then{
_bountyAm>
14:35:42 Error position: <then

if(!_friendlyFire)then{
_bountyAm>
14:35:42 Error then: Type if, expected Array,code
14:35:42 File mpmissions__cur_mp.Malden\server\functions\fn_registerKillScore.sqf, line 76
14:35:42 Error in expression <umedKiller && _presumedKiller != _unit) then

if(!_friendlyFire)then{
_bountyAm>
14:35:42 Error position: <then

if(!_friendlyFire)then{
_bountyAm>
14:35:42 Error Generic error in expression

Zamak with the Xi'an bug

I heard on Discord that the Xi'an can rearm while having a resupply truck. I will look into this later, why a vehicle can rearm while attached to another.

[DIS] Bryce da Pilot - Today at 11:01 AM
"You can definitely pick up a Zamak with the Xi'an and occasionally it gives the option to rearm while in flight, however you wouldn't do this as rearming shuts down your engine and locks the controls, you'd die if you tried. It's not always, only once in the dozens of times I've picked up a rearm has it given the option while in flight. The condition for this was moving at 0km/h with gear down

Even at max altitude for the xian the rearming process would take so long you'd smash into the ground regardless"

Cut grass

Per your request I am posting this reminder to add the "Cut grass" script when it is convenient.

Enhanced Movement Script

Ability to climb over objects, climb onto roof tops, etc. Animations look pretty great, the script can be inserted for client side use, no unnecessary loops, and it goes off the weight you carry. So a fully loaded soldier can't climb over a wall. This script is on our BECTI server and we have not had any issues with it.

Wasteland could def use this!

https://steamcommunity.com/sharedfiles/filedetails/?id=333310405

Some quick help

I want to fix a issue with some code I added to r3f to prevent releasing objects in water. I'm having problems defining some objects I want to allow. Here's a link to the original that works. I just cant figure out how to define the object variable in some new code.

https://github.com/A3Armory/A3A_A3Wasteland.Altis/blob/dev/addons/R3F_ARTY_AND_LOG/R3F_LOG/objet_deplacable/relacher.sqf#L14-#L17

private ["_objet"];

_objet = _this select 0;

if ((surfaceIsWater position player) && !({_objet isKindOf _x} count ["ReammoBox_F", "SDV_01_base_F", "Rubber_duck_base_F", "Scooter_Transport_01_base_F", "Boat_Civil_01_base_F", "Boat_Transport_02_base_F"] > 0)) exitWith {
["You can only place objects on terra firma", 5] call mf_notify_client;
R3F_LOG_mutex_local_verrou = false;
};

Admin log not working on low and high admins

For some reason the admin panel is only logging serverOwners use of the admin panel. Not sure what broke it but it was probably this commit 7a72d1f

When I commented out this line, logging worked. Any thoughts on if this was the right fix or will it screw up anything else? It looks like isAdmin function is broken for lowAdmins and highAdmins but I'm at a loss.

Help with teleport logger

With help from Dscha on the BIS discord I was able to get a teleport logger working.

> {
> 	while{true}do
> 	{
> 		player setVariable ["Pos",(getPosWorld player)];
> 		uiSleep 2;
> 		if( (getPosWorld player) distance (player getVariable "Pos") > 200) exitWith {player setVariable ["tp_log", true, true];};
> 	};
> } forEach allPlayers - entities "HeadlessClient_F";

I'm looking for the best place to put it with out false positives. playerSpawn.sqf only works for fresh spawns. I have been putting it here. Where's the best place I can put this with out triggering it with legit spawns? I'm really getting sick of dealing with teleporting script kiddies.

Help moving BankMoney from PlayerInfo to PlayerSave

I want to move some variables from PlayerInfo table to PlayerSave table to have each server have their own save for these. I'm getting some issues with BankMoney not saving. There will probably be more after some more testing.

  `LastSide` VARCHAR(32) NULL,
  `BankMoney` FLOAT NOT NULL DEFAULT 0,
  `Bounty` INT UNSIGNED NOT NULL DEFAULT 0,
  `BountyKills` VARCHAR(8192) NOT NULL DEFAULT '[]',

Getting these errors in the server rpt.

21:19:00 "[extDB3] ███ Protocol Error: [0,""Error MariaDBStatementException0 Exception""], Unique ID: 114"
21:19:00 "[extDB3] ███ Protocol Error: [0,""Error MariaDBStatementException0 Exception""], Unique ID: 115"

Here's my new database file and rpt.
sql_rpt.zip

I guess the fix would be here. Any help would be appreciated.
https://github.com/A3Wasteland/Release_Files/blob/master/extDB/sql_custom_v2/a3wasteland.ini#L94-L105

mARMA death logging help

I'm trying to get all deaths logged so I can tell who is teamkilling who. Any ideas where I should do this?

Here's my shitty attempt.
72bf695

Bounty death message error

@tylers-dev looks like the death messages are broke for bounty's but everything else still works. I get this error in my client rpt once I kill a bounty. Giga is not me.

12:53:36 Performance warning: SimpleSerialization::Read 'messageSystem' is using type of ,'TEXT' which is not optimized by simple serialization, falling back to generic serialization, use generic type or ask for optimizations for these types
12:53:36 "Message Killed!--------------------------------Giga is taking a dirt napTowley has been rewarded the bounty of $90000"
12:53:36 Error in expression <geSystem];

_hint = messageSystem;
hint parseText _hint;
>
12:53:36   Error position: <parseText _hint;
>
12:53:36   Error parsetext: Type Text, expected String
12:53:36 File mpmissions\__CUR_MP.Altis\client\functions\serverMessage.sqf, line 11
12:55:59 WARNING: Function 'name' - Towley is dead
12:55:59 "KILLED by <NULL-object>"

Show emblems on cars and uniforms

Some time ago, when I got into a vehicle, I showed the Clan badge on the door of the car and on the sleeve of the uniform too, it's interesting and cool at the same time, our server does not show anymore, I wonder if it's a firewall block in the Host or something I have to edit in the pbo.
But I know it has nothing to do with squads..xml and yes with the site https://units.arma3.com
thanks in advance

Money Mission

I honestly do not know how I can explain this.
All the missions works perfectly, however the missions: Small Money Shipment, Medium Money Shipment, Large Money Shipment, Heavy Money Shipment. It does not attack the player if it is tank or any AA vehicle.

If he gets off the vehicle the mission attacks normal. So far I can not say where the error came from. Well, I'm working with the bots in HARDCORE mode.

New main fork

This is the new main fork we can use for unique addons and changes to A3Wasteland.

Help with forced save at restart

I need to make sure that everything is saved at restarts. The other day I watched a player fill a vehicle with laser designators from his storage, he then put them on his player with less then one minute until restart. When he logged back on after the restart both the vehicle had the laser designators and his player. This has become common practice with A3W... well the non sock one. What would I add here to force a save of vehicles, mines, and objects?

https://github.com/Gigatek1/ArmA_Scripts/blob/master/serverRestartMessages/serverRestartMessages.sqf#L208

@AgentRev can you take a look at this and suggest what should be done if it would only take 5 minutes of your time? How would I force a run of oSave.sqf?

CH-67 Huron flares don't work

Hello,

I just want to let you know that the flares on the CH-67 Huron do not work. If a Titan AA locks onto the huron and fires a missile, even if you pop a gazillion flares, the AA missile has a guaranteed hit every time. Never once have I popped flares in the huron and the missile misses.

Thanks,
Blizzard

New bounty system conflicting with old

The new bounty system and other changes are conflicting with old bounty set up. Here the error.

23:17:44 "WASTELAND SERVER - Main Mission 2 waiting to run: mission_Smugglers"
23:17:47 Error in expression <_player] call fn_loadAccount;

[[_this, _data],
{
params ["_pVal", "_data"];
_pV>
23:17:47   Error position: <_data],
{
params ["_pVal", "_data"];
_pV>
23:17:47   Error Undefined variable in expression: _data
23:17:47 File mpmissions\__cur_mp.Altis\persistence\server\players\setupPlayerDB.sqf, line 55
23:17:47 "pvar_requestPlayerData: [4,B Alpha 4-2:1 (Towley) REMOTE,B Alpha 4-2:1 (Towley) REMOTE]"
23:17:47 Error in expression <issionNamespace setVariable [_pvarName, _data];
(owner _player) publicVariableCl>
23:17:47   Error position: <_data];
(owner _player) publicVariableCl>
23:17:47   Error Undefined variable in expression: _data
23:17:47 File mpmissions\__cur_mp.Altis\persistence\server\players\setupPlayerDB.sqf, line 62

Here's the original commit and me try to fix the first merge issues.
8cc0c58#diff-e4a18cef2bed98b7e92ecd8b56600661L36
9972740#diff-8d1aedc35081dff1536b8e8fcfbb1610R10

Vehicle store issues

I'm having issues with the vehicle store timeout not working but the bad one is the vehicle store isn't taking money when I buy a vehicles sometime. Not sure what cause it but once its active everything you buy at the vehicle store is free.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.