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 [2] 3 4 ... 8
16  Liberty Unleashed / Support / Re: Bruh serious problem on: August 21, 2016, 10:15:14 pm
After updating it didn't work this happens again  :-\ 

Run Windows Update, install the several hundred updates that you are missing and try again.
17  Liberty Unleashed / Bug Reports / Re: XML help on: August 20, 2016, 08:19:24 am
Code: [Select]
if (command == "banlist") {
    local list = XmlDocument();
    list.LoadFile("banlist.xml");
       
    local element = list.FirstChild().FirstChild();
    local i = 0;

    while (element != null) {
    local no_name = false;
      local ip = element.GetAttribute("ip"), name = element.GetAttribute("name"), uid = element.GetAttribute("luid");
      local reason = ReadIniString(DATA_PATH+"bans.ini", "reason", uid);
      if (reason == "") reason = " Unknown";
        if (name == "0") no_name = true;

      if (!no_name) MessagePlayer("ID "+i+" | Name: "+name+" ("+ip+") | Reason:"+reason, player, White);
      else MessagePlayer("ID "+i+" | UID: "+uid+" ("+ip+") | Reason:"+reason, player, White);

      element = element.NextSibling();
      i ++;
    }

    if (i == 0) return MessagePlayer("No bans", player, Red);
    return true;
  }
18  Liberty Unleashed / Bug Reports / Re: XML help on: August 20, 2016, 12:51:27 am
element.GetAttribute("Name");

Also you shouldn't use XML because there is no way to close the file.
19  Liberty Unleashed / Bug Reports / Liberty Unleashed Issues List on: August 17, 2016, 06:43:48 pm
Since this topic is outdated and this one is a copy of the first one and even Mantis has 0.1.0.16 as the latest, I decided to make a new list updated and most clear possible.



- 0.1.0.17 -
  • [Server] Player.Spawn(); calls twice onPlayerSpawn event
  • [Server] GetHandlingCheat doesn't return right values sometimes - seems like there's just array with booleans, which LU doesn't clean on player leaving
  • [Server] IsMouseCursorShowing, same as GetHandlingCheat
  • [Server] Pickup.Pos is read-only, can't be settable
  • [Server] onPlayerArmourChange and onPlayerHealthChange doesn't get called when you set the armour or the health (Possible solution: call the event manually)
  • [Client] Player gets crashed when there is GUI stuff and does /reconnect (Possible solution: GUI memory free)
  • [Client] Player.Train always returns true value
  • [Client] Pickup doesn't respawn after >330 times (video)
  • [Client] Player.Angle is read-only
  • [Client] Multiple Player.SetAnim can crash the players
  • [Client] Memory check timeout (Possible solution: update RakNet to latest version)
  • [Client] Player in vehicle with Uzi and ammo 0 can kill players
  • [Client] GetHUDItemEnabled just returns always one value
  • [Client] VectorScreen returns just 'x' value
  • [Client] Vehicle.Collidable makes the vehicle bigger and bigger when you are driving
  • [Client] Spheres become invisibles around 35-40 when the player exits and joins again
  • [Client] Player name being showed without no colors after setting it with Player.ColouredName
  • [Client] Object.VirtualWorld isn't being updated
  • [Client] After setting many times the handling for a vehicle it can't be updated anymore
  • [Client] Players get stuck in the player jump status when they are jumping and gets disconnected (Possible solution: set back the player status to 0)
  • [Client] When a player is jumping and his skin gets changed his player status gets stuck (Possible solution: set back the player status to 0)
  • [Client] When the player spawns and his player wanted level is more than 1, it gets resetted to 0 (Possible solution: set back again the wanted level when he spawns)
  • [Client] Objects crashes: first, second
  • [Client] Player.Marker sets to XYZ 0, 0, 0 when it's your marker and you can see it there
  • [Client] Player.Alpha doesn't work with Claude
  • [Sync] Player.Colour (marker blip) doesn't get updated sometimes until you are near from the player
  • [Sync] When someone is laggy (with high ping or low fps) and he's killed sometimes with vehicle appears like having 100 HP
  • [Sync] Sometimes when the player is on the ground and was hitted by a shotgun is invisible
  • [Sync] When there are many CallClientFunc or CallServerFunc happens randomly packet loss
  • [Sync] Rocket Launcher with 1 rocket sometimes isn't synced

- 0.1.0.16 -
  • [Sync] Random colours of vehicles are sometimes desynced - proven by [WS]Teddy - Unknown
  • [Sync] When a player is driving a vehicle and is tp'ed is invisible (sometimes) - Unsolved / achnowledged
  • [Client/Server] Colour class returns .g, .b with .r value - Unsolved
  • [Client/Server] Player.WeaponAmmo doesn't update every shot, but only on weapon change - Unsolved
  • [Server] LU doesn't load custom LU/data/weapons.dat - Unsolved
  • [Server] GetHUDItemEnabled doesn't return right bool - Unknown
  • [Client] Game crashes with modded cars (Infernus and cheetah mainly with a custom dff) - Unsolved
  • [Client] Objects disappears on explosions or reconnect. - Unsolved
  • [Client] Starting chat typing 'T' and pressing TAB is causing a crash. - Solved
  • [Client] LUID is using HDD serial number which can be easily spoofed. - Solved
  • [Client]  BF Injection when respawns has a invisible door. - Solved



Feature requests:
  • [Browser] Option: set resolution
  • [Browser] Remove GTA:VC directory
  • [Server/Client] New Player.Marker param to show someones marker only for team or Blip.AttachToEntity
  • [Server/Client] Scripted scoreboard
  • [Server/Client] SetPlayerWeather/SetPlayerTime
  • [Server/Client] Set Player.RemoveFromVehicle position
  • [Server/Client] onPlayerWeaponShoot(player, weapon, position)
  • [Server/Client] SetWastedSettings(time, rgb)
  • [Server/Client] PlayFrontEndTrack(player, sfx filename)
  • [Server] Custom weapon settings for a single player
  • [Server] Custom timecyc.dat
  • [Server] Part reason: PARTREASON_RECONNECT
  • [Server] Vehicle.GetEngineState
  • [Server] XmlDocument.Close
  • [Server] Attach object to player/vehicle
  • [Client] Player.RemoveFromVehicle
  • [Client] Vehicle.TaxiLight
  • [Client] Attach player camera to a object/vehicle
  • [Client] Check client files before connect
  • [Client] BASS library functions
  • [Client] Fast spawn
  • [Client] onPlayerPause(player, bool status)
  • [Client] Sound.Loop
20  Liberty Unleashed / Support / Re: problem with LU launcher on: August 17, 2016, 05:37:02 pm
After updating it didn't work this happens again  :-\ 

Run Windows Update, install the several hundred updates that you are missing and try again.
21  Scripting / Script Snippets / Re: Pseudo 3D sound on: August 11, 2016, 07:02:49 pm
*bump*

Code: [Select]
pSounds <- [];

const MAX_RADIUS = 127; //maximal volume
class PosSound
{
  constructor(name, pos, r, ...)
  {
    Pos = pos;
    Name = name;
    Radius = r;
    Sound = ::FindSound(name);

    if (vargv.len() >= 2) {
      Loop = vargv[0];
      Duration = vargv[1];
    }

    if (Sound)
    {
      Sound.Open();
      ::pSounds.push(this);
    }
    else
      this.clear();
  }

  function Play()
  {
    if (Sound)
    {
      Ticks = ::GetTickCount();

      if (IsPlaying == false)
      {
        Sound.Play();
        IsPlaying = true;
      }
    }
  }

  function Reset()
  {
    if (Sound)
    {
      Sound.Close();
      Sound.Open();

      IsPlaying = false;
    }
  }

  function Stop()
  {
    if (Sound)
    {
      if (IsPlaying == true)
      {
        Sound.Stop();
        IsPlaying = false;
      }
    }
  }
  function Pause()
  {
    if (Sound)
    {
      if (IsPlaying == true)
      {
        Sound.Pause();
        IsPlaying = false;
      }
    }
  }

  Name = "";
  Pos = Vector(0,0,0);
  Radius = 127;
  Sound = null;
  IsPlaying = false;
  Loop = false;
  Ticks = 0;
  Duration = 0;
}

pPlayer <- FindLocalPlayer();
function onClientRender()
{
  for (local i = 0; i < pSounds.len(); i++)
  {
    local dist = GetDistance(pPlayer.Pos, pSounds[i].Pos).tointeger();
    if (dist <= pSounds[i].Radius)
    {
      pSounds[i].Sound.SetVolume(MAX_RADIUS/pSounds[i].Radius*(pSounds[i].Radius-dist));
      if (!pSounds[i].IsPlaying)
        pSounds[i].Play();
      else {
        if ((GetTickCount()-pSounds[i].Ticks) >= (pSounds[i].Duration*1000) && pSounds[i].Loop) {
          pSounds[i].Reset();
          pSounds[i].Play();
        }
      }
    }
    else
    {
      if (pSounds[i].IsPlaying)
        pSounds[i].Sound.SetVolume(0); //Pause doesn't work properly, so just setting volume to 0
    }
  }

  return 1;
}

Just a little new parameter: sound infinite looping.

Usage: PosSound(char* "sound.wav", Vector3 Vector(0, 0, 0), float radius, bool loop, int duration);
22  Liberty Unleashed / Suggestions / Re: Any quick link to the Bugtracker from the Main/Portal page? on: August 11, 2016, 01:50:25 pm
http://mantis.liberty-unleashed.co.uk/my_view_page.php
23  Liberty Unleashed / Support / Re: Crashing CreatePickup function on: August 02, 2016, 04:00:13 pm
Could you provide us more code after that line?
24  Scripting / Script Help / Re: Database never updates [Sq-Lite] on: August 01, 2016, 10:12:52 pm
Format is only useful if you need replace or add something to a string, e.g:

"Around %i of my schoolmates were to %s"

- %i: integer
- %s: string
- %f: float

so: format("Around %i of my schoolmates were to %s", 30, "the party");

%i will be replaced with the integer 30 and %s with the string "the party"



