Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quest_item_amount, quest_target TINYINT -> SMALLINT. #1389

Open
JabLuszko opened this issue Oct 6, 2024 · 0 comments
Open

quest_item_amount, quest_target TINYINT -> SMALLINT. #1389

JabLuszko opened this issue Oct 6, 2024 · 0 comments

Comments

@JabLuszko
Copy link
Contributor

Need proper fixing of quest_item_amount (SMALLINT, unsigned?) field type so it can store bigger numbers.
Fix saving experience quest to stardust rather than item_amount.
Fix questGen for that aka semi-reverse #1388

Combine this with update for quest_target to SMALLINT as Dynamax/Stations introduced quests Like "Collect 400 Max Particles" and 400 is above the TINYINT

ALTER TABLE trs_questMODIFYquest_target SMALLINT;

Failed submitting quests to DB: (pymysql.err.DataError) (1264, "Out of range value for column 'quest_target' at row 1")
[SQL: INSERT INTO trs_quest (GUID, layer, quest_type, quest_timestamp, quest_stardust, quest_pokemon_id, quest_reward_type, quest_item_id, quest_item_amount, quest_target, quest_condition, quest_reward, quest_template, quest_task, quest_pokemon_form_id, quest_pokemon_costume_id, quest_title) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)]
[parameters: ('71ce04d9262a4e568315aaaeb3c52653.16', 1, 82, 1725994963, 0, 819, 7, 0, 0, 400, '[]', '[{"type": "POKEMON_ENCOUNTER", "pokemonEncounter": {"pokemonId": "SKWOVET"}}]', 'GO_BIG_MP_HARD', 'Unknown quest type placeholder: 82', 0, 0, 'collect_max_particles')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant