Liberty Unleashed

Liberty Unleashed => Suggestions => Topic started by: Merkel on June 06, 2014, 12:17:03 am

Title: List of suggestions & bugs
Post by: Merkel on June 06, 2014, 12:17:03 am
Add.

· Check if the player have MP3 sounds (e.g. CheckMP3Folder ( player ) ) With file class is possible.
· Enable or disable CallServerFunc (e.g. DisableClientCall ( true/false ) )
· If the client script is already created, without edit, ignore. Check if the player have other script or be old & re-download.
· Add command log.
· Disable the logs in server config.
· Event: onConsoleSay
· Up allowable characters
· Clear any weapons, and not all. (Player.ClearWeapon(weaponid))
· Fix event: onPlayerWeaponChange
· Add more of 100 of HP and armour (Why not? Perfect for TDM!)
· Event: onServerCrash Squirrel problems... fu!
· * Function: Player.Sprint (bool) (For RPG!)
· * Function: Vehicle.Weight
· * Function: SetInvisibleCheat ( bool )
· * Function: Player.WeaponShake ( float ) (When the player aim with m16 and shoots, i have here the address, if is need)
· * Function: Player.Blood ( bool ) (Address here haha, enable/disable blood)


Bugs.

· When the garages are opening or closing, and you type /reconnect, are stopped.
· When the garages are opened, when you type /reconnect, are closed
· Fix skins from 26 to 29. (This is not a bug, 26-29, 122 - [the result of 26-29], GTA3 skins)
· Fix vehicles bug entering. ( *.ExitVehicle function and try to enter, bugged car )
· With timer + open + close garage door + while + bool = BUG (I lost the code, sorry, I can't post..)
· Cash bug, with reconnect the cash don't reset to 0. You need reset this via scripts when the player connects.
· s19 -> If try to return r, g or b value from Colour, it will return only r value.

Crashes.

· When the player receives the client files, crash, but is when the NUT is created, if already exists the nut with other code or not, don't crash.



· * New
Title: Re: [ Lst ] List of suggestions & bugs
Post by: sasha19323 on June 06, 2014, 02:59:59 am
Yet another bug: if try to return r, g or b value from Colour, it will return only r value.
Title: Re: [ Lst ] List of suggestions & bugs
Post by: Thijn on June 06, 2014, 02:03:20 pm
Why wouldn't you want to redownload scripts? They're tiny as hell and will only make sure scripts are up to date. Be happy it doesn't redownload sounds and sprites.

Also why would you want to know if a user has MP3's in his folder?
Title: Re: [ Lst ] List of suggestions & bugs
Post by: Merkel on June 06, 2014, 03:45:48 pm
Why wouldn't you want to redownload scripts? They're tiny as hell and will only make sure scripts are up to date. Be happy it doesn't redownload sounds and sprites.

Also why would you want to know if a user has MP3's in his folder?

Redownload the scripts if are modified.

And many players says: /sound 9!! /mp3!! (for example)
And if the players don't have MP3, crash.
Title: Re: [ Lst ] List of suggestions & bugs
Post by: Shadow. on June 06, 2014, 10:58:44 pm
Why wouldn't you want to redownload scripts? They're tiny as hell and will only make sure scripts are up to date. Be happy it doesn't redownload sounds and sprites.

Also why would you want to know if a user has MP3's in his folder?

Redownload the scripts if are modified.

And many players says: /sound 9!! /mp3!! (for example)
And if the players don't have MP3, crash.

what



what's so hard to make an array with garage IDs and make a function OpenGarageX for example to set 1 in the garage array for the given garage then do same for CloseGarage ?
Title: Re: [ Lst ] List of suggestions & bugs
Post by: Merkel on June 07, 2014, 12:34:50 am
Why wouldn't you want to redownload scripts? They're tiny as hell and will only make sure scripts are up to date. Be happy it doesn't redownload sounds and sprites.

Also why would you want to know if a user has MP3's in his folder?

Redownload the scripts if are modified.

And many players says: /sound 9!! /mp3!! (for example)
And if the players don't have MP3, crash.

what



what's so hard to make an array with garage IDs and make a function OpenGarageX for example to set 1 in the garage array for the given garage then do same for CloseGarage ?

okay ... lol

Client scripts:
 · Check if are up to date
    - No -> Download
    - Yes -> Ignore

fuck XD
Title: Re: [ Lst ] List of suggestions & bugs
Post by: sasha19323 on June 07, 2014, 02:38:23 am
Client scripts:
 · Check if are up to date
    - No -> Download
    - Yes -> Ignore

Hm, it already works like this, isn't it?
Title: Re: [ Lst ] List of suggestions & bugs
Post by: sasha19323 on June 15, 2014, 08:45:15 pm
Here's, anti-debugger code (for anti-trainers and hacks)


Source: http://www.mpgh.net/forum/showthread.php?t=195676 (http://www.mpgh.net/forum/showthread.php?t=195676)
Title: Re: [ Lst ] List of suggestions & bugs
Post by: Merkel on July 16, 2014, 06:48:02 pm
Fu, edited. The debugger is only for Cheat Engine, but not other things, like trainers.
Title: Re: List of suggestions & bugs
Post by: Thijn on July 16, 2014, 08:34:04 pm
· * Event: onServerCrash
Lol, and how do you expect this to work?
It's like requesting a dead person to tell his family he's dead. He can't, he's dead. Same goes with the server. It dies. You'd be happy if it was able to free up some memory before dying.
Title: Re: List of suggestions & bugs
Post by: sasha19323 on July 16, 2014, 11:36:31 pm
· * Event: onServerCrash
Lol, and how do you expect this to work?
It's like requesting a dead person to tell his family he's dead. He can't, he's dead. Same goes with the server. It dies. You'd be happy if it was able to free up some memory before dying.
e.g. Exception Handler
Title: Re: List of suggestions & bugs
Post by: Vortrex on July 17, 2014, 03:14:23 am
Exception handlers can be created with

Code: [Select]
seterrorhandler();
With one argument being the function to handle errors.
Title: Re: List of suggestions & bugs
Post by: Thijn on July 17, 2014, 11:45:04 am
That's not what sasha means. He means on a server level.
Still. The squirrel VM would be dead by the time the server notices it "crashes".
Title: Re: List of suggestions & bugs
Post by: Merkel on July 17, 2014, 12:11:57 pm
· * Event: onServerCrash
Lol, and how do you expect this to work?
It's like requesting a dead person to tell his family he's dead. He can't, he's dead. Same goes with the server. It dies. You'd be happy if it was able to free up some memory before dying.

Aha, and how we save any player data (kills, deaths, pos..) when is crashed?

Exception handlers can be created with

Code: [Select]
seterrorhandler();
With one argument being the function to handle errors.

How works?
Title: Re: List of suggestions & bugs
Post by: VRocker on July 17, 2014, 12:18:57 pm
onServerCrash is just not doable. Why? Because 99% of the time, the crash is caused by Squirrel so trying to push even more to something that has died will just end badly.
We are working on increasing the stability of the server to reduce the crashes as the server doesn't have an excuse for crashing.

As for the other stuff, i will look into the garages now (I actually have the source open! It's a miracle...) and at one point we did fix the colour bug but the code sortof got lost... That will be reimplemented soon :)
Title: Re: List of suggestions & bugs
Post by: sasha19323 on July 17, 2014, 12:21:41 pm
Exception handlers can be created with

Code: [Select]
seterrorhandler();
With one argument being the function to handle errors.


How works?

http://forum.liberty-unleashed.co.uk/index.php/topic,1839.msg10453.html#msg10453 (http://forum.liberty-unleashed.co.uk/index.php/topic,1839.msg10453.html#msg10453)
Title: Re: List of suggestions & bugs
Post by: Merkel on July 18, 2014, 03:04:23 am
onServerCrash is just not doable. Why? Because 99% of the time, the crash is caused by Squirrel so trying to push even more to something that has died will just end badly.
We are working on increasing the stability of the server to reduce the crashes as the server doesn't have an excuse for crashing.

As for the other stuff, i will look into the garages now (I actually have the source open! It's a miracle...) and at one point we did fix the colour bug but the code sortof got lost... That will be reimplemented soon :)

Oh, ok...
Title: Re: List of suggestions & bugs
Post by: Merkel on July 19, 2014, 01:09:16 am
Ok, another thing:

Is not need create an anti-debugger or similar, because, only the noobs uses trainers.

Method: Anti-renaming the window title name (Liberty Unleashed to GTA3) (PM if don't know for what), and prevent the change of the value of a address (PM for the address, needs pointer CPlayer and offset)
Title: Re: List of suggestions & bugs
Post by: SugarD on August 02, 2014, 04:59:44 pm
Ok, another thing:

Is not need create an anti-debugger or similar, because, only the noobs uses trainers.

Method: Anti-renaming the window title name (Liberty Unleashed to GTA3) (PM if don't know for what), and prevent the change of the value of a address (PM for the address, needs pointer CPlayer and offset)
Reminds me of the old-school MTA 0.5 anti-cheat system.