Introducing PySnip

Our latest need-to-know information.
69 posts Page 5 of 5 First unread post
ZEB 99
Post Demon
Post Demon
Posts: 2028
Joined: Fri Feb 22, 2013 10:03 pm


pokefan548 wrote:
port forwarding
ive had people say that but how do i do that port forwarding thing.
Buffet_of_Lies
Mapper
Mapper
Posts: 402
Joined: Tue Nov 20, 2012 11:25 am


ZEB 99 wrote:
pokefan548 wrote:
port forwarding
ive had people say that but how do i do that port forwarding thing.
http://portforward.com/
ZEB 99
Post Demon
Post Demon
Posts: 2028
Joined: Fri Feb 22, 2013 10:03 pm


im messing up can someone edit my config to were it would connect to the server were anyone can join.
my config
Code: Select all
{
    "name" : "zeb99,s kraken gamemode server",
    "motd" : [
        "Welcome to %(server_name)s! See /help for commands",
        "Map is %(map_name)s by %(map_author)s",
        "(server powered by PySnip and BuildandShoot.com)"
    ],
    "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"
    ],
    "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 cheating"
    ],
    
    "master" : true,
    "max_players" : 32,
    "max_connections_per_ip" : 7,
    "port" : 32887,
    "network_interface" : "",
    
    "game_mode" : "kraken",
    "cap_limit" : 10,
    "default_time_limit" : 15,
    "advance_on_win" : false,
    "maps" : ["random", "classicgen"],
    "random_rotation" : false,
    
    "respawn_time" : 30,
    "respawn_waves" : true,
    "friendly_fire" : false,
    "grief_friendly_fire_time" : 5,
    "spade_teamkills_on_grief" : false,
    "balanced_teams" : 1,
    "teamswitch_interval" : 0,
    
    "speedhack_detect" : true,
    "votekick_percentage" : 25,
    "votekick_ban_duration" : 15,
    "votekick_public_votes" : true,
    "votemap_public_votes" : true,
    "votemap_extension_time" : 15,
    "votemap_player_driven" : false,
    "votemap_autoschedule" : 180,
    "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" : "Blue",
        "color" : [0, 0, 255]
    },
    "team2" : {
        "name" : "Green",
        "color" : [0, 255, 0]
    },
    "passwords" : {
        "admin" : ["iamadmin"],
        "trusted" : [],
        "builder" : []
    },
    "rights" : {
        "builder" : ["god", "goto"]
    },
    "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", []]
        ]
    },
    "irc" : {
        "enabled" : false,
        "nickname" : "pysnip",
        "username" : "pysnip",
        "realname" : "pysnip server bot",
        "server" : "irc.quakenet.org",
        "port" : 6667,
        "channel" : "#pysnip.bots",
        "password" : "",
        "commandprefix" : ".",
        "chatprefix" : ""
    },
    "scripts" : [
        "welcome",
        "rollback",
        "protect",
        "map_extensions",
        "airstrike",
        "squad",          "grownade",
        "disco",
        "votekick",
        "trusted",
        "ratio",
        "memcheck"
    ],
    
    "squad_respawn_time" : 45,
    "squad_size" : 4,
    "auto_squad" : false,
    "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!"
    }
}[/code
Oh god why did I post this
Last edited by ZEB 99 on Wed Jun 12, 2013 9:13 pm, edited 1 time in total.
cipiko22
Deuce
Posts: 3
Joined: Mon Dec 31, 2012 8:58 am


Help me pls. When I double click on run.bat it starts the server but in the console it says "UnicodeEncodeError: 'ascii' codec cant encode character u'\xf6' in position 6: ordinal not in range(128)". What should i do. Help me pls.
Jdrew
Mapper
Mapper
Posts: 4808
Joined: Tue Oct 30, 2012 10:48 pm


you run the application not the bat file
cipiko22
Deuce
Posts: 3
Joined: Mon Dec 31, 2012 8:58 am


But if i run the exe it just pop up then close Green_Crying
Jdrew
Mapper
Mapper
Posts: 4808
Joined: Tue Oct 30, 2012 10:48 pm


then thats another problem, maybe you changed something in the config?
cipiko22
Deuce
Posts: 3
Joined: Mon Dec 31, 2012 8:58 am


and what?
noway
Deuced Up
Posts: 22
Joined: Wed Dec 12, 2012 10:28 am


Pysnip not working with last twisted version (13.1.0) due to some api changes. Can maintainer update project?

In first, "_parse" function from "twisted.web.client" deleted in latest version. See api changes here:
https://twistedmatrix.com/documents/13. ... lient.html
https://twistedmatrix.com/documents/13. ... lient.html

You can fix it by replacing it to "urlparse" function from builtin module "urlparse". But this function return different results, so need to map it to old behavior.

There's some other errors with new version too. But, I did not watch them.
69 posts Page 5 of 5 First unread post
Return to “Official News”

Who is online

Users browsing this forum: No registered users and 45 guests