home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


General Thread

by Aardappel on 01/05/2002 01:55, 15527 messages, last message: 03/01/2024 13:02, 11445757 views, last view: 05/17/2024 18:21

for questions, announcements etc.

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages

#3941: ..

by makkE on 01/31/2005 23:24

heh, nice!

reply to this message

#3942: Compile

by Stevaux on 01/31/2005 23:27

I'm a student at Wartburg College working on a senior project using the Cube engine. Before making modifications, I'd really like to get a build from the source code we have, so we know that we have it all compiling and everything before we mess with it. I'm down to one file: clientgame.cpp. Here's the errors that I get when I try to compile:

clientgame.cpp:207: error: no matches converting function `sleep' to type `void
(*)()'
/usr/include/unistd.h:390: error: candidates are: unsigned int sleep(unsigned
int)
clientgame.cpp:205: error: void sleep(char*, char*)
clientgame.cpp:207: warning: `bool __dummy_sleep' defined but not used
make: *** [clientgame.o] Error 1

The lines in question are the function "void sleep(char *, char *)" and "COMMAND(sleep, ARG_2STR)"

Any help would be nice. Thanks.

Steve

reply to this message

#3943: ..

by >driAn<. on 02/01/2005 00:08

Thats because the function sleep is already defined in one header files that come with a linux os.
Just write
#define sleep m_sleep
on the top of clientgame.cpp and it should work. Some maps that use the sleep command might not work correct, you will need then to rename sleep to m_sleep in the scripts or translate it in the code.

reply to this message

#3944: Re: LAN-Play

by Mirec on 02/01/2005 10:09, refers to #3939

Hello,
can You write it step by step?
I copy whole cube ame in our PC-Server, i run server.bat (it is a command line running), then I run on my computer cube.bat, multiplay - server browser and ... attempting to connect to localhost ....... and at last is it not connected.
Because I don't speak English, The Readme.html is not Helpfull for Me.
Thank You very much.

reply to this message

#3945: Re: LAN-Play

by Mirec on 02/01/2005 10:49, refers to #3939

Hello, the work with a Lexicon is very good, We'are playing on LAN.
Thank You makkE.

reply to this message

#3946: Question?

by jean pierre on 02/01/2005 14:57

Why is the 2003 version of Cubeengine can be compiled not the 2004?

Some of you guys replied me that 2004 is bugged for compiling why is that?

reply to this message

#3947: Serverlist?

by Tiger3000 on 02/02/2005 17:04

Why can i see only 16 servers in cube and on the website are more than 16?

can i make something that cube show me all server in the list?

Thanks

Tiger3000

reply to this message

#3948: lost !!!!

by I--FOX--I on 02/02/2005 18:42

excuse me but i cant change my username on the game can you help me please !!!

reply to this message

#3949: ..

by makkE on 02/02/2005 19:02

fox : edit autoexec.bat

toger: some maybe unreachable for you. You might try waiting a little longer while updating from masterserver.

reply to this message

#3950: How can I get my Server to the public List?

by Jacky on 02/02/2005 21:58

Hello!
ich hope that you understand my English, I am German :P
So, my Question:
How can I get my Cube-Server on the Public List you can download in the Game?
i think the question is easy but the answer?

reply to this message

#3951: ..

by Rick-Ubuntu on 02/02/2005 22:02

Run cube with the '-l' commandline option

reply to this message

#3952: Re: ..

by Jacky on 02/02/2005 22:08, refers to #3951

OK, it works... but can I change the Topic of the Server?

reply to this message

#3953: ..

by Rick-Ubuntu on 02/02/2005 22:42

" -nN sets the server description, for people pinging the server. usually does not need to be set if you have a descriptive domain name already, but if you set it, keep it short as it may otherwise be truncated, i.e. -nBobsInstagibServer"

Its all in the readme, which is in your cube folder :-)

reply to this message

#3954: Server?

by Tiger3000 on 02/02/2005 23:04

can i make a server with radomized map?


thanks

Tiger3000

reply to this message

#3955: another question!

by Tiger3000 on 02/02/2005 23:47

can i set the game lenght on my server?
and how i do it?
more than 10 min.

thanks

Tiger3000

reply to this message

#3956: ..

by makkE on 02/03/2005 00:02

tiger no, and no. ffa and instagib are 10 minutes, team games last 15 minutes.
you canĀ“t "set" game modes either, it depends on what the people on the server vote.

reply to this message

#3957: Cube w Twinview in Linux

by thegnu on 02/03/2005 02:34

I've got a dual-head Geforce FX 5200 running two monitors with Twinview, and when I run Cube it doesn't seem to respect my Metamodes and it runs right in the middle of my two screens. Does anybody have a fix?

Thanks!

reply to this message

#3958: No DRI.

by disassembler on 02/03/2005 10:14

..

reply to this message

#3959: Re: No DRI.

by disassembler on 02/03/2005 10:16, refers to #3958

I can't load DRI whith my video card, so game works SLOWLY(even on 320x240...). Any ideas? Thank you.

reply to this message

#3960: Patch to fix i810 problems!

by LinuxGuy on 02/03/2005 13:36

I had two problems getting Cube to run on my i810 graphics card under Linux. The following patch fixes them.

First, writing to the depth buffer should be disabled when the crosshairs are being drawn; otherwise (with the i810 drivers under Linux) the crosshairs depth is always returned as being right up next to the player (presumably the plane of the screen). Fix: see the glDepthMask lines below.

Second problem: the colormap appears totally screwed up on the i810. This is due to the SDL_SetGamma call which apparently screws up the i810. Commenting this out fixes the problem. This could be made a configuration parameter in autoexec.cfg.

I hope these small changes can be integrated into the Cube source so the next Linux version will work out of the box on i810 cards.

diff -r src/renderextras.cpp src-new/renderextras.cpp
312a313
> glDepthMask(GL_FALSE);
328a330
> glDepthMask(GL_TRUE);
diff -r src/rendergl.cpp src-new/rendergl.cpp
238c238
< if(SDL_SetGamma(f,f,f)==-1)
---
> if(0 && SDL_SetGamma(f,f,f)==-1)

reply to this message

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages


Post a Message

Username

Email

Subject

Body

3 added to 1 is?


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
54024797 visitors requested 71804515 pages
page created in 0.170 seconds using 10 queries
hosted by Boost Digital