Giter Club home page Giter Club logo

sparklebox's People

Contributors

caimiao avatar injabie3 avatar mattmayuga avatar summertriangle-dev 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sparklebox's Issues

Handle override entries by columns in need instead of fixed column set

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 ).

Bug after "did this page generate primes?"

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__.

Missing voiced lines (?)

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.

To write ss_history in UTC and show them in local time

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)

"Many faces" tracking issue

I'm going to let users play with sprite faces eventually.

  • Add faces to GX want list
  • Figure out how to use the chara_face_positions.
  • Generate metadata for image server
  • Make the viewer page
    • Load data from server
    • Display each eligible pose
    • Make faces selectable and in correct position
    • Clean up

Skill line parsing problem in Raw data table

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.

Common card lines

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?

target_attribute_2, target_param_2 in leader skill endpoint shows the raw value instead of the localized value

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": ""
}

Awaken cards on table

Shall we provide an option to switch awaken status on table?
This also helps team builders.

About SSR animation effect

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.

About providing card list of gachas in the api "/happening"

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!

About name.csv on '$TRANSIENT_DATA_DIR'

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.

Rare problem : fail to connect sql db

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

About adding api for song data

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.

5-2
the image is from site https://deresute.info

Sort idols by stats

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.

Function Enhancement

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.

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.