Inside3D!
     

Direct 3D 9.0c Quake
Goto page Previous  1, 2, 3 ... , 11, 12, 13  Next
 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming
View previous topic :: View next topic  
Author Message
mh



Joined: 12 Jan 2008
Posts: 910

PostPosted: Fri Feb 12, 2010 1:48 am    Post subject: Reply with quote

Monster wrote:
So I believe I've found the reason why DirectQ was giving me a grey screen of death. After updating my video card drivers and updating directX drivers, I downloaded DirectQ 1.8.1 and installed it into a fresh quake folder, with nothing but the two .pak files. I loaded it up and it seemed to work fine.

When I was turning off all the cl_bob settings, cl_bobcycle 0 made the screen completely grey again. It seems anything above 0 fixes it. my autoexec.cfg and config.cfg files before had cl_bobcycle 0 in them, explaining why the screen was always grey until I did a fresh install.

So cl_bobcycle 0 seems to be my problem. oddly enough.

I noticed upon connecting to a server with a custom map I don't have, the engine crashes. Also it'd be nice to show the rankings at the end of a multiplayer game. The customize controls menu doesn't seem to respond to my mouse clicks, so I have to do a bind mouse1 "+attack" command in the console. It does, however, respond to mousewheel. Is there a way to adjust the size of the gun model? I'm on 1680x1050x32 resolution, using fov 110 and the gun model still looks quite big as compared to other engines like Darkplaces or Fitzquake.

I'm glad I finally discovered the reason for all my directq problems! Awesome engine. A timedemo of demo1.dem gives me 600 fps with 1.6 seconds. loving it so far.

Very Happy

Confirmed the same happens for me with cl_bobcycle 0 - I have something to test now! Very Happy Very Happy Very Happy

I'll take your other suggestions (and required bugfixes) on board.
_________________
DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines
Back to top
View user's profile Send private message Visit poster's website
ceriux



Joined: 06 Sep 2008
Posts: 969
Location: Florida, USA

PostPosted: Fri Feb 12, 2010 1:51 am    Post subject: Reply with quote

do you think we can get frikfile, and some commonly used dpextentions? oh! and possibly a setweaponskin?
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Monster



Joined: 07 Jan 2006
Posts: 94
Location: North Carolina

PostPosted: Fri Feb 12, 2010 2:12 am    Post subject: Reply with quote

Sweet ! Very Happy

I've also noticed that when i fire grenades continously, sometimes i'll get a disappearing grenade. This could be because its violating some kind of particle limit of some kind, I was connected to quake.shmack.net, notorious for particles being all over the place.

Is there any kind of limit or threshold of maxfps where ping starts to get screwy? I've noticed this happens with alot of engines as well, just curious as to whats a good number to set my maxfps at without too much ping spiking.

while running forward (backwards too) and lowering the console, the view snaps back up, like a lookspring type thing. Also when connecting to a server with a scrolly motd-type thing, (well any motd actually) it spams the motd in the console until its finished with its animation. Try connecting to dm.clanhdz.com to see exactly what I mean.

Ping in the scoreboard would be nice too... and being able to see elapsed time. Is there a way to get 48000 khz sound? I also notice sound 'crackling' sometimes. Just throwing some suggestions at you Razz
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
mh



Joined: 12 Jan 2008
Posts: 910

PostPosted: Fri Feb 12, 2010 10:18 am    Post subject: Reply with quote

Monster wrote:
Sweet ! Very Happy

I've also noticed that when i fire grenades continously, sometimes i'll get a disappearing grenade. This could be because its violating some kind of particle limit of some kind, I was connected to quake.shmack.net, notorious for particles being all over the place.

No limit on particles; it'll do 100,000 of them if that's what's needed. I suspect that what might be happening is something (and I have a good idea what that something might be) is getting in a knot when the client reuses an entity slot for a new entity but with the same model the frame immediately after the old entity was removed (and the old entity was previously hidden behind some geometry). Should only happen in circumstances like you describe, and might be quite difficult to fix at the moment.

