Giter VIP home page Giter VIP logo

els-plus's People

Contributors

dexslab avatar ejb1123 avatar plunkettscott avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

els-plus's Issues

Preset Patterns

Preset patterns over 63 for Primary lights (PRML) do not work and error out,
Preset patterns not set to 0 on Secondary(SECL) and Warning lights (WRNL) do not work and error out.

Temporary fix is to set the preset pattern enabled setting to false

ELS+ lag spikes

Doesn't seem to be a sync issue, some players get the ELS+ lagging the resource, some have no issues at all, attempted several hot fixes, to no avail.

Wm server sided sirens

Morning

Im looking at using this els script but want to use wm serversided sirens with it or is there a way to install my own sirens within the script ?

How do i go around doing this

Thanks

Nothing happens

I installed a ELS car but nothing happens, and on the normal police cars doesn't work.

Creating a non-networked vehicle will cause console spam

Spawning and getting into a non-networked vehicle will spam the console with:
image

repro code:

RequestModel("taxi")
while not HasModelLoaded("taxi") do
	Citizen.Wait(100)
end
playerCoords = GetEntityCoords(GetPlayerPed(-1))
currentGoKart = CreateVehicle("taxi",playerCoords.x,playerCoords.y,playerCoords.z,0.0,false,false)
TaskWarpPedIntoVehicle(GetPlayerPed(-1), currentGoKart, -1)

This spam is caused by els, as stopping the resource stops the spam, I assume its constantly trying to call NetworkGetEntityFromNetworkId

Bug and a suggestion:

Currently for the bug you cannot enter the map using P or the Start Button(xbox) when in a ELS vehicle.

And for a suggestion add a way to use B Button(xbox) to cycle through sirens when in LS3 and blip your siren when not in LS3(in LS2, LS1, and none).

A question: The walls and grass seem to light up, but the ground doesnt. I dont know if thats a bug or something with my visual mod.

Thank you.

Some errors

I've got everything set up and installed properly. Screens from one of my cars:

But we get this error in the console/chat:
"Instantiated instance of script ELS_Server.Class1."

And 2 different errors in the F8 console:
https://imgur.com/a/ABJ4nJq

How do I fix this because some cars don't work well either

Can this be solved?
Or do you have to use the new version, but I don't know how to convert a source code to a release.

Hud not working

I was testing some new cars today and I noticed when I turned the ELS control panel on the numbers were not changing while I was changing patterns, nor were the lights syncing on the panel. It seems to stop working when you have your lights on and exit the vehicle and get back in. here is a video https://youtu.be/cHh1b52w2pE I will keep this issue updated if I figure anything else out.

I can’t start els-plus.

I can’t start els-plus I followed all the instructions but I couldn’t, because I can’t find the __resource.lua in els-plus.
You can help me?

listen for resource start and stop

Listening for when a resource starts can allow the server to automatically push and update new configs.
and listening for stopping can be used to run specific cleanup code.

Console Spam due to leftovers of deleted vehicles and non networked vehicles causing lag and console spam

Whenever a vehicle is suddenly deleted (not sure if the same case is true for exploded vehicles) by for example esx_jobs it seems to not realise the vehicle is gone and after a while it starts massively spamming the console quite a bit.
Another issue is with certain garage plugins which don't network the cars to other players (ESX has commands built in to spawn only locally) and this causes massive lag because of the amount of console spam the errors produce because it tries to get a non existent network ID, I tried fixing it myself with NetworkGetEntityIsNetworked() but didn't really know where to put the checks exactly so just ended up causing more and more issues with NullPointers.
I'm running the latest builds from the dev branch from the friendsincode (https://git.friendsincode.com/PFM/ELS-Plus/tree/dev) couldn't send an issue there without an account so did it here instead.

ELS-Plus bugg Network Overflow

I have been using ELS-Plus for my fiveM server for a while now. But since the time that there are 2 or more players in my server and vehicles are used that have ELS, everyone who is in an ELS vehicle is picked / crashed with the reason: Network Overflow.

OneSync: local entity client console spam

Case is we got a carshop, where you can see the vehicle before you buy them.
The entity/vehicle is created as non-networked, as it is not needed.

This causes els-plus to spam this in client-console:
image

Notice this is on FiveM with OneSync enabled. If I make the entity networked, the error is gone.
But as we dont need the entity to be networked, then... yeah 🤷‍♂

Getting some errors on the .xml file

Hello folks,
I'm getting this error/messages

