Hi un dead,

I've been trying for some time to build a client that would act as a middle
layer to Erlang and Java VMs, so it becomes easier for agents (i.e. bots) in
those languages to hook up to real servers. My idea is to replace the
renderer with an API to query the game world, and send the commands from the
VM agent instead of the client QVM (as far as I could understand how q3
works). Do you think your client could make this task easier?

Thanks, and regards,

Javier

On Fri, Aug 12, 2011 at 10:43 PM, <ioquake3-requ...@lists.ioquake.org>wrote:

>
> Message: 1
> Date: Thu, 11 Aug 2011 17:22:33 -0400
> From: un dead <q3urt.und...@gmail.com>
> To: "Primary ioquake3 Discussion/Development list"
>        <ioquake3@lists.ioquake.org>
> Subject: [ioquake3] Demo player (not parser)
> Message-ID:
>        <CACfQd4WZxOccXPMjzcq_xqacUwu5kian+10s3j9ETh7xqOke=a...@mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> I committed a new branch that's a demo player.  It has a null sound,
> null renderer and doesn't use SDL.  Other than that, it's a normal
> client so I start it up with a +demo command line option.  The purpose
> is to try to get the QVM messages out faster.  It's about 5x faster
> than using a normal client in my tests on timedemo.
>
> I have a few questions about this though.  What's the best way to
> speed this up so I get the log without it skipping entries?  I'm
> hitting the msec=1 limit already when I use a timedemo.  Will timedemo
> ever drop messages to the screen?  What causes the messages to be
> dropped when you timescale it?  Can I disable that since I don't have
> anything to render?  I want this to go as fast as possible.
>
> Is there any harm in disabling the NET_Sleep(timeval) call?  When I
> disable that, I'm able to get min=0.8 in a timedemo and I have an
> older CPU.
>
> Unlike the other attempt, this is much cleaner.  The majority of the
> changes are in the Makefile for a new exe/so.
>
> https://github.com/undeadzy/ioquake3_mirror/commits/t/q3dmplayer
>
> Diff from master:
>
> https://github.com/undeadzy/ioquake3_mirror/commit/5ee0cd82895340fdc9b4feded10133adb26dd312
> UrT version:
> https://github.com/undeadzy/ioquake3_mirror/commits/t/q3dmplayer_q3ut4
>
>
>
_______________________________________________
ioquake3 mailing list
ioquake3@lists.ioquake.org
http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
By sending this message I agree to love ioquake3 and libsdl.

Reply via email to