Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


  Show Posts
Pages: [1] 2
1  Liberty Unleashed / Support / Re: Error, while opening lu.exe on: April 06, 2012, 01:44:52 pm
Either you are not connected to internet or you have a laggy connection
2  Off Topic / Spam / Re: LOLWUT? on: April 06, 2012, 12:15:49 pm
SPAM SPAM SPAM SPAM SPAMMITY SPAM!
Spam Spam Spam Spam Spammity spam


LoL
3  Off Topic / Spam / Re: LOLWUT? on: April 05, 2012, 02:24:33 pm
What i invited you?

EDIT: It was Rocky using my account.
4  Servers / Advertise your server! / Re: Liberty RPG on: April 04, 2012, 12:55:16 pm
Looking good! Hope to see this finished :) I like RP servers so i'm always looking out for new ones :)

Thanks it will be out soon :),

5  Servers / Advertise your server! / Re: Liberty RPG on: April 04, 2012, 10:09:30 am
Some ingame Vehicle System testing screenies by Rocky:-

Vehicle showroom



Fuel system


Preparing to refuel (10 Seconds)


Refueling 10% every 10 seconds


6  Servers / Advertise your server! / Re: Liberty RPG on: April 02, 2012, 06:44:04 am
Oh, nice! Good luck :)

@Thijn: We have competition :D

I heard you both are doing a RPG server too. Good luck  ;)
7  Servers / Advertise your server! / Re: Liberty RPG on: March 30, 2012, 05:51:10 am
Host: Home hosted (Looking for a host)
VRocker-Hosting?

I am planning to buy a vps but thanks for your suggestion. ;)
8  Servers / Advertise your server! / Liberty RPG on: March 27, 2012, 07:48:03 am

After so much of hardwork with X_94 Liberty RPG is going to be public in August 1st, Thanks for your support, here is a list of commands made so far, If you have any suggestions please do make it fast, If you have any doubts on how the commands works or you want to discuss anything related to the commands please post it here


Name: Liberty RPG
Official: no
Locked: yes
IP: 78.110.165.196:2302
IRC Channel: #liberty-rpg.echo
Website: www.liberty-rpg.tk
Slots: 24
Host: Sky-City Hosting
Uptime: 24/7
Location: United Kingdom
Owner: Rocky and X_94
Staffs: list
Gamemode: Liberty v0.1
Scripters: X_94 and Rocky




Help - Tutorial menu.
Dumpcar - you are allowed to dump a vehicle everyday.
Stats - Shows your Items, job etc..
Job - while standing on a job spree go onduty.
Quitjob - quit your current job (you need to work atleast 1 hour to use this cmd).
S/Shout - shout something.
W/Whisper - whisper to someone near.
O/ooc - off topic chat.
Take - take a drug or food to restore health
Call - click this for service ph no. and use player Name for calling player.
Givecash - Give cash to a player while standing close to him/her.
Sellfish - Sell your fish at building, you can fish by standing on the spree, you will recieve random gifts(including sea mine).
 


Buydrugs - Buy drugs from cabin.
Selldrugs - Sell drugs to players.



Geta - Get A Material.
Getb - Get B Material.
Getc - Get C Material.
Sellgun - Use materials to make gun and sell it to players.
Mark - Mark Material location on radar.



Addpolice - Give a player access to LC:PD.
Wanted/Wantedlist - Show wanted players list.
Suspect/Sus - suspect a player.
Susinfo/Whysus - see why a player was suspected.
Restock/Takeguns - take or restock weapons from LC:PD.



Heal - heal a player if he calls for one.



Unload - unload your goods to locations marked on radar.



repair - Repairs engine only.
respray - resprays the vehicle body with different colour
rebuild - Fix engine body only works if the player is in workshop.
workshop - open/close workshop door


buyprop - Buy a property
sellprop - Sell your property
spawnprop - spawn in your prop
invitetoprop - let a player enter your house
remfromprop - delete player from entering your house
garages - Get the garage id of your property
opengarage - Open your property garage
wdgain - Withdraw cash from your prop if it is a business
propenter - Enter your property
propexit - Exit your property
closegarage - Close your property garage



stocks - See the info of a clan HQ.
addmember - owners can add member to HQ.
delmember - Delete the member from the HQ.
takestock - Take a drug/weapon from HQ.
addstock - Item drug dealers can store drug and arms dealers can store gun.



buyvehicle - Buy a vehicle (on car selection screen)
sellvehicle - Sell your vehicle.
vehicle - Show info about your vehicle.
sharevehicle - give a player access your vehicle.
delsharevehicletake back a players access to your vehicle.
lockvehicle - Lock your vehicle
unlockvehicle - Unlock your vehicle

Total Commands: 43 (EXCLUDING ADMIN AND VIP COMMANDS)
-Post done by Rocky via Rifle's account.
9  Scripting / Script Snippets / Subnet Functions on: March 21, 2012, 11:07:47 am
Functions List

  • BanSubnet(player,admin,reason) : Ban a players Subnet
  • IsSubban(player) : Check if the player's Subnet is banned
  • GetSubnet(player)  : Get the players Subnet from IP


