Recent Posts

Pages: [1] 2 3 ... 10
1
Script Releases / Re: [OFFICIAL] [Gamemode] Basemode v1.0 (beta)
« Last post by Stoku on May 21, 2018, 11:09:42 pm »
Reserved.
2
Script Releases / Re: [OFFICIAL] [Gamemode] Basemode v1.0 (beta)
« Last post by Stoku on May 21, 2018, 11:09:35 pm »
Changelog and history (including unreleased versios):
1.0-beta (?? - 22.05.2018)
- first public beta release
- colored and fixed some messagess (kill/part/join)

1.0-alpha3 (21.09.2015):
- added score label
- improved UI
- opened garages
- added time and weather setting for bases
- deleted deprecated stuff
- added autostart system
- added part/join/kill messages

1.0-alpha2 (20.09.2015):
second private test
- balanced m16 weapon
- fixed base 8 marker
- increased weapons ammo
- increased capture time (15secs from now)
- added 7 bases

1.0-alpha1 (19.09.2015):
first real-private testing build with 2 players after recode

pre 1.0-stage2 (20.09.2014):
- improved map loader
- recoded game logic
- added 3 bases

pre 1.0-stage1 (27.07.2010):
- created basic map loader
- created basic game logic
- added 7 bases
- added spawn point for attackers (calahan bridge)
3
Script Releases / [OFFICIAL] [Gamemode] Basemode v1.0 (beta)
« Last post by Stoku on May 21, 2018, 11:09:26 pm »
Me presents...
The official AAD (Attack and defence) gamemode for Liberty Unleashed! It was previously dedicated for public release to play clanwars by Liberty City Killers [LCK] clan and to let other clans/players play it on their own servers too. I've started development of this gamemode at around 2010 when I was a beta tester of LU and current version is from 2015.

The gamemode contains:
- complete AAD logic (timeout, killed all players, picked up the base, draws),
- 18 unique bases,
- 2 spawns for attackers,
- 1 closed lobby,
- well balanced weapons system to make every weapons useful, to avoid shotgun only fights or M16. Every weapon is powerful here and has it pros and cons,
- only attackers can enter vehicles and this is a basic the idea of AAD,
- a spectator (if I remember correctly it needs fixing),
- administrator luid loging in,
- admin commands: /bmlogin <pass> (login as administrator), /base <id>, /end, /switch, /add <player id>, /help, /t1/2name <team name>, /resetscore, /del <player id>, /add <player id>
- player commands: /votebase <id>, /fix or /fix2 to show/hide mouse cursor and toggle camera movement (it was messy sometimes, probably LU bug)
- a teamchat on "Y" key, but I don't remember if it's bugsfree,

TODO:
- firstly, the easiest thing: it needs adding "DEBUG" variable in client and server to hide debug messages with "if ( DEBUG ) Message(...)"
- secondly: autostart system which is already in, but needs testing and probably fixing
- spectator camera, it was probably broken, but I'm not sure
- integrity with recent admin panel
- new bases and spawnpoints for attackers
- polishing GUI and adding a nice, centered "Basemode" logo on join
- showing only allied team players on radar (sadly, LU was missing functions to complete this and I'm not sure if it's possible)
and the last one: cleaning source from obsolete things.

Im looking for a developer, who can continue my work in this official thread and make updates under my supervision. I can help a bit, but my time is very limited. The goal is making this gamemode clear and 100% stable, to let people play clanwars or just have fun/train on public/private servers. Required is knowledge of squirrel and commiting changes on github, so everyone can see every change and to  be sure the script is safe. This AAD was inspired by Basemode from MTA:SA by [ANO]Rhbk.

Requires "lu_ini" module for LUID admin login. Already included only for windows.

Download and sources:
Basemode v1.0-beta (zip)
Sources: https://github.com/TheStoku/Basemode/tree/master

Installation:
1. Unzip "basemode.zip" to your LU Server directory and set the admin password in server.nut at "ADMIN_PASSWORD".
2. The other settings like weapon damage are in CServer.nut file. At this moment the round start type is provided by voting (/votebase <id>). The Random start needs checking and probably fixing.
3. Round time, attackers spawnpoint and misc base related stuff is stored in every base xml. Please don't change current bases, thay ere tested very well and most of them are made with "camping unfriendly" way.

Contributors:
- none

Big thanks to:
- NC (testing and help)
- Gudio (testing, help and hosting)
- Mr. Sych (my best friend forever, also tester)
- Piterus (testing)
- rwwpl (testing)
- Xenon (testing)
and everyone which I've forgot - feel free to remind me!

To mods: please make this thread sticky!
To devs: fell free to pm me if you want to contribute.
To hosters: please contact me, if you have a reliable, 24/7 european dedicated server and want to host the official server with pure Basemode script without mods.
To community: This gamemode gave us many hours of fun, so you have fun too!
4
Script Snippets / Buy Heal/Armour
« Last post by 2204 on May 12, 2018, 11:05:48 pm »
As the title suggests you can buy a heal (Health = 100%) or Armour.

Adapt this to your script however you want to, change 5000/8000 if you think it's too much or too little

Code: [Select]
else if ( szCommand == "heal" ) {
if ( pPlayer.Health != 100 && pPlayer.Cash >= 5000)
{
pPlayer.Health = 100;
pPlayer.Cash -= 5000;
MessagePlayer( "Purchased a heal for $5000. Remaining cash: $" + pPlayer.Cash + ".", pPlayer);
}
else if ( pPlayer.Health == 100)
{
MessagePlayer( "You already have full health!", pPlayer);
}
else if ( pPlayer.Cash < 5000)
{
MessagePlayer( "You don't have enough money!", pPlayer);
}
}

