Author Topic: Update 0.1.0.15 (02/08/14)  (Read 4943 times)

Force

  • Developer
  • Full Member
  • *****
  • Posts: 204
  • Karma: +6/-2
    • View Profile
Update 0.1.0.15 (02/08/14)
« on: August 02, 2014, 02:42:12 am »
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:

  • Scripting - Fixed previously exploitable client script bugs
  • Scripting - Servers must now call RegisterRemoteFunc( "function" ) before client scripts can use them
  • Scripting - Removed Halt() from squirrel scripts
  • Scripting - Fixed the VM busy bug for internal squirrel function calls
  • Scripting - Fixed CGUILabel alpha not working
  • Scripting - Added a method to set a CGUISprite's alpha (Sprite.SetAlpha( blah ))
  • Scripting - Added ProcessLineOfSight to Squirrel - Client scripts: ProcessLineOfSight( Vector3 pos, Vector3 target )
  • Scripting - Added mouse movement/button related events to scripts - onClientMouseMove( short x, short y ), onclientMouseClick( int button, bool down, short x, short y ), onClientMouseWheel( bool moved )
  • Scripting - Fixed GUIMemobox.FontName
  • Scripting - Added scripting/gui lib functions to get/set mouse cursor position (client) - VectorScreen GetMouseCursorPos( void ), SetMouseCursorPos( VectorScreen pos )
  • Scripting - Fixed CGUIButton::SetTextColour
  • Scripting - Added buttons to squirrel GUI layers (SendBack, Forward, etc.)
  • Scripting - Fixed CUtils::ScreenToWorld
  • Scripting - Added a depth parameter to ScreenPosToWorld (client) - ScreenPosToWorld( float x, float y, float depth ), ScreenPosToWorld( Vector3 pos, float depth )
  • Scripting - Added Vector.Lerp() to squirrel
  • Scripting - Made ProcessLineOfSight return a table with the collision entity, position and model ID
  • Scripting - Fixed some facking stupid sphere/checkpoint related bugs (netcode related)
  • General - Fixed UGP spamming if it was queried with the wrong version
  • General - Fixed the -appendname commandline argument in the server only accepting 32 characters
  • General - Fixed a potential server crash when loading a script that has no Script.xml
  • Scripting - Fixed setting armour instead of health when calling player.Health in a client script
  • General - Fixed not being able to get in vehicles
  • General - Fixed a crash on join if sounds are added to the server
  • Scripting - You must now specify a script when using CallServerFunc (such as CallServerFunc( "main.nut", "function_name"); )

Known issues
  • Instances where a vehicle that has been teleported appears as invisible and will cause a crash when the remote player attempts to exit
  • Entities within entities are known to cause a crash
  • Remote players that don't fully enter a train and then attempt to exit will somtimes cause a crash
  • Sounds may not be working - unable to track down root issue

Notes

  • Those of you that are using compiled client scripts will find that they do not work anymore - anyone with a client script should now send them over uncompiled.

The update requires the new client (which the browser should download) and a new server for any server hosters. The new client and server have been compiled using Visual Studio 2013 (XP support), a new redistributable will be installed.
« Last Edit: August 02, 2014, 04:30:51 pm by Force »
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)

Merkel

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +4/-10
    • View Profile
Re: Update 0.1.0.15 (02/08/14)
« Reply #1 on: August 02, 2014, 02:47:19 am »
Nice!!! :D

Edit: What da ... I can't join, maybe fails when LU dll is injected? Singleplayer is launched ...
Edit 2: Yes, fails the inject. I injected manually with PerX and works...
Edit 3: GetTickCount64 isn't found (AUTO-DLL, Manual DLL nope)
AND LAST EDIT:

Error 403 forbidden when I try re-download again LU client.

And server didn't update lol...

*update:fix_some_errors->more_errors*
« Last Edit: August 02, 2014, 02:59:18 am by Merkel »
Westwood Studios

The best studios company in strategy videogames.

rwwpl

  • Full Member
  • ***
  • Posts: 125
  • Karma: +17/-6
  • LU-DM Team
    • View Profile
    • LU-DM Team
Re: Update 0.1.0.15 (02/08/14)
« Reply #2 on: August 02, 2014, 09:57:48 am »
The server does not to automatically update.

sasha19323

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +25/-24
    • View Profile
Re: Update 0.1.0.15 (02/08/14)
« Reply #3 on: August 02, 2014, 12:37:54 pm »
CallServerFunc doesn't work even if i register funcs via RegisterRemoteFunc. Can you exactly explain how to use it?

Vortrex

  • Full Member
  • ***
  • Posts: 264
  • Karma: +53/-69
    • View Profile
Re: Update 0.1.0.15 (02/08/14)
« Reply #4 on: August 02, 2014, 12:43:42 pm »
I have found several things wrong. I will add them to the bug tracker in a bit.
I will separate each different bug with a double return to help identify what is what.

The client installer is now blocked by Windows 8 by default. I have to manually allow it to run with the link I almost never found. It says the publisher is unknown.

ProcessLineOfSight only returns boolean "false", but the update post says it should return a table.
This was tried with both a clear and blocked line of sight.

ScreenPosToWorld is now not working.
It returns an instance in Vector form like it should, but ...
The vector is composed of "1.#R 1.#R 1.R"
Each object in the instance is "1.#QNAN"
It should be noted that typeof returns Vector, but its unusable.

Vector.Lerp isn't working. It's there and is a typeof "function" but it doesn't return anything.
I tried the Vector mentioned above with the issues, and also a valid Vector.

