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, 11461963 views, last view: 05/22/2024 01:37

for questions, announcements etc.

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

#4145: ..

by makkE on 03/18/2005 14:15

Axel, what you are experiencing are the effects of the fully client-side netcode.
That fraction of a second is your ping + your opponents ping.
Both players get shot, because both players have hit their target, regardless of ping and time diffrences.
This assures that players play on an even field, and is hopefully never going to change.
This assures you get every frag that is yours, even if you ping 200... almost every other game will exclude an hpb from topping the scoreboard, he will lose frags due to the server only counting whose frags reached him first.
So don´t complain bout "I shot him and he still shot me", because from your opponents view it looks just the same..

And still a low ping has advantages, because the lower the ping, the closer you are to the "real" time the game happens at...

reply to this message

#4146: ..

by sinsky on 03/18/2005 15:13

I don't want to waste your time but need to ask, what was changed between the 2004 release and the latest one, concerning coopedit? I'm trying to update orb so I can play with a friend with more functionality (placing more types of entities like mapmodels etc.). It's no big deal but if it's no trouble please give me a brief overview - a few words only, so I know where to begin or what to look for.. then again, maybe it's not for me if I can't figure it on my own but I'll try anyway and could use a little help.

reply to this message

#4147: Re: ..

by sinsky on 03/18/2005 15:15, refers to #4146

Orb is based on the 2003 release - sorry, my mistake.

reply to this message

#4148: "update from master server" = impossible

by Laissez-moi vivre on 03/19/2005 19:00

Bonjour,

"update from master server" ne fonctionne pas. Du moins, je n'ai pas la liste des servers a l'ecran.
Comment faire?

merci

-----------
"update from master server" is impossible. I can't see the servers.
Why?

Thanks

reply to this message

#4149: max users online

by tres on 03/21/2005 01:00

whats the max users for a server?

reply to this message

#4150: Re: max users online

by D.plomat on 03/22/2005 10:59, refers to #4149

IIRC the hard limit is 255 or similar.

But the real limit is the bandwidth, and the practical limit is the size of the current map.

It often plays fluently from 2 to 8 players but on a server with high bandwidth it can probably be much more, i remember having played 12ppl on a server, 2-3 of them were often lagged, but as the other still had correct ping and packetjump it's probably those 2-3 players having a poor connection.

On a LAN, when i test it with only 1 client and 1 server, it uses about 5 packets per second. I don't remember the size of the packets but they were very small so maybe 50 players on a 100Mbps LAN would be ok?

reply to this message

#4151: Cube modifying

by mltyson on 03/22/2005 19:13

I am trying to eliminate collision suicides when shooting the rocket launcher close to the ceiling or walls.
Any ideas were to start?

reply to this message

#4152: Compiling Cube (with MVC 6.0)

by robert|23 on 03/22/2005 20:25

Hey!

firstly the output:
==========================================
Kompilierung läuft...
worldio.cpp
G:\code\cube\src\worldio.cpp(247) : error C2374: 'i' : Neudefinition; Mehrfachinitialisierung
G:\code\cube\src\worldio.cpp(232) : Siehe Deklaration von 'i'
G:\code\cube\src\worldio.cpp(313) : error C2374: 'i' : Neudefinition; Mehrfachinitialisierung
G:\code\cube\src\worldio.cpp(232) : Siehe Deklaration von 'i'
Fehler beim Ausführen von cl.exe
========================================
ok, that means i were redefined, but i can't see a 'i'

Whether i look to the code in this lines i see the problem is by "loopi(...)"

===== tools.h ============
#define loop(v,m) for(int v = 0; v<(m); v++)
#define loopi(m) loop(i,m)
==========================
i didn't understand this two lines.
if i use loopi with _one_ argument m, how can this clal loop with _two_ arguments?

//Robert

(not the best englisch ;) )

reply to this message

#4153: ..

by Rick-Ubuntu on 03/22/2005 20:35

Robert:
There are some problems with the cube code and MSVC...
In savegamedemo.cpp:
There are 2 lines like this:
if(nmonsters!=monsters.length()) return loadgameout(); }

change them to something like this:
if(nmonsters!=monsters.length()) { loadgameout(); return; }

worldio.cpp(like you showed):
In 2 functions, the macro 'loopi' is used more than once, which will redefine 'int i'. Its better to change them with a loop like this
loopi(....) // Like it is now
loop(a, ...) // New one, this will do a for loop with an integer called 'a'.

Or even better: change them with traditional for-loops.

Hint: Check my bot source for those files.

Hope I made any sence ;-)

reply to this message

#4154: Re: ..

by robert|23 on 03/22/2005 22:02, refers to #4153

yeah, the first think i done.
and m soluton for the loops are simple for loops. i think, a loop is not to long to use a macro for that o_O

reply to this message

#4155: problem with linking

by robert|23 on 03/22/2005 23:15

the code seems to be O.K. but i can't link

output:
==========================================
client.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_address_set_host
server.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_address_set_host
serverbrowser.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_address_set_host
serverms.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_address_set_host
main.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_initialize
server.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_address_get_host
server.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_deinitialize
serverbrowser.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_socket_send
serverms.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_socket_send
protocol.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_socket_send
serverbrowser.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_socket_receive
serverms.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_socket_receive
protocol.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_socket_receive
serverbrowser.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_socket_wait
serverms.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_socket_wait
protocol.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_socket_wait
serverbrowser.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_socket_create
serverms.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_socket_create
host.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_socket_create
serverms.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_socket_connect
serverms.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_socket_destroy
host.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_socket_destroy
host.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_time_get
protocol.obj : error LNK2001: Nichtaufgeloestes externes Symbol _enet_time_get
Debug/cube.exe : fatal error LNK1120: 11 unaufgeloeste externe Verweise
========================================
should mean that he can't find the functions in the enet.lib
but i compiled the enet.lib correctly before :-/

//Robert

reply to this message

#4156: ..

by Rick-Ubuntu on 03/22/2005 23:30

You can try:
Rebuild All
or
Add all enet files to your project

reply to this message

#4157: Re: ..

by robert|23 on 03/23/2005 00:05, refers to #4156

ok, folks, the solution was that i compiled the win32.c alone and then the hole enet.lib

//Robert

reply to this message

#4158: My MOD is near finish :D

by jean pierre on 03/23/2005 16:49

New models and stuff like those i already found them ;)

Levels:
Im working on the last level right now and it will just take a day or two but it wont be far guys

Hint:The last level is egyption based

/mapmsg of last level Phobia's Pyramid and my MOD is going to be big(note this game has no loading so sounds may lag the game becouse they are new and it loads in the game and thats lagging)

reply to this message

#4159: Is there Cube for Windows PC?

by nonegiven on 03/24/2005 00:07

I thought there was Cube for Windows PC, but I can\\\'t find anything in the downloads, except for maybe a patch. I know I\\\'ve seen it somewhere. Does anyknow know where this can be found?

reply to this message

#4160: ..

by makkE on 03/24/2005 00:33

It´s the file named .tar.gz.
that´s an archive too. You can extract it with winrar for example, and then run cube.bat.

or more simple you can download the win installer found here:

http://cube.snieb.com/node/2?PHPSESSID=37f69688fbe10f5869fbe613dbcc71e1

reply to this message

#4161: Lost a level

by jean pierre on 03/24/2005 08:09

I accidently saved a map that is before that level example:i want to save map 05 then accidently saved 04 becouse i use up and down to scroll commands so i guess 1 of my map(and this one isnt that great and big)wont be showen anyway at least level 03 is my biggest map/challenge so it wont depress you i hope.

reply to this message

#4162: Re: ..

by Pxtl on 03/24/2005 16:23, refers to #4160

When linking to Quadropolis pages, leave out the session ID string - just use everything before the ? mark.

So node 2 = http://cube.snieb.com/node/2

reply to this message

#4163: Re: Lost a level

by makkE on 03/25/2005 18:51, refers to #4161

just rename the latest .bak file of that map, jean pierre.

pxtl, okay.

reply to this message

#4164: Re: Lost a level

by jean pierre on 03/25/2005 18:54

Right forget that now.

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 multiplied by 6 =


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