Merging QuakeWorld's client and server code into one exe
Moderator: InsideQC Admins
3 posts
• Page 1 of 1
Merging QuakeWorld's client and server code into one exe
Well, I've started to do some work on quakeworld lately. And I am stuck on a particular issue at the moment. I am trying to merge the client and server code into one executable (a la the non-qw code) in order to enable listen servers to work on QW
Now. I have the server code files compiling into an exe alongside the client ones, but I'm having a little trouble finding out where to begin (I've been testing my attempts at getting listen servers to work using the 'map' command in the client) and I was wondering if someone here could give some tips as to what I need to do? I'm still trying to learn my way around the engine so any help would be greatly appreciated
Thanks
Now. I have the server code files compiling into an exe alongside the client ones, but I'm having a little trouble finding out where to begin (I've been testing my attempts at getting listen servers to work using the 'map' command in the client) and I was wondering if someone here could give some tips as to what I need to do? I'm still trying to learn my way around the engine so any help would be greatly appreciated
Thanks
- Logan
- Posts: 8
- Joined: Wed Feb 24, 2010 8:22 am
- Location: Auckland, New Zealand
cl_main.c's Host_Frame should call sv_main.c's SV_Frame or something like that.
(cl_main.c is to qw as host.c is to nq)
you'll probably need to fix up net_wins.c (or net_udp.c if you're on unix) to add proper loopback support.
(cl_main.c is to qw as host.c is to nq)
you'll probably need to fix up net_wins.c (or net_udp.c if you're on unix) to add proper loopback support.
- Spike
- Posts: 2892
- Joined: Fri Nov 05, 2004 3:12 am
- Location: UK
Cheers for the help so far
Well so far I have it calling SV_Frame() in host_frame. And it compiles and runs. However, once the game loads and the console comes up it hangs
(the last message on the console is 'updated needpass' like it's running a dedicated server) Any ideas?
Well so far I have it calling SV_Frame() in host_frame. And it compiles and runs. However, once the game loads and the console comes up it hangs
- Logan
- Posts: 8
- Joined: Wed Feb 24, 2010 8:22 am
- Location: Auckland, New Zealand
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest