Author Topic: Arcade Mod  (Read 7585 times)

cyked

  • Posts: 8
  • Turrets: +0/-0
Arcade Mod
« on: September 20, 2010, 03:14:13 am »
I tried to make an arcade mod server, but it didn't work.

It started up fine, the server name is Arcade Mod but it doesn't have any relics/extra features that it was supposed to have.

And when someone tries to join it, it makes them have to download the arcade mod.

How do I make the Arcade Mod work?

SlackerLinux

  • Spam Killer
  • *
  • Posts: 555
  • Turrets: +41/-62
Re: Arcade Mod
« Reply #1 on: September 20, 2010, 04:17:44 am »
ok 1st you will need some layouts for domination to work those can be gotten from the arcade website

the cvar  g_domination will enable/disable domination and g_relics will specify the number of relics that will spawn(0 for off, 20 for 20 relics to spawn)
Slackware64 13.1
SlackersQVM/

cyked

  • Posts: 8
  • Turrets: +0/-0
Re: Arcade Mod
« Reply #2 on: September 20, 2010, 04:50:29 am »
ok 1st you will need some layouts for domination to work those can be gotten from the arcade website

the cvar  g_domination will enable/disable domination and g_relics will specify the number of relics that will spawn(0 for off, 20 for 20 relics to spawn)


I entered my Rcon password and set the relics to 20 but nothing spawns. And I think I have the Arcade Layout folder, in the folder it has folders with map names and in those folders with map names they have "dat" files.

This is the contents of the maprotation.cfg:
Code: [Select]
arcade
{
        transit
        {
                layouts "arcade"
        }
        tremor
        {
                layouts "arcade"
        }
        UTCSb2
        {
                layouts "arcade"
        }
        arachnid2
        {
                layouts "arcade"
        }
        niveus
        {
                layouts "arcade"
        }
        flap
        {
                layouts "arcade"
        }
        atcs
        {
                layouts "arcade"
        }
}

The contents of the server.cfg file is:
Code: [Select]
//
// Tremulous server config
//

// The server's name and message
set sv_hostname "^3ARCADE^7 mod"
set g_motd "Enable automatic downloads in options before connecting! In console: ^3\cl_allowDownload 1"

// Maximum players that can play on your server
set sv_maxClients 12

// Game ends after X minutes, 0 to disable
set timelimit 0

// Whether teammates and team buildables take damage from your attacks
set g_friendlyBuildableFire 1
set g_friendlyFire 0

// Force each team to have the same number of players
set g_teamForceBalance 1

// Set this to your top secret admin password
// Control server via \rcon password commands ...
set rconpassword "**********"

// Buildables are marked rather than immediately deconstructed, when their BPS
// is needed for a new buildable they are automatically deconstructed
set g_markDeconstruct 1

// Credit sharing via \share and \donate
set g_allowShare 1

// When a player has more than the maximum number of allowed credits, they
// are automatically forced to donate the excess amount if this is enabled
set g_creditOverflow 1

// Server network quality, raise snaps (no more than 20) for smoother gameplay
set sv_minSnaps 10
set sv_minRate 3000
set sv_maxRate 30000
set pmove_fixed 0

// This will disconnect players that have not downloaded the PK3
// Do NOT disable otherwise those players will crash!
set sv_pure 1

// Web download redirection, if you change this make sure that the Arcade
// PK3 is in the arcade subfolder
set sv_allowdownload 1
set sv_wwwDownload 1
set sv_wwwBaseURL "http://pub.risujin.org/tremulous"

// If your tremded has the pure drop message patch, this cvar will let 1.1.0
// players that do not have downloads enabled know what to do
set sv_pureDropMsg "Your automatic downloads are ^1DISABLED^7! You cannot play on modded servers until you enable downloads. Open your console (~ key), and enter: ^3cl_allowDownload 1"

// The server's map rotation (see maprotation.cfg)
set g_initialMapRotation "arcade"

// Sets the folder for per-map config files
set g_mapConfigs "map_configs"

// g_layouts controls the initial map layout and is reset after every map, see
// the map_configs folder for per-map layout names
set g_layouts "arcade"

// Initial map
map atcs

What do I do? And oh, Domination is already set to the value 1.

Thanks.

-EDIT-

P.S How do I know that I am starting the server through the mod, or how can I start the server through the mod?
« Last Edit: September 20, 2010, 04:56:10 am by cyked »

