Code Monkey home page Code Monkey logo

lmctf60's People

Contributors

joe0x04 avatar nephatrine avatar paril avatar qwazywabbitwos avatar vicomte avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

lmctf60's Issues

Skin Selection Bug

There is a bug in skin selection on initial connect of new clients. It loops several times, choosing skin/model causing a delay on connection and a stutter of motion once the client has spawned.

Game gravity bug

Well, the VS solution is named gravity and it would seem to have a gravity bug:
If a players Z location is greater than zero the gravity suddenly decides to push the player to the roof of the map instead of keeping him on the ground. You can get back onto the ground and stick to it if you hook down to a floor that has a negative Z location and hold there until the residual velocity decays to zero. The offending lines are in ClientThink beginning at line 2731 and look like this:

	//client->ps.pmove.gravity = sv_gravity->value;
	//-DM
	//if(ent->s.origin[1] > 0)
	if(ent->s.origin[2] > 0) //gaia
		client->ps.pmove.gravity = -800;
	else
		client->ps.pmove.gravity = 800;

I don't know who gaia is/was but dude, this is some really funky modding. :)
I'm going to leave it in, just in case someone wants funky gravity in what is supposed to be an otherwise normal LMCTF mod. If you're that kind of admin and you want your players to have fun bumping their heads on the ceiling of your maps then add WANT_FUNKY_GRAVITY to your preprocessor defines and recompile. No need to comment out the line preceding the twiddle, you're not going to gain anything but a fraction of a nanosecond.

GitRevisionInfo.h isn't created on Linux

When I'm building this on Linux, I get this error now:

#24 0.868 g_save.c:9:10: fatal error: GitRevisionInfo.h: No such file or directory
#24 0.868     9 | #include "GitRevisionInfo.h"
#24 0.868       |          ^~~~~~~~~~~~~~~~~~~

Looks like this was added in commit 5031b04. I see that in g_local.h this include is guarded to only occur on Windows so probably something similar needs to be done in g_save.c.

I'm also assuming the makefile should be passing REV and VER as LMCTF_REVISION and LMCTF_VERSION definitions? Alternatively, it shouldn't be difficult to add a makefile step that just builds GitRevisionInfo.h using sed or whatever to fill in those variables in the template you defined and then you could just unconditionally include that.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.