• Search
  • Register
  • Log in
  • Ace of Spades Game Forums » Help
  • Note: This forum is merely an archive. It is no longer possible to login or register. - StackOverflow
    New Ace of Spades Forums: http://buildandshoot.com/
  • Mat^2 need help with pyspades
  • 12
     

    mat i cant figure out how to use pyspades i downloaded it and extracted it and ran run.exe and it comes up with this error
    "Run.exe/twisted/internet/iocpreactor/reactor.py:29: UserWarning?: pyOpenSSL 0.10 Or Newer is requiered For SSL in iocpreactor. It is missing so the reactor will not support SSL APIs.
    help??

    #56485
    JukelProNabb
    Member
    Posted 13 years ago
     

    I got that when i first tried. Re-extract it. Dont change the config. Run it. See if you still get an error.

    #56487
    Booboorocks998
    Member
    Posted 13 years ago
     

    Bump.

    #56501
    DeathEnhanced
    The Grand Exterminator
    Posted 13 years ago
     

    ok i went in the config and changed somestuff and now i get
    C:\Documents and Settings\Brandon\My Documents\Downloads\dist>run.exe
    Traceback (most recent call last):
    File "run.py", line 27, in <module>
    File "json\__init__.pyo", line 267, in load
    File "json\__init__.pyo", line 307, in loads
    File "json\decoder.pyo", line 319, in decode
    File "json\decoder.pyo", line 336, in raw_decode
    File "json\scanner.pyo", line 55, in iterscan
    File "json\decoder.pyo", line 183, in JSONObject
    File "json\scanner.pyo", line 55, in iterscan
    File "json\decoder.pyo", line 219, in JSONArray
    ValueError: Expecting object: line 15 column 15 (char 585)

    C:\Documents and Settings\Brandon\My Documents\Downloads\dist>pause
    Press any key to continue . . .
    and when i go round and change some other stuff on that line and column other and fix it or change it another line or column is messed up...on his website he said you only had to change the name admin password and map for it to work but that gives me this error...the same one at the top
    "Run.exe/twisted/internet/iocpreactor/reactor.py:29: UserWarning?: pyOpenSSL 0.10 Or Newer is requiered For SSL in iocpreactor. It is missing so the reactor will not support SSL APIs.
    so idk if its me or whats up but if someone can help that would be great

    #56507
    JukelProNabb
    Member
    Posted 13 years ago
     

    ill try and find help in anyway possible!

    #56511
    [EX]Frosty
    Best Served Chilled
    Posted 13 years ago
     

    thank you

    #56516
    JukelProNabb
    Member
    Posted 13 years ago
     

    Does it work with the default values in config file? If yes then probably you've messed up this file so try to find any missing ' and "

    #56563
    Szuwar
    Member
    Posted 13 years ago
     

    You are probably missing a comma

    #56580
    Booboorocks998
    Member
    Posted 13 years ago
     

    Why not post your config file here? If you've set a password change it to something else first though.

    #56584
    HelpfulHarry
    Member
    Posted 13 years ago
     

    this is what i have now this is all just test

    {
    "name" : "hk",
    "motd" : "hi homies whats up"
    "Welcome to %(hk)s! See /help for new commands.",
    "Map is %(assualt)s by %(Chrispin)s.",
    "(server powered by pyspades)"
    ],
    "help" : [
    "/FOLLOW Choose a teammate as squad leader, who will act as your spawnpoint",
    "/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."
    ],
    "tip_frequency" : 5,
    "rules" : [
    "No griefing, no bad words, etc."
    ],
    "max_players" : 32,
    "max_connections_per_ip" : 3,
    "join_part_messages" : true,
    "game_mode" : "ctf",
    "kill_limit" : 100,
    "cap_limit" : 10,
    "map" : "termina.vxl",
    "respawn_time" : 5,
    "follow_respawn_time" : 8,
    "max_followers" : 3,
    "follow_attack" : false,
    "master" : true,
    "friendly_fire" : false,
    "grief_friendly_fire_time" : 2,
    "fall_damage" : true,
    "teamswitch_interval" : 0,
    "votekick_percentage" : 25,
    "votekick_ban_duration" : 15,
    "votekick_public_votes" : true,
    "default_ban_duration" : 1440,
    "network_interface" : "",
    "passwords" : {
    "admin" : ["i had a pass here"],
    "trusted" : []
    },
    "ssh" : {
    "enabled" : false,
    "port" : 32887,
    "users" : {
    "user" : "pass"
    }
    },
    "status_server" : {
    "enabled" : false,
    "port" : 38826
    },
    "publish_server" : {
    "enabled" : false,
    "port" : 38825
    },
    "server_prefix" : "[*]",
    "user_blocks_only" : false,
    "logfile" : "log.txt",
    "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",
    "commandprefix" : "."
    },
    "iocp" : true,
    "profile" : false,

    "scripts" : [
    "welcome",
    "rollback",
    "trusted",
    "autohelp",
    "protect",
    "map_extensions"
    ],

    "welcomes" : {
    "mat^2" : "The very likeable mat^2 has entered!"
    },
    "rollback_on_game_end" : false
    }
    see anything wrong?

    #56596
    JukelProNabb
    Member
    Posted 13 years ago
     

    "map" : "termina.vxl",

    get rid of the .vxl

    #56601
    izzy
    Moderator
    Posted 13 years ago
     

    k then i try running it again and i get this

    C:\Documents and Settings\Brandon\My Documents\Downloads\dist>run.exe
    Traceback (most recent call last):
    File "run.py", line 27, in <module>
    File "json\__init__.pyo", line 267, in load
    File "json\__init__.pyo", line 307, in loads
    File "json\decoder.pyo", line 319, in decode
    File "json\decoder.pyo", line 336, in raw_decode
    File "json\scanner.pyo", line 55, in iterscan
    File "json\decoder.pyo", line 193, in JSONObject
    ValueError: Expecting , delimiter: line 4 column 9 (char 66)

    C:\Documents and Settings\Brandon\My Documents\Downloads\dist>pause
    Press any key to continue . . .

    #56604
    JukelProNabb
    Member
    Posted 13 years ago
     

    Test This:

    {
    "name" : "hk",
    "motd" : "hi homies whats up"
    "Welcome to %(hk)s! See /help for new commands.",
    "Map is %(assualt)s by %(Chrispin)s.",
    "(server powered by pyspades)"
    ],
    "help" : [
    "/FOLLOW Choose a teammate as squad leader, who will act as your spawnpoint",
    "/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."
    ],
    "tip_frequency" : 5,
    "rules" : [
    "No griefing, no bad words, etc."
    ],
    "max_players" : 32,
    "max_connections_per_ip" : 3,
    "join_part_messages" : true,
    "game_mode" : "ctf",
    "kill_limit" : 100,
    "cap_limit" : 10,
    "map" : "termina.vxl",
    "respawn_time" : 5,
    "follow_respawn_time" : 8,
    "max_followers" : 3,
    "follow_attack" : false,
    "master" : true,
    "friendly_fire" : false,
    "grief_friendly_fire_time" : 2,
    "fall_damage" : true,
    "teamswitch_interval" : 0,
    "votekick_percentage" : 25,
    "votekick_ban_duration" : 15,
    "votekick_public_votes" : true,
    "default_ban_duration" : 1440,
    "network_interface" : "",
    "passwords" : {
    "admin" : ["i had a pass here"],
    "trusted" : []
    },
    "ssh" : {
    "enabled" : false,
    "port" : 32887,
    "users" : {
    "user" : "pass"
    }
    },
    "status_server" : {
    "enabled" : false,
    "port" : 38826
    },
    "publish_server" : {
    "enabled" : false,
    "port" : 38825
    },
    "server_prefix" : "[*]",
    "user_blocks_only" : false,
    "logfile" : "log.txt",
    "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",
    "commandprefix" : "."
    },
    "iocp" : true,
    "profile" : false,

    "scripts" : [
    "welcome",
    "rollback",
    "trusted",
    "autohelp",
    "protect",
    "map_extensions"
    ],

    "welcomes" : {
    "mat^2" : "The very likeable mat^2 has entered!"
    },
    "rollback_on_game_end" : false
    }

    #56605
    HelpfulHarry
    Member
    Posted 13 years ago
     

    you didnt even change anything except the .vxl?

    #56613
    JukelProNabb
    Member
    Posted 13 years ago
     

    I added in a , and a ] that you missed. Remove the .vxl as I missed izzys comment.

    #56618
    HelpfulHarry
    Member
    Posted 13 years ago
     

    where i cant find em

    #56620
    JukelProNabb
    Member
    Posted 13 years ago
     

    No wait shit, I was running pyspades in a virtual machine and couldn't copy across.

    {
    "name" : "hk",
    "motd" : [
    "hi homies whats up",
    "Welcome to %(hk)s! See /help for new commands.",
    "Map is %(assualt)s by %(Chrispin)s.",
    "(server powered by pyspades)"
    ],
    "help" : [
    "/FOLLOW Choose a teammate as squad leader, who will act as your spawnpoint",
    "/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."
    ],
    "tip_frequency" : 5,
    "rules" : [
    "No griefing, no bad words, etc."
    ],
    "max_players" : 32,
    "max_connections_per_ip" : 3,
    "join_part_messages" : true,
    "game_mode" : "ctf",
    "kill_limit" : 100,
    "cap_limit" : 10,
    "map" : "termina",
    "respawn_time" : 5,
    "follow_respawn_time" : 8,
    "max_followers" : 3,
    "follow_attack" : false,
    "master" : true,
    "friendly_fire" : false,
    "grief_friendly_fire_time" : 2,
    "fall_damage" : true,
    "teamswitch_interval" : 0,
    "votekick_percentage" : 25,
    "votekick_ban_duration" : 15,
    "votekick_public_votes" : true,
    "default_ban_duration" : 1440,
    "network_interface" : "",
    "passwords" : {
    "admin" : ["i had a pass here"],
    "trusted" : []
    },
    "ssh" : {
    "enabled" : false,
    "port" : 32887,
    "users" : {
    "user" : "pass"
    }
    },
    "status_server" : {
    "enabled" : false,
    "port" : 38826
    },
    "publish_server" : {
    "enabled" : false,
    "port" : 38825
    },
    "server_prefix" : "[*]",
    "user_blocks_only" : false,
    "logfile" : "log.txt",
    "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",
    "commandprefix" : "."
    },
    "iocp" : true,
    "profile" : false,

    "scripts" : [
    "welcome",
    "rollback",
    "trusted",
    "autohelp",
    "protect",
    "map_extensions"
    ],

    "welcomes" : {
    "mat^2" : "The very likeable mat^2 has entered!"
    },
    "rollback_on_game_end" : false
    }

    #56630
    HelpfulHarry
    Member
    Posted 13 years ago
     

    harry where did you add the , and ] i cant find it?

    #56631
    JukelProNabb
    Member
    Posted 13 years ago
     

    you took out other important stuff, don't change this:

    "motd" : [
    "Welcome to %(server_name)s!",
    "Map is %(map_name)s by %(map_author)s.",
    "(server powered by pyspades)"
    ],

    you really should be at least testing the default config before asking for help:
    http://code.google.com/p/pyspades/source/browse/feature_server/config.txt

    #56633
    izzy
    Moderator
    Posted 13 years ago
     

    then i get this when i add that ] and,

    C:\Documents and Settings\Brandon\My Documents\Downloads\dist>run.exe
    C:\Documents and Settings\Brandon\My Documents\Downloads\dist\run.exe\twisted\in
    ternet\iocpreactor\reactor.py:29: UserWarning: pyOpenSSL 0.10 or newer is requir
    ed for SSL support in iocpreactor. It is missing, so the reactor will not suppor
    t SSL APIs.

    #56636
    JukelProNabb
    Member
    Posted 13 years ago
     

    i did test the default config bro

    #56648
    JukelProNabb
    Member
    Posted 13 years ago
     

    turns out i didnt have the defualt...or the link you gave me is wrong so i copy pasted what was in the link and got this

    {
    "name" : "hk",
    "motd" : [
    "hey",
    "Welcome to %(server_name)s! See /help for new commands.",
    "Map is %(map_name)s by %(map_author)s.",
    "(server powered by pyspades)"
    ],
    "help" : [
    "/FOLLOW Choose a teammate as squad leader, who will act as your spawnpoint",
    "/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."
    ],
    "tip_frequency" : 5,
    "rules" : [
    "No griefing, no bad words, etc."
    ],
    "max_players" : 32,
    "max_connections_per_ip" : 3,
    "join_part_messages" : true,
    "game_mode" : "ctf",
    "kill_limit" : 100,
    "cap_limit" : 10,
    "map" : "caves0",
    "respawn_time" : 5,
    "follow_respawn_time" : 8,
    "max_followers" : 3,
    "follow_attack" : false,
    "master" : true,
    "friendly_fire" : false,
    "grief_friendly_fire_time" : 2,
    "fall_damage" : true,
    "teamswitch_interval" : 0,
    "votekick_percentage" : 25,
    "votekick_ban_duration" : 15,
    "votekick_public_votes" : true,
    "default_ban_duration" : 1440,
    "speedhack_detect" : true,
    "network_interface" : "",
    "passwords" : {
    "admin" : ["blah"],
    "trusted" : []
    },
    "ssh" : {
    "enabled" : false,
    "port" : 32887,
    "users" : {
    "user" : "pass"
    }
    },
    "status_server" : {
    "enabled" : false,
    "port" : 38826
    },
    "ban_publish" : {
    "enabled" : false,
    "port" : 38825
    },
    "ban_subscribe" : {
    "enabled" : true,
    "urls" : [
    ["http://aos.nateshoffner.com/blacklist.json", []]
    ]
    },
    "server_prefix" : "[*]",
    "user_blocks_only" : false,
    "logfile" : "log.txt",
    "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",
    "commandprefix" : "."
    },
    "iocp" : true,
    "profile" : false,

    "scripts" : [
    "welcome",
    "rollback",
    "trusted",
    "autohelp",
    "protect",
    "map_extensions"
    ],

    "welcomes" : {
    "mat^2" : "The very likeable mat^2 has entered!"
    },
    "rollback_on_game_end" : false
    }
    and still dowsent work

    #56663
    JukelProNabb
    Member
    Posted 13 years ago
     


    C:\Documents and Settings\Brandon\My Documents\Downloads\dist\run.exe\twisted\internet\iocpreactor\reactor.py:29: UserWarning: pyOpenSSL 0.10 or newer is required for SSL support in iocpreactor. It is missing, so the reactor will not support SSL APIs.

    This is just warning (you have old library and some features are not available). The server should be on, I think.

    #56768
    Szuwar
    Member
    Posted 13 years ago
     

    Yeah, the pyOpenSSL warning is irrelevant. I just didn't want to distribute pyOpenSSL because it adds to the build size, and we don't use SSL APIs anyway, so yeah.

    In regards to the config problems: it's JSON, so if it's saying you fucked up your configuration, use something like http://jsonformatter.curiousconcept.com/ to check it.

    #56853
    mat^2
    pyspades developer
    Posted 13 years ago
     

    i got it guys =) thx mat
    ill tell you when its up DE ill send u pass

    #56900
    JukelProNabb
    Member
    Posted 13 years ago
     

    ok guys im hosting it but when i try to join the game it says map transfter fail....is that the map casuing it trouble or whats worng?

    #56934
    JukelProNabb
    Member
    Posted 13 years ago
     

    bump?

    #57071
    JukelProNabb
    Member
    Posted 13 years ago
     

    whats it called?

    #57073
    drewdog50
    Goatkeeper
    Posted 13 years ago
     

    well i tryed like all of them.....

    #57096
    JukelProNabb
    Member
    Posted 13 years ago
     

    ok guys so i can host maps and it shows up on the list but whever anyone including me tries to join it has the ERROR: verison mismatch or map transfer fail....here is my config, what did i do wrong???

    {
    "name" : "TEST HK",
    "motd" : [
    "Welcome to %(server_name)s! See /help for new commands.",
    "Map is %(map_name)s by %(map_author)s.",
    "(server powered by pyspades)"
    ],
    "help" : [
    "/FOLLOW Choose a teammate as squad leader, who will act as your spawnpoint",
    "/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."
    ],
    "tip_frequency" : 5,
    "rules" : [
    "No griefing, no bad words, etc."
    ],
    "max_players" : 32,
    "max_connections_per_ip" : 3,
    "join_part_messages" : true,
    "game_mode" : "ctf",
    "kill_limit" : 100,
    "cap_limit" : 10,
    "map" : "bridgewars",
    "respawn_time" : 5,
    "follow_respawn_time" : 8,
    "max_followers" : 3,
    "follow_attack" : false,
    "master" : true,
    "friendly_fire" : false,
    "grief_friendly_fire_time" : 2,
    "fall_damage" : true,
    "teamswitch_interval" : 0,
    "votekick_percentage" : 25,
    "votekick_ban_duration" : 15,
    "votekick_public_votes" : true,
    "default_ban_duration" : 1440,
    "speedhack_detect" : true,
    "network_interface" : "",
    "passwords" : {
    "admin" : ["i do have a password"],
    "trusted" : []
    },
    "ssh" : {
    "enabled" : false,
    "port" : 32887,
    "users" : {
    "user" : "pass"
    }
    },
    "status_server" : {
    "enabled" : false,
    "port" : 38826
    },
    "ban_publish" : {
    "enabled" : false,
    "port" : 38825
    },
    "ban_subscribe" : {
    "enabled" : true,
    "urls" : [
    ["http://aos.nateshoffner.com/blacklist.json", []]
    ]
    },
    "server_prefix" : "[*]",
    "user_blocks_only" : false,
    "logfile" : "log.txt",
    "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",
    "commandprefix" : "."
    },
    "iocp" : true,
    "profile" : false,

    "scripts" : [
    "welcome",
    "rollback",
    "trusted",
    "autohelp",
    "protect",
    "map_extensions"
    ],

    "welcomes" : {
    "mat^2" : "The very likeable mat^2 has entered!"
    },
    "rollback_on_game_end" : true
    }

    #57116
    JukelProNabb
    Member
    Posted 13 years ago
    12
    RSS feed for this topic  

    Reply »

    You must log in to post.

  • Tags
  •   No tags yet.
     
    Ace of Spades Game Forums is proudly powered by bbPress.   //   Theme by Mike Lothar  
    [ Time : 0.078s | 13 Queries ]