CQC-Scripting / cc-fuel

CC-Fuel is a Modified version of LegacyFuel for QB-Core using QB-Target for Interactions.
https://discord.gg/XdQRbG7JzA
78 stars 25 forks source link

incompatability with lj-hud #12

Closed b1uedr4gon closed 2 years ago

b1uedr4gon commented 2 years ago

Hi , i went through and folowed all the steps , then bulk search for the LegacyFuel exports throughout all my srver files , change everywhere i could see to the correct CC-Fuel export , but i have the following error from my hud and i believe it's to do with GetFuel

https://gyazo.com/511 scripterror 22aac0620ec9f00519b3b6f1a9201

eoinmcbennett commented 2 years ago

This usually points to the script not running when the export is being triggered, can you ensure cc-fuel is running when this error occurs?

b1uedr4gon commented 2 years ago

it is , i have had to replace it with LegacyFuel for now

On Sun, Oct 24, 2021 at 10:40 AM eoinmcbennett @.***> wrote:

This usually points to the script not running when the export is being triggered, can you ensure cc-fuel is running when this error occurs?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CQC-Scripting/CC-Fuel/issues/12#issuecomment-950292784, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEZPLUGKCJNRDJB5OOOQ3DUIPIABANCNFSM5GRSAAHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

EinfachDomi95 commented 2 years ago

Hey, I had the same error. Try to change the folder in cc-fule. Then the export exports['cc-fuel'] GetFuel

For me it was simply because the folder was capitalized and not as small as in the export.

And sorry for my bad English, I'm from Germany

Carmomeister commented 2 years ago

I have renamed the repo to be all lowercase, in the event that is the issue

eoinmcbennett commented 2 years ago

Yeah the naming would do it, apologies for the inconvenience. If you want to try again and let me know if it works ill mark this issue closed

b1uedr4gon commented 2 years ago

Yeah the naming would do it, apologies for the inconvenience. If you want to try again and let me know if it works ill mark this issue closed

iv'e had to switch to a different hud also , if i get a chance i'll set up cc-fuel and lj-hud on my dev server and see if the issue is still there .