[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - QuakeC Source Code Licensing Status

QuakeC Source Code Licensing Status

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Re: QuakeC Source Code Licensing Status

Postby r00k » Mon Jun 03, 2013 6:34 pm

r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Re: QuakeC Source Code Licensing Status

Postby goldenboy » Tue Jun 04, 2013 4:16 am

Yes, it is out of the window for making a commercial game.

If you're just making a relatively obscure Quake mod, no one will care much.

Different worlds!
User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel

Re: QuakeC Source Code Licensing Status

Postby gnounc » Tue Jun 04, 2013 4:41 am

Though, how is taking their additions to a 1.06 base any worse than taking original 1.06 differences and adding it to 1.01?
Its not.

Thats why we didnt.

We took only the differences that are clearly in the Quakeworld source code, because Quakeworld has an official gpl license status.
If there were fixes in 1.06 that were not in quakeworld (and I only recall there being one) we left it out.
More specifically the only one I remember was the shub fix, which we came up with an original fix for, so no code copied.
The fix has the same effect of not allowing shub to die, but instead of healing her, we disallowed damaging her.
my
gnounc's
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Re: QuakeC Source Code Licensing Status

Postby r00k » Tue Jun 04, 2013 7:03 am

I spent a few hours today going thru the gpl-1.01, mostly client.qc for starters and recoding some fixes into it that arent in 1.06 or urqp for that matter :P

+ added a fix so players that connect during an intermission are properly put into the intermission
+ removed CHECKRULES and split it into two functions checkfrags and checktimelimit
+ cleaned up select spawn point, added a random spawn for deathmatch games
+ cleaned up PUTCLIENTINSERVER
+ some bitwise operations were flawed in player_jump and watermove
+ removed the body cue, and replaced it with a function similar to spawning gibs
+ changed sounds in player.qc to use ATTN_NORM so they arent global
+added a line to enable noexit 2 to obliterate the players touching an exit, noexit2 wasnt used anywhere else.. :|

there truely is alot more to be done before im even calling this clean, but i can pm u the files to diff..
r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Re: QuakeC Source Code Licensing Status

Postby goldenboy » Tue Jun 04, 2013 8:54 am

QW has noexit2 and random spawnspots.

You can do a lot of things to qc 1.01, but it pretty quickly turns into rook's mod instead of cleanqc.
User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel

Re: QuakeC Source Code Licensing Status

Postby r00k » Tue Jun 04, 2013 12:40 pm

HEhe ya I see what you mean. ;P
r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Re: QuakeC Source Code Licensing Status

Postby qbism » Wed Jun 05, 2013 4:22 am

What is the definition of "cleanqc"? :twisted: Some might rather have rook's mod. :D
Competing priorities: GPL purity, legacy compatibility, and actual debugged/efficient code.
The minimum environment also matters. Vanilla 1996 Quake and qc compiler, or a somewhat bugfixed Quake and fteqcc?

Is GPL really the best solution for a scripted language like this, sandboxed as it is to a specific engine and limited in syntax? Sometimes there is really only one way to do something in qc... well at least there are fewer license workarounds available than in C. It's a blessing and a curse. The accrued mass of unlicensed or vaguely licensed source/ snippits/ tutorals over the years is a factor. If it were all changed with a magic wand, would public domain, some sort of CCA, or something else be a better fit?
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Re: QuakeC Source Code Licensing Status

Postby frag.machine » Wed Jun 05, 2013 2:23 pm

A 100% GPL QuakeC base code ought to be mostly targeted at moders who want to create new games, so removing any Quake IP related components is a must.
As a suggestion, the code could be split in folders like this:
a) singleplayer: a minimal set of code to implement gameplay against monsters (the basic AI, like ai_face(), ai_walk(), ai_run(), etc.);
b) cooperative: the bare bones to implement coop (mostly item pick code and some triggers behavior);
c) deathmatch: again, the minimal code to implement FFA, and maybe other gameplay types, like CTF and RA;
d) common: as the name says, all code that is shared by two or more subsets above. This includes but is not limited to doors, buttons, platforms, basic triggers, etc.

One part I think is problematic is the weapon/inventory code. The original code is messy and quite limited. In almost any mod I created I rewrote it to expand the number of slots, or the number of ammo types, or to support weapon groups or weapon leveling (or any combination of these), and I observed this in many other mods. Besides, one can argue that the original weapon behavior is part of the Quake IP itself, so while not illegal keeping it would be something in the gray area.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2120
Joined: Sat Nov 25, 2006 1:49 pm

Re: QuakeC Source Code Licensing Status

Postby Spirit » Wed Jun 05, 2013 5:27 pm

If you aim at that it would most likely end like usual. People have ideas what "must" be included, what is right, what is wrong, starting to refactor everything and in the end it gets abandoned.

Backporting / rewriting the vanilla 1.06 stuff to GPL seems the best idea. Then you can clean up from there.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Spirit
 
Posts: 1037
Joined: Sat Nov 20, 2004 9:00 pm

Re: QuakeC Source Code Licensing Status

Postby gnounc » Wed Jun 05, 2013 5:50 pm

my
gnounc's
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Previous

Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest