Page 1 of 1

HELP setting up server

Posted: Sat Apr 06, 2013 9:53 am
by Zigana
Trying to host my own little server just for fun seeing as none of the current servers have active mods or admins.
I have downloaded both pyspades and pysnip.
But whenever I edit the config lines of either to a certain point the run.exe stops working!
What's that about?
I can edit the name of the server, the admin passwords, the time limits, and other useless nonsense, but adding lines, such as commands for trusted players, map names, or scripts, it totally fails to even launch!

Any help possible would be nice.
I can provide screen caps or whatever if needed.
I'll check back every few days too see if this gets updated.

Re: HELP setting up server

Posted: Sat Apr 06, 2013 11:35 am
by Buffet_of_Lies
Are you using PySnip? Usually there are error messages that indicate which line in the config is messing things up. Can you cut&paste the text of your config and perhaps the error messages to pastebin.com and post us a link to that? Or something a little more detailed?

Re: HELP setting up server

Posted: Mon Apr 08, 2013 5:49 am
by Zigana
It doesn't give me any errors at all.
I tried with pysnip and pyspades.
As I said before it's any line.
I cannot add lines at all, won't let me.
I can't add scripts, I can't add messages for certain players joining the server, I can't change the game type, nothing.

Re: HELP setting up server

Posted: Mon Apr 08, 2013 5:55 am
by Zigana
{
"name" : "BBCanadaFun",
"motd" : [
"Welcome to %(server_name)s",
"Map: %(map_name)s by %(map_author)s",
"Game mode: Capture The Flag",
"Server powered by PySnip and BuildAndShoot.com"
],
"help" : [
"Server name: %(server_name)s",
"Map: %(map_name)s by %(map_author)s",
"Game mode: Capture The Flag",
"/STREAK Shows how many kills in a row you got without dying",
"/INTEL Tells you who's got the enemy intel",
"/VOTEKICK Start a vote to temporarily ban a disruptive player",
"/TIME Remaining time until forced map reset"
],
"tips" : [
"You are playing Capture The Flag on %(server_name)s",
"Type /help for info & commands"
],
"tip_frequency" : 5,
"rules" : [
"No Cheating. Griefing = Ban. Have fun!"
],
"master" : true,
"max_players" : 32,
"max_connections_per_ip" : 3,
"port" : 32887,
"network_interface" : "",

"game_mode" : "ctf",
"cap_limit" : 10,
"default_time_limit" : 120,
"advance_on_win" : true,
"maps" : ["classicgen", "random"],
"random_rotation" : false,

"respawn_time" : 4,
"respawn_waves" : true,
"friendly_fire" : "on_grief",
"grief_friendly_fire_time" : 5,
"spade_teamkills_on_grief" : false,
"balanced_teams" : 2,
"teamswitch_interval" : 0,

"speedhack_detect" : true,
"votekick_percentage" : 20,
"votekick_ban_duration" : 60,
"votekick_public_votes" : true,
"votemap_public_votes" : true,
"votemap_extension_time" : 15,
"votemap_player_driven" : false,
"votemap_autoschedule" : false,
"votemap_time" : 120,
"votemap_percentage" : 80,

"melee_damage" : 80,
"fall_damage" : true,
"user_blocks_only" : false,
"set_god_build" : false,
"server_prefix" : "",
"time_announcements" : [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 30, 60, 120, 180,
240, 300, 600, 900, 1200, 1800, 2400, 3000],
"login_retries" : 3,
"default_ban_duration" : 1440,

"logfile" : "./logs/log.txt",
"rotate_daily" : true,
"debug_log" : false,
"profile" : false,

"team1" : {
"name" : "Platinum",
"color" : [255, 255, 255]
},
"team2" : {
"name" : "Crimson",
"color" : [255, 0, 0]
},
"passwords" : {
"admin" : ["adminpass1", "adminpass2", "adminpass3"],
"moderator" : ["modpass"],
"guard" : ["guardpass"],
"trusted" : ["trustedpass"]
},
"rights" : {
"moderator" : ["advance", "cancel", "dban", "fog", "from", "goto", "hackinfo", "hban", "invisible", "ip", "kick", "kickafk", "kill", "map", "master", "move", "mute", "resetgame", "switch", "teleport", "teleport_other", "tpsilent", "togglebuild", "togglekill", "togglevotekick", "trust", "undoban", "unmute", "unstick", "where", "whowas"],
"guard" : ["cancel", "fog", "from", "goto", "hackinfo", "hban", "ip", "kick", "kickafk", "kill", "move", "mute", "switch", "teleport", "teleport_other", "togglebuild", "togglekill", "togglevotekick", "trust", "unmute", "unstick", "where", "whowas"]
},
"ssh" : {
"enabled" : false,
"port" : 32887,
"users" : {
"user" : "ssh_pass_change_this"
}
},
"status_server" : {
"enabled" : false,
"port" : 32886
},
"ban_publish" : {
"enabled" : false,
"port" : 32885
},
"ban_subscribe" : {
"enabled" : true,
"urls" : [
["http://www.blacklist.spadille.net/subscribe.json", []]
]
},
"irc" : {
"enabled" : false,
"nickname" : "PySnip",
"username" : "PySnip",
"realname" : "PySnip",
"server" : "irc.quakenet.org",
"port" : 6667,
"channel" : "#MyServerChannel",
"password" : "",
"commandprefix" : "!",
"chatprefix" : "."
},
"scripts" : [
"rollback",
"protect",
"map_extensions",
"disco",
"votekick",
"trusted",
"ratio",
"passreload",
"blockinfo",
"afk"
],

"squad_respawn_time" : 8,
"squad_size" : 4,
"auto_squad" : false,
"load_saved_map" : false,
"rollback_on_game_end" : false,
"afk_time_limit" : 30
}




This is my config, without editing passwords and adding any lines, I can use this just fine.
It's only when I try adding scripts, changing what trusted players can do, adding builder to passwords and giving builder rights, anything like that causes a failure.
But it gives me no error message, it just launches, and closes.

Re: HELP setting up server

Posted: Mon Apr 08, 2013 10:52 am
by Jdrew
it gave you an error I bet, check in the log folder and upload that here for us to see

Re: HELP setting up server

Posted: Tue Apr 09, 2013 9:14 am
by Silnius
Next time, use http://pastebin.com/ and copy your config or your error message; it's more easier. (or you could at least use the Code bbcodes)
Generally, you can't run the server because you made a mistake in the config. like you add a , or a . or you put wrong script
So i suggest you to start it again attentively. You can also try to open the run.bat and see what it say

Re: HELP setting up server

Posted: Wed Apr 10, 2013 7:50 am
by Zigana
Thanks for the help.
Turns out none of the people I was gonna invite like this version of AoS anyways.
They like the old version without custom maps, auto climb, or new guns. Blue_Tongue Green_tongue