Show Posts
|
Pages: [1] 2
|
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.
|
|
|
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
|
|
|
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 RPGOfficial: noLocked: yesIP: 78.110.165.196:2302IRC Channel: #liberty-rpg.echoWebsite: www.liberty-rpg.tkSlots: 24Host: Sky-City HostingUptime: 24/7Location: United KingdomOwner: Rocky and X_94 Staffs: listGamemode: Liberty v0.1Scripters: X_94 and RockyHelp - 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 healthCall - 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. delsharevehicle - take 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 LoadModule("lu_sqlite"); Load the Module. database <- sqlite_open( "LU/data/Subnet.subnetz" ); 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)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)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)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 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 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 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.
|
|
|
15
|
Scripting / Script Help / Re: Help
|
on: March 08, 2012, 04:13:43 pm
|
Ah now I see. Replace your client.nut with this:
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'?
|
|
|
|