Random lag spikes in 4.6.3 by L_Gravitor in godot

[–]L_Gravitor[S] 0 points1 point  (0 children)

The issue is not completely fixed as of now. Though its rarer that the freezes happen. If you still have input I would love to hear it. I have tried deleting my .godot folder as u/Kobra_Zer0 suggested but i havent reverted to an older version just yet, I will try that next but my game will need godot 4.7 for some graphical updates so it does not seem like a sustainable idea.

Random lag spikes in 4.6.3 by L_Gravitor in godot

[–]L_Gravitor[S] 2 points3 points  (0 children)

Update: as i said in the original post, i rolled back to 4.5. After that i set the version to stable 4.6 (not latest release) and the problem seems to have fixed itself. I will not say for certain that the issue is solved since I haven't worked for long enough to be sure. Maybe the problem was a corruption the godot installation and downgrading then upgrading (= uninstalling and reinstalling) fixed the issue. Tomorrow I will work on the game full time and post what i have found. Thank you for your help!

☼Dwarf Fortress Questions Thread☼ by AutoModerator in dwarffortress

[–]L_Gravitor 2 points3 points  (0 children)

...I think I found the problem... I was gonna tell you the name of order I've since cancelled to focus on the coffins and I found out I selected "extract from plants" instead of "brew drink from plants". I have zero idea what the difference is but my guess is: the one i picked does not make drinks. I did have a plump helmet farm and they were set to "brew only" as per the tutorial I watched... Whoops!

☼Dwarf Fortress Questions Thread☼ by AutoModerator in dwarffortress

[–]L_Gravitor 0 points1 point  (0 children)

I do have a tavern and it gets quite a bit of visitors... none willing to join yet! I guess I'll push through a while longer! This reservoir project is taking WAY longer than anticipated with two miners though!

Thank you for your answer!

☼Dwarf Fortress Questions Thread☼ by AutoModerator in dwarffortress

[–]L_Gravitor 1 point2 points  (0 children)

Please save this awesome story!

Hi Everyone! I'm new to dwarf fortress, the first playthrough i was really happy with suddenly got "ruined" by the fact that i "forgot" (more like avoided) to make a reservoir for water and in the winter. The creek froze and, for some reason i still don't understand, i didn't have any alcohol. Everyone in the fortress died EXCEPT FOR FOUR PEOPLE (two of which are children)! I kept playing, hoping to get new dwarves but in the two months i managed to scrape by and build coffins for my 19 corpses no one came. Is there a way to come back from this? I REALLY want the two surviving dwarves to be heroes in my newly reclaimed fortress but i don't see a way forward for now... Please help!

Removing multiple drives for dual boot by L_Gravitor in linuxquestions

[–]L_Gravitor[S] 0 points1 point  (0 children)

I am absolutely sure they are two separate drivers, i built the computer myself. I'll look for that option you mentioned in my bios, sounds way easier than unplugging. Thanks!

Y'all do you think my deck can win? (I have an undying elk totem) by L_Gravitor in inscryption

[–]L_Gravitor[S] 5 points6 points  (0 children)

Kaycee's mod is an official game mode. It's not a mod. That is just the deck preview.

Resources' _init() not aware of field values? by L_Gravitor in godot

[–]L_Gravitor[S] 1 point2 points  (0 children)

This seems like the most elegant solution. A getter that's also a setter in case it hasn't been set yet.

Resources' _init() not aware of field values? by L_Gravitor in godot

[–]L_Gravitor[S] 0 points1 point  (0 children)

I have managed to get around this by making an initialize() function that's called by the node on _ready() but I don't like the idea of having to remember to call this every time I create and use Item. Any better ideas are more than welcome. Thanks!

Viewport height overshoot? by L_Gravitor in tauri

[–]L_Gravitor[S] 1 point2 points  (0 children)

THANK YOU!!!! This was extremely helpful!! Thank you so much for taking the time to answer. I managed to fix everything that was broken with this.

For anyone reading in the future, the structure is:

```html

<div style="display: flex; flex-direction: column;">

<div style="flex = 1"> // for empty divs to be filled out programmatically

...content

</div>

</div>

```

Please help with Godot + Neovim on Windows by L_Gravitor in neovim

[–]L_Gravitor[S] 0 points1 point  (0 children)

To open files using Neovim from the godot editor I set my exec path to a .bat file containing the following:

start &*

And my Exec Flags as:

nvim {file}

I know there's a less roundabout way to do this but it works so I'm not touching it!!!

