Page 1 of 107 123451151101 ... LastLast
Results 1 to 10 of 1066

Thread: Altis Life RPG

  1. #1

    Altis Life RPG

    Altis Life RPG
    By Tonic

    Description / Development Story:
    What is Atlis Life? Many of you may be familiar with older life missions from ARMA 2. This comes with some of the basics expected to be in a life mission but built from the ground up from scratch. It features a MySQL back-end saving system for players and vehicles along with some mini-admin functionality (Nothing that allows spawning but to monitor players). This has been in development since the ALPHA and I think it is time that I start letting others host the mission. This originally started as Stratis Life, I got interested in building this when a group of people decided to make one from scratch and I commend them for that but at that time it didn't seem like well... They were ready to build such a system and I thought I could make it better and more robust and so I did. Over the time I lost interest in it and let people from the community in which I coded the mission for start to work on it. For a few they added in some neat new stuff that people really liked but once it came near Altis release / A3 Release I decided to rebuild the system once again to make it better, more modular and all around more stable and I did (somewhat). Sadly there are still parts of the old system I built in the system such as vehicle shops, etc. They are meant to receive a massive overhaul when I find the interest to do them. After a long 6-7 months I have decided to just release the mission so that others may be able to host it for their community and here we are.

    Screen Shots:
    Full-screen screen shots can be found at


    Key Feature(s):
    * MySQL Back-end player saving and vehicle saving.
    * A basis mission template / framework to expand upon
    * Economy System / Banking
    * Civilian legal and illegal Jobs
    * Day & Night Cycle (As always in my missions).
    * Other stuff that I wasn't prepared to write.

    This comes pretty much as a standard mission except it comes with an addon called @life_server, this file is required to be ran only on the server for it to function. Later on in the future the need for this will be removed as I only used it to keep server-side files away from the public and will be merged into the mission at a later time.

    extDB is required for the mission to work and without it the mission will NOT WORK and will lock up the server. A database schema is provided in the download called arma3life.sql
    You will need basic DBA knowledge to setup the server and manage the SQL side. I will not explain how to do this however I will say a few things about the setup.

    1. This was only tested with MySQL Server 5.5 (Strict mode must be disabled).
    2. The database / schema MUST BE CALLED arma3life
    3. Only basic user permissions are needed (SELECT,INSERT,UPDATE,EXECUTE,TRIGGER,EVENT). Anything more and you are at risk of being exploited.

    LIMITED help / support will be given with setting up the MySQL side, if you are not willing to put time into reading about MySQL and managing it then stop reading. This mission is NOT a grab and play mission it requires time to setup and good configuration.
    The MySQL end supports three player specific things, Cop whitelisting / levels, Admins and donators (for those that want to give back to their members that donate to support their server). The donator thing was never a focus of mine but was wanted by the community I coded it for as a thank you to its members. The Admins part is meant for Admin specific features such as Cellphone reports, global messaging and ability to use a mini-admin menu which allows you to see basic stuff about a user (Money, current gear). The mini-admin panel is not designed for spawning in things.

    Configuration / Accepted:
    Configuration of NPC placement / etc is allowed via the Map Editor, things that are branded as Seal Team Sloth may be changed (except anything related to crediting,etc). Most of that can be found in Briefing.sqf
    Additional configuration can be found in the core/configuration.sqf file or core/config. Item pricing is in \life_server\vars.sqf (That's server-side). Some other configuration variables / files may be scattered but 98% of it is available in the config folder. I never finished standardizing the configuration process because it was never meant to be released.

    Notes / Thoughts:
    I really wasn't prepared to release this in a neatly made format nor with proper documentation as it was rather unexpected of me to release it. There are a lot of parts of the system that are still buggy and other parts needing to be rewrote (carried from the old system I made for Stratis as a test-bed) but all around the mission functions and has popularity. This release isn't something I expected so soon so therefor I apologize for the bad presentation of it and documentation but I am honestly tired of people asking for it, trying to steal it and buy it off of me and I think this project / mission is one of the reasons why I am losing interest in ARMA and need something new to shift focus towards. Releasing this gives me some sort of relief. Continuous development will be held on Seal Team Sloth (STS) Life Server, when changes meet release standards new versions will be released. Don't go trying to snatch early builds / changes from it, you will be frowned upon.

    The reason for the strict agreement is quite simple really. I do not want another Wasteland, I built this from the ground up and I made it the way I wanted it to work. I don't want to see a bazillion spawns from this being distributed everywhere and credits being removed leading to confusion on where this came from and who made it. I want it to be a standardized mission that most servers run that agree to the terms. I accept that people want to modify things and really around pricing and I will allow that but I don't allow distribution and branding name being changed throwing off confusion. I would also like to refer people to: AMAR (Addon Makers For Author’s Rights)

    Usage / Terms of agreement
    * The branding of the mission is to stay ‘Altis Life RPG’. This means you cannot modify it to say something else. i.e Atlis Life by YOURCOMMUNITYNAME/TAG. Everything about the naming / branding is to be left untouched.
    * Naturally all credit is to remain intact on all files. Author cannot be modified via Description.ext but can be extended in briefing.sqf
    * All of my code is not to be used outside of the mission in another ‘Life’ like mission. It is to stay the Altis Life RPG Framework / my framework or you don’t use it and direct branding.
    * Some of my code can be used outside of the mission / framework but permission is to be asked first, if no response is received then it is a automatic NO.
    * Core configuration is allowed to be modified (i.e Prices and expansion of items / features).
    * Features added by you to the mission are to stay to your modification in your server, distribution is not allowed without my permission, if you would like your feature to be added to the Altis Life RPG main distribution (by me) you can submit your changes and will be fully credited.
    * This is not be used commercially and is to remain freeware, this includes requiring donations / payment to be able to ‘play’ in your server with this mission. Playability of it is to remain free and open.

    The terms are subjected to be changed over time.

    The vast majority of the code / framework has been written by me. Any additional code / content used is fully credited and owned by it’s author as well as linked to the authors content (Forums,Media,etc). The additional content used within the framework either has the expressed permission of the content creators permission or was automatically used under the GPU (General Purpose License) from public posting with no usage / TOA / Disclaimer, however they still own the rights to their content. If in any case that content is being used within this mission / framework that the content creator doesn’t wish for it to be used due to my strict TOA / Agreement all you need to do is ask for it to be removed and it will be honored.

    Change Log:
    Version 3.1.3:
    Added: Revive System and EMS faction / side
    Added: New tempest truck to the carshop (Weight settings and prices)
    Added: Ability to jump (Shift + Space)
    Added: Fail safe for the interaction key (breaks randomy)
    Added: Anti-cheat system re-introducerd (SpyGlass).
    Added: Body & weapon cleanup for disconnected users.
    Added: Two new hospital locations.
    Added: The vehicle & Garage menu has been upgraded after a year (finally).
    Added: Kart Dealership & Clothing store.
    Added: Work-around for non Kart-Owners (Use Interaction key to get in Kart, must be unlocked).
    Added: Vehicle flip action to Interaction menu.
    Added: Push functionality introduced for boats again via Interaction menu.
    Added: Ability to holster weapons (Shift + H to holster, Ctrl + H to unholster).
    Added: Ability to auto-mine with the Tempest Device (Consumes fuel per mining cycle).
    Changed: Rewrite of fast-time module (timeModule.fsm)
    Changed: Replaced all ATM's with new ATM Model
    Changed: Updated the gear handling functionality (Fixes exploits with gear handling)
    Changed: The timer on the jail & Respawn menu have been changed to display MM:ss:ms
    Changed: Weather settings changed to sunny forecast (Should get rid of random fog & rain).
    Changed: Improved sync of cop gear
    Changed: Re-organized the server-side file structure
    Changed: The server now overwrites the BIS MP framework (Blocks out BIS_fnc_MP)
    Changed: BIS_fnc_endMission can no longer be passed through life_fnc_MP
    Changed: Paycheck variable moved to a constant variable (Exploit fixes).
    Changed: Paycheck time period moved to a constant variable (Exploit fixes).
    Changed: All SQL Query methods now run through an asynchronous method (Improves server performance).
    Changed: More characters are stripped from the players name before going into the database (Prevention of SQL Injection).
    Fixed: Various exploits related to gear syncing.
    Fixed: Exploits from picking up money.
    Fixed: Vehicles did not cleanup properly and did not store them back into the garage.
    Fixed: Several client-side functions being executed on the server.
    Fixed: Error in the wanted system when players are in jail.
    Fixed: When taking illegal items from a search the weight did not adjust.
    Fixed: You can now set vehicle prices to values greater then 2mil. Limitation caused by lbSetValue.
    Fixed: Players would go bankrupt from the Federal reserve being robbed even with insurance.
    Removed: Donator system has been removed due a request from Bohemia Interactive.



    @life_server (Packed and non-packed) *SERVER ONLY*
    Mission File (Unpacked)
    arma3life.sqf (MySQL Database / Structure)

    Credits & Thanks:
    Myself - for the majority of the code
    Seal Team Sloth (STS) - for hosting it and putting up with me and its members for feedback
    Jaydon & Alan from STS - Various things such as the Escorting system & Cellphone
    Kronzky - His String Function Library
    mindstorm and Adanteh - Working cop lights on offroads
    firefly2442 - For Arma2MySQL (Initial Version to Version 3.1.3)
    Torndeco - extDB and support for extDB
    TheAussieButcher from Day0 community for EMS Uniform texture.
    Joe90384 code submission for reading turtle pricing from config.
    Angrygargamel code submission for small text fixes.
    Anyone else that I forgot is credited in whatever file they are responsible for.

    Downloads / Mirror(s):
    Altis Life RPG v3.1.4.8

    Altis Life RPG v3.1.4.8

    Like what I do and feel like you want to do donate?

    Last edited by Tonic-_-; Dec 13 2014 at 08:45.
    Hi, I'm Tonic your local ARMA drug dealer, take a look at some of the wonderful drugs I created below and get your addiction going!
    (A3) Ammo Crate Filler | (A3) Virtual Ammobox System (VAS) | (A3) Virtual Vehicle Spawner (VVS) | (A3) TAW View Distance Script | (A2OA) [TVT/CO-55] Wasteland | (A3-MP)Altis Life RPG
    My little slice of the interwebs

  2. #2
    Thank you "Tonic" for your work!

    Allowed you to translate the language of the mission?
    Do you have a pack with Arma2net because mine does not want to function properly.
    Be a little problem with windows server 2012, but I doubt it.


    EDIT: "MySQL error. MySql.Data.MySqlClient.MySqlException (0x80004005): Field 'cop_licenses' doesn't have a default value" is normal ?

    EDIT2: Is good with MysqlServer 5.5 & strict mode disabled!
    Last edited by djoe45; Nov 7 2013 at 18:25.

  3. #3
    Quote Originally Posted by djoe45 View Post
    Thank you "Tonic" for your work!

    Allowed you to translate the language of the mission?
    Do you have a pack with Arma2net because mine does not want to function properly.
    Be a little problem with windows server 2012, but I doubt it.


    EDIT: "MySQL error. MySql.Data.MySqlClient.MySqlException (0x80004005): Field 'cop_licenses' doesn't have a default value" is normal ?
    Another server that had MySQL Server 5.6 installed had this issue. It has been to long since I have fooled with MySQL but the only thing that I can put to that error is MySQL server 5.6 or the MySQL server installed was installed with 'Strict Mode' which makes it less forgiving to things such as that. I actually laugh at that error because the field isn't allowed to have a default value but then MySQL complains saying it doesn't have one.

    Just re-install the MySQL server with MySQL 5.5 with strict mode disabled (strict mode is enabled by default when you go through the installation process).

    Later in the future when I decide to do more work on the mission with the last remaining rewrites I'll localize it.

  4. #4
    Great work ! Thanks !
    Junior mission designer & tester in CSLA Studio

    My multiplayer missions:
    Operation Sandstorm (CO-08)

  5. #5
    Chief Warrant Officer Iceman77's Avatar
    Join Date
    Jul 13 2007
    Panama City, Florida
    Damn man you're a ball of fire! Always releasing something exciting. Much appreciated.

  6. #6
    Thanks Tonic, set up a server last night in the AU region.

    Quote Originally Posted by Tonic-_- View Post
    I actually laugh at that error because the field isn't allowed to have a default value but then MySQL complains saying it doesn't have one.
    The error is occurring due to the NOTNULL constraint on the fields, if it isn't required (which it doesn't appear to be), simply remove the constraint from the fields. I managed to get it working this way, rather than disabling strict mode. If the NOTNULL constraint is set, you can still set a default value, but obviously it must not be NULL.

    On another note, I'm not sure if you've fixed it already - but there appears to be a missing curly brace in fn_calWeightDiff.sqf, on line 21 at the end of the for(){} logic.

    Otherwise, setup was quite easy - thanks again.

  7. #7
    Thank you so so much for releasing this Tonic, your hard work spent on making this possible will not be forgotten and its appreciated by myself and a lot of people.


  8. #8
    I'll be giving this a go.
    Keep it tight.

  9. #9
    Gunnery Sergeant Ezcoo's Avatar
    Join Date
    Jan 4 2013
    Diving in the reefs around Altis
    Congrats for the release! It's always a pleasure to see Life missions going open source. Appreciate the hard work that you did a lot, speaking from experience I know that developing Life/RPG content can be a real PITA

    BOINC program: Install BOINC and make the world a better place with your PC by letting scientific researches
    around the world to use your PC in calculating solutions for major problems in the world, such as
    finding cures for cancer, HIV, malaria and Alzheimer's and predicting climate change.
    (Don't think PCs make a difference? See this chart)


  10. #10
    Cheers Tonic for releasing your life mod to the great unwashed masses The AU/NZ community had a blast on it last night and really appreciate all the hard work you have put in to this mod.

Page 1 of 107 123451151101 ... LastLast

Similar Threads

  1. Altis Life Server [Live]
    By gudkid1337 in forum ARMA 3 - SERVERS & ADMINISTRATION
    Replies: 3
    Last Post: Oct 17 2013, 06:43
  2. Altis life serveur search
    By Vip3r in forum ARMA 3 - SERVERS & ADMINISTRATION
    Replies: 0
    Last Post: Oct 13 2013, 11:14
  3. Stratis life/ Altis life- Why i cant create a server
    By Tooks in forum ARMA 3 - USER MISSIONS
    Replies: 0
    Last Post: Oct 11 2013, 08:03
  4. New RPG Mod: Night Life RPG
    By british_armed_forces in forum ARMA 2 & OA - ADDONS & MODS: DISCUSSION
    Replies: 0
    Last Post: Jun 15 2013, 18:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts