Joined
Last Online
Recent Posts
posted in BB2 - General Discussion read more

Hi @mordrek !

I have deleted some match from GoblinSpy and they're not recollected now...Some tips for this issue?

This is the league: http://www.mordrek.com/goblinSpy/web/goblinSpy.html?platform=pc&league=BB Salento&competition=Season XIII LUPA&q=*comp
TY and Regards!

posted in BB2 - General Discussion read more

@dode74 said in goblinSpy - league stats without upload needed:

@mordrek said in goblinSpy - league stats without upload needed:

  1. I think uuid is a hex version of id (with 1000 prefixed) and you should be able to use any one of them.

Confirming this.

Thank you both!

@mordrek said in goblinSpy - league stats without upload needed:

@satanello86

  1. I think uuid is a hex version of id (with 1000 prefixed) and you should be able to use any one of them.
  2. You can activate using an URL similar to this:
    http://www.mordrek.com:8888/EnableCollection?platform=pc&league=Cabalvision Official League&competition=Champion Ladder XI
    Once activated it will start collecting starting with the day before.
    If no match have been played yet, you may need to activate again once a match have been played (because if no matches have been found it may become deactivated).

Oh, really really simple!!!! Thanks again!!!! When the works ends, I'll give you my preistoric code and makes it avaible on github 🙂
GUI in building with python Kivy framework (ipotetically that's mades the python program multiplatform from Mac to android and windows).
For rankings I'm using both goblinspy and challonge (for the really simple API and personalized Tie Breacker).
Regards again!

posted in BB2 - General Discussion read more

@mordrek
Hi mate! I'm here again! 🙂
Scripting time is ended, all goes good, and want to thanks you for this!
Now I'm building a basic GUI for my league Admin, hoping it will be simple enough.
Can I ask you another two questions?

  1. Just for curiosity: I've a simple security check to ensure matches are not registered two times in my re-arranged db.
    Starting from your .sqlite db structure, I compare the match's "uuid" field in "leaguematches" table for this job, and all goes fine. But I've seen an "id" field too in this table...What's their differences? Do you suggest to use "uuid", "id", or both for this task? PS Data are like: uuid : "10 char alphanumerics" id: "7 char numeric".
  2. There's some way to "Activate a league" on goblin spy directly from my script? It will help my league admin a lot...
    I know I have to use the link http://www.mordrek.com/goblinSpy/web/activate.html?platform=pc&league=MYLEAGUE&competition=MYCOMPETITION in some way, but I'm blocked here for now :(.

Thanks a lot!
Regards
SAtanello

posted in BB2 - General Discussion read more

@mordrek
Stupid me!
Thank you found it!
While I've seen this answer I worked with the json, it's not so difficult to read so i worked with this one... just one last question about your json: my test scripts for training with your datas starts to work, in screen you can watch a script who scan your http://www.mordrek.com/goblinSpy/Overview/XXX.json and stamp on screen all results for our 3 current leagues ... but i can figure out where both TV value for every single match is stored...Do you have any suggestion to help me find it?:
(the format is:
DATE:STARTED, TEAMAWAY(COACHHOME), SCOREHOME vs SCOREAWAY, TEAMAWAY(COACHAWAY)
0_1513803858954_Immagine.png
Sorry if I'm boring you, programming for me is just an hobby so I'm not a real expert!
Regards,
Francesco and all the BBS - Bloodbowl Salento league!

posted in BB2 - General Discussion read more

@mordrek Thank you, I need exactly the formula in the links...again thanks 🙂

...EDIT:
Just another one information... I'm more confortable with .sqllite than .json files... There's a way to direct download the database unless the json ones? I can do it by my browser but I can't figure out how to do it in python3 because there isn't some sort of direct link to do this in your goblinSpy.html
Regards

posted in BB2 - General Discussion read more

@mordrek
HI!
And thak you again for your tips!
Can I ask how th"rank" field in rankings is calculated?
Thanks!
Regards

posted in BB2 - General Discussion read more

HI!
I doesn't recognize there's a new forum, sorry 🙂
Thank you!
Really Helpfull!
I've to study a little bit but your explanation is really clear!
If everyone else need this information, I'm pasting it there:

Hi.

I have no current plans to alter sorting even though I realize it's something that some may want.

If you want custom sorting, you will have to load the data as .json, sort it the way you like it and build your own html from that.
BB2Stats and goblinSpy have different format of the .json, but it contains similar info.

How to download and use json to build html, see for example:
https://developer.mozilla.org/en-US/doc ... jects/JSON

If you are using BB2Stats, then the .json-data is on an URL similar to this:
http://www.mordrek.com/BB2Stats/BB2Data ... eague.json
<LEAGUE_ID> can be seen in the normal URL used by BB2Stats to view your league. It's the string of characters after "lid="
For example: http://www.mordrek.com/BB2Stats/BB2Data ... eague.json

If you are using goblinSpy, then the .json-data is on an URL similar to this:
http://www.mordrek.com/goblinSpy/Overvi ... E_ID>.json
The link is shown as a link in the yellow top bar (look for the text "overview data")
For example:
http://www.mordrek.com/goblinSpy/Overvi ... ICYJE.json

Hope that helps.
I don't check this forum often ; feel free to write to me at the new forums here:
https://forums.focus-home.com/category/ ... discussion
/mordrek

posted in BB2 - General Discussion read more

Hi Mordrek
First really thank you for both your BB2 tools, they're fantastics.

We've got a little problem: we're tryng to implement your stats on our league blog.
But we use some different rankings rules: in case of same points, ranking is calculated first by direct matches, and only in second time by TD differences. Sorry my english is really bad I'll make an exemple:
TEAM A point 15
TEMA B point 12
TEAM C point 12
ecc. ecc.
Team A is the first. Who had won the matches TEAM B Vs TEAM C will be second, if the match was a Tie, TD differences will calculated. If is the same, scored TD is calculated.
Do you think there's a simple way to sort our ranking in this way?
What's your suggestion?
I'm a little bit confident with python, SQL, and some basic programming knowledges. I'm better confident with HTML and site building. Before to start with this project, I thinked ask for your help can point me in the good direction without wasting time on bad ways. 🙂
REALLY THANK YOU
Regards
Francesco