Giter Site home page Giter Site logo

eisengrind / liveinlife Goto Github PK

View Code? Open in Web Editor NEW
10.0 7.0 3.0 75.81 MB

LiveInLife is an adjustable framework for your ArmA 3 roleplay ideas.

License: GNU General Public License v3.0

C++ 41.59% SQF 56.36% Batchfile 0.12% Python 1.71% Assembly 0.01% Makefile 0.21%
rpg-server rpg-mod arma3 extdb3

liveinlife's Introduction

liveinlife-banner

Github All Releases Build Status

LiveInLife is an adjustable framework for your ArmA 3 roleplay ideas.

What is LiveInLife

LiveInLife is a small idea of creating an free-to-use "library" (it isn't really is a library...) for ArmA 3 RPG-Server's. LiveInLife was created to support developers of RPG-Server's who want to create "their own" RPG-Modification or so-called mission. There are currently just a few packages available.

Because LiveInLife is in development status - problems and other issues are common in this state.

LiveInLife does not pretend anything in your mission - it's up to you choose between possibilities!

Installation

See: https://github.com/AGPHeaddikilla/LiveInLife/wiki/Installation

You want to contribute things? - create a pull request!

Future of the LiveInLife backend

In the future, LiveInLife will use an API server to handle any database or ArmA-3-Server-To-Database connections. Thus, knowledge about API-server-concepts is required such as hosting this kind of server(s).

You want to contribute to the API-server? Go ahead: https://github.com/eisengrind/orbis

liveinlife's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

liveinlife's Issues

Add function headers

Add function headers in format:

For example:

/*
    Author(s):
        Vincent Heins
    Description:
         Checks whether a vehicle can be flipped or not.
    Parameter(s):
        (_this select 0) : <objNull> : Vehicle to flip
    Result:
        <bool> : can the vehicle be flipped?
    Example(s):
        {
            hint str ([(vehicle player)] call lilc_actions_fnc_canFlipVehicle);
        }
*/

Add modules to replace config settings

If modules were added instead of config properties it would be more user-friendly to add e.g. garages or bank atm's, etc.

Thus, multiple modules have to be added in the future such as:

  • Garage. The Garages module can be connected with other objects except the module for a dynamic position and faction modules. Then an action (like an ACE3 action) will be attached all of those objects connected to the module - simple, yeah?
  • ATM. ATM's are important for any life modification. Thus, an action will be attached to every connected object of the module.
  • The hospital-self-healing-thing.

Add paycheck system

Add a working paycheck system which will return a summary of paychecks given in a specific range of time.

Create first production-ready version

Currently there are a few problems with LiveInLife. Most people can not start a server regarding to first, missing documentation on how to setup a server and second there is no working mission file to use there nor there is a documentation for that too.

So we have to create

  • A documentation on how to setup the server and
  • Setup an example mission, which only shows how to use the modules delivered by LiveInLife

Doubts

Do not have a database?
No mission folder?

@AGPHeaddikilla

Rewrite bank account system

Because the current bank system is a big mess, we have to rewrite this system.
I imagine the system to be multi-functional so that there is the ability to use multiple bank accounts.

It is important that bank accounts are saved over database. Otherwise it is very abusable for duping.

Moreover, there has to be an differentiation of the atm as machine and the bank "system" functions.

Create hud framework for customization reasons

*Create a a customizable hud framwork to improve performance and customization.
The following could be a concept of proof:

  • Function for adding hud components
  • Function for removing hud components
  • Function for updating hud component
  • CBA-Framehandler for component updates (every 60 seconds) to update the component if it wasn't updated
    • Property to disable auto-updates
  • Possibility to set picture and of hud component (see adding-Function)
    • Property for dynamic or static textbox size

Parameters adding function:

(_this select 0) : <string> : name of the component
(_this select 1) : <string> : image of the component
(_this select 2) : <string> : default text
(_this select 3) : <bool> : dynamic size
(_this select 4) : <string> : variable name for automatic updates; disabled if empty

Parameters remove function:

(_this select 0) : <string> : name of the component
(_this select 1) : <float> : fade out time
(_this select 2) : <float> : start of fade (in seconds)

Login system management

The current way of logging in is not perfect. A while I go I decided to create system to change profiles to select the wanted role.

But I want to change these things. But for those users who prefer selecting a role in a screen, we could let it be persistent.
The best way to implement this is to create a base system which just loads all neccessary information and then decides whether the login screen shall be displayed or not.

This implementation also needs just a small change to the factions system. The loading of the faction information has to be done even before the loading has appeared (if it is enabled).

The important thing is that the created packages can be used as a "class" object. There has to be a difference between public and private functions to allow the usage of those.

Add english and german localization's

Add english and german localization's.

stringtable.xml in format:

<?xml version="1.0" encoding="utf-8">
<Project name="LiveInLife">
    <Package name="<tag>">
        <Container name="Config"><!-- Configuration titles -->
            <Key ID="STR_<tag>_Config_<title>">
                <Original>(default) english translation</Original>
                <English>English translation</English>
                <German>German translation</German>
            </Key>
        </Container>
        <Container name="Script"><!-- Titles in script(s) without formation -->
            <Key ID="STR_<tag>_Script_<title>">
            </Key>
        </Container>
    </Package>
</Project>

Mission

You have an exemple mission file I can’t try this with?

Database issue

[NORMAL]: extDB3: uisleep [4]: 51.932"
6:05:13 Suspending not allowed in this context
6:05:13 Error in expression <, "extDB3"] call lilc_log_fnc_diag_log;
uiSleep 0.1;
}
else
{
_isLooping = false>
6:05:13 Error position: <uiSleep 0.1;
}
else
{
_isLooping = false>
6:05:13 Error Generic error in expression
6:05:13 File \x\lils\addons\database\functions\fn_async.sqf [lils_database_fnc_async], line 50

Setup?

is there a guide how to use this ?
how to set it up

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.