summertriangle-dev / sparklebox Goto Github PK
View Code? Open in Web Editor NEWSource code for starlight.kirara.ca.
Source code for starlight.kirara.ca.
todo: Show boost details on Skill Boost
The api "https://starlight.kirara.ca/api/v1/char_t/{charaId}" returns
"home_town": 9,
"constellation": 1002,
"blood_type": 2001,
"hand": 3001,
...
As constellation, blood_type, hand is easy to guess what it is, but home_town is not so easy to guess.
Could you provide a home_town id-to-string table or provide an api param to get the string not id?
http://game.starlight-stage.jp/information/detail/1239/1/10/2
Thank you in advance !
2 events at same moment...Orz
Confirmed on my test site.
EDIT: gacha entries work. My mistake.
This is optional, but I need this to improve my translated name search suggestion.
It's crazy to maintain a whole table with things have been in the name.csv
,
and overriding by column is a more light-weight way to set additional strings in case of need.
I'm planning to add another translate table instead of editting existing override.csv
,
which could avoid handling merge conflict each time there's a new override entry,
and I also planning to add another custom optional column for new search string ( traditional chinese, this may totally same as kanji
so in most case it's blank for most idols to save bytes ).
Her leader skill is one that increases fan gain by 30%, but on her page there's an error that says "I don't know how to describe this leader skill. This is a bug, please report it. (up_type: 1, type: 40)"
Could you include this value in apis?
Parse the App Store to get realtime app_ver.
I've copied an script for this purpose.
I assume "Counter({'prm_char_calls': 2, 'sel_evtreward': 1, 'sel_la': 1, 'prm_card_calls': 1})" is not supposed to be the correct result, unless it really is supposed to be the output of Counter.__str__
/__repr__
.
https://starlight.kirara.ca/sprite_go_ex/271
The second set of faces overlays under the third
Not exactly an issue per say, but any plans to add the missing voiced lines that don't have text to go with them?
For example
https://dl.dropboxusercontent.com/u/107422505/Live_Start1_00029_voice_200122_6_01.wav.mp3
https://dl.dropboxusercontent.com/u/107422505/Live_Start2_00030_voice_200122_6_02.wav.mp3
when starting lives with this card: https://starlight.kirara.ca/char/194#c_200021_head
(There are several of these per card, not just these two. From what I can see, Live_Start1, Live_Start2, Live_Skill1, Live_Skill2, Live_Skill3, Live_Clear1, Live_Clear2 are all live-related and don't have text entries in card_comments. There are also CaravanDrop1, CaravanDrop2, but naturally, only the few voiced Caravan cards have these.)
Some of the best lines among those specific to cards are among these live-related lines, so it would be nice to have them here if possible.
https://github.com/summertriangle-dev/sparklebox/blob/master/starlight/__init__.py#L380
The default return value is "-1" not -1
I found time in ss_history
is not recorded in proper Unix timestamp.
Though it can be easily figured out, but I'm feeling headache to make it...
and existed SQL entries need to correct.
BTW entry id=13 (Snow wings) entries shall be EVENT, but not SR. (Due to the assign issue)
I'm going to let users play with sprite faces eventually.
For an example, in Shimamura Uzuki's Raw data table, chance
parsing like below:
functools.partial(<function skill_chance at 0x7f4765116c80>, {1: probability_type_t(probability_type=1, probability_min=2500, probability_max=3750, explain='超低確率で'), 2: probability_type_t(probability_type=2, probability_min=3000, probability_max=4500, explain='低確率で'), 3: probability_type_t(probability_type=3, probability_min=3500, probability_max=5250, explain='中確率で'), 4: probability_type_t(probability_type=4, probability_min=4000, probability_max=6000, explain='高確率で'), 5: probability_type_t(probability_type=5, probability_min=4500, probability_max=6750, explain='超高確率で')}, 4),
as well as dur
.
I think this is a small problem though, becuz not so many people would have a chance to access this. But it would be better to fix it.
The site is lacking some lines that are shared between cards of the same idol, for example after-live lines for each grade. Any plans on adding them?
https://graphql.org/
GraphQL seems like an easier to use query language
It has a python server library
https://graphene-python.org/
Now checking
I think It's better to change target_attribute, target_param to the raw value(or change all _2 fields to the localized value).
{
"id": 92,
"name": "クール・クロス・パッション",
"explain": "クールとパッションのアイドル編成時、全員の全アピール値30%アップ、全員の特技発動率35%アップ",
"type": 50,
"need_cute": 0,
"need_cool": 1,
"need_passion": 1,
"target_attribute": "all",
"target_param": "all",
"up_type": 1,
"up_value": 30,
"special_id": 20,
"need_chara": "",
"target_attribute_2": 4,
"target_param_2": 6,
"up_type_2": 1,
"up_value_2": 35,
"explain_en": ""
}
for now, we're using hardcoded enum
-defined strings as return values.
can we just switch it back to master value? just a 24
(Allround) is fine.
Here's my site: http://starlight.hyspace.io
Comparing to starlight.kirara.ca, you can see current history entires are missing on my site.
Not only this case, the last Caravan event also missing until the event ends.
Does the problem have sth to do with the cache?
What should I do if I'm going to fix it. Ty.
Shall we provide an option to switch awaken status on table?
This also helps team builders.
Will SSR animation effect be supported? Which showed in gacha and home page when the background is an SSR and supported animation effect, like 100785
swing hair.
As example:
https://starlight.kirara.ca/api/v1/card_t/100077
"skill": {
"id": 100077,
"skill_name": "なんかガッポリ",
"explain": "13秒毎、高確率でかなりの間、PERFECT/GREATのスコア17%アップ",
"skill_type": "Score Bonus",
...
}
Can you use skill_type raw id instead of localized skill_type or provide both of them?
There've been a malicious human destuction against the translation table few days ago. Now I need to ban specified IP segments for a period. Can you add the function to stop potential attack in future? Ty.
Just as the title says, it would be really useful to have filters to hide/show only limited and non-limited gacha and event only idols.
By now the api "https://starlight.kirara.ca/api/v1/happening/now"
returns gachas id, start_date, end_date, rates of rarities and so on. How about also providing the card(id) list of the current gachas?
I also tried to get the card list by myself but still being failed. I have tried to uncompress db data get from "http://storage.game.starlight-stage.jp/dl/{true_version}/manifests/iOS_AHigh_SHigh". I used an iOS LZ4 compress library, it worked well with the my local testing data, however it always returns error when doing with the game data. In sparklebox there is code like this
bio = io.BytesIO()
bio.write(buf[4:8])
bio.write(buf[16:])
data = lz4.loads(bio.getvalue())
Is that means the original data needs some modifying before uncompress. Could you give me some help about how to uncompress the original data?
Thank you very much!
I forked and make my own l10 branch of your system, and I'm returning errors because of lack of '$TRANSIENT_DATA_DIR'/name.csv.
Aren't this automatically created? I even don't know the correct structure of the file. Please give some suggestion, and is possible improve automatic generating the file?
Thank you.
That will solve what you are aware of.
dupe issue
they actually are, but not in a way that's consistent with the game.
When viewing the gacha list the icons for a lot of the idols do not match up with the names.
https://imgur.com/a/pcXuU
Also when viewing the idol's page the same mismatched icon will show up.
https://imgur.com/a/oIoZR
Problem applies to assets related to 冬空プレシャス.
Since they changed back to earlier versions, players can listen idols shouting "Idolmaster Cinderella Girls Starlight Stage". I wonder whether you can retrieve them and upload on the site.
Would it be possible to add a link on character pages for the individual cards?
For example when I go to https://starlight.kirara.ca/char/154 there could be a link somewhere on that page to bring me to https://starlight.kirara.ca/card/100343. Maybe on the card title?
If this feature already exists somewhere I apologize but I was not able to locate any links for the cards.
Directly cause my site partially downs.
Terminal log here:
ERROR:tornado.application:Uncaught exception POST /api/v1/read_tl
(66.249.75.174)
HTTPServerRequest(protocol='http', host='starlight.hyspace.io', me
thod='POST', uri='/api/v1/read_tl', version='HTTP/1.1', remote_ip=
'66.249.75.174', headers={'User-Agent': 'Mozilla/5.0 (compatible;
Googlebot/2.1; +http://www.google.com/bot.html)', 'Referer': 'http
://starlight.hyspace.io/card/100247,200299,100271,300233,100243,20
0269,100269', 'Content-Length': '44375', 'Origin': 'http://starlig
ht.hyspace.io', 'Accept-Language': 'en', 'Accept-Encoding': 'gzip,
deflate,br', 'X-Blessing': 'This request bears the blessing of an
Ascended Constituent of the Summer Triangle, granting it the entit
lement of safe passage.', 'Content-Type': 'application/json; chars
et=UTF-8', 'Connection': 'upgrade', 'X-Real-Ip': '66.249.75.174',
'Host': 'starlight.hyspace.io', 'X-Forwarded-For': '66.249.75.174'
, 'Accept': '*/*,*/*', 'From': 'googlebot(at)googlebot.com'})
Traceback (most recent call last):
File "/home/ubuntu/starlight/.env/lib/python3.4/site-packages/sq
lalchemy/pool.py", line 1044, in _do_get
return self._pool.get(wait, self._timeout)
File "/home/ubuntu/starlight/.env/lib/python3.4/site-packages/sq
lalchemy/util/queue.py", line 145, in get
raise Empty
sqlalchemy.util.queue.Empty
I have found this. but I have no clues for it.
http://stackoverflow.com/questions/32786334/python3-sqlalchemy-pymysql-gevent-sqlalchemy-util-queue-empty-gevent-hub-loopexi
Are there any plans to add Nino and Kyoko's voices?
Hello, i'm a developer and now working on a project of cinderella girls starlight stage. i've benefited from your api a lot. i really appreciate for you and the project.
Now, i have a problem in my project. i hope to get songs data of the game including song name, number of notes, difficulty and so on. But mainly for the original note distribution data(as the image uploaded below, what i want was the original data but not the image). i have no idea of how to get the data right now, but if you can provide api for getting the original song data, i will be much more thankful to you.
the image is from site https://deresute.info
There's a request from users to add ''sort'' function to sort & find idols by stats.
I suggest to add a new table for it.
unity: 5.4.5p1 => 2017.4.2f2
asset urls may have varied
There are many users requires the function.
Though I wanted to try to implement this, but I'll be busy next few weeks. If you can help to work it out I would be glad.
Clicking on table header wont do anything.
iPhone 5s, all installed browsers died.
Firefox ESR on Debian died.
Name and surname on her page are wrong so you can't search for her. Also links to Im@s Wiki and CGdex forwards to nowhere.
Link to her page: https://starlight.kirara.ca/char/120
https://github.com/summertriangle-dev/sparklebox/blob/master/api_endpoints.py#L352
aren't it supposed to either \d+
or [0-9]+
?
i think this is the reason that i cannot find out the timestamp besides timestamp
at -9~9 (wait.. it does + too on char class lol)
https://starlight.kirara.ca/api/v1/happening/+ results {"error": "invalid literal for int() with base 10: '+'"}
https://starlight.kirara.ca/sprite_go_ex/304
I'm assuming this is due to her ahoge?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.