SlackerLinux

  • Spam Killer
  • *
  • Posts: 555
  • Turrets: +41/-62
Re: Arcade Mod
« Reply #3 on: September 20, 2010, 05:03:55 am »
http://risujin.org/tremulous/#arcade is the site the layouts are in server tarball i think

having no maplayouts means that the relics will spawn randomly around the map if the qvm is working

to run the arcade mod you change fs_game to arcade and that will use the arcade folder with the right qvm's files etc
so like if i want to run arcade i would run:
Code: [Select]
cd /usr/local/games/tremulous
./tremded.x86_64 +set fs_game arcade +exec server.cfg
Slackware64 13.1
SlackersQVM/

cyked

  • Posts: 8
  • Turrets: +0/-0
Re: Arcade Mod
« Reply #4 on: September 20, 2010, 05:46:44 am »
http://risujin.org/tremulous/#arcade is the site the layouts are in server tarball i think

having no maplayouts means that the relics will spawn randomly around the map if the qvm is working

to run the arcade mod you change fs_game to arcade and that will use the arcade folder with the right qvm's files etc
so like if i want to run arcade i would run:
Code: [Select]
cd /usr/local/games/tremulous
./tremded.x86_64 +set fs_game arcade +exec server.cfg

Okay, I set fs_game to arcade but then the server doesn't show up anymore, then I removed the fs_game command then it started fine.

This is what I ran mine like:
Code: [Select]
tremulous.exe +set dedicated 2 +exec server.cfg +set fs_game arcade
P.S

When I write this
Code: [Select]
fs_game arcade into the Tremded console, it says
Code: [Select]
fs_game is write protected

SlackerLinux

  • Spam Killer
  • *
  • Posts: 555
  • Turrets: +41/-62
Re: Arcade Mod
« Reply #5 on: September 20, 2010, 06:23:16 am »
http://risujin.org/tremulous/#arcade is the site the layouts are in server tarball i think

having no maplayouts means that the relics will spawn randomly around the map if the qvm is working

to run the arcade mod you change fs_game to arcade and that will use the arcade folder with the right qvm's files etc
so like if i want to run arcade i would run:
Code: [Select]
cd /usr/local/games/tremulous
./tremded.x86_64 +set fs_game arcade +exec server.cfg

Okay, I set fs_game to arcade but then the server doesn't show up anymore, then I removed the fs_game command then it started fine.

This is what I ran mine like:
Code: [Select]
tremulous.exe +set dedicated 2 +exec server.cfg +set fs_game arcade
P.S

When I write this
Code: [Select]
fs_game arcade into the Tremded console, it says
Code: [Select]
fs_game is write protected

tremulous.exe +set dedicated 2 +exec server.cfg +set fs_game arcade is correct i do think you should move fs_game before the execution of server.cfg this is what i use to test a mod i ported to gpp as an example(dedicated 2 is fine im using 1 because i don't want it on the masterserver and you can ignore net_port in mine and fs_homepath(unless if you want to change the servers filepath sometimes a good idea)"
Code: [Select]
#!/bin/sh
cd /usr/local/games/tremulous
tremded-gpp.x86_64 +set dedicated 1 +set fs_homepath /home/slacker/.tremserver +set fs_game gppportal +set net_port 32123 +exec server.cfg
ok so have you made the arcade folder and added the server qvm's and layout files etc?
mine looks like this with the server home path being /home/slacker/.tremserver the main things you need is arcade pk3 a server.cfg config somewhere a qvm in the vm folder(mine is a custom one i think the arcade site has this in a pk3 - cleaned it up the output of ls -R a little had some files related to changing the mod without restarting the server but was kinda very buggy)
Code: [Select]
./arcade:
.  ..  admin.dat arcade-svn971-15.pk3  autogen_server.cfg  games.log  layouts(folder)  mapconfigs(folder) vm(folder)

./arcade/layouts:(all folders)
.  ..  arachnid2  atcs  flap  nano-beta1  niveus  transit  tremor  utcsb2
./arcade/layouts/arachnid2:
.  ..  arcade.dat
./arcade/layouts/atcs:
.  ..  arcade-4domination.dat  arcade.dat
./arcade/layouts/flap:
.  ..  arcade.dat
./arcade/layouts/nano-beta1:
.  ..  arcade.dat
./arcade/layouts/niveus:
.  ..  arcade.dat
./arcade/layouts/transit:
.  ..  arcade.dat
./arcade/layouts/tremor:
.  ..  arcade.dat
./arcade/layouts/utcsb2:
.  ..  arcade.dat

./arcade/mapconfigs:
.  ..  arachnid2.cfg  atcs.cfg  default.cfg  flap.cfg  nano-beta1.cfg  niveus.cfg  transit.cfg  tremor.cfg  utcsb2.cfg

./arcade/vm:
.  ..  game.qvm
« Last Edit: September 20, 2010, 06:26:10 am by SlackerLinux »
Slackware64 13.1
SlackersQVM/

cyked

  • Posts: 8
  • Turrets: +0/-0
Re: Arcade Mod
« Reply #6 on: September 20, 2010, 07:47:50 am »
http://risujin.org/tremulous/#arcade is the site the layouts are in server tarball i think

having no maplayouts means that the relics will spawn randomly around the map if the qvm is working

to run the arcade mod you change fs_game to arcade and that will use the arcade folder with the right qvm's files etc
so like if i want to run arcade i would run:
Code: [Select]
cd /usr/local/games/tremulous
./tremded.x86_64 +set fs_game arcade +exec server.cfg



Okay, I set fs_game to arcade but then the server doesn't show up anymore, then I removed the fs_game command then it started fine.

This is what I ran mine like:
Code: [Select]
tremulous.exe +set dedicated 2 +exec server.cfg +set fs_game arcade
P.S

When I write this
Code: [Select]
fs_game arcade into the Tremded console, it says
Code: [Select]
fs_game is write protected

tremulous.exe +set dedicated 2 +exec server.cfg +set fs_game arcade is correct i do think you should move fs_game before the execution of server.cfg this is what i use to test a mod i ported to gpp as an example(dedicated 2 is fine im using 1 because i don't want it on the masterserver and you can ignore net_port in mine and fs_homepath(unless if you want to change the servers filepath sometimes a good idea)"
Code: [Select]
#!/bin/sh
cd /usr/local/games/tremulous
tremded-gpp.x86_64 +set dedicated 1 +set fs_homepath /home/slacker/.tremserver +set fs_game gppportal +set net_port 32123 +exec server.cfg
ok so have you made the arcade folder and added the server qvm's and layout files etc?
mine looks like this with the server home path being /home/slacker/.tremserver the main things you need is arcade pk3 a server.cfg config somewhere a qvm in the vm folder(mine is a custom one i think the arcade site has this in a pk3 - cleaned it up the output of ls -R a little had some files related to changing the mod without restarting the server but was kinda very buggy)
Code: [Select]
./arcade:
.  ..  admin.dat arcade-svn971-15.pk3  autogen_server.cfg  games.log  layouts(folder)  mapconfigs(folder) vm(folder)

./arcade/layouts:(all folders)
.  ..  arachnid2  atcs  flap  nano-beta1  niveus  transit  tremor  utcsb2
./arcade/layouts/arachnid2:
.  ..  arcade.dat
./arcade/layouts/atcs:
.  ..  arcade-4domination.dat  arcade.dat
./arcade/layouts/flap:
.  ..  arcade.dat
./arcade/layouts/nano-beta1:
.  ..  arcade.dat
./arcade/layouts/niveus:
.  ..  arcade.dat
./arcade/layouts/transit:
.  ..  arcade.dat
./arcade/layouts/tremor:
.  ..  arcade.dat
./arcade/layouts/utcsb2:
.  ..  arcade.dat

./arcade/mapconfigs:
.  ..  arachnid2.cfg  atcs.cfg  default.cfg  flap.cfg  nano-beta1.cfg  niveus.cfg  transit.cfg  tremor.cfg  utcsb2.cfg

./arcade/vm:
.  ..  game.qvm

I got my arcade folder inside my base folder and one outside my base folder both identical.

Then I changed my tremded to
Code: [Select]
tremulous.exe +set dedicated 2 +set fs_homepath

D:\tremulous +set fs_game arcade +set net_port 32123

+exec server.cfg
And then the server crashed and gave me this error
Code: [Select]
----- Server Shutdown (Server crashed: SV_BotFreeClient: bad clientNum: 33551196) -----It always has that code when I add fs_game

SlackerLinux

  • Spam Killer
  • *
  • Posts: 555
  • Turrets: +41/-62
Re: Arcade Mod
« Reply #7 on: September 20, 2010, 07:53:31 am »
And then the server crashed and gave me this error
Code: [Select]
----- Server Shutdown (Server crashed: SV_BotFreeClient: bad clientNum: 33551196) -----It always has that code when I add fs_game

ok that helps alot upgrade your tremded your still using the one that came in the installer and it just doesnt work with new qvm's use MG tremded(go files and get the tremded.x86.exe or tremded.x86.native.exe i dont know what the difference is) http://projects.mercenariesguild.net/projects/mgtremded or tremfusion both are fine even tjw one will work
Slackware64 13.1
SlackersQVM/

cyked

  • Posts: 8
  • Turrets: +0/-0
Re: Arcade Mod
« Reply #8 on: September 20, 2010, 08:37:46 am »
And then the server crashed and gave me this error
Code: [Select]
----- Server Shutdown (Server crashed: SV_BotFreeClient: bad clientNum: 33551196) -----It always has that code when I add fs_game

ok that helps alot upgrade your tremded your still using the one that came in the installer and it just doesnt work with new qvm's use MG tremded(go files and get the tremded.x86.exe or tremded.x86.native.exe i dont know what the difference is) http://projects.mercenariesguild.net/projects/mgtremded or tremfusion both are fine even tjw one will work

Thank you so much!
You are so awesome!

Oh and is there a way to get the commands "!specme" or "!register" or "/share" etc?
and what is the command for putting this on the internet instead of LAN?
Thanks!

+1 for you!

P.S
How do I give you rep/turrets?
« Last Edit: September 20, 2010, 08:59:48 am by cyked »

SlackerLinux

  • Spam Killer
  • *
  • Posts: 555
  • Turrets: +41/-62
Re: Arcade Mod
« Reply #9 on: September 20, 2010, 09:22:38 am »
you need more postcount to give karma(i think its like 300 posts needed before you can give/take karma)

share and donate should be in the qvm not sure what admin commands are provided you will have to setup an admin.dat to enable them also some 1.1 commands wont be there since arcade is quite old i do have a .patch that applies to my qvm that gives all the commands in latest latiku7 SVN aswell as some extra ones but i dont offer a fully compiled version

the comand to get this on master server is simple set dedicated to 2(which you have been doing) and make sure you route the port it uses through your router(default is 30720 i think i always like to use a custom one)
Slackware64 13.1
SlackersQVM/

cyked

  • Posts: 8
  • Turrets: +0/-0
Re: Arcade Mod
« Reply #10 on: September 20, 2010, 09:46:26 am »
you need more postcount to give karma(i think its like 300 posts needed before you can give/take karma)

share and donate should be in the qvm not sure what admin commands are provided you will have to setup an admin.dat to enable them also some 1.1 commands wont be there since arcade is quite old i do have a .patch that applies to my qvm that gives all the commands in latest latiku7 SVN aswell as some extra ones but i dont offer a fully compiled version

the comand to get this on master server is simple set dedicated to 2(which you have been doing) and make sure you route the port it uses through your router(default is 30720 i think i always like to use a custom one)

Thanks so much again!

Oh can you change the mod inside the game?

P.S

How do you use "patch" file?
« Last Edit: September 20, 2010, 10:05:52 am by cyked »

SlackerLinux

  • Spam Killer
  • *
  • Posts: 555
  • Turrets: +41/-62
Re: Arcade Mod
« Reply #11 on: September 20, 2010, 10:50:14 am »
you need more postcount to give karma(i think its like 300 posts needed before you can give/take karma)

share and donate should be in the qvm not sure what admin commands are provided you will have to setup an admin.dat to enable them also some 1.1 commands wont be there since arcade is quite old i do have a .patch that applies to my qvm that gives all the commands in latest latiku7 SVN aswell as some extra ones but i dont offer a fully compiled version

the comand to get this on master server is simple set dedicated to 2(which you have been doing) and make sure you route the port it uses through your router(default is 30720 i think i always like to use a custom one)

Thanks so much again!

Oh can you change the mod inside the game?
i was able to do it but it had quite a few undesired side effects
How do you use "patch" file?
its a long process that i don't really want to explain if you really want to there's a few guides around
http://tremulous.net/forum/index.php?topic=3408.0
http://tremulous.net/forum/index.php?topic=2672.0
and the .patch i was talking about is here
http://slackers-qvm.googlecode.com/svn/branches/patches/02-Arcade-15-Slackersqvm-1.1.patch

its alot harder then setting up a server and the patch isnt heavily tested be warned :)
Slackware64 13.1
SlackersQVM/