Fortress Test Server

For things that have to do with those crazy test servers... and yeah. By request of z-man, and, of course, you gotta obey...

Moderator: Z-Man

Post Reply
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Post by ed » Mon Dec 31, 2007 3:27 pm

Rain wrote:how?

Code: Select all

SCORE_SUICIDE 0
SCORE_KILL 0
SCORE_DIE 0 
Wouldn't that do it?

Concord
Reverse Outside Corner Grinder
Posts: 1661
Joined: Sun Oct 21, 2007 5:24 pm

Post by Concord » Mon Dec 31, 2007 9:48 pm

ed: yes and no

it would get rid
of individual scores
but also remove points
for kills, suicides, etc
its a half solution

ideally
the team gets points
for individual victories
(like a core dump)
and failures
(suicide)
but the individual is not
credited with any points

User avatar
Z-Man
God & Project Admin
Posts: 11220
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne, Jabber: [email protected]
Contact:

Post by Z-Man » Tue Jan 01, 2008 3:13 am

Well, you could hack the source of the server and remove the line

Code: Select all

score += points
from ePlayerNetID::AddScore in src/engine/ePlayer.cpp.

User avatar
Rain
Round Winner
Posts: 300
Joined: Sat Apr 15, 2006 2:59 pm
Location: a random empty server playing with bots

Post by Rain » Tue Jan 01, 2008 2:53 pm

wrtlprnft: are we allowed?

z-man: thank you, and what about "SCORE_SURVIVE"?
END OF LINE

User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft » Tue Jan 01, 2008 7:05 pm

Hack the code as much as you like… It's in ~/armasrc-0.2.8-svn/
There's no place like ::1

User avatar
Z-Man
God & Project Admin
Posts: 11220
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne, Jabber: [email protected]
Contact:

Post by Z-Man » Tue Jan 01, 2008 7:35 pm

Rain wrote:z-man: thank you, and what about "SCORE_SURVIVE"?
Hmm, that appears to be a custom addition, if it is written correctly, it should use the AddScore function like the rest of the scoring and therefore should also only affect the team score and not the individual scores.

User avatar
Rain
Round Winner
Posts: 300
Joined: Sat Apr 15, 2006 2:59 pm
Location: a random empty server playing with bots

Post by Rain » Tue Jan 01, 2008 9:20 pm

z-man: about SCORE_SURVIVE, that request was unrelated with the previous one, you proposed it in the first page of this topic. i intended it to affect individual scores.
also i did the hack you suggested but nothing changed. am i supposed to do anything else than edit and restart the server?
or maybe i edited it in the wrong folder?
wrtlprnft: did you suggest the right folder? :)
By the way, i try to explain everything again.
The goal would be that players gain and loose points like they actually do, but those points would affect directly the team score.
So finally the individal scores will be hidden or just stable on 0.
Obiouvsly, since we reached this, also an hypothetic "SCORE_SURVIVE" would affect directly the team score, even if related to individual performance.
END OF LINE

User avatar
Z-Man
God & Project Admin
Posts: 11220
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne, Jabber: [email protected]
Contact:

Post by Z-Man » Tue Jan 01, 2008 10:16 pm

Rain wrote:also i did the hack you suggested but nothing changed. am i supposed to do anything else than edit and restart the server?
You need to recompile the server and possibly reinstall it. That's a "make install" in some directory, possibly directly the top source directory itself.

User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft » Tue Jan 01, 2008 10:35 pm

Sorry, forgot to tell you. You only need to do make install (after cd'ing into that dir) and then restart the server (/admin quit should do with the current setup).
There's no place like ::1

User avatar
Rain
Round Winner
Posts: 300
Joined: Sat Apr 15, 2006 2:59 pm
Location: a random empty server playing with bots

Post by Rain » Wed Jan 02, 2008 12:04 am

Code: Select all

make: *** No rule to make target `install'.  Stop.
that's the output.
i probably misunderstood what to do.
ok, i got it now. i was confused by "that dir".
no, i didn't get it.
END OF LINE

User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft » Wed Jan 02, 2008 9:55 am

Code: Select all

cd ~/armasrc-0.2.8-svn
#make your changes
make
make install
There's no place like ::1

User avatar
Rain
Round Winner
Posts: 300
Joined: Sat Apr 15, 2006 2:59 pm
Location: a random empty server playing with bots

Post by Rain » Wed Jan 02, 2008 5:24 pm

well, that is what i did.
but it blocks here:

Code: Select all

Making sure servers are stopped...
do i have to stop the server?

maybe i have just to wait a little more
END OF LINE

User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft » Wed Jan 02, 2008 7:03 pm

press ctrl-c and try again. No clue what it is waiting for and why…
There's no place like ::1

User avatar
Rain
Round Winner
Posts: 300
Joined: Sat Apr 15, 2006 2:59 pm
Location: a random empty server playing with bots

Post by Rain » Wed Jan 02, 2008 7:12 pm

it still block there
END OF LINE

User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft » Wed Jan 02, 2008 7:23 pm

Meh, i commented out the offending line. Don't ask me why it blocks. I don't even use the init scripts.
There's no place like ::1

Post Reply