OnScriptLoad
Code: [Select]
LoadModule("lu_sqlite");Load the Module.
Code: [Select]
database <- sqlite_open( "LU/data/Subnet.subnetz" );
Code: [Select]
sqlite_query( database, "CREATE TABLE IF NOT EXISTS Subnet (Subnet FLOAT, Time TEXT, Admin TEXT, Reason TEXT )" );Create a database to store the subnet bans data

Functions

BanSubnet(player,admin,reason)
Code: [Select]
function BanSubnet(player,admin,reason)
{
   local sub = GetSubnet(player);
   sqlite_query( database,"INSERT INTO Subnet ( Subnet, Time, Admin, Reason ) VALUES ( '"+sub+"',  '"+GetFullTime()+"', '"+admin+"', '"+reason+"' )" );
   Message( "Banning Subnet:[ "+ sub +" ] by [ " + admin + " ] Reason:[ " + reason + " ]");
   KickPlayer(player);
}

IsSubban(player)
Code: [Select]
function IsSubban(player)
{
    local sub = GetSubnet(player);
    local User = sqlite_column_data( sqlite_query(database, "SELECT Admin FROM Subnet WHERE Subnet='" + sub + "'" ), 0 );
if ( User ) return User;
    else return 0;
}

GetSubnet(player)
Code: [Select]
function GetSubnet(player)
{
   local ip = player.IP.tostring();
   local sliceip = split( ip, ".");
   local ip1 = sliceip[ 0 ], ip2 = sliceip[ 1 ];
   local subnet = format(ip1 + "." + ip2 );
   return subnet;
}

USAGE: Command

Code: [Select]
if( cmd == "subban" )
{
else if ( !text ) MessagePlayer( "Error: /" +cmd+ " [Nick/ID] [Reason]", player );
else
                 {
    local plr = FindPlayer(GetTok( text, " ", 1 ));
if(!plr) MessagePlayer( "Error: No such player is online!", player );
else {
       local Reason = GetTok( text, " ", 2, NumTok( text, " " ) );
       if(!Reason)  BanSubnet(plr,player, "none");
       else BanSubnet(plr,player,Reason);
     }
}
else MessagePlayer( "You don't have access to use this command!", player );
    }

USAGE: Checking
Code: [Select]
function onPlayerJoin( player )
{
  if( IsSubban(player) )
{
    Message("Kicking:[ " + player.Name + " ] for:[ Subnet banned ] Subnet:[ " + GetSubnet(player).tostring()+ " ]");
KickPlayer(player);
}
     return 1;
}

  • If you want to view: the date of the ban, by which admin, reason or if you want to manually add subnet bans or manually delete subnet Download
  • You will also need lu_sqlite Module which can be found within the server package.
  • Thanks you and if you find any bugs please inform me :)

Scripted by: [FS]Rocky and Rifle
10  Off Topic / Spam / Re: Private Racing Server on: March 17, 2012, 05:34:37 am
Someone Ddos my server

Ddos in here too? Just because of this annoying problem i quit vcmp and joined lu. anyway to protect our server from Ddos?
11  Off Topic / Spam / Re: Full Browser! on: March 14, 2012, 10:22:51 am
Better watch what you say my friend! When Argonath RPG is done, you shall eat those words! ;)

I am telling about the server currently up.Well, if i count servers under maintenance there are lots of them which are awesome: especially RPG and Stunt servers.  ;)

* Rifle168 can't wait for Argonath RPG server.
12  Off Topic / Spam / Re: Full Browser! on: March 14, 2012, 04:33:58 am
In fact lolmortuary :D is the only server with a good theme.Rest all the 24/7 hosted servers are using default modes while which are home hosted for rare time got really nice modes. ex: [GLT]WTF's Roleplay server etc.
13  Off Topic / Spam / Re: Game on: March 09, 2012, 06:03:54 am

14  Off Topic / Spam / Re: Full Browser! on: March 09, 2012, 06:00:06 am
Oh my god, Did you edit it or is it real? Save a slot for my server :P
15  Scripting / Script Help / Re: Help on: March 08, 2012, 04:13:43 pm
Ah now I see.
Replace your client.nut with this:
Code: [Select]
pPlayer <- FindLocalPlayer();

function onClientRequestClass( pClass )
{
if ( pClass.ID == 0 ) SmallMessage( "Cop: Protect Liberty City From Criminals.", 5000, 1 );
else if ( pClass.ID == 2 )  SmallMessage( "Medic: Heal Citizens Of Liberty City.", 5000, 1 );
else if ( pClass.ID == 3 ) SmallMessage( "Bus Driver: Pick Up Citizens From Liberty City To Their Destination.", 5000, 1 );
else if ( pClass.ID == 4 ) SmallMessage( "Taxi Driver: Pick Up Citizens From Liberty City To Their Destination." 5000, 1 );
else SmallMessage( "Pick up Citizens from Liberty City to their destination", 5000, 1 );
return 1;
}

Oh thanks alot :) so client side functions doesn't require 'player'?
Pages: [1] 2
© Liberty Unleashed Team.