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] 3 4 ... 19
16  Servers / Advertise your server! / Re: Worst Server (in LU history) on: April 30, 2017, 02:08:06 pm
Try turning the updater off in server.conf

I think it's "update 0" or something like that.
17  Servers / lolmortuary!:D / Re: Let's game ! on: April 09, 2017, 08:12:30 am
Yeah he's right, unfortunately.

I like the idea though ... Getting people to be more active and on LU.
18  Liberty Unleashed / Liberty Unleashed Chat / Re: Liberty Unleashed official Discord server on: March 21, 2017, 03:41:39 pm
How come you are not allowed to view message history for any of the chats there?
We had some issues with a certain known individual insulting and trolling. After banning him he kept coming back. Because of this we had to limit new users as to what they can see and do. A member of discord staff can set you as a member. Just give us a shout and we'll get you set up.  As a member you can see chat history and the new user restrictions are removed.
19  Liberty Unleashed / Liberty Unleashed Chat / Re: Liberty Unleashed official Discord server on: March 11, 2017, 12:37:43 am
  • Discord Staff:
    • Rhytz
    • Vortrex
    • Svenko
    • PunkNoodle
    • SugarD

  • Rules:
    • No illegal content or piracy
    • No spam, except for #spam
    • No shit talking or insults.
    • Discord staff word is final.
20  Liberty Unleashed / Support / Re: How to play LU in borderless windowed mode on: March 11, 2017, 12:20:51 am
Man, this is amazing.
I am definitely giving you an applaud rep for this.
21  Off Topic / General Chat / Re: Now kewun sends warnings? on: March 11, 2017, 12:18:51 am
Login as VRocker to what? This forum?
22  Off Topic / General Chat / Re: Is the forum expierencing lags? on: March 11, 2017, 12:18:21 am
Yeah, I heard from another user this was happening, too.
It's probably only temporary.
23  Scripting / Script Snippets / Re: Date on: March 10, 2017, 12:41:48 pm
Note: This might not be the most efficient way to do this but i can't think of any other way so...

Here's another way to do it, too ...
Code: [Select]
Months <- [ "January" , "February" , "March" , "April" , "May" , "June" , "July" , "August" , "September" , "October" , "November" , "December" ];
WeekDays <- [ "Sunday" , "Monday" , "Tuesday" , "Wednesday" , "Thursday" , "Friday" , "Saturday" ];

function GetDate ( part ) {

local current = date ( );

switch ( part.tolower ( ) ) {

case "date":
return + " " + Months [ current.month ] + " " + current.year;

case "day":
return WeekDays [ current ];

case "time":
return current.hour + ":" + current.min + ":" + current.sec;

return GetDate ( "day" ) + ", " + GetDate ( "date" ) + " at " + GetDate ( "time" );



24  Off Topic / Spam / Re: I'm going to create a youtube channel with lu videos! on: March 08, 2017, 05:20:33 pm
Soon I will create youtube channel with lu videos I will upload link for my channel soon
Awesome! Give us a link when it's ready ... I might subscribe too.
25  Liberty Unleashed / Liberty Unleashed Chat / Re: Pickups. on: March 03, 2017, 11:25:38 pm
It really depends on what they're for. If you'd like to have pickups be dynamic (adding and removing them during gameplay), then Scripts is obviously your choice.

If you just want pickups to spawn and never touch them again, use content.xml.
Same goes for vehicles, objects, and everything that goes in content.xml (except colours and scripts)
26  Scripting / Script Releases / Re: [Map Editor] Gamesparks' Map Editor on: February 26, 2017, 03:31:13 pm
Look at my reply ... it's a few posts up.
27  Scripting / Script Releases / Re: [Map Editor] Gamesparks' Map Editor on: February 25, 2017, 10:55:23 am
Here you go!
28  Liberty Unleashed / Support / Re: How do i add picture to a topic i make?? on: February 19, 2017, 04:17:09 am
You need to use an img tag.

Code: [Select]
Will show this.
29  Servers / General Server Chat / Re: Warning.Important message on: February 15, 2017, 11:14:14 am
You need to contact the server owner about this.
30  Scripting / Scripting Discussion / Re: Table vs array on: February 10, 2017, 11:59:26 pm
My method was very similar to himselfe. I just didn't use the rawset or rawdelete methods. Instead I just declared a new table slot on connect, and nulled the slot on part.

Anyway, here's my analysis:
It's not by much, and definitely not noticeable during runtime, but arrays are indexed by an integer while tables are index by a "key" which is usually a string. Iterating through an array is going to be faster than doing so with a table because processing an integer is faster than a string.

However, using the table might be more efficient between the two examples you provided. In the table, you provide a direct reference to the player instance, and can use it without having to use FindPlayer. Again, however, I doubt the performance differences are significant.

But it might be worth noting, that you index the table by player name. I don't recommend this. I would suggest using a player ID. The player name can change during gameplay by either scripting methods or a hack, but the player ID is going to remain the same.
Pages: 1 [2] 3 4 ... 19
© Liberty Unleashed Team.