ELS-Plus: Checking firetruk.xml
ELS-Plus: XML Pattern data for firetruk.xml is not valid

Could someone give some more information about this message? I get this message with a lot of the .xml els files.

Kind regarts,

__resource

there is no __resource file included, maybe I can get one made or a link to a place I can download _it?

server slows to a halt

everytime we have a patrol the server slows to a crawl almost stopping any plugin files to be streamed. And Only happens when more then 3 els cars are running lights.

Installation

I seriously need someone to help me install this I am so lost with the tutorial and my server wont start because I did it wrong.

cars making beeping sounds while lights are on

Some cars do this as others do not (all cars are ELS models) when on the scene with lights on just sitting their serine is off, they make quick serine blip sounds but once the user leaves the car with lights on it stops

cannot load resource!

Followed all instructions and I don't get any error in the command prompt.
When I go to join the server it says it cannot load the resource.
I've tried on my public server, and on a fresh made local server. Both give me the same thing.
Does regular ELS need to be installed? If so that could be my problem!
If not, I have no idea...

I have oveflows with onesync infinity with ELS-Plus

I have a lot of network oveflows since i enabled onesync infinity on our server. I opened Network Event Log and i see a lot of ELS spamming mostly ELS:FullSync:removestale if i could get some help it would be nice. Maybe discord is easier but i don't have your discord link.

Latest Release Bugs:

UI on start stays opened and will not close.
ELS Vehicles not being detected even with is_els = true at the bottom of a resource lua. Had no issues with previous version, only latest update found on the git page

vehicle gets deleted

This is caused by the script not being able to get a valid NetworkID from a vehicle.
This occurs when using:

  • Lambda Menu
  • Getting into one of the police car that spawn at police station

git credentials?

Im trying to do: git clone https://git.friendsincode.com/PFM/ELS-Plus.git and I get prompted for credentials, which I can't see anywhere which is? :)

And why is there not a pre-build version just to grab?

missing DLL files

System.IO.FileNotFoundException: Unable to find the specified file.
  at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR (System.Int32 errorCode) [0x0000a] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
  at (wrapper cominterop) CitizenFX.Core.IScriptHost:OpenHostFile (string)
  at (wrapper cominterop-invoke) CitizenFX.Core.IScriptHost:OpenHostFile (string)
  at CitizenFX.Core.MonoScriptRuntime.LoadFile (System.String scriptFile) [0x00007] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MonoScriptRuntime.cs:91
Failed to load script els-server.net.dll.```

perparsed configuration

make a configuration class that parses all the xml data with the toString stuff to there appropriate datatypes so it does not need to be done everytime in the frame.

QB-core bug

When i use els plus om my qb-core server all my cars are turning on when this is not nessesary how can i fix this

Stale Vehicle Removal

Collection modification issues can cause lights to stop working during stale Vehicle removal

ELS not working

I believe I installed the ELS correctly on my server, but it does not work. Could you maybe give some more explaination in how to set it up?

resource

--[[
ELS FiveM - A ELS implementation for FiveM
Copyright (C) 2017 E.J. Bevenour

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

]]
resource_manifest_version '05cfa83c-a124-4cfa-a768-c24a5811d8f9'
local NUIEnabled = false

-- XML Processing Requirements
client_script 'System.Xml.net.dll'

-- ELS-FiveM Requirements
client_script 'SharpConfig.net.dll'
client_script 'ELS-FiveM.net.dll'

-- NUI Stuff
if NUIEnabled then

client_script 'NUI/api.lua'

ui_page('NUI/app/index.html')

files({
	'NUI/app/index.html',
	'NUI/app/js/vue.js',
	'NUI/app/js/app.js'
})

end

-- Server Events
server_script 'ELS-Server.net.dll'

files({
'extra-files/ELS.ini',
'extra-files/POLICE.xml',
'extra-files/POLICE3.xml',
'extra-files/POLICEOLD2.xml',
'extra-files/FBI.xml',
'extra-files/FBI2.xml',
'extra-files/burrito4.xml',
'extra-files/AMBULANCE.xml',
'extra-files/ASTEROPE.xml'})

is_els 'true'

How do I change the key bindings for keyboard users

I'm fine with the controls for the controller but is there a way that I can change the keys for the keyboard users. There are some things that I want to take out or at least change what key they are on. I can't find what key codes these ones match to in the INI.

UI is not properly synced l

When entering or exiting an els vehicle if stages or lights are running states are not properly saved for UI

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.