Kellojo

ETG Login Reward Script

22 posts in this topic

etg-login-reward-script-v10-1_4.png

 

ETG Login Reward Script
by
Kellojo

 


Description:
This script will add login rewards to your Exile server.

It rewards the player with items added to his inventory. 

The script has a built in progress system with ten different tiers of rewards.

 

Features:
- easy to set up (plug and play)

- 10 configurable reward tiers

- performance friendly (runs only on client)

 

Installation/Usage:
1. Add this to the init.sqf

if (hasInterface) then {_nul = execVM "ETG_LoginrewardScript.sqf";};

1. Or add this to your initPlayerLocal.sqf

_nul = execVM "ETG_LoginrewardScript.sqf

 

Notes:

If you have any ideas and/or problems feel free to add me on steam (Kellojo).
http://steamcommunity.com/id/Kellojo/

 

License/Disclaimer:
You can use this script on your servers and missions and are allowed to modify it however you want.

Its not necessary to give credit to me but it would be appreciated.

 

Download:
You can download the leatest version from Armaholic:

Download

Edited by Kellojo
  • Like 5

Share this post


Link to post
Share on other sites
Advertisement

So, what happens if I log in, log out, log in, log out, log in again and doing that all the time? Any function to prevent abuse?

Share this post


Link to post
Share on other sites

You guys should pop open the script. You can change how many logins and what kind of rewards. I multiplied all the login reqs by 10. If someone wants to go through that much effort for a couple drinks and some catfood then they can go ahead lol.

  • Like 1

Share this post


Link to post
Share on other sites
3 hours ago, Kellojo said:

Im currently trying to prevent this somehow but for now just do what @READTHESCROLL said :D

You could just do a simple sleep at the end, since the script is very small and minimal on a player you can just wait until the end of the script after you call the rewards and then do like sleep 300; then _NewLoginCount = _LoginCount + 1; and save it..

 

If they logout before 5 minutes then script never completed so no the login count isn't upped.

Just a simple idea or suggestion to combat relogging to abuse.

Share this post


Link to post
Share on other sites

... or you keep track of how long they've been on the server rather than how many times they've been logged on, and divide "prize" in tiers:

 

Tier 1: (After 25 hours of total playtime)

Prize: One water bottle and one cat food

Tier 2: (After 100 hours of total playtime)

Prize: Two water bottles and three random raw foods

Tier 1: (After 300 hours of total playtime)

Prize: A shovel, matches, access to a new VIP-skin for your vehicle, and two water bottles and three random raw foods

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.