News for hackers. Stuff that matters.
Re:Show HN: Open-source Counter-Strike-like game by solcloud on Tuesday October 22, 2024 @01:41PM (#41916709)
source code is all written from scratch and it is free for anybody
Re:Show HN: Open-source Counter-Strike-like game by sqeaky on Tuesday October 22, 2024 @02:14PM (#41917062)
So this code is free!?

So I can take it and reuse it exactly as is and claim it's my own and sell it on Steam for $60 a pop?

So I can take it and use your name that is surely somewhere in the code and fill it with swastikas and hate speech and say that this represents your views?

Or more reasonably since I don't see a license this is copy written reserving All Rights and anything said here is just a trap you're just waiting for me to do something cool with it then hit me with a lawsuit and take my money, right?

But more seriously head over to the open source initiative read up on a couple of licenses and pick one. Almost any license will prevent people from using your name but let other people use the code if that's a thing you want.

If you just want to protect your name and let people use the code for whatever even making money consider an MIT or BSD Style license.

If you want (to protect your name and for) other people to be able to use the code but need to share their changes consider a GPL style license. This will complicate other people making money but doesn't strictly prohibit it.

If you don't want (the previous stuff and for) other people to be able to prevent people from selling it you might want to use something like a Creative Commons non-commercial license, I won't be perfect but there are flowcharts you can follow to figure out which license works for you.

Re:Show HN: Open-source Counter-Strike-like game by airstrike on Tuesday October 22, 2024 @02:41PM (#41917341)
> So I can take it and use your name that is surely somewhere in the code and fill it with swastikas and hate speech and say that this represents your views?

That has nothing to do with the game being free. If you dedicate source code to public domain and someone slaps swastikas on it, it doesn't represent OP's views all of a sudden

Re:Show HN: Open-source Counter-Strike-like game by sqeaky on Wednesday October 23, 2024 @12:35AM (#41921862)
It was hyperbole, exaggeration for inflated effect, unlikely but within the realm of technically poossible.

More likely people just won't use it without a license.

Re:Show HN: Open-source Counter-Strike-like game by dankwizard on Tuesday October 22, 2024 @07:03PM (#41919667)
You've never worked in open source and it shows
Re:Show HN: Open-source Counter-Strike-like game by JTyQZSnP3cQGa8B on Tuesday October 22, 2024 @02:00PM (#41916909)
That’s not a valid license. Without a file or statement in the repository, I guess it’s a proprietary piece of software that people cannot legally fork.
Re:Show HN: Open-source Counter-Strike-like game by droideqa on Tuesday October 22, 2024 @08:17PM (#41920151)
It is public domain if there is no license.
Re:Show HN: Open-source Counter-Strike-like game by recursive on Tuesday October 22, 2024 @08:26PM (#41920229)
That is not true.
Re:Show HN: Open-source Counter-Strike-like game by droideqa on Tuesday October 22, 2024 @08:45PM (#41920383)
I checked; you are right.
Re:Show HN: Open-source Counter-Strike-like game by ClassyJacket on Wednesday October 23, 2024 @05:25PM (#41929377)
The opposite is true. Even if you publish the source, if you don't add a licence, you still have full copyright and all rights to it.
Re:Show HN: Open-source Counter-Strike-like game by account42 on Wednesday October 23, 2024 @08:17AM (#41924216)
Actully, the act of putting it on GitHub might be considered an implied license to clone and fork the project since those are normal GitHub functions. Still, an explicit open source license that also makes sure to grant those rights outside of GitHub would be better.
Re:Show HN: Open-source Counter-Strike-like game by kurisufag on Tuesday October 22, 2024 @02:26PM (#41917184)
this may be what you're looking for

http://www.wtfpl.net/about/

Re:Show HN: Open-source Counter-Strike-like game by wyldfire on Tuesday October 22, 2024 @03:13PM (#41917625)
Don't use that license, use something similar like MIT, BSD or Apache instead.
Re:Show HN: Open-source Counter-Strike-like game by dokyun on Tuesday October 22, 2024 @04:20PM (#41918264)
WTFPL is a fine license. It's even FSF approved.
Re:Show HN: Open-source Counter-Strike-like game by josephcsible on Tuesday October 22, 2024 @04:43PM (#41918502)
The FSF certifies that it's a free software license that's compatible with the GPL, but they recommend against using it: https://www.gnu.org/licenses/license-list.en.html#WTFPL
Re:Show HN: Open-source Counter-Strike-like game by kurisufag on Tuesday October 22, 2024 @03:48PM (#41917987)
would you mind pointing out why?

those are very dissimilar licenses in the sense that wtfpl is basically a cute way of putting something into the public domain, while MIT et. al. do actually have (albeit minor and reasonable) restrictions on the conduct of people using the code.

Re:Show HN: Open-source Counter-Strike-like game by poizan42 on Tuesday October 22, 2024 @05:01PM (#41918662)
There is no disclaimer of liability and implied warranty. You may be on the hook for damages if someone uses your code under the WTFPL and there is a bug that causes them to lose money.
Re:Show HN: Open-source Counter-Strike-like game by leni536 on Tuesday October 22, 2024 @06:41PM (#41919459)
You can use zero-clause BSD[1] or MIT no-attribution[2].

[1] https://opensource.org/license/0bsd

[2] https://opensource.org/license/mit-0

Re:Show HN: Open-source Counter-Strike-like game by gitaarik on Wednesday October 23, 2024 @03:24AM (#41922667)
If you want the code to stay free you better add a free software license, that's what these licenses are made for, to preserve the freedom of the code. Otherwise others can take your code and make it propietary and add their propietary license to it.
Re:Show HN: Open-source Counter-Strike-like game by account42 on Wednesday October 23, 2024 @08:15AM (#41924194)
No, without a license others are not allowed to take the code at all.
Re:Show HN: Open-source Counter-Strike-like game by gitaarik on Wednesday October 23, 2024 @09:32AM (#41924912)
Aha yeah true