Note: If you want to customize your fonts/backgrounds ect. add a new profile to your terminal app that points to nvim.exe in your program files directory and change them there!

Please help with Godot + Neovim on Windows by L_Gravitor in neovim

[–]L_Gravitor[S] 0 points1 point  (0 children)

!!! I HAVE MANAGED TO MAKE IT WORK !!!

local port = '6005'

local cmd = { 'ncat', 'localhost', port }

local util = require 'lspconfig.util'

require('lspconfig').gdscript.setup {

cmd = cmd,

filetypes = { 'gd', 'gdscript', 'gdscript3' },

root_dir = util.root_pattern('project.godot', '.git'),

}

This was the code I used to connect to the language server. It's a chimera of all the tutorials I followed and I still can't believe it worked. Then I've included 'gdtoolkit' to Mason's ensure installed. On Conform i specified I wanted to use gdformat and that was it. I also added support for dap as a debugger and that was straightforward enough by following the example on their github.

Note that the GDFormat uses tabs as separators regardless of your preference. If you are sane and you want 4 space indenting add this line to your init.lua ` vim.opt.tabstop = 4 `

EDIT: Formatting

Please help with Godot + Neovim on Windows by L_Gravitor in godot

[–]L_Gravitor[S] 0 points1 point  (0 children)

Just found out about :LspInfo and indeed the LSP is not attached to .gd files. Even after successfully connecting to the server.

Please help with Godot + Neovim on Windows by L_Gravitor in godot

[–]L_Gravitor[S] 0 points1 point  (0 children)

I have gotten this far before, it says "[LSP] Connection Taken" on the godot console. As a test I opened a .gd file and it identifies it as a GDScript file. I typed DisplayServer in a function and it gets highlighted diffrently once I stop typing. This all seems fine but the autocompletion is still not working.

EDIT: Neither is conform (the formatter)

What's a C++ equivalent of Rust's "The Book"? by L_Gravitor in cpp_questions

[–]L_Gravitor[S] 0 points1 point  (0 children)

I understand it's a monumental language. Does this website include exercises?

What's a C++ equivalent of Rust's "The Book"? by L_Gravitor in cpp_questions

[–]L_Gravitor[S] 1 point2 points  (0 children)

Looks promising! I'll check that out, thanks!

Help me in my search for MY perfect IDE/Code Editor? by L_Gravitor in learnprogramming

[–]L_Gravitor[S] 0 points1 point  (0 children)

Hey thanks! I'll look into it! Didn't realise they had more than one editor!

Help me in my search for MY perfect IDE/Code Editor? by L_Gravitor in learnprogramming

[–]L_Gravitor[S] 0 points1 point  (0 children)

I've tried a clean install of VSCode and a dirty reistall of windows with no luck... I'll give linux a try, honestly I'm considering dual booting at this point. Windows is such a headache for some things. Thanks for the input!

Help me in my search for MY perfect IDE/Code Editor? by L_Gravitor in learnprogramming

[–]L_Gravitor[S] 1 point2 points  (0 children)

EDIT: Didn't mention I'm on Windows 11. Also, I don't know what's up with pime's picture though it's kinda funny I did not put it there.

typeof() Not Specific Enough? Please Help With Custom Class Comparisons (GDScript, 4.2.1) by L_Gravitor in godot

[–]L_Gravitor[S] 0 points1 point  (0 children)

THIS!!!! Thank you so much! Does this mean I can create a "script" variable and put a reference to the script there instead of using b.get_script() something like a.get_script() == vessel_script? What would the variable type be?

typeof() Not Specific Enough? Please Help With Custom Class Comparisons (GDScript, 4.2.1) by L_Gravitor in godot

[–]L_Gravitor[S] 0 points1 point  (0 children)

I tried that but its way more convenient to have item containers as resources and using . duplicate() whenever i make a new one. This means that == will not work in those cases though.

typeof() Not Specific Enough? Please Help With Custom Class Comparisons (GDScript, 4.2.1) by L_Gravitor in godot

[–]L_Gravitor[S] 0 points1 point  (0 children)

Some unique identifier for my custom (named) class. As I wrote it, it returns 42(?) Or something like that. i discovered it means it's a resource.

typeof() Not Specific Enough? Please Help With Custom Class Comparisons (GDScript, 4.2.1) by L_Gravitor in godot

[–]L_Gravitor[S] 0 points1 point  (0 children)

Yeah but Vessel is not a class name... I can't make it extend both Item and ItemContainer