Author Topic: Update 0.1.0.14 (09/11/2013)  (Read 6062 times)

Force

  • Developer
  • Full Member
  • *****
  • Posts: 204
  • Karma: +6/-2
    • View Profile
Update 0.1.0.14 (09/11/2013)
« on: November 09, 2013, 08:35:18 pm »
Liberty Unleashed 0.1 Update

Updates to Liberty Unleashed 0.1 have been released, they will be automatically applied the next time you restart your server browser, the following changes include:

  • Fixed the server checking for updates every 84000 milliseconds (Changed to 12 hours)
  • Reset health and weapons on reconnect
  • Fixed a crash related to vehicle alpha channels
  • Fixed a buffer overflow
  • Fixed the spawnscreen spamming spawned packets on reconnect
  • Made the crashed packet send as soon as the exception handler displays
  • Cleaned up a lot of memory on disconnect (helps fix reconnect bugs)
  • Fixed sirens and locked states of vehicles being incorrectly set on initial connect and reconnect
  • Fixed dying if /reconnecting while in a vehicle
  • Fixed a crash in the client when removing radar markers
  • Fixed a crash when starting/stopping bad timers
  • Fixed a crash relating to not enough memory for audio objects
  • Fixed editboxes stealing focus from other GUI objects
  • Fixed the password being displayed in editboxes when clicking off and back on to editboxes
  • Fixed a crash with the BF injection when repairing a vehicle out of streaming range of other players then other players trying to enter it
  • Fixed some bugs with handling data
  • Changed the invalid nick character to ?
  • Fixed being able to load client scripts when you shouldn't be (now shouts about checksum mismatch)
  • Fixed BF Injection crash (again)

The update requires the new client (which the browser should download) and a new server for any server hosters.
Quote
[Tue - 20:09:35] <&VRocker> CRAP!
[Tue - 20:09:43] <&VRocker> i think i just followed through...
Quote
[Sat - 22:11:56] <~Smapy> [R3V]breSt12 killed [R3V]Jack_Bauer. (Splat)

GuenosNoLife

  • Jr. Member
  • **
  • Posts: 77
  • Karma: +11/-14
    • View Profile
Re: Update 0.1.0.14 (09/11/2013)
« Reply #1 on: November 09, 2013, 10:25:25 pm »
Yeah, great Update!
Little back... Maybe not maybe yes...

ZX_Lost_Soul

  • Newbie
  • *
  • Posts: 25
  • Karma: +1/-1
    • View Profile
Re: Update 0.1.0.14 (09/11/2013)
« Reply #2 on: November 09, 2013, 10:31:32 pm »
Glad to see that LU alive and updtying :)

But images/sounds don't downloading after update. And there is a crash when you join the server at first time.

Can you fix a little bug, please? Cyrillic lowercase letter (letter code: -1) don't works in the game chat and messages, it moves cursor left instead of typing letter. That is upsets Russian players very much(

p.s. And can you tell me, please, how to bind "chat open" on the Enter key instead of T? I can't find it in the Wiki...
« Last Edit: November 09, 2013, 11:03:57 pm by ZX_Lost_Soul »
My English is very poor, please try to understand me)

Mido_Pop

  • Full Member
  • ***
  • Posts: 169
  • Karma: +6/-20
  • The_Pops ( War )
    • View Profile
Re: Update 0.1.0.14 (09/11/2013)
« Reply #3 on: November 10, 2013, 07:03:05 am »
What About Fixing Remove Objects When I Type /Reconnect ?  :-\



sasha19323

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +25/-24
    • View Profile
Re: Update 0.1.0.14 (09/11/2013)
« Reply #4 on: November 11, 2013, 08:32:46 pm »
Look at "Mess about server". Guess who? ::)

ZX_Lost_Soul

  • Newbie
  • *
  • Posts: 25
  • Karma: +1/-1
    • View Profile
Re: Update 0.1.0.14 (09/11/2013)
« Reply #5 on: November 12, 2013, 04:56:04 am »
Don't you think to add a secure key to all your server functions?

Code: [Select]
function blablabla(nam, val, key) {
if(key!="a54u34bj3") return;
...
}

And call like this:
Code: [Select]
blablabla("winner", 5, "a54u34bj3");
It will protect from custom client scripts hacks. Also you can use a classes. If you don't do it - it will be unsafe and hackable anyway :)
« Last Edit: November 12, 2013, 05:07:37 am by ZX_Lost_Soul »
My English is very poor, please try to understand me)

sasha19323

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +25/-24
    • View Profile
Re: Update 0.1.0.14 (09/11/2013)
« Reply #6 on: November 12, 2013, 05:12:55 am »
Don't you think to add a secure key to all your server functions?

Code: [Select]
function blablabla(nam, val, key) {
if(key!="a54u34bj3") return;
...
}

And call like this:
Code: [Select]
blablabla("winner", 5, "a54u34bj3");
It will protect from custom client scripts hacks. Also you can use a classes. If you don't do it - it will be unsafe and hackable anyway :)
Nice idea, but you can't add something like that to function "Message". Even if you can and you call some function via client script I can see your key and use.

