[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/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 - How are the games connected.

How are the games connected.

Discuss programming topics for any language, any source base. If it is programming related but doesn't fit in one of the below categories, it goes here.

Moderator: InsideQC Admins

How are the games connected.

Postby Blackstar1000 » Sat Feb 04, 2012 4:47 pm

Hi guys. I'm not sure where to field this question but I'll give this a shot.

I recently downloaded the alpha of Retroblazer. I'm sure most of you know what I am talking about.

Upon exiting the game (which was launched from a folder on my desktop). And entering the game I have been working on (Launched from my C:/mygame)

The Vertical axis for the mouse in my game has been removed. Perhaps there is a simple explanation or fix but recompiling my quakeC has had no effect.
I have spent a great deal of time perfecting my third person camera and now I cannot look up and down?!

How has this happened? How are these two games interacting with each other when launched from separate places? How can I correct this problem?
Knives out. Catch the mouse. Squash his head. Put him in your mouth.
Blackstar1000
 
Posts: 52
Joined: Mon Sep 13, 2010 5:16 pm

Re: How are the games connected.

Postby Spike » Sat Feb 04, 2012 9:31 pm

+mlook
though your engine may normally use a cvar for it, +mlook (in auttoexec.cfg if needs be) should be an alternative that works in any engine.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: How are the games connected.

Postby Spirit » Sun Feb 05, 2012 11:23 am

Retroblazer does something bad. And so do you. Do not use id1 for your game, always specify a unique game directory. Retroblazer should use retroblazerdata or something like that. Or modify its executable in a way that it will not alter someone's id1/data/home data.

Darkplaces nowadays stores user data like configs, screenshots, savegames etc in the operating system's designated user-dependant location for such files. On Linux that is ~/.darkplaces, on Windows I have no idea, something inside My Documents. Inside that directory it will use a directory with the game's name, eg id1/ or prydon/ .Now if someone uses a common game directory name like id1, Darkplaces has no idea that this id1 is not "the" id1. There is the -nohome switch to make Darkplaces only write to the directory it launched in. Either force that (properly, not with a shortcut/.sh/.bat) or be smart and use a unique game directory.
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: How are the games connected.

Postby stoleYourBike » Sun Feb 05, 2012 2:33 pm

lol games4windows standards working as intended

And it's not +mlook, it's m_pitch 0.022 (-.022 for inverted) to restore mlook
stoleYourBike
 
Posts: 7
Joined: Fri Nov 25, 2011 3:03 am

Re: How are the games connected.

Postby Blackstar1000 » Sun Feb 05, 2012 5:36 pm

Ah well I will defiantly look into this. I would hate to cause a similar conflict if I am ever to do a public release. Thankfully I have my game installed on at least 4 of my computers so I assume I can find a way to get this configuration data off of the other machines and revert whatever Retroblade did to mine. Can anyone go into more depth on how I am to correct this. Do I simply rename the id folder? How do I change the link in the exe. ? Be specific please I don't want to break anything I will not have time to troubleshoot.


ALSO
::EDIT:: m_pitch 0.022 did correct the problem. Thanks a lot.
Knives out. Catch the mouse. Squash his head. Put him in your mouth.
Blackstar1000
 
Posts: 52
Joined: Mon Sep 13, 2010 5:16 pm


Return to General Programming

Who is online

Users browsing this forum: No registered users and 1 guest