• 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/
  • pyspades error
  •  

    when i have downloaded pyspades ,pyspades run normaly i think but after enter server name in server exe it just say error creating server and then it close .and after using pyspades 5. times the run exe say py0penSSL 0.10 or newer required for ssl support in iocopreactor. it is missing so the reactor map not found:and then it close can somebody help? here is my config file if you need it {
    "name" : "pyspades server",
    "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" : [
    "/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 pickaxe does melee damage! Use it wisely."
    ],
    "tip_frequency" : 5,
    "rules" : [
    "No griefing, no bad words, etc."
    ],
    "max_players" : 32,
    "max_connections_per_ip" : 3,
    "cap_limit" : 10,
    "map" : "pyspades",
    "respawn_time" : 5,
    "squad_respawn_time" : 8,
    "squad_size" : 4,
    "auto_squad" : true,
    "master" : true,
    "friendly_fire" : false,
    "grief_friendly_fire_time" : 2,
    "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" : "",
    "passwords" : {
    "admin" : ["replaceme"],
    "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://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",
    "airstrike",
    "melee",
    "squad",
    "disco",
    "savemap"
    ],

    "load_saved_map" : false,

    "statistics" : {
    "host" : "localhost",
    "server_name" : "stats server",
    "port" : 32880,
    "password" : "marmelade"
    },

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

    "melee_damage" : 20
    }

    #108811
    fischer william
    Member
    Posted 12 years ago
     

    Post log.txt

    Also, pyOpenSSL is not required and you should be fine without it.

    #108821
    Szuwar
    Member
    Posted 12 years ago
     

    i used to get that now it says press any key to continue and then just closes,its very frustrating

    #109044
    skill592
    Member
    Posted 12 years ago
     

    somebody help

    #109849
    fischer william
    Member
    Posted 12 years ago
     

    pyspades is completely standalone - don't run server.exe :)

    #109915
    mat^2
    pyspades developer
    Posted 12 years ago
     

    @mat^2
    what should i do if it says press any key to continue and then closes down? (i have python and the latest version of pyspades).

    #110439
    skill592
    Member
    Posted 12 years ago
     

    somebody pls help

    #110969
    fischer william
    Member
    Posted 12 years ago
     

    @fisher william, @skill592:
    "Press any key to continue" means that server crashed (or was closed). There should be file called log.txt. In this file you could see the reason behind this. If you don't really understand what cause your server to be closed, I propose, that you'll paste it here (or some pastebin type site) and we'll take a look. This is probably the fastest way to solve this problem.

    #110996
    Szuwar
    Member
    Posted 12 years ago
     

    ok here's mine

    2011-09-06 11:10:21+0100 [-] pyspades server started on ********
    2011-09-06 11:10:21+0100 [-] Log opened.
    2011-09-06 11:10:21+0100 [-] REMEMBER TO CHANGE THE DEFAULT ADMINISTRATOR PASSWORD!
    2011-09-06 11:10:21+0100 [-] Traceback (most recent call last):
    2011-09-06 11:10:21+0100 [-] File "run.py", line 759, in <module>
    2011-09-06 11:10:21+0100 [-] File "run.py", line 553, in listen
    2011-09-06 11:10:21+0100 [-] File "twisted\internet\iocpreactor\reactor.pyo", line 220, in listenUDP
    2011-09-06 11:10:21+0100 [-] File "twisted\internet\iocpreactor\udp.pyo", line 84, in startListening
    2011-09-06 11:10:21+0100 [-] File "twisted\internet\iocpreactor\udp.pyo", line 97, in _bindSocket
    2011-09-06 11:10:21+0100 [-] twisted.internet.error.CannotListenError: Couldn't listen on any:32887: [Errno 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted.
    2011-09-06 15:53:42+0100 [-] pyspades server started on ***********
    2011-09-06 15:53:42+0100 [-] Log opened.
    2011-09-06 15:53:43+0100 [-] scripts.savemap.MapSaveProtocol starting on 32887
    2011-09-06 15:53:43+0100 [-] Starting protocol <scripts.savemap.MapSaveProtocol instance at 0x02D3D800>
    2011-09-06 15:53:43+0100 [-] pyspades.master.MasterProtocol starting on 1676
    2011-09-06 15:53:43+0100 [-] Starting protocol <pyspades.master.MasterProtocol instance at 0x0349E0A8>
    2011-09-06 15:53:43+0100 [-] Started server on port 32887...
    2011-09-06 15:53:43+0100 [pyspades.master.MasterProtocol (UDP)] Master connection established.
    2011-09-06 15:53:44+0100 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: http://aos.nateshoffner.com/blacklist.json&gt;
    2011-09-06 15:53:50+0100 [-] Received SIGBREAK, shutting down.

    #111060
    skill592
    Member
    Posted 12 years ago
     

    @skill592
    First time (2011-09-06 11:10:21+0100) there was already something on port 32887. Maybe another AoS server.
    Second time (2011-09-06 15:53:42+0100) pyspades start ok but then SIGBREAK (ctrl+c or ctrl+break I assume) is send and server is closed.

    Is this is your most recent log file? It is 8 days old.

    #111067
    Szuwar
    Member
    Posted 12 years ago
     

    Err it's my log file in my pyspades folder, but yes it does seem old. So what should I do?

    #111072
    skill592
    Member
    Posted 12 years ago
     

    Try running feature_server/run.py with python in cmd line (cmd.exe -> X: -> cd X:\path\to\pyspades\feature_server -> python run.py). Then paste outcome of this here. Should help a little more.

    #111077
    Szuwar
    Member
    Posted 12 years ago
     

    Oh well, I have no clue how to do that so nevermind. Thanks for your time.

    #111080
    skill592
    Member
    Posted 12 years ago
     

    Well, you could paste whatever run_server.bat outcome is.

    #111091
    Szuwar
    Member
    Posted 12 years ago
     

    C:\Documents and Settings\*************>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 3 column 15 (char 55)

    ****************
    Press any key to continue . . .

    #111095
    skill592
    Member
    Posted 12 years ago
     

    There is problem with you configuration file. Check line 3 for any mistakes. If not found any then paste it there http://jsonlint.com/. It will check for any missing commas and what not.

    #111096
    Szuwar
    Member
    Posted 12 years ago
     

    Thanks loads mate you've got a lot of patience

    #111097
    skill592
    Member
    Posted 12 years ago
     

    This is what the results were:

    Parse error on line 3:
    ...{ "name": "CHskill592-normandie", "motd": [ CHneedsmoremembers,
    ------------------------------------------------------------^
    Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', ']'

    #111098
    skill592
    Member
    Posted 12 years ago
     

    Put CHneedsmoremembers in quotes. Should help. If not then post more lines of this fragment.

    #111100
    Szuwar
    Member
    Posted 12 years ago
     

    the first part of my config file,something is wrong with this:
    {
    "name" : "CHskill592",
    "motd" : ["CH clan server"
    "Welcome to %(server_name)s! See /help for new commands.",
    "Map is %(map_name)s by %(map_author)s.",
    "(server powered by pyspades)"

    #111578
    skill592
    Member
    Posted 12 years ago
     

    Don't change the "motd" :
    It should stay the same.

    #111580
    [C.H]Winston_
    Extreme Brit
    Posted 12 years ago
     

    ok thanks winston my cofig file is correct but why do i still get this, anyone?

    C:\Documents and Settings\*******\My Documents\Downloads\dist>run.exe
    C:\Documents and Settings\*****\My Documents\Downloads\dist\run.exe\twis
    ted\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.

    #111586
    skill592
    Member
    Posted 12 years ago
     

    This is just warning. It should be fine and online.

    #111610
    Szuwar
    Member
    Posted 12 years ago
     

    Deleted

    #111733
    skill592
    Member
    Posted 12 years ago
    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.081s | 13 Queries ]