Monster wrote:
Is there any kind of limit or threshold of maxfps where ping starts to get screwy? I've noticed this happens with alot of engines as well, just curious as to whats a good number to set my maxfps at without too much ping spiking.

No idea to be honest.

Monster wrote:
while running forward (backwards too) and lowering the console, the view snaps back up, like a lookspring type thing. Also when connecting to a server with a scrolly motd-type thing, (well any motd actually) it spams the motd in the console until its finished with its animation. Try connecting to dm.clanhdz.com to see exactly what I mean.

The first one is a bug. The second is coming from centerprint logging, I think. Will need to check that.

Monster wrote:
Ping in the scoreboard would be nice too... and being able to see elapsed time. Is there a way to get 48000 khz sound? I also notice sound 'crackling' sometimes. Just throwing some suggestions at you Razz

Ping times are only available to the server and sending them to clients is not supported by the standard Quake protocol. Engines that do provide it use a really really ghastly hack (stuffing ping times into a string) and are totally dependent on the server sending ping times.

Elapsed time sounds like a neat idea though; I must check if the timelimit is also available so I can give the option of doing a countdown too. This one's a definite.

I'll check out the sound thing. Not sure right now.

Overall I'm glad it works for you now, and it's nice to get suggestions, but I need to stress that features which are of benefit to both SP and MP are more likely to be prioritised than features of benefit (or only meaningful in) one game type only. Very Happy
_________________
DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines
Back to top
View user's profile Send private message Visit poster's website
c0burn



Joined: 05 Nov 2004
Posts: 158
Location: Liverpool, England

PostPosted: Fri Feb 12, 2010 11:00 am    Post subject: Reply with quote

I can't map mouse buttons via the menu when in windowed mode for some reason. Win 7 x64.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
mh



Joined: 12 Jan 2008
Posts: 910

PostPosted: Fri Feb 12, 2010 10:03 pm    Post subject: Reply with quote

Interesting one this:
Code:
   cycle = cl.time - (int) (cl.time / cl_bobcycle.value) * cl_bobcycle.value;

cl_bobcycle 0 therefore gives a division by 0. Shocked

I've cross-checked this against Fitz and ID Quake and it's the same code there too.
_________________
DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines
Back to top
View user's profile Send private message Visit poster's website
mh



Joined: 12 Jan 2008
Posts: 910

PostPosted: Fri Feb 12, 2010 10:57 pm    Post subject: Reply with quote

More stuff:

The MOTD thing is fixed in the current (as yet unreleased) codebase.

cl_bobcycle 0 and cl_bobup 0 (and cl_bobup 1) - all of which give division by 0 - are now trapped and fixed.

I don't get the running/view snap thing in my tests so far. SP or MP?

Elapsed time and timelimit are only accessible from the server. ProQuake clients may use the same ugly hack as they do for ping times (stuffing the values into a string and sending it across).

I'll check the mouse buttons thing. I suspect it's because of the fact that I switch off DirectInput (and return the mouse pointer to the OS in windowed modes) when in the menus.

Variable sound sampling rates are not implemented (how did I miss that?) I'm going to do some more work on the sound system to allow it to be restarted in-game, and implement them via cvar (s_khz is used by Q2 so that's what I'll use here as well) as well as command-line (I think -sndspeed is standard).
_________________
DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines
Back to top
View user's profile Send private message Visit poster's website
Monster



Joined: 07 Jan 2006
Posts: 94
Location: North Carolina

PostPosted: Sat Feb 13, 2010 12:24 am    Post subject: Reply with quote

heh dividing by 0.. who would've guessed. Razz

I get the view snap thing in SP and MP on my machine. Like I said, only happens when you lower the console while running forward/backward.

Hmm well darkplaces shows elapsed time as well... by this I mean the time elapsed on the current map. Even Fitz shows it. DirectQ shows it in singleplayer, but not in multiplayer.

yeah, ping in the scoreboard isnt too huge of a deal for me, it can easily be checked by typing ping in the console. doesn't seem worth having to do some nasty hack for it Razz

resetting gamma back to normal upon alt-tabbing would be nice, as well as turning off the music.

sometimes when playing online in big firefights or just at random times, it'll chop up, itll freeze for less than half a second or so. sometimes its almost barely noticable. i've also noticed sounds dropping in/out, kind of like packetloss. I know it isn't packetloss, my connections pretty stable and this doesn't happen on other engines. Kind of hard to get a definite explanation on that issue, but it seems a bit unstable online.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Lardarse



Joined: 05 Nov 2005
Posts: 243
Location: Bristol, UK

PostPosted: Sat Feb 13, 2010 4:05 am    Post subject: Reply with quote

(1.7.666c) Always Run doesn't increase backwards speed.
_________________
<ekiM> Son, you're writing data structures your CPU can't cache.
Back to top
View user's profile Send private message
Monster



Joined: 07 Jan 2006
Posts: 94
Location: North Carolina

PostPosted: Sat Feb 13, 2010 4:07 am    Post subject: Reply with quote

Quote:
(1.7.666c) Always Run doesn't increase backwards speed.


Yeah, i noticed that too. I had to set cl_forwardspeed 999 and cl_backspeed 999.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
mh



Joined: 12 Jan 2008
Posts: 910

PostPosted: Sat Feb 13, 2010 6:23 pm    Post subject: Reply with quote

Monster wrote:
Hmm well darkplaces shows elapsed time as well... by this I mean the time elapsed on the current map. Even Fitz shows it. DirectQ shows it in singleplayer, but not in multiplayer.

yeah, ping in the scoreboard isnt too huge of a deal for me, it can easily be checked by typing ping in the console. doesn't seem worth having to do some nasty hack for it Razz

Oh, I can give you your own ping time easily enough, and likewise if it's just cl.time you want; I had thought you were asking for something more.
_________________
DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines
Back to top
View user's profile Send private message Visit poster's website
Monster



Joined: 07 Jan 2006
Posts: 94
Location: North Carolina

PostPosted: Tue Feb 16, 2010 3:44 am    Post subject: Reply with quote

yeah cl.time would work. just something simple like that.

I found out why it spams the motd (or all centerprints actually) in the console. scr_centerlog 0 fixed it for me.

it'd be cool if you could fix that old glquake bug with the player's corpse not retaining its original colors. =)
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
leileilol



Joined: 15 Oct 2004
Posts: 1321

PostPosted: Tue Feb 16, 2010 4:44 am    Post subject: Reply with quote

mh wrote:
(I think -sndspeed is standard).


DOS Quake had it called -sspeed
_________________
Back to top
View user's profile Send private message
mh



Joined: 12 Jan 2008
Posts: 910

PostPosted: Tue Feb 16, 2010 5:57 pm    Post subject: Reply with quote

leileilol wrote:
mh wrote:
(I think -sndspeed is standard).


DOS Quake had it called -sspeed

No reason not to support both. Very Happy
_________________
DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines
Back to top
View user's profile Send private message Visit poster's website
dreadlorde



Joined: 24 Nov 2009
Posts: 86

PostPosted: Tue Feb 16, 2010 8:14 pm    Post subject: Reply with quote

mh wrote:
leileilol wrote:
mh wrote:
(I think -sndspeed is standard).


DOS Quake had it called -sspeed

No reason not to support both. Very Happy

...

-.-
_________________
Ken Thompson wrote:
One of my most productive days was throwing away 1000 lines of code.

Get off my lawn!
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming All times are GMT
Goto page Previous  1, 2, 3 ... , 11, 12, 13  Next
Page 12 of 13

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group