Are all the wiki tutorials supposed to work?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
pakutto
Prole
Posts: 2
Joined: Fri Oct 18, 2019 6:40 pm

Are all the wiki tutorials supposed to work?

Post by pakutto » Mon Oct 21, 2019 4:48 pm

My sibling was trying to get a handle on networking, and he followed this tutorial:
https://love2d.org/wiki/Tutorial:Networking_with_UDP

But apparently, the example source code they provided doesn't even work.

Who on Earth do you contact for that? Is it normal to just have a bunch of hit-and-miss tutorials on the wiki? Is there no basic moderation?
This is a bit disappointing, because the LOVE Wiki is a great "bible" of sorts for us love users - and I'd like to know it can be trusted.

Just wondering if this is normal. (And perhaps if anyone has a better UDP networking tutorial)

User avatar
ivan
Party member
Posts: 1524
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Are all the wiki tutorials supposed to work?

Post by ivan » Mon Oct 21, 2019 5:16 pm

Depends on your networking setup/configuration. You can't blame the wiki, it's more about understanding what's going on.
I did write a similar tutorial:
https://2dengine.com/?p=networking
It's definitely possible to get it working over LAN but running it over the internet is more complicated.

User avatar
raidho36
Party member
Posts: 1931
Joined: Mon Jun 17, 2013 12:00 pm

Re: Are all the wiki tutorials supposed to work?

Post by raidho36 » Mon Oct 21, 2019 6:27 pm

Bypassing NATs over UDP will require hole punching. IPv6 wouldn't have NATs (and this problem by extension) but it still hadn't caught on fully. Beyond that, relevant ports must be open in the firewall.

Networking is right about the most difficult thing to implement in a video game. Expect fully this to be excruciating.

User avatar
zorg
Party member
Posts: 2720
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Are all the wiki tutorials supposed to work?

Post by zorg » Mon Oct 21, 2019 7:02 pm

Wiki editing is somewhat a communal project in that the community, i.e. forum users, can also edit with their forum credentials; the wiki also notates version differences on most reference articles. Simply put, no one's getting paid nor has the drive (apparently) to make unified examples for all articles, and make them version-dependent also.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests