+++ /dev/null
-exec defaultHavoc.cfg
+++ /dev/null
-#!/bin/sh
-
-path=`dirname "${0}"`
-link=`readlink "${0}"`
-
-[ -n "${link}" ] && path=`dirname "${link}"`
-cd "${path}"
-
-case "${0##*/}" in
- *sdl*) mode="sdl" ;;
- *) mode="glx" ;;
-esac
-
-case "$(uname -m)" in
- x86_64) arch="x86_64" ;;
- *) arch="686" ;;
-esac
-
-nexuiz="nexuiz-linux-${arch}-${mode}"
-
-set -- ./${nexuiz} "${@}"
-
-xserver=
-xlayout=
-
-setdisplay()
-{
- VALUE=$1
- VALUE=${VALUE#\"}
- VALUE=${VALUE%\"}
- case "$VALUE" in
- :*)
- ;;
- *)
- VALUE=:$VALUE
- ;;
- esac
- VALUE="$VALUE/"
- xserver="${VALUE%%/*}"
- xserver=${xserver#:}
- xlayout=${VALUE#*/}
- xlayout=${xlayout%/}
-}
-
-# now how do we execute it?
-if [ -r ~/.nexuiz/data/config.cfg ]; then
- while read -r CMD KEY VALUE; do
- case "$CMD:$KEY" in
- seta:vid_x11_display)
- setdisplay "$VALUE"
- ;;
- esac
- done < ~/.nexuiz/data/config.cfg
-fi
-
-m=0
-for X in "$@"; do
- case "$m:$X" in
- 0:+vid_x11_display)
- m=1
- ;;
- 0:+vid_x11_display\ *)
- setdisplay "${X#+vid_x11_display }"
- ;;
- 1:*)
- setdisplay "$X"
- m=0
- ;;
- *)
- ;;
- esac
-done
-
-case "$xserver" in
- '')
- ;;
- *[!0-9]*)
- echo "Not using display ':$xserver': evil characters"
- ;;
- *)
- msg=
- lf='
-'
- prefix=
-
- # check for a listening X server on that socket
- if netstat -nl | grep -F " /tmp/.X11-unix/X$xserver" >/dev/null; then
- # X server already exists
- export DISPLAY=:$xserver
- prefix="DISPLAY=:$xserver "
- msg=$msg$lf"- Running Nexuiz on already existing display :$xserver"
- else
- set -- startx "$@" -fullscreen -- ":$xserver"
- msg=$msg$lf"- Running Nexuiz on a newly created X server :$xserver."
- case "$xlayout" in
- '')
- ;;
- *[!A-Za-z0-9]*)
- echo >&2 "Not using layout '$xlayout': evil characters"
- xlayout=
- ;;
- *)
- set -- "$@" -layout "$xlayout"
- msg=$msg$lf"- Using the ServerLayout section named $xlayout."
- ;;
- esac
- fi
-
- echo "X SERVER OVERRIDES IN EFFECT:$msg"
- echo
- echo "Resulting command line:"
- echo " $prefix$*"
- echo
- echo "To undo these overrides, edit ~/.nexuiz/data/config.cfg and remove the line"
- echo "starting with 'seta vid_x11_display'."
- echo
- echo
- ;;
-esac
-
-exec "$@"
+++ /dev/null
-nexuiz-linux-glx.sh
\ No newline at end of file
<head>\r
<meta http-equiv="content-type" content="text/html; charset=utf-8" />\r
<meta name="author" content="Tyler Mulligan of www.detrition.net a.k.a -z- of www.nexuizninjaz.com" />\r
-<meta name="Description" content="Nexuiz is a free open-source fast paced first person shooter (FPS) that runs on Windows, Linux and OSX. Nexuiz utilizes the darkplaces engine modeled after the Quake series." />\r
-<meta name="Keywords" content="Nexuiz, Nexiuz, first person shooter, darkplaces, open-source game, open source game, free game, linux game, deathmatch, death match, ctf, quake, alientrap, alien trap, ninjaz" />\r
-<title>Nexuiz - A free open-source fast paced first person shooter (FPS) for Windows, Linux and OSX</title>\r
+<meta name="Description" content="Xonotic is a free open-source fast paced first person shooter (FPS) that runs on Windows, Linux and OSX. Xonotic utilizes the darkplaces engine modeled after the Quake series." />\r
+<meta name="Keywords" content="Xonotic, Nexiuz, first person shooter, darkplaces, open-source game, open source game, free game, linux game, deathmatch, death match, ctf, quake, alientrap, alien trap, ninjaz" />\r
+<title>Xonotic - A free open-source fast paced first person shooter (FPS) for Windows, Linux and OSX</title>\r
<link rel="stylesheet" href="Docs/htmlfiles/style.css" type="text/css"></link>\r
<link rel="shortcut icon" href="favicon.ico"></link>\r
</head>\r
<div id="left">\r
<div id="logo">\r
\r
- <a href="http://www.nexuiz.com" title="Nexuiz - Simple, fast, intense and completely free"><img src="Docs/htmlfiles/img/nexuiz_logo.jpg" alt="Nexuiz is a free open-source fast paced first person shooter that runs on Windows, Linux and OSX." width="201" height="193" border="0" title="Nexuiz is a free open-source fast paced first person shooter that runs on Windows, Linux and OSX." /></a>\r
+ <a href="http://www.xonotic.org" title="Xonotic - Simple, fast, intense and completely free"><img src="Docs/htmlfiles/img/nexuiz_logo.jpg" alt="Xonotic is a free open-source fast paced first person shooter that runs on Windows, Linux and OSX." width="201" height="193" border="0" title="Xonotic is a free open-source fast paced first person shooter that runs on Windows, Linux and OSX." /></a>\r
</div>\r
<!-- Sidebar -->\r
<div id="sidebar">\r
- <a href="news.php" title="Latest Nexuiz News"><img src="Docs/htmlfiles/img/headers/latest_news.gif" alt="Latest News" width="168" height="16" border="0" class="imgHeader" style="margin-top:0;" title="Latest Nexuiz News" /></a>\r
+ <a href="news.php" title="Latest Xonotic News"><img src="Docs/htmlfiles/img/headers/latest_news.gif" alt="Latest News" width="168" height="16" border="0" class="imgHeader" style="margin-top:0;" title="Latest Xonotic News" /></a>\r
<div id="news">\r
<div class="newsPost">\r
- <h1><a href="http://nexuiz.com/news.php" title="Two Nexuiz 1v1 Tourneys">nexuiz.com/news - for nexuiz news updates</a></h1>\r
+ <h1><a href="http://xonotic.org/news.php" title="Two Xonotic 1v1 Tourneys">xonotic.org/news - for xonotic news updates</a></h1>\r
</div>\r
</div>\r
<!-- Downloads -->\r
- <a href="downloads.php" title="Nexuiz Downloads (Game, Maps)"><img src="Docs/htmlfiles/img/headers/downloads.gif" alt="Downloads" width="145" height="15" border="0" class="imgHeader" title="Downloads" /></a>\r
- <a id="download_nexuiz" href="http://www.sourceforge.net/projects/nexuiz/" title="Download Nexuiz from Source Forge - Left Click"> </a>\r
- <!--<a id="download_q3_mappack" href="http://downloads.sourceforge.net/nexuiz/nexmappack_r2.zip" title="Download Nexuiz Q3 Mappack from Source\r
+ <a href="downloads.php" title="Xonotic Downloads (Game, Maps)"><img src="Docs/htmlfiles/img/headers/downloads.gif" alt="Downloads" width="145" height="15" border="0" class="imgHeader" title="Downloads" /></a>\r
+ <a id="download_xonotic" href="http://www.sourceforge.net/projects/xonotic/" title="Download Xonotic from Source Forge - Left Click"> </a>\r
+ <!--<a id="download_q3_mappack" href="http://downloads.sourceforge.net/xonotic/nexmappack_r2.zip" title="Download Xonotic Q3 Mappack from Source\r
Forge - Left Click"> </a>-->\r
- <h2 class="page"><a href="http://nexuiz.com/downloads.php" title="Nexuiz Download Mirrors">Mirrors -></a></h2>\r
+ <h2 class="page"><a href="http://xonotic.org/downloads.php" title="Xonotic Download Mirrors">Mirrors -></a></h2>\r
<!-- Help Wanted -->\r
\r
<img src="Docs/htmlfiles/img/headers/help_wanted.gif" alt="Help Wanted" width="165" height="15" class="imgHeader" title="Help Wanted" /> \r
<!-- It not an elegant solution but I don't expect many users to arrive with JS turned off -->\r
<input name="submit" type="image" src="Docs/htmlfiles/img/donate_button_noscript.jpg" alt="Help this project - Donate to the aliens" width="166" height="43" />\r
</noscript>\r
- <h2 class="page"><a href="http://nexuiz.com/donators.php" title="Those who have donated to Nexuiz">Donators -></a></h2>\r
+ <h2 class="page"><a href="http://xonotic.org/donators.php" title="Those who have donated to Xonotic">Donators -></a></h2>\r
<input name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----" type="hidden" /></form>\r
\r
<!-- Created By -->\r
<!-- end sidebar --> </div><!-- end left -->\r
<div id="right">\r
<div id="header">\r
- <a href="http://nexuiz.com" title="Nexuiz - Simple, fast, intense and completely free"><img src="Docs/htmlfiles/img/nexuiz_header.jpg" alt="Nexuiz is a free open-source fast paced first person shooter that runs on Windows, Linux and OSX." width="766" height="107" border="0" title="Nexuiz - Simple, fast, intense and completely free" /></a>\r
+ <a href="http://xonotic.org" title="Xonotic - Simple, fast, intense and completely free"><img src="Docs/htmlfiles/img/nexuiz_header.jpg" alt="Xonotic is a free open-source fast paced first person shooter that runs on Windows, Linux and OSX." width="766" height="107" border="0" title="Xonotic - Simple, fast, intense and completely free" /></a>\r
</div>\r
<div id="menu">\r
<ul>\r
\r
- <li class="first"><a href="readme.html" title="Nexuiz - Latest News">About </a></li>\r
- <li><a href="Docs/basics.html" title="Nexuiz - Media (Screenshots, videos and graphics)">Nexuiz Basics</a></li>\r
- <li><a href="Docs/say-esc.html" title="Nexuiz Information (General, System Requirements)">Say Escapes</a></li>\r
+ <li class="first"><a href="readme.html" title="Xonotic - Latest News">About </a></li>\r
+ <li><a href="Docs/basics.html" title="Xonotic - Media (Screenshots, videos and graphics)">Xonotic Basics</a></li>\r
+ <li><a href="Docs/say-esc.html" title="Xonotic Information (General, System Requirements)">Say Escapes</a></li>\r
<li><a href="Docs/irc.html" title="Nexuiz - Downloads (Game, Maps)">IRC</a></li>\r
<li><a href="Docs/faq.html" title="Official Nexuiz FAQ">FAQ</a></li>\r
<li class="first"></li>\r
// help messages
set help_msg_count 61
set help_msg_0 "Big Admin is watching you, so please be friendly or feel his almighty ban-hammer!"
-set help_msg_1 "If you want to learn more about Nexuiz read Nexuiz/Docs/basics.html as it contains lots of useful tips and tricks, explains all the guns and gametes and helps to improve your game"
+set help_msg_1 "If you want to learn more about Xonotic read Xonotic/Docs/basics.html as it contains lots of useful tips and tricks, explains all the guns and gametes and helps to improve your game"
set help_msg_2 "Please watch out for balanced teams and change by pressing F5 (teammenu) or F6 (auto join 'best' team)"
set help_msg_3 "When trying to bunny-hop you can re-press the jump button while you are still in the air, this will make those jumps VERY easy to time and work more reliable"
set help_msg_4 "When a vote is called you can accept it via F1 or reject it via F2 (default keys)"
set help_msg_16 "You can drop the gun you currently have with backspace (default key). You can help your unarmed teammates this way."
set help_msg_17 "Learn to use the team messages! You find them in the Setting/Input menu. Try changing them to keys you can press easier than the defaults"
set help_msg_18 "Gaming should be fun! Try to have a nice time, be helpful, mindful and treat others like you want to be treated"
-set help_msg_19 "Some interesting Nexuiz related webpages include the official forum on http://alientrap.org/forum/ , http://nexuizninjaz.com , http://planetnexuiz.de"
+set help_msg_19 "Some interesting Xonotic related webpages include the official forum on http://alientrap.org/forum/ , http://nexuizninjaz.com , http://planetxonotic.de"
set help_msg_20 "If you already have a good gun, it's a great idea to let your teammates get something better than the shotgun too!"
set help_msg_21 "Press T to chat with others, press Y for messages to your team only, press TAB to see the scores, U for the chat history (default keys)"
set help_msg_22 "You can use 'suggestmap PART_OF_NAME' to make a map come up at the vote screen after a round was played"
set help_msg_36 "The TAG seeker requires you to hit with the laser (primary) before it will release several target seeking rockets. Secondary is a shield or crazy flamethrower"
set help_msg_37 "The Camping Rifle shoots projectiles, so you need to lead your aim and consider gravity, but it can pierce thin walls and do headshots"
set help_msg_38 "By default, explosions go through walls. Be careful when hiding behind walls!"
-set help_msg_39 "Get on IRC to chat with fellow players. #nexuiz on irc.quakenet.org is the most famous place"
+set help_msg_39 "Get on IRC to chat with fellow players. #xonotic on irc.quakenet.org is the most famous place"
set help_msg_40 "Don't drink and frag"
set help_msg_41 "Don't shoot at players who are typing/chatting. You recognize those players by the keyboard symbols above their head"
set help_msg_42 "GG is shorthand for 'Good Game'"
set help_msg_43 "Players with the prefix '$bot_prefix' in their nick are bots on this server. There is also a clan named [BOT]"
set help_msg_44 "Read the help messages!"
-set help_msg_45 "Visit the nexuiz ladder at http://planetnexuiz.com/ladder/ You can download demos of matches played by skilled players there. Studying these demos can help you to learn how to play this game"
+set help_msg_45 "Visit the xonotic ladder at http://planetxonotic.com/ladder/ You can download demos of matches played by skilled players there. Studying these demos can help you to learn how to play this game"
set help_msg_46 "Start playing 1on1 if you want to learn fast"
set help_msg_47 "Visit http://alientrap.org/forum/ for discussion, more hints and news"
set help_msg_48 "Look for servers that have a good ping for you. You can't play this game well with a ping > 100. If there are no servers close enough to you, cooperate with your friends to setup one"
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - bans.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - bans.pl
# Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
$store{plugin_bans}->{interval} = 60; #interval to displays bans
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - echo-rcon.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - echo-rcon.pl
# Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
sub out($$@);
sub out($$@);
-# chat: Nexuiz server -> IRC channel, fastest record in race and ctf
+# chat: Xonotic server -> IRC channel, fastest record in race and ctf
[ dp => q{:recordset:(\d+):(.*)} => sub {
my ($id, $record) = @_;
my $nick = $store{"playernick_byid_$id"};
sub out($$@);
- # chat: IRC channel -> Nexuiz server, nick change
+ # chat: IRC channel -> Xonotic server, nick change
[ irc => q{:([^! ]*)![^ ]* (?i:NICK) :(.*)} => sub {
my ($nick, $newnick) = @_;
$nick = color_dpfix $nick;
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - joinmessage.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - joinmessage.pl
# Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
# Do not use more than 5 lines here, as they will be cut off by the client.
my @jmtext = (
- "Welcome to this Nexuiz server",
+ "Welcome to this Xonotic server",
"Have fun but please behave.",
);
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - joinsparts.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - joinsparts.pl
# Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
# Don't forget to edit the options below to suit your needs.
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - ping-pl.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - ping-pl.pl
# Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
# Don't forget to edit the options below to suit your needs.
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - raw.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - raw.pl
# Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
# Use this plugin with extreme caution, it allows irc-admins to modify ANYTHING on your server.
# Usage: In query with the bot the raw command directs commands to the server or irc connection.
# Example: raw dp exec server.cfg
-# Example: raw irc PRIVMSG #nexuiz: YaY!
+# Example: raw irc PRIVMSG #xonotic: YaY!
sub out($$@);
sub markmap($$$$;$)
{
my ($state, $map, $pro, $total, $who) = @_;
- open my $fh, '>>', "$ENV{HOME}/.nexuiz/__votelog.$config{irc_nick}.txt"
+ open my $fh, '>>', "$ENV{HOME}/.xonotic/__votelog.$config{irc_nick}.txt"
or die "votelog open: $!";
print $fh "@{[time()]} $config{irc_nick} $state $map $pro $total" . (defined $who ? " $who" : "") . "\n";
close $fh;
my $ip = $store{"playerip_byid_$id"};
my $slot = $store{"playerslot_byid_$id"};
my $name = $config{irc_nick};
- $name =~ s/Nex//; # haggerNexCTF -> haggerCTF
+ $name =~ s/Xon//; # haggerXonCTF -> haggerCTF
$name =~ s/^rm/hagger/g; # rmRace -> haggerRace
my $map = $store{map};
$map =~ s/^[a-z]*_//;
$ip =~ s/\./-/g;
- my $pattern = "/home/nexuiz/home-$name/data/sv_autodemos/????-??-??_??-??_${map}_${slot}_${ip}-*.dem";
+ my $pattern = "/home/xonotic/home-$name/data/sv_autodemos/????-??-??_??-??_${map}_${slot}_${ip}-*.dem";
if(my @result = glob $pattern)
{
for(@result)
# delete demos at the end of the match
[ dp => q{:end} => sub {
my $name = $config{irc_nick};
- $name =~ s/Nex//; # haggerNexCTF -> haggerCTF
- my $pattern = "/home/nexuiz/data/home-$name/data/sv_autodemos/*.dem";
+ $name =~ s/Xon//; # haggerXonCTF -> haggerCTF
+ my $pattern = "/home/xonotic/data/home-$name/data/sv_autodemos/*.dem";
print "Checking $pattern...\n";
for(glob $pattern)
{
# IRC configuration
irc_server = irc.oftc.net
-irc_nick = testNex
-irc_nick_alternates = testNex_ testNex__
+irc_nick = testXon
+irc_nick_alternates = testXon_ testXon__
irc_user = banme
-irc_channel = #Nexuiz-Pwayers
+irc_channel = #Xonotic-Pwayers
# uncomment for server administration via IRC
#irc_admin_password = hackme
#plugins =
# Alternate IRC trigger (can be used instead of nickname to send stuff to the server)
-#irc_trigger = nexnexnex
+#irc_trigger = xonxonxon
# Custom output options
#irc_announce_slotsfree = 1
-# Nexuiz specific parsing of some server messages
+# Xonotic specific parsing of some server messages
-sub nex_slotsstring()
+sub xon_slotsstring()
{
my $slotsstr = "";
if(defined $store{slots_max})
my $slots_s = ($slots == 1) ? '' : 's';
$slotsstr = " ($slots free slot$slots_s)";
my $s = $config{dp_server_from_wan} || $config{dp_server};
- $slotsstr .= "; join now: \002nexuiz +connect $s"
+ $slotsstr .= "; join now: \002xonotic +connect $s"
if $slots >= 1 and not $store{lms_blocked};
}
return $slotsstr;
}
else
{
- my $slotsstr = nex_slotsstring();
+ my $slotsstr = xon_slotsstring();
out irc => 0, "PRIVMSG $config{irc_channel} :\001ACTION can be joined again$slotsstr!\001";
}
}
return 0;
} ],
- # chat: Nexuiz server -> IRC channel
+ # chat: Xonotic server -> IRC channel
[ dp => q{\001(.*?)\^7: (.*)} => sub {
my ($nick, $message) = map { color_dp2irc $_ } @_;
out irc => 0, "PRIVMSG $config{irc_channel} :<$nick\017> $message";
return 0;
} ],
- # chat: Nexuiz server -> IRC channel, nick set
+ # chat: Xonotic server -> IRC channel, nick set
[ dp => q{:join:(\d+):(\d+):([^:]*):(.*)} => sub {
my ($id, $slot, $ip, $nick) = @_;
$store{"playernickraw_byid_$id"} = $nick;
return 0;
} ],
- # chat: Nexuiz server -> IRC channel, nick change/set
+ # chat: Xonotic server -> IRC channel, nick change/set
[ dp => q{:name:(\d+):(.*)} => sub {
my ($id, $nick) = @_;
$store{"playernickraw_byid_$id"} = $nick;
return 0;
} ],
- # chat: Nexuiz server -> IRC channel, vote call
+ # chat: Xonotic server -> IRC channel, vote call
[ dp => q{:vote:vcall:(\d+):(.*)} => sub {
my ($id, $command) = @_;
$command = color_dp2irc $command;
return 0;
} ],
- # chat: Nexuiz server -> IRC channel, vote stop
+ # chat: Xonotic server -> IRC channel, vote stop
[ dp => q{:vote:vstop:(\d+)} => sub {
my ($id) = @_;
my $oldnick = $id ? $store{"playernick_byid_$id"} : "(console)";
return 0;
} ],
- # chat: Nexuiz server -> IRC channel, master login
+ # chat: Xonotic server -> IRC channel, master login
[ dp => q{:vote:vlogin:(\d+)} => sub {
my ($id) = @_;
my $oldnick = $id ? $store{"playernick_byid_$id"} : "(console)";
return 0;
} ],
- # chat: Nexuiz server -> IRC channel, master do
+ # chat: Xonotic server -> IRC channel, master do
[ dp => q{:vote:vdo:(\d+):(.*)} => sub {
my ($id, $command) = @_;
$command = color_dp2irc $command;
return 0;
} ],
- # chat: Nexuiz server -> IRC channel, result
+ # chat: Xonotic server -> IRC channel, result
[ dp => q{:vote:v(yes|no|timeout):(\d+):(\d+):(\d+):(\d+):(-?\d+)} => sub {
my ($result, $yes, $no, $abstain, $not, $min) = @_;
my $spam = "$yes:$no" . (($min >= 0) ? " ($min needed)" : "") . ", $abstain didn't care, $not didn't vote";
return 0;
} ],
- # chat: IRC channel -> Nexuiz server
+ # chat: IRC channel -> Xonotic server
[ irc => q{:([^! ]*)![^ ]* (?i:PRIVMSG) (?i:(??{$config{irc_channel}})) :(?i:(??{$store{irc_nick}}))(?: |: ?|, ?)(.*)} => sub {
my ($nick, $message) = @_;
$nick = color_dpfix $nick;
$store{map} = $map;
$store{map_starttime} = time();
if ($config{irc_announce_mapchange} eq 'always' || ($config{irc_announce_mapchange} eq 'notempty' && $store{slots_active} > 0)) {
- my $slotsstr = nex_slotsstring();
+ my $slotsstr = xon_slotsstring();
out irc => 0, "PRIVMSG $config{irc_channel} :\00304" . $map . "\017 has begun$slotsstr";
}
delete $store{lms_blocked};
return 0;
} ],
- # scores: Nexuiz server -> IRC channel (start)
+ # scores: Xonotic server -> IRC channel (start)
[ dp => q{:scores:(.*):(\d+)} => sub {
my ($map, $time) = @_;
$store{scores} = {};
return 0;
} ],
- # scores: Nexuiz server -> IRC channel, legacy format
+ # scores: Xonotic server -> IRC channel, legacy format
[ dp => q{:player:(-?\d+):(\d+):(\d+):(\d+):(\d+):(.*)} => sub {
my ($frags, $deaths, $time, $team, $id, $name) = @_;
return if not exists $store{scores};
return 0;
} ],
- # scores: Nexuiz server -> IRC channel (CTF), legacy format
+ # scores: Xonotic server -> IRC channel (CTF), legacy format
[ dp => q{:teamscores:(\d+:-?\d*(?::\d+:-?\d*)*)} => sub {
my ($teams) = @_;
return if not exists $store{scores};
return 0;
} ],
- # scores: Nexuiz server -> IRC channel, new format
+ # scores: Xonotic server -> IRC channel, new format
[ dp => q{:player:see-labels:(-?\d+)[-0-9,]*:(\d+):(\d+):(\d+):(.*)} => sub {
my ($frags, $time, $team, $id, $name) = @_;
return if not exists $store{scores};
return 0;
} ],
- # scores: Nexuiz server -> IRC channel (CTF), new format
+ # scores: Xonotic server -> IRC channel (CTF), new format
[ dp => q{:teamscores:see-labels:(-?\d+)[-0-9,]*:(\d+)} => sub {
my ($frags, $team) = @_;
return if not exists $store{scores};
return 0;
} ],
- # scores: Nexuiz server -> IRC channel
+ # scores: Xonotic server -> IRC channel
[ dp => q{:end} => sub {
return if not exists $store{scores};
my $s = $store{scores};
-rcon2irc - IRC gateway for Nexuiz servers, using rcon authorization
+rcon2irc - IRC gateway for Xonotic servers, using rcon authorization
Quick installation guide:
-1. Set up rcon access on your Nexuiz server, by adding some line like
+1. Set up rcon access on your Xonotic server, by adding some line like
rcon_password hackme
in your server.cfg. This password gives anyone FULL access to your server,
so do not give it away! This IRC gateway does not work with a
2. Copy rcon2irc-example.conf to another name (e.g. rcon2irc.conf), and edit
the settings to match your setup. At the very least:
- - change dp_server to the IP (or IP:port) of your Nexuiz server
+ - change dp_server to the IP (or IP:port) of your Xonotic server
- change dp_password to the rcon password set above
- change irc_server to the IRC server to connect to
- change irc_nick to the nick name to use
- Show results of matches in the IRC channel
-- Act as a gateway to allow chat between Nexuiz server and IRC users, useful
+- Act as a gateway to allow chat between Xonotic server and IRC users, useful
for making the server more interesting to the public, but also useful as a
mere helper for the server admin to watch what's happening in game (like, if
people complain about a problem):
- Any line written in game using say (not say_team) goes to the IRC channel.
- Any line written in the channel, prefixed by the bot's nick name and a :,
- goes into the Nexuiz game.
+ goes into the Xonotic game.
- Example:
View in game:
XSAX LTU: GREAT WIN AHAHAHAHAHAHAHAHAH))
(RedAlert) stop teamkilling!
.ThreeHeadedMonkey.: I am behind you!
- View on IRC, assuming the IRC gateway has the nick noobNex and is voiced:
- <+noobNex> <XSAX LTU> GREAT WIN AHAHAHAHAHAHAHAHAH))
- <+noobNex> <.ThreeHeadedMonkey.> I am behind you!
+ View on IRC, assuming the IRC gateway has the nick noobXon and is voiced:
+ <+noobXon> <XSAX LTU> GREAT WIN AHAHAHAHAHAHAHAHAH))
+ <+noobXon> <.ThreeHeadedMonkey.> I am behind you!
- Notify about free slots on the server. Example:
- * noobNex is full!
- * noobNex can be joined again (2 free slots); join now: nexuiz +connect 172.23.42.54!
- <+noobNex> ctf_capturecity_v2r1 has begun (2 free slots); join now: nexuiz +connect 172.23.42.54
+ * noobXon is full!
+ * noobXon can be joined again (2 free slots); join now: xonotic +connect 172.23.42.54!
+ <+noobXon> ctf_capturecity_v2r1 has begun (2 free slots); join now: xonotic +connect 172.23.42.54
- Display scores at the end of a match in the IRC channel. Example:
- <+noobNex> ctf_capturecity_v2r1 ended: 301:78 Nicole 115, elsteer BLD {Y} 77,
+ <+noobXon> ctf_capturecity_v2r1 ended: 301:78 Nicole 115, elsteer BLD {Y} 77,
CensoredNickname 57, 0grueN# 29, Bigus 23, ZeroA 36, ricer 22,
Treey@suse8 12, cZaR6RUSS7 8, BrightDev1l 0
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - rename.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - rename.pl
# Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
sub out($$@);
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - showlogins.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - showlogins.pl
# Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
{ my %sl = (
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - suggestmap.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - suggestmap.pl
# Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
sub out($$@);
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - votestop.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - votestop.pl
# Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
# This plugin will stop an ongoing vote when the person who called it leaves. Edit the options below
This subdirectory contains scripts and a config file that can be used\r
-to start a dedicated Nexuiz (default) or Nexuiz Havoc server (differs\r
-in movement, weapon and other settings) on linux, mac or windows\r
-systems and also some tools that help with maintaining your server.\r
-\r
-You will need to copy the right script into your Nexuiz main\r
-directory, where the normal binaries are. There are two scrips for\r
-each sytems, one to start a normal Nexuiz server and one to start a\r
-Nexuiz 'Havoc' server. You then need to copy and ADJUST the config\r
-file which is called server.cfg. You can copy it either into the\r
-Nexuiz/data directory where the big data*.pk3 file is or when running\r
-on linux or mac you can as well copy it into a special directory\r
-called '~/.nexuiz/data'. After you have setup everything and have\r
-adjusted the config file you can start the server by running the\r
-server script.\r
+to start a dedicated Xonotic server on linux, mac or windows systems\r
+and also some tools that help with maintaining your server.\r
+\r
+You will need to copy the right script for your system into your\r
+Xonotic main directory, where the normal binaries are. You then need\r
+to copy and ADJUST the config file which is called server.cfg. You\r
+can copy it either into the Xonotic/data directory where the big\r
+data*.pk3 file is or when running on linux or mac you can as well copy\r
+it into a special directory named '~/.xonotic/data'. After you have\r
+setup everything and have adjusted the config file you can start the\r
+server by running the server script.\r
\r
Please make sure your server is always uptodate! Just signup the\r
-Nexuiz release mailinglist to get informed about new releases.\r
-https://lists.sourceforge.net/lists/listinfo/nexuiz-releases\r
+Xonotic release mailinglist to get informed about new releases.\r
+https://lists.sourceforge.net/lists/listinfo/xonotic-releases\r
\r
An important thing is to make sure that your firewall does allow\r
players to connect to your server. This typicly means you will have\r
computer and network setup.\r
\r
If you plan to install custom maps on your server you should read the\r
-file Nexuiz/Docs/mapdownload.txt to learn how to setup automatic map\r
+file Xonotic/Docs/mapdownload.txt to learn how to setup automatic map\r
download.\r
\r
In case you want to rename the server.cfg file, e.g. because you want\r
rcon.pl is a perl script that implements rcon which can be used to\r
remotely control your server.\r
\r
-rcon2irc is a Nexuiz server to irc gateway. It allows you to watch\r
+rcon2irc is a Xonotic server to irc gateway. It allows you to watch\r
and communicate with active players on your server via irc. Read its\r
rcon2irc.txt to learn how to setup and use it!\r
\r
-help.cfg is a Nexuiz config file providing a simple help message\r
+help.cfg is a Xonotic config file providing a simple help message\r
system. It prints all the messages from a list, one after the other\r
with an configureable delay between them. Great to provide beginners\r
with some hints.\r
\r
//sv_public 1 // 0 if the server should not be on the public servers list\r
//sv_status_privacy 1 // 1 hides IP addresses from "status" replies shown to clients, 0 shows them. Enables players to identify wellknown punks on your server OR is a thread to anonymity.. depending on your point of view :)\r
-//hostname "Nexuiz $g_nexuizversion Server" // this name will appear on the server list (the $g_nexuizversion gets replaced with the current version)\r
+//hostname "Xonotic $g_xonoticversion Server" // this name will appear on the server list (the $g_xonoticversion gets replaced with the current version)\r
//sv_motd "" // this message (unless "") is displayed to players on connect\r
//maxplayers 8 // number of players allowed on the server\r
//port 26000 // the port used by the server\r
\r
// select AT MOST one of these arena mutators\r
//g_minstagib 0 // set to 1 for MinstaGib\r
-//g_nixnex 0 // set to 1 for No Items Nexuiz\r
+//g_nixnex 0 // set to 1 for No Items Xonotic\r
//g_nixnex_with_laser 0 // set to 1 to always give players the laser in NixNex\r
//g_rocketarena 0 // set to 1 to make the rocket launcher the only weapon\r
\r
//sv_maxrate 1000000 // limits client connections to this rate in bytes/seconds\r
\r
// see Docs/mapdownload.txt for more info\r
-//sv_curl_defaulturl http://www.nexuiz.com/contentdownload/getmap.php?file= //fallback download URL\r
+//sv_curl_defaulturl http://www.xonotic.com/contentdownload/getmap.php?file= //fallback download URL\r
\r
//sv_defaultcharacter 0 // 1 will force a specific model for all players\r
//sv_defaultplayermodel models/player/nexus.zym // this model will be used\r
//g_balance_teams 1 // 0 will show players the team selection menu after joining instead of automaticly putting them on the smaller team\r
//g_balance_teams_force 0 // 1 to automaticly balance teams even during a game\r
\r
-//set g_ban_sync_uri "http://94.23.21.40/~nexuiz/bans/" // sync bans using this ban list provider (disabled by default, uncomment this line to enable)\r
+//set g_ban_sync_uri "http://94.23.21.40/~xonotic/bans/" // sync bans using this ban list provider (disabled by default, uncomment this line to enable)\r
//set g_ban_sync_trusted_servers "" // accept bans that were initially set on the server IPs listed here (if not set, your bans are just sent to the sync URIs, but no bans are retrieved from there)\r
+++ /dev/null
-#!/bin/sh
-
-case "$(uname -m)" in
- x86_64) executable="nexuiz-linux-x86_64-dedicated" ;;
- *) executable="nexuiz-linux-686-dedicated" ;;
-esac
-
-cd "`dirname "${0}"`"
-
-if ! [ -x "$executable" ]; then
- if [ -x "../$executable" ] && { [ -f ~/.nexuiz/data/server.cfg ] || [ -f ../data/server.cfg ] || [ -f ~/.nexuiz/havoc/server.cfg ] || [ -f ../havoc/server.cfg ]; }; then
- cd ..
- else
- echo "This script is not properly set up yet."
- echo "Please refer to the instructions in readme.txt."
- echo "In short:"
- echo "- copy server.cfg to the data directory and adjust its settings"
- echo "- move this file to the main directory of your Nexuiz installation"
- exit 1
- fi
-fi
-
-exec ./${executable} -game havoc +serverconfig server.cfg "${@}"
+++ /dev/null
-#!/bin/sh
-
-executable="nexuiz-osx-dedicated"
-
-cd "`dirname "${0}"`"
-
-if ! [ -x "$executable" ]; then
- if [ -x "../$executable" ] && { [ -f ~/.nexuiz/data/server.cfg ] || [ -f ../data/server.cfg ] || [ -f ~/.nexuiz/havoc/server.cfg ] || [ -f ../havoc/server.cfg ]; }; then
- cd ..
- else
- echo "This script is not properly set up yet."
- echo "Please refer to the instructions in readme.txt."
- echo "In short:"
- echo "- copy server.cfg to the data directory and adjust its settings"
- echo "- move this file to the main directory of your Nexuiz installation"
- exit 1
- fi
-fi
-
-exec ./${executable} -game havoc +serverconfig server.cfg "${@}"
+++ /dev/null
-@echo off\r
-\r
-setlocal\r
-set executable=nexuiz -dedicated\r
-\r
-%~d0\r
-cd "%~p0"\r
-\r
-if exist %executable% goto good\r
-if not exist ..\%executable% goto bad\r
-if exist ..\data\server.cfg goto halfgood\r
-if exist ..\havoc\server.cfg goto halfgood\r
-goto bad\r
-\r
-:bad\r
-echo This script is not properly set up yet.\r
-echo Please refer to the instructions in readme.txt.\r
-echo In short:\r
-echo - copy server.cfg to the data directory and adjust its settings\r
-echo - move this file to the main directory of your Nexuiz installation\r
-pause\r
-exit\r
-\r
-:halfgood\r
-cd ..\r
-\r
-:good\r
-.\%executable% -game havoc +serverconfig server.cfg %*\r
#!/bin/sh
case "$(uname -m)" in
- x86_64) executable="nexuiz-linux-x86_64-dedicated" ;;
- *) executable="nexuiz-linux-686-dedicated" ;;
+ x86_64) executable="xonotic-linux-x86_64-dedicated" ;;
+ *) executable="xonotic-linux-686-dedicated" ;;
esac
cd "`dirname "${0}"`"
if ! [ -x "$executable" ]; then
- if [ -x "../$executable" ] && { [ -f ~/.nexuiz/data/server.cfg ] || [ -f ../data/server.cfg ]; }; then
+ if [ -x "../$executable" ] && { [ -f ~/.xonotic/data/server.cfg ] || [ -f ../data/server.cfg ]; }; then
cd ..
else
echo "This script is not properly set up yet."
echo "Please refer to the instructions in readme.txt."
echo "In short:"
echo "- copy server.cfg to the data directory and adjust its settings"
- echo "- move this file to the main directory of your Nexuiz installation"
+ echo "- move this file to the main directory of your Xonotic installation"
exit 1
fi
fi
#!/bin/sh
-executable="nexuiz-osx-dedicated"
+executable="xonotic-osx-dedicated"
cd "`dirname "${0}"`"
if ! [ -x "$executable" ]; then
- if [ -x "../$executable" ] && { [ -f ~/.nexuiz/data/server.cfg ] || [ -f ../data/server.cfg ]; }; then
+ if [ -x "../$executable" ] && { [ -f ~/.xonotic/data/server.cfg ] || [ -f ../data/server.cfg ]; }; then
cd ..
else
echo "This script is not properly set up yet."
echo "Please refer to the instructions in readme.txt."
echo "In short:"
echo "- copy server.cfg to the data directory and adjust its settings"
- echo "- move this file to the main directory of your Nexuiz installation"
+ echo "- move this file to the main directory of your Xonotic installation"
exit 1
fi
fi
@echo off\r
\r
setlocal\r
-set executable=nexuiz -dedicated\r
+set executable=xonotic -dedicated\r
\r
%~d0\r
cd "%~p0"\r
echo Please refer to the instructions in readme.txt.\r
echo In short:\r
echo - copy server.cfg to the data directory and adjust its settings\r
-echo - move this file to the main directory of your Nexuiz installation\r
+echo - move this file to the main directory of your Xonotic installation\r
pause\r
exit\r
\r
--- /dev/null
+#!/bin/sh
+
+path=`dirname "${0}"`
+link=`readlink "${0}"`
+
+[ -n "${link}" ] && path=`dirname "${link}"`
+cd "${path}"
+
+case "${0##*/}" in
+ *sdl*) mode="sdl" ;;
+ *) mode="glx" ;;
+esac
+
+case "$(uname -m)" in
+ x86_64) arch="x86_64" ;;
+ *) arch="686" ;;
+esac
+
+xonotic="xonotic-linux-${arch}-${mode}"
+
+set -- ./${xonotic} "${@}"
+
+xserver=
+xlayout=
+
+setdisplay()
+{
+ VALUE=$1
+ VALUE=${VALUE#\"}
+ VALUE=${VALUE%\"}
+ case "$VALUE" in
+ :*)
+ ;;
+ *)
+ VALUE=:$VALUE
+ ;;
+ esac
+ VALUE="$VALUE/"
+ xserver="${VALUE%%/*}"
+ xserver=${xserver#:}
+ xlayout=${VALUE#*/}
+ xlayout=${xlayout%/}
+}
+
+# now how do we execute it?
+if [ -r ~/.xonotic/data/config.cfg ]; then
+ while read -r CMD KEY VALUE; do
+ case "$CMD:$KEY" in
+ seta:vid_x11_display)
+ setdisplay "$VALUE"
+ ;;
+ esac
+ done < ~/.xonotic/data/config.cfg
+fi
+
+m=0
+for X in "$@"; do
+ case "$m:$X" in
+ 0:+vid_x11_display)
+ m=1
+ ;;
+ 0:+vid_x11_display\ *)
+ setdisplay "${X#+vid_x11_display }"
+ ;;
+ 1:*)
+ setdisplay "$X"
+ m=0
+ ;;
+ *)
+ ;;
+ esac
+done
+
+case "$xserver" in
+ '')
+ ;;
+ *[!0-9]*)
+ echo "Not using display ':$xserver': evil characters"
+ ;;
+ *)
+ msg=
+ lf='
+'
+ prefix=
+
+ # check for a listening X server on that socket
+ if netstat -nl | grep -F " /tmp/.X11-unix/X$xserver" >/dev/null; then
+ # X server already exists
+ export DISPLAY=:$xserver
+ prefix="DISPLAY=:$xserver "
+ msg=$msg$lf"- Running Xonotic on already existing display :$xserver"
+ else
+ set -- startx "$@" -fullscreen -- ":$xserver"
+ msg=$msg$lf"- Running Xonotic on a newly created X server :$xserver."
+ case "$xlayout" in
+ '')
+ ;;
+ *[!A-Za-z0-9]*)
+ echo >&2 "Not using layout '$xlayout': evil characters"
+ xlayout=
+ ;;
+ *)
+ set -- "$@" -layout "$xlayout"
+ msg=$msg$lf"- Using the ServerLayout section named $xlayout."
+ ;;
+ esac
+ fi
+
+ echo "X SERVER OVERRIDES IN EFFECT:$msg"
+ echo
+ echo "Resulting command line:"
+ echo " $prefix$*"
+ echo
+ echo "To undo these overrides, edit ~/.xonotic/data/config.cfg and remove the line"
+ echo "starting with 'seta vid_x11_display'."
+ echo
+ echo
+ ;;
+esac
+
+exec "$@"
--- /dev/null
+xonotic-linux-glx.sh
\ No newline at end of file