Comments (14)
If I can see past your first redaction correctly, it looks like you added http:// to the URL. Don't do that. I had the same issue with loading a match from a URL with my PUG system. Hope this helps, and if that's not the issue then God help you.
from get5.
@dechristopher
Already done, same thing.
from get5.
In that case, check you root directory for the json file that the plugin downloads. The way get5 works is it takes the JSON from the URL and downloads it locally to the server's root directory. I don't recall what it names it but it shouldn't be that difficult to find. If the JSON file is filled with HTML and other bullshit, then it's an issue with actually grabbing the JSON file from the URL. The only other thing I can think of is making sure your JSON is formatted properly. Mind pasting it here?
from get5.
@dechristopher
It worked before with the same JSON file, only after we updated the plugin & added some features it started to happen.
Anyway:
http://pastebin.com/raw/4gm0Y20i
from get5.
In that case I've got no idea. I've done plenty of additions to the plugin as well but none have broken JSON formatting. I hate to say it, but you've probably messed something up in the code somewhere. I'd run a diff on your code and the latest dev build to try to see where you could've gone wrong. I hope to god you've kept track of your changes in version control somewhere. If not then I can't really help you without looking at your codebase myself.
Also, just FYI, in the maplist, you have de_nuke written as de_Nuke. You should make sure CS map names are all lowercase.
from get5.
@dechristopher
It doesn't matter, it's not working with or without lowercase (and it worked with lowercase characters before)
I also updated the plugin this moment to the latest version and it won't work as well.
from get5.
If Sean's builds aren't working for you, then it's either something with the DNS on the box your CS server is on or it's just user error altogether. I can't really go any deeper without looking at the system myself. Again, check the root directory for the JSON file the server downloads. It's contents can help diagnose the issue more.
from get5.
@dechristopher
An earlier build is working, that's what's weird..
from get5.
Can you give exact build numbers / commits that work and don't work? Additionally, can you post the output of sm exts list
?
The behavior of the config fetching changes slightly based on whether system2 or steamworks is being used. If both are available, it defaults to using system2.
from get5.
sm exts list:
[01] Automatic Updater (1.8.0.5912): Updates SourceMod gamedata files
[02] Webternet (1.8.0.5912): Extension for interacting with URLs
[03] CS Tools (1.8.0.5912): CS extended functionality
[04] BinTools (1.8.0.5912): Low-level C/C++ Calling API
[05] SDK Tools (1.8.0.5912): Source SDK Tools
[06] SteamWorks Extension (1.2.1): Exposes SteamWorks functions to Developers
[07] SMJansson (2.6.0/1): JSON parser/writer
[08] System2 (2.32): System Commands and Information
The commit ID we were using to edit is:
b43869d
The latest commit to work:
2be5326
from get5.
I was able to successfully run get_loadmatch_url dl.splewis.net/test.json
from b43869d.
from get5.
If the build is working on Sean's JSON, it may be a problem with the server you're downloading from.
from get5.
@splewis
Successfully loaded, I guess it's a problem with the directory.
@dechristopher
The game servers and the website are on the same box, I guess the problem is coming from a lack of access to the JSON files. Hope that what I'm planning to do gonna fix it.
Thanks!
from get5.
Make sure you can visit the URL in your browser, and additionally chmod the directory recursively as 755.
from get5.
Related Issues (20)
- [Bug]: Reset connection timer HOT 4
- [Feature Request]: Loading match from url limitations HOT 4
- [Bug]: Invalid file id HOT 23
- [Feature Request]: Vote/ban system with random pick HOT 2
- [Bug]: Map navigation failed HOT 12
- [Feature Request]: Allow comments in teams.json HOT 5
- [Bug]: This plugin most likely forces my server to 64tick HOT 2
- [Bug]: Map selection sometimes fails for workshop maps HOT 6
- [Feature Request]: Voting between team for pause/stay/swap HOT 4
- [Feature Request]: Increase get5_demo_upload_url max length HOT 3
- [Bug]: Players count smaller in server HOT 2
- [Bug]: interface Get5Match on document is incorrect HOT 3
- [Bug]: Workshop map loading HOT 3
- [Bug]: Event map_result different from doc HOT 5
- [Meta]: Resuming development/CS2 support HOT 3
- [Bug]: Match freezes after warmup countdown HOT 15
- [Feature Request]: Force kick after get5_endmatch HOT 9
- [Feature Request]: Post match stats to API once game is done. HOT 1
- [Bug]: Developer documentation and Docker image for building HOT 6
- [Feature Request]: Change team name after match has loaded HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from get5.