Skip to content

u/Synapse84

In this archive from Jul 2013 to Mar 2025

0
posts
150
comments
0
media
932
score
1 saved before deletion

Weird, the guy that fixated solely on 1 word can't comprehend the rest of my previous message.

There's a big difference between an actual racist and someone that slipped up once 8 years ago. The excessive use of "White supremacist", "Nazi", and in your case calling someone a "racist" has made those words mean absolutely nothing. If you can't understand that then that's on you and it's why the rest of the world will continue to laugh at people like you.

Go outside, touch some grass, and maybe you'll see that nobody gives a shit about "ablist slurs".

1 points
Synapse84Removed · saved before deletion

Ah yes, accidentally slipping up (and apologizing) once 8 years ago means he's a white supremacist.. Are you retarded?

Calling someone a "White supremacist" (or "Nazi" since that seems to be the word of the month) means very little when they're thrown around all the time.

12 points

magick $path "$path".png

I think this might be it. I set up a quick test and was running into "out of memory" errors when trying to load various jpg's. Converting them to png and they all worked.

1 points

Obligatory: back it up before hand, and if you don't have files under version control on a remote host now would be a good time to do that as well.

While the converter is good, there's likely parts of your code that will need to be fixed manually.

I migrated a few projects and it wasn't particularly difficult. But all of them were just minor unreleased toy projects so I didn't mind having to fix minor things.

If you want to see a large project being migrated, DevDuck on youtube migrated his game over and documented the process here: Converting My 7500+ Line Game to Godot 4!

7 points

Browser: Firefox
Code Editor: VSCodium
Downloader: wget and aria2c
Music Player: Cantata + mpd
Video Player: mpv
Video Editor: Kdenlive
Image Editor: GIMP
Gallery: Gwenview
Slideshow: feh
Note Taking: Obsidian
Whiteboard: Lorien
Game Engine: Godot
Git GUI: GitFiend
Pixel Art: Aseprite
3D Modeling: Blender
Painting: Krita
Calculator: SpeedCrunch

2 points

Yeap, I started with GDScript then moved to C# since I wanted static typing, interfaces, structs, extension methods, nuget packages, and reflection. After using C# for a while I realized gdscript is more than adequate for what I was doing, so I went back to it and I've been there ever since.

There's a few things I can think of that would naturally be a better choice in C#. For example being able to automatically serialize/deserialize class properties using JSON.net, or integrating with something like Steamworks.NET and flatbuffers.

5 points

Of course, but unifying the Standard and .NET builds will help with C# being more accepted. Right now if you have the standard build and I make an addon in C#, you would have to manually download the .NET version for my addon to work.

The plan to my knowledge is to make it so when .NET is needed, godot will download the required files to make it seamless.

2 points

Valve owns the "Steam" name, but does not run "steam china".

Valve has partnered with Perfect World to bring an onshore version of Steam to China, called Steam China (蒸汽平台). At this time, we are working with a select group of partners for releasing games on Steam China.
source: https://partner.steamgames.com/doc/store/china

Perfect World are the people running that site.

From their https certificate

Organization: 完美世界征奇(上海)多媒体科技有限公司

translated:

Perfect World Zhengqi (Shanghai) Multimedia Technology Co., Ltd.

38 points

I ran into this same thing a while back, every media player needed either restarted, manually rescanned, playlist updated, whatever.. In windows with foobar2000 I used to make a smart playlist, but that didn't seem to work for me in wine.

The best solution i've found is to use Quod Libet with the "Automatic Library Update" plugin. Install python-pyinotify and enable the library update plugin, then restart Quod Libet. Afterwards adding or removing files in your music directory should update the library automatically.

2 points

Networking sockets doesn't get outdated. We're still using socket standards from the 80's, so I wouldn't bother stressing over looking for anything "new".

When it comes to socket programming, my go to resource is Beej's Guide to Network Programming.

As an added bonus, socket programming things are cross platform as well, with the only exception being minor things with Windows. Windows platforms for example need to initialize Winsock, other platforms don't need to, and Windows functions expect a type of SOCKET (which is just an int) where other platforms just use an int directly.

21 points

Since you're getting the same error with my project, I don't need to see your code. The issue is something external to either of our projects.

I'm honestly stumped. You're able to host a minecraft server, which tells me your port forwarding is correct, thus using the minecraft port should've worked for either project. And disabling windows defender would've removed any program specific restrictions. The only thing I can think of is another firewall is interfering, but that's just a shot in the dark at this point.

