Liberty Unleashed

Scripting => Script Releases => Topic started by: Force on October 22, 2010, 03:54:57 pm

Title: Force's Beginner Scripts - Release 1
Post by: Force on October 22, 2010, 03:54:57 pm
LU FBS R1

This is the first release of my base scripts for Liberty Unleashed, it provides all the basic commands that you would need for a simple deathmatch server with accounts, spree detection and all the needed commands such as /heal and /wep. You are also able to save your stats and toggle whether or not they get saved. There is also /goto, once again with the option of turning off the ability for players to teleport to you. Lastly there is an inbuilt /report command that will alert all in-game admins of any trouble makers, full list of commands which require a certain level can be changed in 'CommandsList.ini'.

Read the included readme.txt!

Download

The download is available at LU FBS 01 R1 (http://force.vrocker-hosting.co.uk/downloads/LU_FBS_01_R1.rar)

(For Firefox users, you may have to right click the link and then select 'Save link as' and then select 'All types' under the 'Save as type' list and then add .rar onto the end of the file name.)

Notes

These scripts have been tested to the best standard possible within the LU testing team and are being released in a working state. If you do encounter any problems then let me know so that they can be sorted out as quickly as possible.

Release History

1.0 - Initial Release
Title: Re: Force's Beginner Scripts - Release 1
Post by: BooMario on October 26, 2010, 09:31:06 pm
server is not loading FBS.nut  :-[
Title: Re: Force's Beginner Scripts - Release 1
Post by: Force on October 26, 2010, 09:37:02 pm
Like I said earlier, read the instructions carefully and make sure your directories are named exactly as it says.
Title: Re: Force's Beginner Scripts - Release 1
Post by: BooMario on October 26, 2010, 10:20:13 pm
i do all carefully
gives a error in line 39.
Title: Re: Force's Beginner Scripts - Release 1
Post by: Force on October 26, 2010, 10:47:41 pm
Obviously not doing something right, thats where it's trying to load the rest of the script files. Make sure all the script files and the Script.xml are in <LU Server>/Scripts/LU_FBS_01_R1. Then make sure that LU_FBS_01_R1 is in the content.xml's <script folder="bleh"/>.
Title: Re: Force's Beginner Scripts - Release 1
Post by: BooMario on October 27, 2010, 02:08:31 am
i rename the folder name and worked thanks
Title: Re: Force's Beginner Scripts - Release 1
Post by: NewUsr on October 28, 2010, 07:36:39 pm
Hi, thanks for script, but i have some trouble - server crashes, when you spawn, with that script loaded.
I use Linux server, so i think - this is the reason. Couse when i try this with Windows one - it works normal.
Can you help me with that?
Title: Re: Force's Beginner Scripts - Release 1
Post by: Force on October 28, 2010, 07:40:07 pm
Hmm that's interesting, not tried the scripts on Linux so can't really comment. All I can suggest is commenting out different parts from the spawn event until it doesn't crash.

EDIT: This seems to be a known problem on the Linux server, the devs are looking into it.
Title: Re: Force's Beginner Scripts - Release 1
Post by: Force on November 04, 2010, 02:33:56 am
Update

Just uploaded a new version to fix a bug with no being able to register/login etc.

All I did was add the following to onScriptLoad() (FBS.nut)

Code: (squirrel) [Select]
LoadModule( "lu_hashing" );
Title: Re: Force's Beginner Scripts - Release 1
Post by: Thijn on November 04, 2010, 12:20:47 pm
nub *runs fast*
Title: Re: Force's Beginner Scripts - Release 1
Post by: Jancis71 on November 04, 2010, 06:50:00 pm
function CheckCmdLevel( cmd )
{
   local list;
   list = ReadIniInteger( "CommandList.ini", "COMMANDS", cmd.tostring() );
   
   if ( list ) return list;
   else return 0;
}

This function isn't working for me...
Title: Re: Force's Beginner Scripts - Release 1
Post by: Force on November 04, 2010, 06:53:26 pm
Ahh yeh, I'm a noob lol.

You need to also LoadModule( "lu_ini" ); under onScriptLoad();

That should be the last module that you need. :P

Note for Linux users:

Apparently the modules are called sq_* so change this in the script if you are on Linux.
Title: Re: Force's Beginner Scripts - Release 1
Post by: Windlord on November 05, 2010, 03:31:30 am
Update

Just uploaded a new version to fix a bug with no being able to register/login etc.

All I did was add the following to onScriptLoad() (FBS.nut)

Code: (squirrel) [Select]
LoadModule( "lu_hasing" );

lu_hasing? Really?
Did you mean, lu_hashing?
Title: Re: Force's Beginner Scripts - Release 1
Post by: Megamanolo34 on November 14, 2010, 03:15:22 am
Hey,Help me D:
 
When i load the scripts and the server,and enter to my server
 
says this
 
Error.Incorrect build.Please update you installation
 
 :-[
Title: Re: Force's Beginner Scripts - Release 1
Post by: Force on November 14, 2010, 03:28:17 am
Thats nothing to do with my scripts, get the latest Windows server download from the downloads page. Then make sure you have the latest version of LU installed.
Title: Re: Force's Beginner Scripts - Release 1
Post by: 88nateatx on December 13, 2010, 03:55:47 am
You need to also LoadModule( "lu_ini" ); under onScriptLoad();
Appearently it isnt  all you need, along with lu_hashing of course  :-\
Title: Re: Force's Beginner Scripts - Release 1
Post by: Cooper(PantellicA) on December 17, 2010, 12:57:49 pm
nice, can i turn weps off?
Title: Re: Force's Beginner Scripts - Release 1
Post by: Force on December 17, 2010, 02:24:59 pm
nice, can i turn weps off?

What do you mean by this? If you mean the /wep command then yes, just remove it, if you mean weapons on spawn then yes, remove them from the content.xml (I might have left some weapon setting onPlayerSpawn as well since the LU Public Server used a variation of this in testing).
Title: Re: Force's Beginner Scripts - Release 1
Post by: D4RiFT on February 26, 2011, 03:49:35 am
Good release mate, thanks alot
Title: Re: Force's Beginner Scripts - Release 1
Post by: Thomas1907 on May 19, 2011, 03:55:55 pm
Can i also turn Auto-Login off?? and how?
Title: Re: Force's Beginner Scripts - Release 1
Post by: Windlord on May 19, 2011, 05:39:44 pm
Check FBS-Accounts.nut, line 18.

Code: [Select]
// If they are, check the last known IP, if it's the same as the current player IP, auto log them in
if ( ip == AccountIP )
{
MessagePlayer( "You were auto-logged in! Level - " + Level, player );
hsh_LoggedIn.Add( name, 1 );
}

CTRL-F is a useful tool.
Title: Re: Force's Beginner Scripts - Release 1
Post by: Thomas1907 on May 19, 2011, 09:00:24 pm
If you want your server to be Guest Free!
at onPlayerSpawn
there is
   if ( ( Reg ) && ( !Logged ) ) AutoKick( player, "You Need to Login" );
make another line after that and add
Code: [Select]
if ( ( !Reg ) && ( !Logged ) ) AutoKick( player, "You Need to Register! and Login" );now they need to register too
Title: Re: Force's Beginner Scripts - Release 1
Post by: bl0x0ld on June 28, 2011, 11:50:54 pm
cool!
Title: Re: Force's Beginner Scripts - Release 1
Post by: CANYON on August 24, 2012, 02:22:45 pm
I came on the server with other name and could use commands of the manager  :(
Title: Re: Force's Beginner Scripts - Release 1
Post by: Thijn on August 25, 2012, 01:00:44 am
I remember Force saying this script is bugged now, so try something else like VBS.
Title: Re: Force's Beginner Scripts - Release 1
Post by: h05th on December 16, 2012, 08:37:45 pm
Not function ! Please help !
(http://s15.postimage.org/eigeovg9n/test1234.png)
Title: Re: Force's Beginner Scripts - Release 1
Post by: Thijn on December 17, 2012, 04:01:17 pm
Try looking at the replies before posting..
Title: Re: Force's Beginner Scripts - Release 1
Post by: h05th on December 17, 2012, 06:25:26 pm
Not Function , Rename folder "bleh" ! Not Function
Title: Re: Force's Beginner Scripts - Release 1
Post by: Thijn on December 18, 2012, 06:21:35 pm
The script is bugged, we know it is. And, from what I can tell, Force aint got time to fix it.
Title: Re: Force's Beginner Scripts - Release 1
Post by: SugarD on December 22, 2012, 04:27:00 am
The script is bugged, we know it is. And, from what I can tell, Force aint got time to fix it.
No reason to get angry, my friend. :)
Title: Re: Force's Beginner Scripts - Release 1
Post by: IdkanYavuk X on March 04, 2013, 03:45:58 am
what is bugged? the script or the irc script in the fbs? thanks
I think the script is the problem
Title: Re: Force's Beginner Scripts - Release 1
Post by: El_Gringo on October 10, 2013, 07:13:00 pm
i registerd but i cant find the LEVEL in hashes to get level 6
PLZ HELP :(