else if ( szCommand == "armour" || szCommand == "armor" ) {
if ( pPlayer.Armour != 100 && pPlayer.Cash >= 8000)
{
pPlayer.Armour = 100;
pPlayer.Cash -= 8000;
MessagePlayer( "Purchased armour for $8000. Remaining cash: $" + pPlayer.Cash + ".", pPlayer);
}
else if ( pPlayer.Armour == 100)
{
MessagePlayer( "You already have full armour!", pPlayer);
}
else if ( pPlayer.Cash < 8000)
{
MessagePlayer( "You don't have enough money!", pPlayer);
}
}
5
Support / Re: Help
« Last post by shane_Iron on April 11, 2018, 01:24:49 pm »
two windows at once are not possible.
6
Support / Help
« Last post by JUMBO on April 03, 2018, 05:12:22 pm »
How can i play on your Libery Unleashed launcher gta 3 and vice city at once.


7
Script Snippets / admin system for newbies
« Last post by mega mind on April 03, 2018, 10:50:25 am »
i have seen many newbies trying to make a server but they donot have an admin system so heres a little snipper for you guyzz

Code: [Select]
/*top of script*/

const AdminPassword = "adminpassword"
class PlayerInfo
{
admin = false;
}
//=================================

/*onscriptload*/

pinfo <- array(GetMaxPlayers(), null);
//===================================


/*anywhere*/

function PlayerIsAdmin(player)
{
 if(pinfo[pPlayer.ID].admin== true) return 1;
 else return 0;
}
//========================================

/*playerjoin*/

pinfo[pPlayer.ID] = PlayerInfo();
//==========================================



/*playercmd*/
else if(szCommand == "admins")
{
 {
  if ((  pPlayer.Name == "admin" ) || (  pPlayer.Name == "admin1" ))
{
 //MessagePlayer( "[#00ff00]Admins are on Duty [ " + pPlayer.Name + " ] " , pPlayer );
 Message( "Admins are on Duty [ " + pPlayer.Name + " ] ", 0, 255, 0 );
 }
else
{
MessagePlayer( "[#00ff00]Admins available [#00ffff]"+pinfo[pPlayer.ID].admin+"" , pPlayer );
}
}
}

else if (szCommand == "admin")
 {
 if(!szArgs) MessagePlayer( "-> Error: [#ffd700]Please type /admin <admin password>", pPlayer,255,0,102);
 else if ( szArgs != AdminPassword ) MessagePlayer( "-> Error: [#ffd700]Invalid PASSWORD.", pPlayer,255,0,102);
 else
 {
 MessagePlayer( "-> [#00ffff]Welcome "+pPlayer.Name+". You are logged as admin in server.", pPlayer,255,0,102); pinfo[pPlayer.ID].admin = true;
 }
 }

 else if ( szCommand == "ban" )
    {
        if ( (  pPlayer.Name == "admin" ) || (  pPlayer.Name == "admin1" ) )
        {
            if ( szArgs )
            {
           local plr = FindPlayer( szArgs );
               if ( plr )
               {
               BanPlayer( plr );
               }
               else MessagePlayer( "[#00ff00]Invalid Player " , pPlayer );
            }
            else MessagePlayer( "[#0f00f0]Type /ban <player> " , pPlayer );
        }
        else MessagePlayer( "[#F02F0F] Your are not admin. " , pPlayer )
    }

else if ( szCommand == "kick" )
    {
        if ( (  pPlayer.Name == "admin" ) || (  pPlayer.Name == "admin1" ) )
        {
            if ( szArgs )
            {
           local plr = FindPlayer( szArgs );
               if ( plr )
               {
               KickPlayer( plr );
               }
               else MessagePlayer( "[#00ff00]Invalid Player " , pPlayer );
            }
            else MessagePlayer( "[#0f00f0]Type /kick <player> " , pPlayer );
        }
        else MessagePlayer( "[#F02F0F] Your are not admin. " , pPlayer )
    }

   else if ( szCommand == "settime" )
     {
        if ( (  pPlayer.Name == "admin" ) || (  pPlayer.Name == "admin1" ) ){
          local aTime = split( szArgs, " " );
          local szHour = aTime[0], szMin = aTime[1];
         
          SetTime( szHour.tointeger(), szMin.tointeger() );
     }
}

    else if (szCommand == "setweather" )
     {
if ( (  pPlayer.Name == "admin" ) || (  pPlayer.Name == "admin1" ) ){
          SetWeather( szArgs.tointeger() );
     }
}

else if ( szCommand == "ann" )
{
if ( (  pPlayer.Name == "admin" ) || (  pPlayer.Name == "admin1" ) ){
if ( szArgs ) BigMessage( szArgs, 5000, 1 );
}
}
// ==================================
8
Liberty Unleashed Chat / Re: Guess whos back
« Last post by shane_Iron on April 01, 2018, 10:52:56 am »
i know whos this kid lol!!
9
Liberty Unleashed Chat / Re: Guess whos back
« Last post by Motley on March 24, 2018, 10:58:43 pm »
You replying shows that you care ^_^.

As a member of the community, I want to thank you from all of us for staying active!!
Thank you  8)
10
Liberty Unleashed Chat / Re: Guess whos back
« Last post by Vortrex on March 24, 2018, 06:07:31 pm »
Who cares. It's just some random kid using Ankris's old name.
Pages: [1] 2 3 ... 10
© Liberty Unleashed Team.