GetMouseCursorPos only returns an instance with both .x and .y like it should, but only one is set for both. I think the .x position is being set to .y as well, but I might have that backwards. I will check again to be sure.



The server never updated, even with the in-console command.

I am also having the same problem that sasha19323 is having. Client-to-server calls don't work anymore.

Also, some people have been complaining of slower gunfire with Uzi's and AK47's. After trying it myself, I can confirm that this is happening. Also, there wasn't a modded weapon.dat file in use.



« Last Edit: August 02, 2014, 01:33:00 pm by Vortrex »

Force

  • Developer
  • Full Member
  • *****
  • Posts: 204
  • Karma: +6/-2
    • View Profile
Re: Update 0.1.0.15 (02/08/14)
« Reply #5 on: August 02, 2014, 02:30:19 pm »
We will look into these issues that you've reported. With the SetMouseCursorPos and GetMouseCursorPos - try using VectorScreen( x, y ) instead of Vector3 - no idea if that will make a difference.

We all tested the installer on Windows 8 perfectly fine before the release so not sure what's wrong there.

I think ProcessLineOfSight is returning false because you're meant to push some parameters to it. The code for that was written a long time ago so I'm not sure what exactly you're meant to push. I think it is ProcessLineOfSight( Vector3 pos, Vector3 target ).
« Last Edit: August 02, 2014, 02:44:39 pm by Force »
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)

VRocker

  • Liberty Unleashed Developer
  • Administrator
  • Full Member
  • ******
  • Posts: 342
  • Karma: +42/-15
    • View Profile
    • Madnight Software
Re: Update 0.1.0.15 (02/08/14)
« Reply #6 on: August 02, 2014, 02:41:04 pm »
and this is what happens when people try and rush an update from developers that have very little time. Also what happens when your test 'team' says everything is fine. ???

And with Windows 8, fuck knows why it's suddenly blocking it. I guess it just doesn't like AdTec_224 releasing software.


SugarD

  • Argonath RPG Dev/Manager
  • Tester
  • Sr. Member
  • ****
  • Posts: 817
  • Karma: +37/-74
  • STOP IN THE NAME OF THE COLESLAW!
    • View Profile
    • Clan Xperience
Re: Update 0.1.0.15 (02/08/14)
« Reply #7 on: August 02, 2014, 04:31:18 pm »
and this is what happens when people try and rush an update from developers that have very little time. Also what happens when your test 'team' says everything is fine. ???

And with Windows 8, fuck knows why it's suddenly blocking it. I guess it just doesn't like AdTec_224 releasing software.
Windows 8 will block not well-known files from running if they came from the internet, and have not existed for very long. With the publisher unlisted, this might increase that issue.

VRocker: Have you since downloaded the publicized copy to test it in case someone may have uploaded the wrong one?

Force

  • Developer
  • Full Member
  • *****
  • Posts: 204
  • Karma: +6/-2
    • View Profile
Re: Update 0.1.0.15 (02/08/14)
« Reply #8 on: August 02, 2014, 04:32:00 pm »
With the CallServerFunc issue make sure that you are using it properly.

On the server you need to add RegisterRemoteFunc into script load, then on the client you need to use CallServerFunc.

Code: [Select]
CallServerFunc( "main.nut", "function_name", param );

Edit by VRocker: Note that CallServerFunc can't have null as the first argument anymore. If the first argument is null then it won't work.
« Last Edit: August 02, 2014, 05:45:12 pm by VRocker »
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)

rwwpl

  • Full Member
  • ***
  • Posts: 125
  • Karma: +17/-6
  • LU-DM Team
    • View Profile
    • LU-DM Team
Re: Update 0.1.0.15 (02/08/14)
« Reply #9 on: August 02, 2014, 06:11:28 pm »
Small bug


VRocker

  • Liberty Unleashed Developer
  • Administrator
  • Full Member
  • ******
  • Posts: 342
  • Karma: +42/-15
    • View Profile
    • Madnight Software
Re: Update 0.1.0.15 (02/08/14)
« Reply #10 on: August 02, 2014, 06:23:20 pm »
Small bug




lol woops... and that's why you don't shove an update out after being awake 19 hours. Will change that now


sasha19323

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +25/-24
    • View Profile
Re: Update 0.1.0.15 (02/08/14)
« Reply #11 on: August 02, 2014, 08:19:09 pm »
Another bug: objects from content.xml don't works properly. Angle of objs isn't right.

Blazy

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Update 0.1.0.15 (02/08/14)
« Reply #12 on: August 02, 2014, 08:19:54 pm »
Im having strange slow motions , that i never had in the past updates  :-\


rwwpl

  • Full Member
  • ***
  • Posts: 125
  • Karma: +17/-6
  • LU-DM Team
    • View Profile
    • LU-DM Team
Re: Update 0.1.0.15 (02/08/14)
« Reply #13 on: August 03, 2014, 04:11:01 pm »
There's small bug in changelog on wiki.
Update 0.1.0.15 (02/07/2014)

08 not 07

niCe

  • Newbie
  • *
  • Posts: 42
  • Karma: +7/-5
    • View Profile
    • GTA-Multiplayer.cz
Re: Update 0.1.0.15 (02/08/14)
« Reply #14 on: August 04, 2014, 08:40:40 am »
Thanks for the update! However, I still can't start LU as it opens singleplayer.


GTA-Multiplayer.cz - game servers for SA-MP, VC:MP, IV-MP and Liberty Unleashed.

play.gta-multiplayer.cz:2301

 

© Liberty Unleashed Team.