You had a starting ' without finish it. For update a string you need to complete it, so: " Auto_Login='"+Auto_Login[player.ID]+"' ". In integers you don't need any '.
25  Scripting / Script Help / Re: Database never updates [Sq-Lite] on: August 01, 2016, 04:01:13 pm
Code: [Select]
function onUpdatePlayerAccount(player, statDB) {
local szquery = "UPDATE Stats SET Auto_Login=" + Auto_Login[ player.ID ] + ", Kills=" + Kills[ player.ID ] + ", Deaths=" + Deaths[ player.ID ] + ", Money=" + Money[ player.ID ] + ", Bank=" + Bank[ player.ID ] + ", Skin=" + player.Skin + ", Wanted_Level=" + player.WantedLevel + ", Health=" + player.Health + ", Armour=" + player.Armour + " WHERE Name='" + player.Name + "'";
sqlite_query( statDB, szquery );

MessagePlayer("Done", player);
}
26  Servers / General Server Chat / Re: Request for removing the server on: August 01, 2016, 12:19:55 pm
No admins never
... blabla

There were admins some YEARS later.
27  Servers / General Server Chat / Re: Request for removing the server on: July 31, 2016, 08:55:05 pm
Of course I have checked that the script is the same, with only few changes made to the leaked source code. Everyone, who is around LU since 2012 knows that this is my work and that this script was running always on GTA-MP.CZ server. Our server was also one of the LU official servers.

//Edit: Oh, you are the owner of that server, who is running stolen script. Aren't you feeling ashamed of yourself, that you are abusing someone else's work? It took hundreds of hours of time to script everything in that script properly and get rid of the bugs. And now you think you can just run this script and make others think it is your work?

If my server looks similar or with same or some features similar it doesn't mean it's the same base, the server structure is fully different from yours. Making a cops'n'robbers, jailbreak or some gamemode on a multiplayer e.g. SA-MP no one says nothing because there are many servers with that gamemode, but when that multiplayer has a low player count they blame the owners by copying another else, seriously? Are you smart, or, better, are you a rational human?

"It took hundreds of hours of time to script everything in that script properly and get rid of the bugs" - Oh c'mon, and how much it took to you fix the account exploiting way? It was fixed but some days later! How much time it took to you to fix when you were logging up before spawn? It wasn't fixed! How much time it took to you to fix givecash command? It was disabled instead of be fixed! How much time it took to you to add a timer looping until check if someone was with Player nick? It wasn't fixed! I could you tell more bugs you had along the server were online.

Your server was just official because it was popular to many years when shouldn't because there was no admins never. You look like you just want the premium being bought by the players instead of the server management.

Also, did you see the PM? It looks like you didn't.
28  Servers / General Server Chat / Re: Request for removing the server on: July 31, 2016, 05:17:36 pm
You have nothing to prove it's using your script, did you join before make this useless topic? I bet you didn't.

Take a look:
https://www.youtube.com/watch?v=GFrkKmAWPmU
https://www.youtube.com/watch?v=Pl69c_tpipw
https://www.youtube.com/watch?v=caCGyUgc7i0

Also check your inbox and watch that video.

I never though someone could be so dense and manipulative.
29  Liberty Unleashed / Liberty Unleashed Chat / Re: Memory check fix on: July 15, 2016, 07:39:14 pm
It works as intended (and have yet to see a case where it wasn't working as intended) with one minor side-effect minimizing the game will cause the anti-cheat to kick you as minimizing stops all game and net processing.

http://stackoverflow.com/questions/10091229/is-it-possible-to-programmatically-prevent-a-game-from-pausing-when-its-window-l
No ban was issued by me (or anyone as far as i'm aware) for the creation of this topic or any of the previous ones on this subject.

I'm sure it was you bcs you did the same like now.
This is a free mod, we don't get paid for working on it and when most of us have been coding all day and get home the last thing they feel like doing is coding some more, they are entitled to some free time you know.

Ask VRocker to add a donations button, I'm sure some people will donate.
What i mean is it's people like you, with an attitude like yours (as you can see from the last quote) that stop us thinking 'you know what'll be a good use of our free time, sitting down and working on LU'.

Sorry for that attitude then, I hate see this project being dead or being killed by laziness developers who even (like you) don't want see these little fixes when most of the haxxs being used gets outdated in just 1 line change.
30  Liberty Unleashed / Liberty Unleashed Chat / Re: Memory check fix on: July 15, 2016, 01:07:31 pm
There was no ban, ...

wat, I could post here with a pic of the ban message I could remember my account, was written with caps and rage.

It's exactly this kind of thing that stops us as developers having the motivation to continue working on a free mod.

wat

This isn't a fix at all and actually breaks part of the anti-cheat which is why the first two topics were removed.

Soooooooooooooooooooooooooooooooooooooooooo? If the client doesn't doesn't check itself properly it doesn't mean "it breaks part of the anticheat" cos IT'S already broken, and you, developers, can't release a hotfix because "we have no time", "we have a job", "we have a life", instead you are playing Rocket League, GTA 5 or Borderlands (thx steam).
Pages: 1 [2] 3 4 ... 8
© Liberty Unleashed Team.