Author Topic: Lakitu7's Tremulous 1.1 Game.qvm 5.42  (Read 23937 times)

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Lakitu7's Tremulous 1.1 Game.qvm 5.42
« on: September 13, 2008, 06:32:32 pm »
Howdy! Welcome to another great release of the standard in Game.qvms for Tremulous 1.1.

Download link: http://patches.mercenariesguild.net/index.php?do=details&task_id=198

This time around brings you a few nice new features. Also if you're still running the orignal release of 5.3, you should update for crashbug fixes. If you did update, then this is purely optional, but why not? :)

Highlights:

* g_nextmap and /callvote nextmap: A patch by Critux that finally gives everyone the "call a vote for the map to play AFTER THIS ONE IS OVER" that's been on our want-lists for so long.
* !rotation: Another patch by Critux that tells you the server map rotation and its current position within it.
* g_suddenDeathVoteDelay: Allows you to set a delay before SD votes are executed when they pass. Ie, a vote to "begin sudden death" becomes "begin sudden death in 120 seconds." The idea is to allow SD votes to be less abusable by making the moment they pass be harder to time to your advantage.
* As a whole, all known issues with g_suddenDeath and sudden death in general are fixed.
* Ben's fix for (most instances of) the shotgun not causing hurt animations on alien buildables.
* Admin commands will no longer be printed after their results when using g_adminsayfilter 0 or in console
* !cp will properly wordwrap color now

Upgrade instructions:
Overwrite the file and !nextmap, as always. g_suddenDeathVoteDelay defaults to 120 (2 minutes), so if you want the old behavior, set it to 0. !rotation uses the same flag as !listmaps.
« Last Edit: January 01, 2009, 08:50:52 pm by Lakitu7 »

epsy

  • Posts: 205
  • Turrets: +8/-25
    • Armagetron Advanced!
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #1 on: September 13, 2008, 09:57:03 pm »
* g_nextmap and /callvote nextmap: A patch by Critux that finally gives everyone the "call a vote for the map to play AFTER THIS ONE IS OVER" that's been on our want-lists for so long.
Nice, i've been thinking about that for months now :) Good job!
Warning: All opinions expressed in my posts are mine and mine alone. Any connection to any group I am affiliated with - be it the ArmagetronAd Developers or any other group, is purely coincidental unless otherwise expressly stated. Don't be a dolt when you read my posts, as they *may* require some brainpower and thinking (also purely coincidental). Any opinion in my posts not expressed by me are purely figments of your imagination and will be dealt with accordingly.
SigTemplate by Khasla.

daenyth

  • Posts: 230
  • Turrets: +21/-26
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #2 on: September 14, 2008, 05:08:37 am »
Now available on Twilight Dominion :)
Quote from: Bullislander05
It's like trying to take apple seeds out of a zebra to plant a giraffe tree.

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #3 on: September 14, 2008, 04:37:17 pm »
Great, another version! But is it still based on old SVN?

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #4 on: September 14, 2008, 04:51:06 pm »
Great, another version! But is it still based on old SVN?

At this point it's rather nebulous what svn it's "based on". It started from 966. It has the bugfixes from everything up to current. I could trivially claim it's "from" any svn revision but "backported."

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #5 on: September 14, 2008, 05:05:01 pm »
The patch doesn't work with 1117. Are there any recent revisions it would work with?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #6 on: September 14, 2008, 05:16:31 pm »
Get it from http://source.mercenariesguild.net/lakitu7-qvm/tags/Release_5.4/.
If you really really want the patch, use it with 966.
« Last Edit: September 14, 2008, 05:18:49 pm by David »
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #7 on: September 14, 2008, 05:19:54 pm »
I didn't think of looking in the source repository. Thanks, David.

[EDIT] It compiles with this error:

