Server Problems
Si Updating hangs at writing the Client.cs (23kb).
When i try to connect to my server it always says that its cycling missions (stops at Stage 2).
How i installed it:
Installed using the normal installer from rawr32.
Installed TN patch.
Installed Con mod latest.
Installed metallic mod latest ( i noticed it overwrites files of the con mod).
When i try to connect to my server it always says that its cycling missions (stops at Stage 2).
How i installed it:
Installed using the normal installer from rawr32.
Installed TN patch.
Installed Con mod latest.
Installed metallic mod latest ( i noticed it overwrites files of the con mod).
Comments
http://pastie.org/private/vq4h5hwwa44ocjlbrwtrwa
Edit: it says loading mission flatdash+ but this is a map no mission.
Also in the source it looks for the <mission-name>.mis file in missions/ but there is no such dir.
The constant "cycling missions" error is due to your $Host::Map (in serverPrefs.cs) being set to a mission file that doesn't exist. This usually happens when someone tries to use the display name instead of the filename, eg. "Flatland Big" instead of "FlatlandBig".
Missions that you've downloaded are typically stored inside vl2 files, which are simply archives read by the game keeping the directory structure intact. You can open them up and peek around if you're not sure what the mission file you need is
The server name resetting to default is most likely either,
Server name changed now but im still getting the cycling missions error, i set the Map to flatlandpack and there is a file inside GameData/base called flatlandpack.vl2
Edit: working now with flatland as Map.
Couple of questions...
Is there any way to disable kick voting?
How do i disable Prison and Cascade and deployable spam detection thing?
What is expert and mtc mode?
What is purebuild? found that out how to enable it but it removes the Modiffier tool. I added $Host::PureServer = 1;
The motd, how do i edit that?
Building manager how do i get that? To load and save buildings.
The game is constantly bumping for me, i got a GTX 260 card with a quad core so hardware is not the issue.
I only want people to be able to change the missions to construction, not all the other missions, how do i set that.
I believe in the flatlandpack there are about 20 variations of Flatland, but simply setting $Host::Map = "Flatland"; should allow you to get ingame and change to whatever map you'd like to play on.
You'll also want to make sure $Host::CRCTextures = false; which will prevent the server from seeming to drop players at random if you or they have custom textures.
Either set $Host::AdminPassword to a password of your choosing and use SAD("password"); in your client console, or in your server console use listplayers(); to find your clientID and then enter <clientid>.isSuperAdmin = true;
After doing either of these you can right-click your name in the lobby and add your guid to the admin list to be automatically admined the next time you join.
There isn't an extensive documented listing of console commands, but you can find a list or two with quite a few little tricks if you do some searching on the forums. There is a chat command listing for the old 1.4beta here that should cover all the commands included in that version.
Map voting is set up automatically (as a base feature in the game scripts) and should function normally out of the gate. If you want to restrict it in any way, the scripts will need to be modified.
If you simply want to reject the vote, in scripts/admin.cs at the start of function serverCmdStartNewVote add something like: but note that the system in use is very baseline and it will allow votes through from players who aren't using the menu to send the vote. You shouldn't have problems, but you can always cancel the votes.
If you don't want other missiontypes to show up on your list, you'll need to do something like modify the servercmd that sends the typelist to the player (serverCmdGetMissionTypes in scripts/server.cs) so that it only sends the construction entry. It could be something like this: Again, it will still allow players with a bit of knowledge of the games workings to attempt to bypass it, but this method still allows admins to choose non-construction missions. There are a variety of other things you could do to further restrict it, but it would take some time to edit the appropriate files.
If you want to restrict the missions from being on your list completely, you might modify your mission list generator (function buildMissionList in gameGui.cs - you'll need to open up base/scripts.vl2) to reject non-construction missions. There should already be something there to reject singleplayer missions, so it should be easy for you to modify. Save your new scripts/gameGui.cs under the construction directory and it should be good to go.
There are a few variables in your server prefs to tune voting slightly:
$Host::allowAdminPlayerVotes // [true/false] allow players to vote themselves admin
$Host::VotePassPercent // [0-100] percentage required for a vote to pass
$Host::VoteSpread // [time in seconds] time between votes
$Host::VoteTime // [time in seconds] time a vote runs
If you open "scripts/admin.cs" and find the line: Add underneath it: and set $Host::allowKickPlayerVotes = false; in your serverprefs.cs, only admins will be able to kick players.
Both (among a few others you may want to toggle such as invincible deployables and deploy spam settings) can be disabled via the lobby menu, or in your serverprefs under $Host::Prison::Enabled and $Host::Cascade
Expert mode is simply a setting to allow the pieces to use all of their available options. There is no benefit to disabling it.
MTCs are hunter-killer turret bots that chase you around and have parties with all of their friends.
Purebuild is a setting to only allow the construction armours and tools. Some people like to disable it to play with the base weapons.
The version you're running has three configurable variables for the loadscreen, $Host::ServerRule1, $Host::ServerRule2, and $Host::ServerRule3.
If you want to change it more extensively, you can modify scripts/Loadscreen.cs
If you want to change the centerprint message you get when you finish loading, you can modify scripts/defaultGame.cs - I believe that version did it all in DefaultGame::clientMissionDropReady, and it should be pretty obvious.
While there isn't a building manager in the version you're using, there are a few chat commands to accomodate you if you look at the post I linked earlier. If you use the /savebuilding command to save your file and make sure to put it under "admin/", you can load it via the "Change Mission" submenu in the lobby. Make sure to save your buildings with a .cs extension, or they won't load.
The "bumping" is a timing issue, if you insert setPerfCounterEnable(0); somewhere it will be automatically executed (such as your scripts/server.cs file), it should be resolved.
The MTC parties are dangerous.
My school is dubbed "MTC" o_O
You also mentioned there is no building manager in the version im using, is there another one? i've got the latest from rawr32.