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 ... 4 5 [6] 7 8 ... 18
76  Liberty Unleashed / Support / Server not in LAN list, or masterlist on: September 28, 2016, 09:03:33 pm
Topic says it all.

I have shut down my pc plus much more test. My Ip is dynamic "always changes..

Am I the only one experiencing this?

0.16 browser
77  Scripting / Script Snippets / Basic /gotoloc, /saveloc command on: September 24, 2016, 09:29:36 pm
Requires the lu_ini Module!

I have not played with a Ini system in sometime.
I wanted to remove hashes from the Worst server and rebuild all of the saved hashes to Ini.

The origanal location system started from http://forum.liberty-unleashed.co.uk/index.php/topic,985.msg6245.html#msg6245
Released by Svenko, Unless I'm wrong with the script.

Ini can be rather funny compared to other systems. Others might know this as well.

Hoping someone could find use of this.
:P Enjoy

Code: [Select]
function onScriptLoad() {
  if ( LoadModule("lu_ini")) {
    print( "lu_ini module loaded" );
  }
  else print( "Error: Loading of lu_ini module failed." );
}

//------------------------------------------------------------------------------

function onPlayerCommand( player, cmd, text ) {

   if ( cmd == "saveloc" ) {
     local x = ReadIniFloat( "Locations.ini", text, "X" ), y = ReadIniFloat( "Locations.ini", text, "Y" ), z = ReadIniFloat( "Locations.ini", text, "Z" );
     if (!x, !y, !z) {
       WriteIniFloat( "Locations.ini", text, "X", player.Pos.x );
       WriteIniFloat( "Locations.ini", text, "Y", player.Pos.y );
       WriteIniFloat( "Locations.ini", text, "Z", player.Pos.z );
 
       MessagePlayer( "Saved location " + text + ".", player, Colour( 225, 225, 225 ) );
     }
     else MessagePlayer( "The saved location " + text + " already exist!!", player, Colour( 255, 0, 0 ) );

     return true;
  }

  if ( cmd == "gotoloc" ) {
         
     local x = ReadIniFloat( "Locations.ini", text, "X" ), y = ReadIniFloat( "Locations.ini", text, "Y" ), z = ReadIniFloat( "Locations.ini", text, "Z" );
     if (x,y,z) {
       MessagePlayer( "Going to location " + text + ".", player, Colour( 225, 225, 225 ));
       player.Pos = Vector(x, y, z);
     }
     else MessagePlayer( "Going to location " + text + " FAILED!!", player, Colour( 255, 0, 0 ) );

      return true;
  }

  return false;
}
78  Liberty Unleashed / Suggestions / Re: GetMaxVehicles on: September 18, 2016, 09:24:26 pm
Thanks buddy I am capable of doing a lot with
Code: [Select]
GetVehicleCount
79  Liberty Unleashed / Suggestions / Re: GetMaxVehicles on: September 17, 2016, 11:52:22 pm
Code: [Select]
spawn_vehicle <- array(MAX_VEHICLES(), 0);
spawn_vehicle[vehicle.ID]

MAX_VEHICLES is a constant, not a function.

So I will need to make my own function then.

Code: [Select]
GetMaxVehicles <- 158;//Server default vehiclesThen update the vehicle count, I do not know if that is how I want to go about it. Sorry I am working on a vehicle system,.
80  Liberty Unleashed / Suggestions / Re: GetMaxVehicles on: September 17, 2016, 09:26:44 pm
I do not know how I would describe it but could this be used in the method of

Code: [Select]
spawn_vehicle <- array(MAX_VEHICLES(), 0);
spawn_vehicle[vehicle.ID]

Also thank you. I guess I figured it would be GetMaxVehicles, Not MAX_VEHICLES.
81  Liberty Unleashed / Suggestions / GetMaxVehicles on: September 17, 2016, 01:59:27 pm
Topic says it all. I cant really script this myself as there might be more vehicles in the server due to spawned cars in command.
82  Liberty Unleashed / Liberty Unleashed Chat / Re: Current LU projects on: September 15, 2016, 07:22:39 pm
Can I request for this topic to be cleaned of negative post "Fully get it back on topic?"
If so you can remove this post of mine.

It's sad you are crapping on the mod, If Theremin did not give me the opportunity of team up with him I would of taken my study's to c++, Then LUA,

And honestly I have already wasted a lot of my free time on Theremin's server,
Including the fact of spending money on energy drinks xD 16 USD spent.

So you crapping on the Mod really erks  the sh** out of me Kid.
83  Liberty Unleashed / Bug Reports / Client Directory, Cant retreave file to load if to many folders on: September 15, 2016, 01:05:16 am
^Topic basically says it all. So I was working on a system when I thought the build was becoming currupted..

Well anyway hear is the output for the max allowed dirrectory limit

Code: [Select]
<script file="Objects/MapEditor/Main_c.nut" client="1" />
Hear is the Max not allowed limit

Code: [Select]
<script file="Objects/MapEditor/Client/Main_c.nut" client="1" />
No clue as to what could be the cause but this is a little depressing.
84  Liberty Unleashed / Liberty Unleashed Chat / Re: Current LU projects on: September 14, 2016, 03:00:23 pm
I got a server running for two years now, I decided to call it Worst Server because my scripting is super bad ;)
     I wouldn't call your scripting bad as you are a very good scripter, There just seems to be areas that you lack in, We will consider this techniques that you have not really picked up over your time in scripting, This will really open your scripting capabilities in future time. “My scripting is not perfect, I fail in areas”


When I first began reading the Worst server source I could not believe how much the server has that others fail to realize.
I really encourage others to check out Worst server in future updates, The server will not have to much noticeable with the first update, As majority of this update is to implement a system to the server,
That's going to help me and Theremin add way much more to the server in future time  :).
85  Scripting / Scripting Discussion / Re: Encrypting text/passwords on: September 12, 2016, 04:14:35 pm
Salt + sha256 is the common standard nowadays, I believe.

https://crackstation.net/hashing-security.htm


Thanks works!
SHA1( password + "? ??????????™®©");

My out put comes from hear
http://jaffagazanian.tumblr.com/post/5528389956/cool-characters-symbols
LU web page does not support the output hear unfortunately
86  Liberty Unleashed / Liberty Unleashed Chat / Re: [Vote] Which version of LU are you using? on: September 11, 2016, 11:02:37 pm
Version 0.1.0.16 for server building. Version 0.1.0.16 for playing.

If I can not connect to the browser due to the new update that officially killed any wine support then I can not play.

As well anyone else that has a distribution that requires wine support, There system can not play Version 0.1.0.17,

As if the community is not small enough,.
I doubt this will deprive the developers from eventually getting a popular multi-player..
Only Version 0.1.0.16 
87  Scripting / Script Releases / Re: [Update 23-09] GUI Admin Panel on: September 06, 2016, 02:47:37 pm
This is really good to hear that you're doing well, You are a very good scripter.

I understand what you are going through personally as I just got out of a 5 year relationship and have been focusing on myself, As well literally working myself into the ground. Trying to get somewhere in life again.

Sadly I am dealing with PC issues as well. It's no longer reliable. The bios needs flashing. And the mouse just died, as well the boot menu has become corrupted. Luckily the motherboard/hardware is perfectly fine.

I am unable to test version 17 but! Extended garages is bugged on 16 "mouse related issues client side".
Other than tiny issues there that's it that I know of.

Happy to hear the eagerness for scripting.
Hope to see you more active when that time comes.
 :)
88  Scripting / Scripting Discussion / Encrypting text/passwords on: September 03, 2016, 04:31:28 am
So I became curious to creating a better method of encryting passwords, Thats when I began testing.

Well what do you think?

Is there better methods?

As well is it possible to receive this when logging in?

Code: [Select]
password <- "Password";

function onScriptLoad()
{
        local password = "Password";
        LoadModule("lu_hashing");
        print( "Encrypted text test: " + SHA1(password) + MD5(password) );
}
The output on print

SCRIPT: Encrypted text test:
8be3c943b1609fffbfc51aad666d0a04adf83c9ddc647eb65e6711e155375218212b3964
89  Liberty Unleashed / Support / Re: 0.17 server doesn't work under Win7 on: September 02, 2016, 06:46:12 pm
Make sure you guys post these bugs on the Mantis with all of the information you provided here. This will help VRocker and the other Developers hunt down the cause.

[Rant]
Sorry but SugarD Is Juppi still doing any work? As well Force, I'm sure Adtec is. Not too sure who all is actually still coding for LU.

*On topic
I have not received these errors in Linux, With the server.bin, As well server.exe. I just cant play the game due too the browser update.


For laughs Theremin could you try the server.exe in safe mode of windows? I know there is network issues with safemode, I'm just curious about the server not returning errors. And or a positive error led, It's just a what if suggestion.
90  Off Topic / General Chat / Re: Italy Earthquake on: August 26, 2016, 07:09:18 am
I had thought about Theremin as well. I am really saddened by this as well, Therefore my thoughts and prayers go out to all of them.
Pages: 1 ... 4 5 [6] 7 8 ... 18
© Liberty Unleashed Team.