Code: [Select]
src/unix/unix_net.c: In function ‘NET_GetLocalAddress’:
src/unix/unix_net.c:438: error: ‘OSIOCGIFADDR’ undeclared (first use in this function)
src/unix/unix_net.c:438: error: (Each undeclared identifier is reported only once
src/unix/unix_net.c:438: error: for each function it appears in.)
I'm pretty sure I've seen this one before, but I don't know how to fix it.
« Last Edit: September 14, 2008, 05:24:16 pm by Syntac »

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #8 on: September 14, 2008, 05:24:11 pm »
Make sure its not trying to compile anything but the game.qvm, I think most of the other bits are broken and not cared about.
Bug tracker: http://patches.mercenariesguild.net/index.php?project=2&do=index&switch=1
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #9 on: September 14, 2008, 05:27:04 pm »
Code: [Select]
BUILD_CLIENT     = 0
BUILD_CLIENT_SMP = 0
BUILD_SERVER     = 0
BUILD_GAME_SO    = 0
BUILD_GAME_QVM   = 1
Putting the above in a Makefile.local fixed that error, at least. But now I'm getting this:

Code: [Select]
Q3LCC src/cgame/cg_main.c
cpp: <cmdarg>:1 Illegal -D or -U argument
And I've never seen that.

[EDIT] Now why is it making a cgame.qvm? I never enabled that... No, wait, I'll see if I can do something about it.

