Note: This forum is merely an archive. It is no longer possible to register or post. - StackOverflow
New Ace of Spades Forums: http://buildandshoot.com/

pyspades errors

Problem getting your server up? Ask in here.

pyspades errors

Postby acid1103 » Wed Jul 11, 2012 4:28 pm

Everytime I run pyspades, I get this error:
"Traceback (most recent call last):
File "run.py", line 33, in <module>
File "json\__init__.pyo", line 278, in load
File "json\__init__.pyo", line 326, in loads
File "json\decoder.pyo", line 360, in decode
File "json\decoder.pyo", line 378, in raw_decode
ValueError: No JSON object could be decoded"
Anyone know what's wrong?
acid1103
Member
 
Posts: 2
Joined: Wed Jul 11, 2012 4:26 pm

Re: pyspades errors

Postby colorpinpoint » Wed Jul 11, 2012 5:48 pm

It looks as you have an invalid character that pyspades
Dosent reconize. Go to #pyspades for more help.
Image
Image
IGN:Colorpinpoint
Ki11aWi11 Server Thread
First Map:Here
User avatar
colorpinpoint
Member
 
Posts: 451
Joined: Thu Apr 05, 2012 11:22 pm

Re: pyspades errors

Postby acid1103 » Wed Jul 11, 2012 6:43 pm

Hmm... The only thing I've changed is in the config file.. I've looked through and can't find anything, can you find anything?
Code: Select all
{
    "name" : "testing",
    "motd" : [
        "Welcome to %(server_name)s! See /help for new commands.",
        "Map is %(map_name)s by %(map_author)s."
    ],
    "help" : [
        "/SQUAD    Creates or joins a squad, letting you spawn with friends",
        "/STREAK    Shows how many kills in a row you got without dying",
        "/AIRSTRIKE Air support!  Try it out just like that for more details",
        "/INTEL     Tells you who's got the enemy intel",
        "/PING      Shows your ping (how good your connection to the server is)"
    ],
    "tips" : [
        "Here you can deploy airstrikes, form squads and more!  Type /help for info.",
        "The spade does melee damage!  Use it wisely."
    ],
    "tip_frequency" : 5,
    "rules" : [
        "No griefing, no bad words, etc."
    ],
    "max_players" : 2,
    "port" : 32887,
    "max_connections_per_ip" : 2,
    "game_mode" : "tow",
    "cap_limit" : 10,
    "maps" : ["111ButteII"],
    "random_rotation" : false,
    "default_time_limit" : 15,
    "advance_on_win" : false,
    "votemap_public_votes" : true,
    "votemap_extension_time" : 15,
    "votemap_player_driven" : false,
    "votemap_autoschedule" : 180,
    "votemap_time" : 120,
    "votemap_percentage" : 80,
    "respawn_time" : 30,
    "respawn_waves" : true,
    "master" : true,
    "friendly_fire" : false,
    "grief_friendly_fire_time" : 2,
    "melee_damage" : 75,
    "fall_damage" : true,
    "set_god_build" : false,
    "teamswitch_interval" : 0,
    "votekick_percentage" : 25,
    "votekick_ban_duration" : 15,
    "votekick_public_votes" : true,
    "default_ban_duration" : 1440,
    "speedhack_detect" : true,
    "network_interface" : "",
    "team1" : {
        "name" : "White",
        "color" : [255, 255, 255]
    },
    "team2" : {
        "name" : "Black",
        "color" : [0, 0, 0]
    },
    "passwords" : {
        "admin" : [***********], **This is fine, I just don't want anyone knowing the pw...
        "trusted" : []
    },
    "ssh" : {
        "enabled" : false,
        "port" : 32887,
        "users" : {
            "user" : "pass"
        }
    },
    "status_server" : {
        "enabled" : false,
        "port" : 32886
    },
    "ban_publish" : {
        "enabled" : false,
        "port" : 32885
    },
    "ban_subscribe" : {
        "enabled" : true,
        "urls" : [
            ["http://www.blacklist.spadille.net/subscribe.json", []]
        ]
    },
    "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],
    "user_blocks_only" : false,
    "logfile" : "./logs/log.txt",
    "rotate_daily" : true,
    "debug_log" : false,
    "balanced_teams" : 1,
    "login_retries" : 3,
    "irc" : {
        "enabled" : false,
        "nickname" : "pyspades",
        "username" : "pyspades",
        "realname" : "pyspades server bot",
        "server" : "irc.quakenet.org",
        "port" : 6667,
        "channel" : "#pyspades.bots",
        "password" : "",
        "commandprefix" : ".",
        "chatprefix" : ""
    },
    "profile" : false,

    "scripts" : [
        "welcome",
        "rollback",
        "trusted",
        "autohelp",
        "protect",
        "map_extensions",
        "airstrike",
        "squad",
        "disco",
        "antijerk",
        "ratio",
   "aimbot2"
    ],
   
    "load_saved_map" : false,
   
    "squad_respawn_time" : 45,
    "squad_size" : 4,
    "auto_squad" : false,
   
    "statistics" : {
        "host" : "localhost",
        "server_name" : "stats server",
        "port" : 32880,
        "password" : "****************"
    },
   
    "welcomes" : {
        "acid1103 : Hey, everyone, the server mod, acid1103, is on!"
    },
    "rollback_on_game_end" : false
}
acid1103
Member
 
Posts: 2
Joined: Wed Jul 11, 2012 4:26 pm

Re: pyspades errors

Postby topologist » Thu Jul 12, 2012 4:45 am

Your problem is in "welcomes":
Code: Select all
"acid1103 : Hey, everyone, the server mod, acid1103, is on!"

should be
Code: Select all
"acid1103" : "Hey, everyone, the server mod, acid1103, is on!"
REDACTED
topologist
[SPQR] Member
 
Posts: 216
Joined: Sun Dec 11, 2011 9:58 am
Location: boop


Return to Server Help



Who is online

Users browsing this forum: No registered users and 3 guests

cron