I thought about the security and all ways to secure the server and I realize that all this ways can't secure the server except one - randomize Lu.DLL memory addresses.
« Last Edit: November 12, 2013, 05:45:32 am by sasha19323 »

ZX_Lost_Soul

  • Newbie
  • *
  • Posts: 25
  • Karma: +1/-1
    • View Profile
Re: Update 0.1.0.14 (09/11/2013)
« Reply #7 on: November 12, 2013, 05:42:06 am »
Nice idea, but you can't add something like that to function "Message". Even if you can and you call some function via client script I can see it.
PM :)

*Using 0.1.0.12 an waiting for 0.1.0.14 onjoin crash fix*
My English is very poor, please try to understand me)

Nihau

  • Newbie
  • *
  • Posts: 49
  • Karma: +27/-18
    • View Profile
Re: Update 0.1.0.14 (09/11/2013)
« Reply #8 on: November 12, 2013, 11:26:17 am »
Nice idea, but you can't add something like that to function "Message". Even if you can and you call some function via client script I can see your key and use.
Are we talking about compiled scripts?  If so, what about this code

Code: [Select]
alphabet letters:
a <- ["a","b","c","d"];
A <- ["A","B","C","D"]; //in case if you need large words
local name_encrypted = a[0] +[1] +[2] +[3]; // SIMPLE EXAMPLE
local path_encrypted=  a[blah] + a[blah] + a[blah]+ a[blah]+ a[blah]+ a[blah];

CallServerFunc(path_encrypted ,name_encrypted , Localplayer, int params );

I've used that in 2011 year, when i started development of my server ( current state - *finished* ).

Anything can be encrypted , anywhere.
« Last Edit: November 12, 2013, 11:28:58 am by Vetal »

sasha19323

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +25/-24
    • View Profile
Re: Update 0.1.0.14 (09/11/2013)
« Reply #9 on: November 12, 2013, 11:40:19 am »
Nice idea, but you can't add something like that to function "Message". Even if you can and you call some function via client script I can see your key and use.
Are we talking about compiled scripts?  If so, what about this code

Code: [Select]
alphabet letters:
a <- ["a","b","c","d"];
A <- ["A","B","C","D"]; //in case if you need large words
local name_encrypted = a[0] +[1] +[2] +[3]; // SIMPLE EXAMPLE
local path_encrypted=  a[blah] + a[blah] + a[blah]+ a[blah]+ a[blah]+ a[blah];

CallServerFunc(path_encrypted ,name_encrypted , Localplayer, int params );

I've used that in 2011 year, when i started development of my server ( current state - *finished* ).

Anything can be encrypted , anywhere.
And var's name can be encrypted, really? Turn on the server with some special key addicted function  which will message random string and i'll try to call it.

Nihau

  • Newbie
  • *
  • Posts: 49
  • Karma: +27/-18
    • View Profile
Re: Update 0.1.0.14 (09/11/2013)
« Reply #10 on: November 12, 2013, 12:14:42 pm »
Quote from: sasha19323
And var's name can be encrypted, really? Turn on the server with some special key addicted function  which will message random string and i'll try to call it.
As far as i remember:

Variables names (both global and local).
Custom function names
LU functions names

This can't be encrypted.

But if you can retrieve data from  variables, then this is big security hole for Liberty Unleashed.

Nihau

  • Newbie
  • *
  • Posts: 49
  • Karma: +27/-18
    • View Profile
Re: Update 0.1.0.14 (09/11/2013)
« Reply #11 on: November 14, 2013, 08:48:05 am »
TO LU DEV TEAM:

I suggest
1. For client script part - save it each time you connect to the server to the RAM ( Read only memory).
2. Create RAM protection.

Ask your colleagues from MTA how they done protection against various tools that can work with memory.

sasha19323

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +25/-24
    • View Profile
Re: Update 0.1.0.14 (09/11/2013)
« Reply #12 on: November 14, 2013, 09:46:49 am »
Another way to make this flaw not so powerful is disable calling LU functions via client, just custom functions to call.

sasha19323

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +25/-24
    • View Profile
Re: Update 0.1.0.14 (09/11/2013)
« Reply #13 on: November 14, 2013, 09:49:54 am »
Ask your colleagues from MTA how they done protection against various tools that can work with memory.
As I remember VCMP 0.4 have same protection.

Nihau

  • Newbie
  • *
  • Posts: 49
  • Karma: +27/-18
    • View Profile
Re: Update 0.1.0.14 (09/11/2013)
« Reply #14 on: November 14, 2013, 05:04:29 pm »
Ask your colleagues from MTA how they done protection against various tools that can work with memory.
As I remember VCMP 0.4 have same protection.
Yes, but very primitive. Current protection in MTA  maybe  one of the best, but i can't say for sure.

PS, After such discussions i feel hungry for new knowledge, i want  learn n code on C , C++  :)

 

© Liberty Unleashed Team.