Ready / Map reset

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby KadaverJack » Wed Dec 12, 2007 9:36 pm

Yes, there is (after the restart).
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby nifrek » Thu Dec 13, 2007 5:41 pm

Fantastic, I will make sure it gets tested and will give feedback here. Thank you.
nifrek
Alien
 
Posts: 208
Joined: Fri Sep 22, 2006 6:43 am

Postby nifrek » Thu Dec 13, 2007 11:19 pm

I would like to test this but I'm probably doing it the wrong way. I downloaded all the files from http://svn.icculus.org/nexuiz/trunk/data/qcsrc/ and when I try to compile it stops at arena.qc with errors. :(
nifrek
Alien
 
Posts: 208
Joined: Fri Sep 22, 2006 6:43 am

Postby tZork » Fri Dec 14, 2007 2:36 am

you need a very recent fteqcc to build nexuiz-svn. get it here http://www.fteqw.com/fteqw-nightly/
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Postby nifrek » Sat Dec 15, 2007 11:43 am

Thanks tZork, that did the trick.

I've tested it and it works great, I couldn't find any bug or anything wrong with it. Thanks a lot for implementing it.

On my own side I've been playing with the code I originally posted and wanted to suggest another feature that would be great with this one. I made a cvar called "teamlock", that lock teams at map reset. Basically it stops observers from joining a team once a match is started with the message "Cannot join, match is already started, xx:xx left until next map (or something like that)". That way it would allow more serious matches/pickup games to be played without having to fill the sever up to maxplayers and without random players joining, unbalancing the teams after match is started. That means If server isn't full, people can still connect to server and observe the match / wait for next map to join. Of course this feature should be optional (that is something I don't know how to do). Is this something that could be also added?
nifrek
Alien
 
Posts: 208
Joined: Fri Sep 22, 2006 6:43 am

Postby divVerent » Sat Dec 15, 2007 2:08 pm

Idea: make it not a cvar, but a handler in GameCommand(). Then you can do "sv_cmd teamlock" which sets a lock flag on every player, and a global lock flag so anyone who joins can't enter the game. Then, add an alias:

alias teamlock "sv_cmd teamlock"

and it is easily made optional: those who want it make the command votable, others won't.
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 nifrek » Sun Dec 16, 2007 12:14 am

Sounds good. I have no idea how to approach this tho. What I did was simply bypass/show an error message at the "join" and "selecteam" stuff when teamlock is set to "1" (autojoin must be disabled by server). It gets enabled when everyone is ready and disabled when map ends. I will take a look at how to make it work using you idea, thanks.
nifrek
Alien
 
Posts: 208
Joined: Fri Sep 22, 2006 6:43 am

Postby nifrek » Wed Dec 19, 2007 12:39 am

Oh well, I don't think I can do this, I can't code from scratch, I basically just look at existing code and take bits that I think is what I need and modify it. :( To tell the truth I don't even know what an "handler" is hehe. :oops: I'm gonna try to learn but until then this will have to wait.

But anyway, I've been thinking about it, and there's something else that would need to be addressed before this feature can be used for real. Right now observers cannot use teamsay at all, correct? Messages are just sent as regular messages. Which means unless they shut up during matches they can't talk with each other without bothering the people playing (they already have to read team communication, random comments between them would be annoying). Actually this is something I always found a bit annoying when there are several observers on a server, I end up not reading messages at all and also miss team communication. Is there an easy way to fix this? Maybe the messages could be sent to people with -666 as score?
nifrek
Alien
 
Posts: 208
Joined: Fri Sep 22, 2006 6:43 am

Postby oz » Sat Dec 22, 2007 1:43 am

I requested a message filter feature:
http://www.forums.alientrap.local/viewtopic.php?t=2505

That would fix your latest problem, too.
oz
 

Postby nifrek » Sat Dec 22, 2007 7:03 am

Hey oz, yes I like your idea. But for this particular situation it think it would be too much effort from the user to setup this correctly, unless it's set by default or course. But I think observers should simply be considered a "team" by teamsay. But say/teamsay seems to be engine stuff. I guess in quakec it would be possible to automatically put observers in an unused team like "yellow" but still be observers, but that would need to be a mod. I still haven't been able to find someone who would like to help make a tournament mode so I'm suggesting features to the devs that would make nexuiz to be able to play more serious matches without the need for one but also not be in the way of regular games. I don't think this is going to happen in 2.4, they have too much on their plates already.

But if I find a way to fix spectator talk then I can already make a progs.dat for servers that want the teamlock feature. Maybe I'm wrong but admins don't seem too keen on running mods on their servers and ladder servers couldn't use this because it's against the rules to have spectators during matches, so I don't know. I'm hoping to find about 3 US server admins willing to run it so they can be used for the Nexuiz League I'm trying to get going once 2.4 is out. Everyone that has shown interest in those features at first all kinda disapeared, I don't understand this community :(
nifrek
Alien
 
Posts: 208
Joined: Fri Sep 22, 2006 6:43 am

PreviousNext

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron