dragon-forge / SolarFluxReborn

Solar panels mod for minecraft.
5 stars 4 forks source link

some solar panel aren't there #8

Closed DrollestDuck88 closed 1 year ago

DrollestDuck88 commented 1 year ago

Hi,

I was playing in a hand made modpack (I made it my self) in 1.18.2 with the mod solar flux reborn and noticed that the draconic evolution's solar panel and avaritia's are not existing

I would like too have them (I could create them with cubejs but i don't know how to code in java or java script)

I don't want to wait until every mod in the pack is updated to 1.19.2 or hupper version

Zeitheron commented 1 year ago

Use builtin JS feature (see configs for more information).

DrollestDuck88 commented 1 year ago

what is JS feature?

Zeitheron commented 1 year ago

config/solarflux/custom_panels.js

DrollestDuck88 commented 1 year ago

is it in the win r menu?

i m in the mod config but i don't see it

DrollestDuck88 commented 1 year ago

case of the dumb. it is there but i can't open it (is it because my game is opened?)

Zeitheron commented 1 year ago

Close the game. You are going to have restart anyway.

DrollestDuck88 commented 1 year ago

my game is closed but i cannot open the config (custom_panel)

DrollestDuck88 commented 1 year ago

Script : C:\User(me)\AppData\Roaming.minecaft\config\solarflux\custom_panels.js Line : 34 Caract. : 8 Error : ';' expected Code : 800A03EC Source : Microsoft JScript compilation error (I had to translate to english cause it was in french (yes i speak french)) I basicaly recreated the error message that it give me when i try to open it

Zeitheron commented 1 year ago

What kind of text editor are you using and why does it try to compile the JavaScript file?

DrollestDuck88 commented 1 year ago

text editor ? you mean translator? it's google (yes i know it can be crap but i deal with what i have) and for the javascript file i don't know

Zeitheron commented 1 year ago

Text editor.

DrollestDuck88 commented 1 year ago

even if i try something it give me the same error message

DrollestDuck88 commented 1 year ago

Text editor.

i don't know what it is too

Zeitheron commented 1 year ago

Google "Notepad", or "Notepad++".

DrollestDuck88 commented 1 year ago

wich version??

Zeitheron commented 1 year ago

. . .

DrollestDuck88 commented 1 year ago

i downloaded the newest one

DrollestDuck88 commented 1 year ago

what do i do now?

DrollestDuck88 commented 1 year ago

all i want to do is add them to my game Is there the code i could just copy and paste? realy quick? i won't make a modpack with this don't be affraid (or i will put the rights of every mods cause it's not my creation)

Sora-Canstavia commented 1 year ago

what do i do now?

Hi there,

If you have Notepad++ installed onto your computer, you will want to head into your games config folder, click into the "Solar Flux" folder, and then right click "custom_panels.js" and choose "Open With", in here select Notepad++ and it should open the file.

Once this is opened, you should be able to create the data for the solar panels in here. If you have another version with the panels existing in, you should be able to copy/paste the data for the panels from one version to the other, I believe.

Once you have the data created, you should be able to save the file by pressing the "CTRL" and "S" buttons on your keyboard at the same time, then start up your game and if everything is done correct, these panels should be created!

If you run into further issues with this, can you send in a screenshot or copy of the custom_panels.js file that you have so that we can see if we can identify what may be going wrong?

DrollestDuck88 commented 1 year ago

i doesn't let me open it i just drag and drop i just want to create them back (it's all i ask for)(pls)

Sora-Canstavia commented 1 year ago

That is very odd, the file should be able to be opened in Notepad++, to confirm, are you opening it by double clicking the file, or by right clicking and choosing "Open With"?

DrollestDuck88 commented 1 year ago

i don't have any other version openned and i left click (my bad it's twice(i tested)) and it does the message i created up in the conversation

Sora-Canstavia commented 1 year ago

In that case, can you try right clicking on the file, click "Open With", and in the pop up window, select "Notepad++", you may need to select the dropdown menu to view more items in the list if it doesn't appear straight away

DrollestDuck88 commented 1 year ago

i can choose edit with it

Sora-Canstavia commented 1 year ago

Hmm, if you click that, does it open up a window with a list of applications?

If so, it could be your PC is displaying it slightly differently, if you can choose Notepad++ to edit the file with, then that should work!

DrollestDuck88 commented 1 year ago

i openned it but unfortunetely i don't have any other version of the mod i can open now

DrollestDuck88 commented 1 year ago

Hmm, if you click that, does it open up a window with a list of applications?

If so, it could be your PC is displaying it slightly differently, if you can choose Notepad++ to edit the file with, then that should work!

no i don't think so it's more my way of describing it

Sora-Canstavia commented 1 year ago

Hm, alright, just to 100% verify that we're not getting any wires crossed here, can you confirm that you are following the process in this gif?

https://cdn.discordapp.com/attachments/543153093001347087/1082850455916388513/pOESk3ygxp.gif

DrollestDuck88 commented 1 year ago

yes it's kind of the same thing

DrollestDuck88 commented 1 year ago

so is there somewhere where i could find the code??

Sora-Canstavia commented 1 year ago

With this file, as the panels aren't included by default any more, you would need to set up the code for the panels manually, there should be a video guide linked in the file explaining the process for doing this! 😄

DrollestDuck88 commented 1 year ago

but with avaritia it's another level (how do i do that?)

Sora-Canstavia commented 1 year ago

I'm not entirely sure I understand what you mean by that, would this be something in the Avaritia mod? If so, I'm not sure myself as it's been a few years since I've used that mod

DrollestDuck88 commented 1 year ago

both of the mods are not in 1.19.2

im i gonna find the code anyway?? or is it just if the mod is loaded?

Sora-Canstavia commented 1 year ago

Ah, if the other mods aren't updated for the Minecraft version that you're using, then you wouldn't be able to use the aspects of those mods, as they'd be required for the recipes and such to function.

DrollestDuck88 commented 1 year ago

im playing in 1.18.2 but the version where the solar panels (Draconic evolution and Avaritia) are is 1.19.2 or .3 but the other mods are not in this version of the game

DrollestDuck88 commented 1 year ago

will i be able to find the code to just copy and paste or i will need to wait until the mods are updated?

Sora-Canstavia commented 1 year ago

If the mods aren't available for the version you are using, then you will need to wait for them to update.

DrollestDuck88 commented 1 year ago

how will i do to add the solar panel??

Sora-Canstavia commented 1 year ago

Unfortunately, as I'd mentioned prior, if the mods that these panels are from aren't available for the Minecraft version you're using, you can't use these panels.

You could custom create equivalent panels with the custom_panels.js file, but you can't use these specific solar panels without the mods they are from. For creating custom solar panels, if you want to do so, I would highly recommend following the video tutorial in the custom_panels.js file, which explains the process of custom coding a new panel to the game. The video tutorial can also be found here: https://www.youtube.com/watch?v=WVr6-3E7lA8

DrollestDuck88 commented 1 year ago

ok i already coded 2 and both are not in my game how can i do it if i have followed the instruction? how can i make them appear in the game

DrollestDuck88 commented 1 year ago

i don't know what i did wrong

DrollestDuck88 commented 1 year ago

i have trouble shooting now

it says

Solar Flux Reborn (solarflux) has failed to load correctly java.lang.reflect.InvocationTargetException: null

Sora-Canstavia commented 1 year ago

Can you provide your entire log file, so that we can review it to see what may be occurring?

DrollestDuck88 commented 1 year ago

i think it's that

DrollestDuck88 commented 1 year ago

latest.log there sorry i had issues

DrollestDuck88 commented 1 year ago

I have cheked every thing and i made some errors (I corrected them) so i think i was my fault

still not bouting up correctly

Sora-Canstavia commented 1 year ago

Alright, after checking the log file, there isn't much information in there, though it looks to report that a crash report was created, in this case, can you head into crash-reports folder and send through the latest crash report file?

DrollestDuck88 commented 1 year ago

i will try my best on my side to correct every thing i possibly can too crash-2023-03-13_19.18.04-fml.txt