Giter VIP home page Giter VIP logo

firescript's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently busy studying
  • ๐Ÿ’ฌ Ask me about FiveM scripts and/or website development
  • ๐Ÿ“ซ How to reach me: Discord

My stats

firescript's People

Contributors

gimicze 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  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  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

firescript's Issues

the automated dispatch has 2 automated dispatch only

Describe the bug
the automated fire spawn and dispatch limits only 2 dispatches and nothing fill follow

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

  • Artifact: 4215
  • Script version: 1.7.5

Additional context
Add any other context about the problem here.

Enhancement : FireSpread Rate

firespreadrate : Defines the speed at which the fire spreads

Currently when the fire is set to spread under a rough percentage. it spreads almost instantly.

It would be cool if the fire spread rate could be set to happen slower or faster. If the fire department shows up quickly the fire will be small, the longer it takes the bigger the fire would get to its final spread size.

If the fire was set to /addflame 35 100 True x,y,z 30

Flame is added that will spread up to 35 flames 100 percent of the time notifying dispatch at location xyz and will add 1 of the 35 flames every 30 seconds..

Thank you for your consideration

whitelisted dispatch

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

add it so we can add permanent dispatch system to certain players and maybe keep a temp one the side

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Issue updates not in OG package?

Hi there,

Sorry to bother you with this, but I found out that over the years you've given a lot of patched code in replies to issue posts.
However, the latest updated file within the code, is like 2 years ago? Is it me or are those codes 'new' not in the original files?

thanks!

Server crash

as soon as I start the script I have the following problem you can no longer accept jobs in the Job Center but it crashes the whole server what can I do there?

Script Issues

If I start the script I get an error in my chat for duplicate template "firescript"

Bildschirmfoto 2022-02-05 um 22 50 30

Also the time for random fires does not work i have set up some scenarios and still nothing happens

Saving fire scenarios

Hey! This is awesome - last night, was doing some testing. Restarted the server and found that the scenarios are cleared. Any way to save them?
Thanks for your hard work, and high-quality code!

Dispatch

The possibility to delete easy the blip when the fire is down or is deleted when your show up on the scene !

The possibility in the config to make dispatch by default for all firefighter, so no need to be a dispatch... just they receive the call whit the sound and let's go !

could be amazing

[Question] Random Fires only with dispatch system and starting fire from another script?

Hi!

first i want to say i like this firescript, i especially like the spreading feature!
My first question is about the random fires. I read that random fires will only spawn if i activate the build in dispatch system. Is this right or did i misunderstood something there?

I am currently using Emergency Dispatch and of course i want to use this instead of another Dispatch system to alarm my players :D

My second question is pretty simple. Is it possible to start a fire from another script? If so - how?

QBCore

I see you have the ability to tie it to a ESX job. Could you please add qbcore support?

London Studios Fire Tools (Water Monitor + Hose) Compatibility

Is your feature request related to a problem? Please describe.
This is a feature request related to a problem since i cannot use some of my tools in my london studios files with this script like the water monitor and hose.

Describe the solution you'd like
Compatibility between this script and london studios scripts

Describe alternatives you've considered
Ive tried using the other fire script but that didnt compare, tried adding it into the script didnt work.

No random fire start

Like this mod, seems to first one to be working. But iam having problem with random spawns of fires.
For what i understand from the config file is that i create a fire with "/addflame " then its saved in the file fires.json like this
[{"flames":[],"dispatchCoords":{"x":342.9586486816406,"y":-542.047607421875,"z":28.74435997009277}}]

settings in config are
Config.Fire = { fireSpreadChance = 15, -- Out of 100 chances, how many lead to fire spreading? (not exactly percents) maximumSpreads = 5, spawner = { -- Requires the use of the built-in dispatch system enableOnStartup = true, frequency = 300, -- Random fire spawn interval (set to nil or false if you don't want to spawn random fires) in ms 900000 chance = 75, -- Fire spawn chance (out of 100 chances, how many lead to spawning a fire?); Set to values between 1-100 players = 1, -- Sets the minimum number of players subscribed to dispatch for the spawner to spawn fires. firefighterJobs = { -- If using ESX (Config.Dispatch.enableESX), you can specify which players will count as firefighters in Config.Fire.spawner.players above; If not using ESX you can set this to nil ["fire"] = true -- Always set the job name in the key, value has to be true } } }

Did i somehting wrong? I'm having the job "fire".

Can't set myself as whitelist

I've tried every way but I can't get access to a command even if I'm the server owner and admin. I'm in QBCore and I've added myself all the permissions. Someone help please ?

Qbcore Dispatch Not working

Newqb dispatch not working

Server (please complete the following information):

  • Artifact: [e.g. new]
  • Script version: 2

Additional context
Add any other context about the problem here.

403 error on version check

[   script:firescript] [FireScript] Couldn't check version! Error code 403.
[   script:firescript] https://api.github.com/repos/gimicze/firescript/releases/latest

the automated dispatch is only till 2 automatic fire spawn

Describe the bug
A clear and concise description of what the bug is.
the automatic firespawn is until 2 automatic firespawn after the 2 automatic firespawn you have to manually spawn the fire
To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

  • Artifact: 4215
  • Script version: 1.7.5

Additional context
Add any other context about the problem here.

Dispatch removes after you give someone the permissions

Dispatch wont save permissions

just wondering what dispatch permissions do we need to make it so it remembers who is whitelisted etc and is there meant to be a line in the server config file we needed to add???

been trying everything and just cant work it out...

sorry for buggin you but we really like the script and thats the only issue we are having...

Dispatch System

When starting the firescript it subscribes everyone to the fire call. Looking for a way to just have people with the fire job get notified for fires that are started.

Hard to extinguish flames

Hey!

I saw someone else opened a ticket the other day as well with no info really so putting some more context in.

Script works great. It register dispatch, throws the blip, creates flames etc.

But what Im seeing is that its very difficult to put flames out with a in-game water source.

For example spawning a firetruck and spraying at the fire in all directions never puts the flame out.

When using HoseLS, it works, but it takes a lot of effort to put the flame out.

So currently firetrucks wont extinguish flames, only HoseLS after some battling.

Absolutely no changes to config.

Let me know if you need anything else :) Thanks!

Fire with water

i went on my fxserver and tried to put it out with a firetruck and it didnt go out at all like nothing was happen What do i do

Fires can't be put out anymore

I currently have 13 fires setup and working on my server. However fires that could be put out previously, not longer can be. By simply watching the fire it seems like it's spreading faster then it's being put out. Even with the water cannon from a fire truck.

At first I assumed it was down to a setting when the fire was being created, but the problem has popped up with fires that were tested multiple times and worked previously as random spawns.

At this point we have chosen to simply remake said fires and hope the problem doesn't pop up again.

Could you provide insight on why this would be happening? No errors are showing in the log.

Add smoke commands

I think it would be pretty neat to be able to spawn and start smoke just without the fire itself.

/startsmoke size
/stopsmoke ID
/stopallsmoke

ESX Legacy, Random Fires / Dispatch is not working.

Describe the bug
Dispatch doesn't appear. I would like to also use these alerts for dispatch if possible...
https://github.com/thelindat/linden_outlawalert

Using fresh install.

Expected behavior
Dispatch should appear in chat. If you could show me how to get it working withhttps://github.com/thelindat/linden_outlawalert that would be awesome.

Screenshots
Also, what is this?
image

Server (please complete the following information):

  • Artifact: Latest
  • Script version: Latest

qbcore

make it for qbcore with ps-mdt

[Bug] Fire sometimes dont properly spawn/show up and sound gets stuck

Describe the bug
Sometimes, i havent properly reproduced it yet, the fire from a random fire starts, but the flames wont show properly. There are only these tiny "ground" flames to see. You can still extinguish the fire, but the sound wont stop. There are also no errors.

To Reproduce
As i mentioned, i wasnt able to reproduce it. Sometimes it happens after i restart the script, sometimes after i extinguished the first fire. I Keep trying to reproduce it consistently.

Expected behavior
I expect to see big flames and the sound to dissapear when the fire is out. :D

Screenshots
Will add a screenshot of the tiny flames if necessary.

Server (please complete the following information):

  • Artifact: [7290]
  • Script version: [2.0.0]

Add Rewards When Extinguishing the fire

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
I just want to request to put a reward when extinguishing the flame

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Stop the smoke damage on somes locations

Describe the bug
When we are in the pizzeria or in the mine, we got damage from smoke.
To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Gabz Pizzeria or Mine'
  2. See error

Expected behavior
A exception list or something like that.

Disables Hose

Whenever I start a fire, bigger than 10 10 true, the fire hose scripts fail to work... ive tried all different hoses too?

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.