Author Topic: List of suggestions & bugs  (Read 6183 times)

Merkel

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +4/-10
    • View Profile
List of suggestions & bugs
« 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
« Last Edit: July 18, 2014, 03:06:22 am by Merkel »
Westwood Studios

The best studios company in strategy videogames.

sasha19323

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +25/-24
    • View Profile
Re: [ Lst ] List of suggestions & bugs
« Reply #1 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.

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: [ Lst ] List of suggestions & bugs
« Reply #2 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?

Merkel

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +4/-10
    • View Profile
Re: [ Lst ] List of suggestions & bugs
« Reply #3 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.
Westwood Studios

The best studios company in strategy videogames.

Shadow.

  • Tester
  • Full Member
  • ****
  • Posts: 144
  • Karma: +16/-35
    • View Profile
Re: [ Lst ] List of suggestions & bugs
« Reply #4 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 ?

Merkel

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +4/-10
    • View Profile
Re: [ Lst ] List of suggestions & bugs
« Reply #5 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
« Last Edit: June 07, 2014, 12:39:24 am by Merkel »
Westwood Studios

The best studios company in strategy videogames.

sasha19323

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +25/-24
    • View Profile
Re: [ Lst ] List of suggestions & bugs
« Reply #6 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?

sasha19323

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +25/-24
    • View Profile
Re: [ Lst ] List of suggestions & bugs
« Reply #7 on: June 15, 2014, 08:45:15 pm »

Merkel

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +4/-10
    • View Profile
Re: [ Lst ] List of suggestions & bugs
« Reply #8 on: July 16, 2014, 06:48:02 pm »
Fu, edited. The debugger is only for Cheat Engine, but not other things, like trainers.
Westwood Studios

The best studios company in strategy videogames.

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: List of suggestions & bugs
« Reply #9 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.

sasha19323

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +25/-24
    • View Profile
Re: List of suggestions & bugs
« Reply #10 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

Vortrex

  • Full Member
  • ***
  • Posts: 267
  • Karma: +54/-73
    • View Profile
Re: List of suggestions & bugs
« Reply #11 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.

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: List of suggestions & bugs
« Reply #12 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".

Merkel

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +4/-10
    • View Profile
Re: List of suggestions & bugs
« Reply #13 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?
Westwood Studios

The best studios company in strategy videogames.

VRocker

  • Liberty Unleashed Developer
  • Administrator
  • Full Member
  • ******
  • Posts: 342
  • Karma: +43/-15
    • View Profile
    • Madnight Software
Re: List of suggestions & bugs
« Reply #14 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 :)


 

© Liberty Unleashed Team.