[EDIT#2] I've done a kludgy workaround involving mass-commenting, but removing the bit that defines the cgame target just throws make into an endless loop. Now the only error I get is:

Code: [Select]
make[2]: *** No rule to make target `build/release-darwin-x86/base/vm/cgame.qvm'. Stop.
Now I just need to find a way of disabling the cgame target without wrecking the build process.
« Last Edit: September 14, 2008, 05:41:13 pm by Syntac »

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #10 on: September 14, 2008, 06:52:43 pm »
The other bits aren't really intended to be so broken that they don't compile. What os and arch is this?

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #11 on: September 14, 2008, 07:03:56 pm »
Mac OS X Leopard, 10.5.4 to be exact. Intel Core 2 Duo.

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #12 on: September 14, 2008, 09:00:43 pm »
To fix the cpp bug, try this:
http://svn.icculus.org/quake3?view=rev&revision=1326
a.k.a.
cd src; svn merge -c 1326 svn://svn.icculus.org/quake3/trunk/code
imo you should jsut leave the cgame.qvm target where it is.
Also, after modifying the Makefile you should probably use make clean to clear up your dependency files, as they will probably be broken.
benmachine

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #13 on: September 14, 2008, 09:22:48 pm »
Just to be safe, I downloaded a new copy and did the svn merge thing. I still get that same error.

Code: [Select]
cpp: <cmdarg>:1 Illegal -D or -U argument

[EDIT] When I do the merge, it says this:

Code: [Select]
Skipped missing target: 'tools/lcc/cpp/getopt.c'
Skipped missing target: 'tools/lcc/cpp/unix.c'
Skipped missing target: 'tools/lcc/cpp/nlist.c'
Skipped missing target: 'tools/lcc/cpp'
Skipped missing target: 'tools/lcc'
Skipped missing target: 'tools'
« Last Edit: September 14, 2008, 09:26:49 pm by Syntac »

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #14 on: September 14, 2008, 10:41:50 pm »
Did you cd src first?

If you did, try this instead:
svn di -c 1326 svn://svn.icculus.org/quake3/trunk | patch -p1 -d src
benmachine

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #15 on: September 14, 2008, 11:30:49 pm »
Did you cd src first?
:offended:

Hey hey, it worked! Thanks Ben, you're a lifesaver.

fingered banana

  • Guest
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #16 on: September 14, 2008, 11:38:16 pm »
cool! when is lakitu 8 qvm out?

Snake

  • Posts: 541
  • Turrets: +43/-110
    • IdeaShock
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #17 on: September 14, 2008, 11:50:27 pm »
ROFL, EPIC FAILURE HAHHAHHHHAHHAHA THAT YOU GAVE YOU AN AUOMATIC -1

Actually you should ask

cool! when is lakitu7 game.qvm 6 (maybe 5.5) out?

Lakitu7 is his nick not the version of the game.qvm.
.

+ OPTIMUS +

  • Posts: 1098
  • Turrets: +263/-164
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #18 on: September 14, 2008, 11:54:02 pm »
i automatically applauded him back because it was a cute joke :-)
success is the ability to go from failure to failure without losing your enthusiasm

+PICS+

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #19 on: September 14, 2008, 11:55:38 pm »
Me too. I hope that joke was intentional.

Drakotsu

  • Posts: 110
  • Turrets: +2/-1
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #20 on: September 21, 2008, 08:03:11 pm »
Nice work, as always Lakitu.

Thanks alot Lakitu,
Your QVM helped me understand how to make admin commands such as ban, cp, ect.
Keep up the good work, and thanks again!
« Last Edit: October 27, 2008, 12:32:04 am by Drakotsu »

rotacak

  • Posts: 761
  • Turrets: +39/-64
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #21 on: October 28, 2008, 04:33:19 pm »
Why is g_markDeconstruct read only?

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73

rotacak

  • Posts: 761
  • Turrets: +39/-64
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #23 on: October 28, 2008, 09:02:58 pm »
I see.

BTW, in your documentation is "g_suddenDeathMode   Default 1 (off / default 1.1 behavior)" but default is 2.

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #24 on: October 28, 2008, 11:26:40 pm »
I see.

BTW, in your documentation is "g_suddenDeathMode   Default 1 (off / default 1.1 behavior)" but default is 2.

Oh, hah. Both halves of that are wrong. I will change the default to be 0, and update the manual to reflect that 0 is the default 1.1 behavior, not 1 (However, 1 is the 1.2 behavior). Anyway, thanks.
« Last Edit: October 28, 2008, 11:28:14 pm by Lakitu7 »

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.4
« Reply #25 on: December 09, 2008, 09:24:10 pm »
Security fix today. The game.qvm file has been updated. The patch for the fix is given as 5.4_2_5.41.patch. The fix is also applied to svn head versions, so if you're running one of those, just svn up. Thanks Critux.

remember

  • Posts: 10
  • Turrets: +1/-0
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.41
« Reply #26 on: December 10, 2008, 12:22:30 am »
Thanks you Lakitu7 for your security fix.
Are you sure that, at the line 284 of the 5.4_2_5.41.patch, it's .....sizeof( s2 ) );=> NOT .....sizeof( n2 ) ); ?
Sorry if i am wrong, i just try to help.

Anyway, when do you think the  5.5 will be out? for Christmas ?
It will be our Christmas's gift  ;D

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.41
« Reply #27 on: December 10, 2008, 12:53:17 am »
You're right, and thank you for pointing it out. I have updated the patch and my svn head.

Fortunately though, sizeof( s2 ) == sizeof( n2 ) since they're both statically MAX_NAME_LENGTH, so there's not actually any resultant change to the binary and nobody needs to update (again) or anything. Still, thanks for pointing it out. I admit quality control on critical bugfixes is a little less because of their time critical nature.

Honestly 5.5 is pretty well ready. It's just finals week and I don't have the time to spend half a day writing the docs it needs. I'd have done it today, otherwise. If you're comfortable compiling your own and getting your docs from the svn logs, by all means checkout from head and you'll be good.

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.42
« Reply #28 on: January 01, 2009, 08:52:56 pm »
Issue tracking, downloads, etc. for this are moving to our new shiny Redmine system. You'll find it quite a bit nicer than the flyspray install since it's also integrated with svn etc.

http://projects.mercenariesguild.net/projects/show/lakitu7-qvm

Feel free to start filling it up with (appropriate) things.
« Last Edit: January 02, 2009, 07:04:31 am by Lakitu7 »

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: Lakitu7's Tremulous 1.1 Game.qvm 5.42
« Reply #29 on: January 02, 2009, 12:30:51 am »
Wow, it even recognized that I speak German ;-P