You may want to ask in the godot irc or discord to see if anyone else has any ideas.

2 points

Sorry about the late reply, had a medical issue come up.

The output from netstat is good and it's exactly how it should look. The first one is questionable though since NetworkedMultiplayerENet uses UDP and not TCP.

The only way that I can think of to keep getting that error is if you're trying to call create_server() multiple times. Or the issue is outside of Godot and simply fails for another reason.

If you want you can post your code or send it to me via DM and I can take a look over it to see. Otherwise, I created a quick network test project that you can test with if you like.
https://gitlab.com/synapse84/nettest (sorry for the sloppy gdscript, i primarily use C#)

(Download and open the project with godot. Then build the project by pressing, project -> export all -> release.. Then in the project folder there will be a "build" folder with NetTest.exe, run that a couple times to simulate a few connecting clients.. In one of the instances click "Host Game", then in the other windows click "Connect".. This should allow connections from all sources, and I tested it with a friend to ensure it does work over the internet as well)

2 points

Oh, interesting. (Glad you caught the Terraria port haha, I still have it set in my router so figured i'd reuse it.)

Assuming you removed set_bind_ip, do you still get the error? It shouldn't come up now, but your server should instead be listening on all interfaces. (You can check by running netstat -an | findstr <port> in the command prompt to check if it's bound to 0.0.0.0.)

If you're not getting the error anymore, but are still unable to connect, I'd check any firewalls if you have one installed. Or Windows Defender if you don't have a third party one installed. Either remove the rules related to godot and try again, or disable windows defender temporarily to see if that's the cause.

2 points

Can you clarify this better? You say that you don't get an open port when using Minecraft's port, but then say that the Minecraft port opens fine.

If you happen to have a Minecraft server running, you'll need to exit out of it since a port can only be used by 1 program at a time.

For internal IP, I mean go check your router and check that the IP listed there matches your local machine.

Example: https://imgur.com/a/sBUZtHa

This is from my router, and states that port 7777 using UDP will be routed to 192.168.1.101 (my local machine).

Then for Godot, I'd just need something like:

server:
var network = NetworkedMultiplayerENet.new()
network.create_server(7777, int(MAX_PLAYERS))
get_tree().set_network_peer(network)

client:
var network = NetworkedMultiplayerENet.new()
network.create_client("<ip or hostname>", 7777)
get_tree().set_network_peer(network)

<ip or hostname> being 127.0.0.1 for connecting from the same computer, 192.168.1.101 for any computers on my local network, or my external internet ip address for friends/family.

2 points

You don't need to call set_bind_ip() to open a port or to connect to a server.

set_bind_ip() is for specifying which local network adapter you want to allow connections from. By default Godot uses "*" (0.0.0.0) to mean all local network adapters will be listening for connections on the specified port. Unless you have a reason to bind to a specific network adapter i would remove it.

Your problem is likely either wrong port forwarding settings or a firewall. For port forwarding make sure your forwarding the UDP protocol, that you're using the correct port number, and double check that the internal IP matches your local machine.

3 points

That's very interesting. It sounds like the C# extension wasn't installed properly even though it says "installed". Try the solution provided by /u/CowKeyMan before this as it could very well be a timeout issue.

If the timeout wasn't the issue and want to try something else.. This should work since it's just VSCode + .NET Core + C# extension.

  1. Make a new folder and name it whatever you want
  2. Right click on that folder and click "Open with Code"
  3. Click Terminal -> New Terminal
  4. Type dotnet new console
  5. Open Program.cs and see if you have autocomplete by typing something like.. "Console.Title" (keep an eye out for the little flame icon for OmniSharp. It should only take a few seconds.)

I'm fairly certain dotnet (provided by .NET Core) comes installed with Visual Studio when you install MSBuild or the ".NET desktop development" package. If you get a command not found error for dotnet new console then you may need to install .NET Core and/or reinstall MSBuild and the .NET package.

If everything worked so far and autocomplete still fails for this simple "hello world" project, then it sounds like the VSCode extension is broken. Uninstall it, exit out of VSCode, delete your C:\Users\<your name>\.vscode\extensions folder, and then Reinstall it. Make sure to look for extension install progress in the console output and to not exit VSCode before it finishes.

Hopefully this helps. This is just a shot in the dark, but it's where I would start trying to figure out what's causing this.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.