bugs in svn

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

bugs in svn

Postby ramzes » Tue Aug 19, 2008 9:04 pm

1. First bug:

qcsrc/server/teamplay.qc wrote:...
if(g_race_qualifying)
{
race_fraglimit = cvar("fraglimit");
cvar_set("fraglimit", "0");
}
...


This is always changing fraglimit to 0 :evil:

2. Second bug (maybe my modification not svn, but i cant found this...)

Sometimes players (or bots) are invisible.

My testing server: 83.175.179.66:26666
My nexuiz server (with mods) 83.175.179.66
-------
Sorry for my bad english
ramzes
Member
 
Posts: 16
Joined: Fri May 30, 2008 8:06 pm
Location: Poland

Re: bugs in svn

Postby esteel » Thu Aug 28, 2008 9:24 am

ramzes wrote:This is always changing fraglimit to 0 :evil:

Sometimes players (or bots) are invisible.

Without looking at the code.. what is so bad about setting the fraglimit to 0??

For your other problem, can you be more specific? Which gamemode, what happend? for how long?
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Dokujisan » Thu Aug 28, 2008 3:26 pm

Div said this is a known bug that got fixed in a recent SVN update. It resulted in not being able to set a fraglimit from the server config. You could only set a fraglimit manually after a match starts.

If using an older SVN, the temporary fix is to set g_race and g_race_qualifying to 0 in the server config.
Dokujisan
Forum addon
 
Posts: 1199
Joined: Sat Oct 07, 2006 4:31 pm
Location: Louisville, Kentucky

Postby ramzes » Thu Aug 28, 2008 10:09 pm

Somebody (some user on my testing server) told me that is a bug (by div) - players/bots are sometimes invisible when there is no models files available on sv.

Anyway, i have other question. Why Host_ClientCommands() is not working in SV_DropClient()? Is there any way to send stuffcmd to client before he disconnect?
My nexuiz server (with mods) 83.175.179.66
-------
Sorry for my bad english
ramzes
Member
 
Posts: 16
Joined: Fri May 30, 2008 8:06 pm
Location: Poland

Postby divVerent » Fri Aug 29, 2008 11:47 am

That would be a server configuration bug. Models must be available in pk3 files specified in sv_curl_serverpackages.

There was a player who has claimed to see invisible players, but it never happened again. Maybe a networking glitch (sometimes packets get bits changed in transfer - note that in IP; only the header is checksummed, but not the data).
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby ramzes » Fri Aug 29, 2008 2:20 pm

divVerent wrote:Models must be available in pk3 files specified in sv_curl_serverpackages.


But 2.4.2 is working good without models (pk3's).

divVerent wrote:There was a player who has claimed to see invisible players, but it never happened again. Maybe a networking glitch (sometimes packets get bits changed in transfer - note that in IP; only the header is checksummed, but not the data).


In my case that was hapenning very often (but not each time). Almost (sometimes for one player) everytime same player is invisible for all players. That wasn't happen in 2.4.2.

EDIT: My sv is normally connected to the internet but i have lan - desktop <-> server - 1m cable.

Anyway, i have other question. Why Host_ClientCommands() is not working in SV_DropClient()? Is there any way to send stuffcmd to client before he disconnect?


I have idea to change some cvars in client by Host_ClientCommands in Host_Spawn_f and restore it to original when client are disconnecting (SV_DropClient).
My nexuiz server (with mods) 83.175.179.66
-------
Sorry for my bad english
ramzes
Member
 
Posts: 16
Joined: Fri May 30, 2008 8:06 pm
Location: Poland

Postby divVerent » Fri Aug 29, 2008 2:34 pm

When someone is invisible on your server, can you do "save foo.sav" and send me the .sav file (and also say WHICH player is invisible)?
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby ramzes » Fri Aug 29, 2008 6:28 pm

foo.sav

Code: Select all
...
[2008-08-29 19:11:31] BOT_Eureka_BOT has been vaporized by BOT_Newbie_BOT
[2008-08-29 19:11:32] BOT_Gator_BOT has been vaporized by BOT_Pegasus_BOT
[2008-08-29 19:11:35] Draw_CachePic: failed to load particles/hook_green
[2008-08-29 19:11:39] BOT_Pegasus_BOT has been vaporized by BOT_Kangaroo_BOT
[2008-08-29 19:11:42] BOT_Gator_BOT has been vaporized by BOT_Kangaroo_BOT
[2008-08-29 19:11:42] BOT_Kangaroo_BOT has been vaporized by BOT_Newbie_BOT
[2008-08-29 19:11:46] ]status
[2008-08-29 19:11:46] host:     # [PL] DM MinstaGib+Hook+Fog+Low gravity by ramzes. 387 maps. 2.4-ramzes-1.4.0.3@Linux
[2008-08-29 19:11:46] version:  Nexuiz build 17:16:55 Aug 29 2008 8484M release
[2008-08-29 19:11:46] protocol: 3504 (DP7)
[2008-08-29 19:11:46] map:      aneurysm
[2008-08-29 19:11:46] timing:   4.8% CPU, 0.00% lost, offset avg 0.5ms, max 1.3ms, sdev 0.3ms
[2008-08-29 19:11:46] players:  8 active (10 max)
[2008-08-29 19:11:46]
[2008-08-29 19:11:46] #1   BOT_Newbie_BOT      0   0:05:17
[2008-08-29 19:11:46]    botclient
[2008-08-29 19:11:46] #2   BOT_Kangaroo_BOT    0   0:04:17
[2008-08-29 19:11:46]    botclient
[2008-08-29 19:11:46] #3   BOT_Newbie_BOT      0   0:01:46
[2008-08-29 19:11:46]    botclient
[2008-08-29 19:11:46] #4   BOT_Gator_BOT       0   0:04:17
[2008-08-29 19:11:46]    botclient
[2008-08-29 19:11:46] #5   BOT_Pegasus_BOT     0   0:04:17
[2008-08-29 19:11:46]    botclient
[2008-08-29 19:11:46] #6   BOT_Kangaroo_BOT    0   0:04:17
[2008-08-29 19:11:46]    botclient
[2008-08-29 19:11:46] #7   BOT_Eureka_BOT      0   0:04:17
[2008-08-29 19:11:46]    botclient
[2008-08-29 19:11:46] #9   ramzes              0   0:00:48
[2008-08-29 19:11:46]    10.6.2.4:55877
[2008-08-29 19:11:47] BOT_Newbie_BOT has been vaporized by BOT_Gator_BOT
[2008-08-29 19:11:47] BOT_Newbie_BOT has been vaporized by BOT_Kangaroo_BOT
[2008-08-29 19:11:47] BOT_Kangaroo_BOT has 3 frags in a row
[2008-08-29 19:11:47] BOT_Kangaroo_BOT made a TRIPLE FRAG
[2008-08-29 19:11:49] CSQC unloaded


Some bots are invisible but when i disconnect (F11) and connect to same sv all bots are visible (maybe SV_SendServerinfo or something like that).

I tested this without models files on server on 32 bit cpu (on 64 is the same but i think its rarely on 64).

Quote:
Anyway, i have other question. Why Host_ClientCommands() is not working in SV_DropClient()? Is there any way to send stuffcmd to client before he disconnect?


I have idea to change some cvars in client by Host_ClientCommands in Host_Spawn_f and restore it to original when client are disconnecting (SV_DropClient).


I will ask differently. is it generally possible? (most users use 2.4.2).
My nexuiz server (with mods) 83.175.179.66
-------
Sorry for my bad english
ramzes
Member
 
Posts: 16
Joined: Fri May 30, 2008 8:06 pm
Location: Poland

Postby ramzes » Fri Aug 29, 2008 7:58 pm

PS1. I have added Con_Print in SV_ReadClientMessage for debug and i saw one propably bug - sometimes client are dropped when he send "playermodel 0"

PS2. Teleports are not working good (i must go by hand in tunnel) in boxen (map name). I have that map on my sv (vcall chmap boxen)
My nexuiz server (with mods) 83.175.179.66
-------
Sorry for my bad english
ramzes
Member
 
Posts: 16
Joined: Fri May 30, 2008 8:06 pm
Location: Poland

Postby Blµb » Sat Aug 30, 2008 8:05 am

ramzes wrote:(...)
Anyway, i have other question. Why Host_ClientCommands() is not working in SV_DropClient()? Is there any way to send stuffcmd to client before he disconnect?


I have idea to change some cvars in client by Host_ClientCommands in Host_Spawn_f and restore it to original when client are disconnecting (SV_DropClient).


What cvars? I bet you'd be better off doing it with CSQC instead of SVQC
Blµb
Alien trapper
 
Posts: 277
Joined: Thu Mar 29, 2007 1:49 pm

Next

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron