Code Monkey home page Code Monkey logo

get5-web's People

Contributors

dependabot[bot] avatar eandersson avatar enyineer avatar mattikus avatar nickdnk avatar splewis avatar tandelk avatar technoblazed avatar tloesch avatar toomuchio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

get5-web's Issues

Add a way to upload demos

Either uploaded directly to the web server by the game server plugin, or uploaded elsewhere (e.g. S3) and accessible via a url that is displayed on the match page.

tournement?

is there a way to make it so that every user i add can see the teams and servers to setup their own matches between 2 team captains?

steamid.py error

when trying to initialize the main.py file i get an error with the steamid.py file. "no module named valve.steam.id"

is this just me being stupid? any fix?

Secret Key

Can anyone point me to where I can obtain a secret key to use in the config file?

Failed to connect to server

After I installed get5-web I tried to connect to the CS:GO server which was running and had the get5 server plugins AND the get5_apistats plugins installed and running. At least it returned:
get5_web_avaliable { "plugin_version": "0.5.1", "gamestate": 0, "avaliable": 1 }

But it just says: Failed to connect to server What could be the issue?
Note: The ports are both matching either. I tried both... the localhost (127.0.0.1) and the public IP. The rcon password is right also.

website error

help me..
i followed the instruction but i got nothing on my database only alembic_version table

and web displaying this error
Sorry, unexpected error: (_mysql_exceptions.ProgrammingError) (1146, "Table 'scrimsrv.match' doesn't exist") [SQL: u'SELECT match.id AS match_id, match.user_id AS match_user_id, match.server_id AS match_server_id, match.team1_id AS match_team1_id, match.team2_id AS match_team2_id, match.team1_string AS match_team1_string, match.team2_string AS match_team2_string, match.winner AS match_winner, match.plugin_version AS match_plugin_version, match.forfeit AS match_forfeit, match.cancelled AS match_cancelled, match.start_time AS match_start_time, match.end_time AS match_end_time, match.max_maps AS match_max_maps, match.title AS match_title, match.skip_veto AS match_skip_veto, match.api_key AS match_api_key, match.veto_mappool AS match_veto_mappool, match.team1_score AS match_team1_score, match.team2_score AS match_team2_score \nFROM match \nWHERE match.cancelled = false ORDER BY -match.id \n LIMIT %s, %s'] [parameters: (0, 20)]

Server-less match creation

It'd be possible to let users create matches without having to assign a server. They would just have to run the get5_loadmatch_url command themselves.

If they would want stats tracked they would have to have the api key set themselves as well, so that would have to be displayed to the user somehow.

Add cvar setting support

Most likely as strings only, with a configurable maximum number of cvars per match. Maybe a max name/length setting for the cvars themselves too.

login from wordpress website

hi,
is there any way to make my member login from my wordpress website so they dont have to login twice?
thanks

httpclient assertion failed

Saw this issue opened and closed a few times yet to be resolved.

#11
#6

Not sure what the issue is, latest Ubuntu LTS total fresh install of the server and all underlying plugins and extensions. Just spun the VM up today, more than happy to give out temporary ssh to debug. I'll be attempting to debug it myself. But before I do has anybody resolved this already? Is there a working solution?

get5_loadmatch_url get5.splewis.net/match/12/config
httpclient.cpp (2374) : Assertion Failed: pHost && *pHost
L 09/24/2016 - 15:18:37: [get5.smx] Failed to load match config: Steamworks GET request failed, HTTP status code = 0
L 09/24/2016 - 15:18:37: get5_event: {
"params": {
"path": "Steamworks GET request failed, HTTP status code = 0"
},
"matchid": "",
"event": "match_config_load_fail"
}
L 09/24/2016 - 15:18:37: {
"params": {
"path": "Steamworks GET request failed, HTTP status code = 0"
},
"matchid": "",
"event": "match_config_load_fail"
}
L 09/24/2016 - 15:18:37: [get5_logger.smx] Get5_OnLoadMatchConfigFailed: Steamworks GET request failed, HTTP status code = 0

ImportError: No module named valve.steam.id

I have this problem when i run the: ./manager.py db upgrade

[root@192 get5-web]# ./manager.py db upgrade
Traceback (most recent call last):
File "./manager.py", line 3, in
import get5
File "/root/get5-web/get5/init.py", line 26, in
import steamid
File "/root/get5-web/get5/steamid.py", line 1, in
from valve.steam.id import SteamID, SteamIDError
ImportError: No module named valve.steam.id

[Question] Implement the API in nodeJS?

Hello,
I just wanted to ask quickly if it's possible to use the API in a nodeJS Express server as well somehow, as I don't have any experience with Flask/Python?

Thanks in advance!

How to setup public servers

Hello, its possibble to setup public server? I mean when someone add server everyone can play match on him if its unused.

Error after steam log in - type 'NoneType' has no len()

Hello,

I installed successfully and saw the front page. After Steam log in I get following message:
Sorry, unexpected error: object of type 'NoneType' has no len()

I found one issue with same error message but reinstalling db as suggested didn't help me. (dropped tables and ran manager.py db upgrade again). Installing requirements just says Requirement already satisfied on all lines.

Log file

  • Linux version 4.4.0-45-generic (Ubuntu 5.4.0-6ubuntu1~16.04.2)
  • Apache 2.4.18-2ubuntu3.1
  • Python 2.7.11-1
  • libapache2-mod-wsgi 4.3.0-1.1build1

Errno 13 - Cannot add server

I get "Sorry, unexpected error: [Errno 13] Permission denied" when trying to add a new server to my get5-web installation.

Having issues deleting Teams

I have been trying to delete in the panel. This is the error i am getting for mysql exception.

Sorry, unexpected error: (_mysql_exceptions.IntegrityError) (1451, 'Cannot delete or update a parent row: a foreign key constraint fails (clanpanel.match, CONSTRAINT match_ibfk_3 FOREIGN KEY (team2_id) REFERENCES team (id))') [SQL: u'DELETE FROM team WHERE team.id = %s'] [parameters: (2,)]

Cannot run after new update !! Emergency issue

ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.
import flask.ext.cache
/var/www/clanpanel.itgc.ga/get5/init.py:33: ExtDeprecationWarning: Importing flask.ext.sqlalchemy is deprecated, use flask_sqlalchemy instead.
import flask.ext.sqlalchemy
/var/www/clanpanel.itgc.ga/get5/init.py:34: ExtDeprecationWarning: Importing flask.ext.openid is deprecated, use flask_openid instead.
import flask.ext.openid
Traceback (most recent call last):
File "./manager.py", line 3, in
import get5
File "/var/www/clanpanel.itgc.ga/get5/init.py", line 35, in
import flask_limiter
File "/usr/local/lib/python2.7/dist-packages/flask_limiter/init.py", line 8, in
from .errors import RateLimitExceeded
File "/usr/local/lib/python2.7/dist-packages/flask_limiter/errors.py", line 6, in
from pkg_resources import get_distribution
ImportError: No module named pkg_resources

Match stats do not update

Creating a match works fine, the config gets sent to the server and works perfectly fine, however stats of the match when live and even after the match has finished do not show, forcing me to cancel before i set up another match on the server

http://i.imgur.com/JQRqoSV.jpg

Cancel match error

When viewing a match from the admin panel, clicking the "Cancel match" button from the drop down menu seems to kill the system and not correctly stop the match. Will look into more information for you.

create a team page doesn't work

it was working very well but suddenly it's started to give me this error when I click create a team page.

Sorry, unexpected error: 'get5.team.TeamForm object' has no attribute 'tag'

and this is logs history..

UndefinedError: 'get5.team.TeamForm object' has no attribute 'tag'
[2016-12-12 13:30:52,981] {/var/www/get5-web/get5/init.py:150} ERROR - 'get5.team.TeamForm object' has no attribute 'tag'
[2016-12-12 14:29:32,307] {/var/www/get5-web/venv/lib/python2.7/site-packages/flask/app.py:1423} ERROR - Exception on /team/create [GET]
Traceback (most recent call last):
File "/var/www/get5-web/venv/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/var/www/get5-web/venv/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/var/www/get5-web/venv/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/var/www/get5-web/venv/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/var/www/get5-web/venv/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functionsrule.endpoint
File "/var/www/get5-web/get5/team.py", line 92, in team_create
edit=False, is_admin=g.user.admin)
File "/var/www/get5-web/venv/lib/python2.7/site-packages/flask/templating.py", line 128, in render_template
context, ctx.app)
File "/var/www/get5-web/venv/lib/python2.7/site-packages/flask/templating.py", line 110, in _render
rv = template.render(context)
File "/var/www/get5-web/venv/lib/python2.7/site-packages/jinja2/environment.py", line 989, in render
return self.environment.handle_exception(exc_info, True)
File "/var/www/get5-web/venv/lib/python2.7/site-packages/jinja2/environment.py", line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File "/var/www/get5-web/get5/templates/team_create.html", line 3, in top-level template code
{% extends "layout.html" %}
File "/var/www/get5-web/get5/templates/layout.html", line 53, in top-level template code
{% block content %}
File "/var/www/get5-web/get5/templates/team_create.html", line 22, in block "content"
{{ form.tag.label(class="col-sm-2 control-label") }}
File "/var/www/get5-web/venv/lib/python2.7/site-packages/jinja2/environment.py", line 408, in getattr
return getattr(obj, attribute)
UndefinedError: 'get5.team.TeamForm object' has no attribute 'tag'
[2016-12-12 14:29:32,308] {/var/www/get5-web/get5/init.py:150} ERROR - 'get5.team.TeamForm object' has no attribute 'tag'

Error when logging in through steam with utf characters

When trying to authenticate as a admin we receive this error through the browser:

Sorry, unexpected error: (_mysql_exceptions.OperationalError) (1366, "Incorrect string value: '\xE2\x99\x9B m4...' for column 'name' at row 1") [SQL: u'INSERT INTO user (steam_id, name, admin) VALUES (%s, %s, %s)'] [parameters: ('76561198083053404', '\xe2\x99\x9b m4xm0rris', 0)]

Add way to add spectators to a match config

Might be feasible to allow users to create a spectator teams (same as a normal team but only used as a group of spectators, no flag, logo). Either that or just inserting the steamids for each match (probably not ideal).

Assertation Failed: pHost

when running a match, at halftime i get this error 9 times over in the server console,
httpclient.cpp (2374) : Assertion Failed: pHost && *pHost

I also get the HTTP Status Code 0 between rounds
L 08/04/2016 - 23:48:14: [get5_apistats.smx] ØàªØઠ;¨ ;¨ L 08/04/2016 - 23:48:14: [get5_apistats.smx] API request failed, HTTP status code = 0
though i saw you're working on this anyway

Allow user-made mappools/maplists

Something along the lines of:

  • A new model for each map with: map_id, owner_id, name (max at something? should it include workshop prefix?)
  • In addition, maybe allowing users to save another model: a mappool (a list of map_ids)
  • Users can select a mappool in the match creation page

Missing section from original Get5 Plugin in Panel

After version 5.0 of Get5 , Clan Tags has been added to the servers . This update is not yet available on the Get5-web yet.

Also for Logo it is better to add Upload button instead of uploading all the logos . We can make it a fastdl to the same folder which might be responding with the server ,

Debian 7.0 Installation

ERROR: get5.api_test (unittest.loader.ModuleImportFailure)

ImportError: Failed to import test module: get5.api_test
Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
module = self._get_module_from_name(name)
File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
import(name)
File "/home/get5-web/get5/init.py", line 6, in
import steamid
File "/home/get5-web/get5/steamid.py", line 1, in
from valve.steam.id import SteamID, SteamIDError
ImportError: No module named valve.steam.id

Even with the requirements.txt loading successfully. Its on debian 7 server. If you could provide insight that would be awesome as I had someone here at the Datacenter install it and tell me there may be a bug in the install

problems with installation.

What can i do for fixing this error? :)

sh: mysql_config: command not found
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip-build-fbqCr8/MySQL-python/setup.py", line 17, in
metadata, options = get_config()
File "setup_posix.py", line 43, in get_config
libs = mysql_config("libs_r")
File "setup_posix.py", line 25, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
Complete output from command python setup.py egg_info:
sh: mysql_config: command not found

Traceback (most recent call last):

File "", line 17, in

File "/tmp/pip-build-fbqCr8/MySQL-python/setup.py", line 17, in

metadata, options = get_config()

File "setup_posix.py", line 43, in get_config

libs = mysql_config("libs_r")

File "setup_posix.py", line 25, in mysql_config

raise EnvironmentError("%s not found" % (mysql_config.path,))

EnvironmentError: mysql_config not found

API request failed, HTTP status code = 0

hello, ı have a problem about this error "API request failed, HTTP status code = 0"

everthing is working find very well, I'm creating match server starting knife round vsvs everything.

but ıt doesn't show on web page, its still writing on web page match status "Pending"

and then I checked my server logs, it was writing

L 07/13/2016 - 23:04:50: SourceMod error session started
L 07/13/2016 - 23:04:50: Info (map "de_dust2") (file "errors_20160713.log")
L 07/13/2016 - 23:04:50: [SM] Plugin encountered error 15: Array index is out of bounds
L 07/13/2016 - 23:04:50: [SM] Displaying call stack trace for plugin "get5_apistats.smx":
L 07/13/2016 - 23:04:50: [SM] [0] Line 68, get5_apistats.sp::ApiInfoChanged()
L 07/13/2016 - 23:05:06: Error log file session closed.
L 07/13/2016 - 23:09:02: SourceMod error session started
L 07/13/2016 - 23:09:02: Info (map "de_dust2") (file "errors_20160713.log")
L 07/13/2016 - 23:09:02: [get5_apistats.smx] API request failed, HTTP status code = 0
L 07/13/2016 - 23:09:02: [get5_apistats.smx] ÈVaë =ßìT�
L 07/13/2016 - 23:09:46: [get5_apistats.smx] API request failed, HTTP status code = 0
L 07/13/2016 - 23:09:46: [get5_apistats.smx]  �àî �àî˜laë˜laë
L 07/13/2016 - 23:09:46: [get5_apistats.smx] API request failed, HTTP status code = 0

Add support for windows

I couldn't find anywhere else to put it or a way to contact you.

Would it be possible to get windows support? I'm currently running my CS:GO server on a dedicated server running Windows Server 2012 R2 and was wondering if it was possible to ever get Windows Support? I'd love to be able to use the webpanel.

Creating 1v1 tournament

We want have a tournament of 1v1 with 3 custom maps and its best of 3.
How can i make use of get5 webpanel in this tournament and how can i add custom configs into this.

Timed matches

also is there a way we can set the match to start at a certain time, so i could have a game at 7pm on server 1 then at 8:30 have another game on server 1?
any way this possible?

admin, casters, coach

hello, is there a cfg file i need to edit so that admins can get on casters can get on and coaches,
coaches i could add to the teams roster but admins and casters cannot connect?

Add better team logo support

Potentially the logos from (the MIT licensed) csgo-data could be used on the site to display next to team names/flags.

Other ideas:

  • adjust the get5_apistats to fetch missing logo files
  • allow users to upload logo files (not likely to happen)

Error 500

Trying to install get5-web onto Ubuntu 16.04 but when browsing to the site a connection refused is returned.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.