RogueEdit / pyRogue

Educational Project
GNU Affero General Public License v3.0
51 stars 37 forks source link

Bug: Need attention immediately #179

Closed JustASysAdmin closed 1 month ago

JustASysAdmin commented 1 month ago

What Operating System are you on - Windows, Ubuntu, Mac, ...

Describe the bug - A clear and concise description of what the bug is.

To Reproduce - Describe the steps needed to reproduce the bug.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots - If applicable, add screenshots to help explain your problem.


Backup created: base_gameData(26808)_04.07.2024_22.37.02.json
Backup created: backup_slotData(2_26808)_04.07.2024_22.37.02.json
Command: 17
--------------------- Edit Money ----------------------
Type `exit` or `cancel` or press STRG+C to cancel without saves.
How many Poke-Dollars do you want?  (0 - inf): 100000
* *********** <(^.^(< pyRogue v0.4.4 >)^.^)>> *********** *
* >>>>>>>>>>>>>>>>>>> Account Actions <<<<<<<<<<<<<<<<<<< *
* 1: Create a backup                           (REWORKED) *
* 2: Recover your backup                       (REWORKED) *
* 3: Load Game-Data from server                (REWORKED) *
* 4: Change save-slot to edit                  (REWORKED) *
* 5: Edit account stats                        (REWORKED) *
* >>>>>>>>>>>>>>>>>>>>>>>> Edits <<<<<<<<<<<<<<<<<<<<<<<< *
* 6: Create eggs                               (REWORKED) *
* 7: Edit Egg-hatch durations                  (REWORKED) *
* 8: Edit egg-tickets                          (REWORKED) *
* 9: Edit a starter                            (REWORKED) *
* 10: Edit candies on a starter                (REWORKED) *
* >>>>>>>>>>>>>>>>>>>>>>> Unlocks <<<<<<<<<<<<<<<<<<<<<<< *
* 11: Unlock achievements                      (REWORKED) *
* 12: Unlock vouchers                          (REWORKED) *
* 13: Unlock all starters                      (REWORKED) *
* 14: Unlock all gamemodes                     (REWORKED) *
* 15: Unlock Everything                        (REWORKED) *
* >>>>>>>>>>>>>>>> Session Data Actions <<<<<<<<<<<<<<<<< *
* 16: Edit current Party                       (REWORKED) *
* 17: Edit money amount                        (REWORKED) *
* 18: Edit pokeballs amount                    (REWORKED) *
* 19: Edit current biome                       (REWORKED) *
* 20: Edit Items                               (REWORKED) *
* >>>>>>>>>>>>>>> Print game information <<<<<<<<<<<<<<<< *
* 21: Show all Species ID                      (REWORKED) *
* 22: Show all Biome IDs                       (REWORKED) *
* 23: Show all Move IDs                        (REWORKED) *
* 24: Show all Vouchers IDs                    (REWORKED) *
* 25: Show all Natures IDs                     (REWORKED) *
* 26: Show all NaturesSlot IDs                 (REWORKED) *
* --- You can always edit your JSON manually as well! --- *
* 27: Save data and upload to the Server  (Use when Done) *
* 28: Print help and program information                  *
* 29: Logout                                              *
* *********** <(^.^(< pyRogue v0.4.4 >)^.^)>> *********** *
Operation f_editMoney finished. Written 100000 as money value to to local .json.
Command: 27
Bad Request!
* *********** <(^.^(< pyRogue v0.4.4 >)^.^)>> *********** *
* >>>>>>>>>>>>>>>>>>> Account Actions <<<<<<<<<<<<<<<<<<< *
* 1: Create a backup                           (REWORKED) *
* 2: Recover your backup                       (REWORKED) *
* 3: Load Game-Data from server                (REWORKED) *
* 4: Change save-slot to edit                  (REWORKED) *
* 5: Edit account stats                        (REWORKED) *
* >>>>>>>>>>>>>>>>>>>>>>>> Edits <<<<<<<<<<<<<<<<<<<<<<<< *
* 6: Create eggs                               (REWORKED) *
* 7: Edit Egg-hatch durations                  (REWORKED) *
* 8: Edit egg-tickets                          (REWORKED) *
* 9: Edit a starter                            (REWORKED) *
* 10: Edit candies on a starter                (REWORKED) *
* >>>>>>>>>>>>>>>>>>>>>>> Unlocks <<<<<<<<<<<<<<<<<<<<<<< *
* 11: Unlock achievements                      (REWORKED) *
* 12: Unlock vouchers                          (REWORKED) *
* 13: Unlock all starters                      (REWORKED) *
* 14: Unlock all gamemodes                     (REWORKED) *
* 15: Unlock Everything                        (REWORKED) *
* >>>>>>>>>>>>>>>> Session Data Actions <<<<<<<<<<<<<<<<< *
* 16: Edit current Party                       (REWORKED) *
* 17: Edit money amount                        (REWORKED) *
* 18: Edit pokeballs amount                    (REWORKED) *
* 19: Edit current biome                       (REWORKED) *
* 20: Edit Items                               (REWORKED) *
* >>>>>>>>>>>>>>> Print game information <<<<<<<<<<<<<<<< *
* 21: Show all Species ID                      (REWORKED) *
* 22: Show all Biome IDs                       (REWORKED) *
* 23: Show all Move IDs                        (REWORKED) *
* 24: Show all Vouchers IDs                    (REWORKED) *
* 25: Show all Natures IDs                     (REWORKED) *
* 26: Show all NaturesSlot IDs                 (REWORKED) *
* --- You can always edit your JSON manually as well! --- *
* 27: Save data and upload to the Server  (Use when Done) *
* 28: Print help and program information                  *
* 29: Logout                                              *
* *********** <(^.^(< pyRogue v0.4.4 >)^.^)>> *********** *
Command:```
JustASysAdmin commented 1 month ago

345993986-c4e60a8c-c1e3-48ea-86b3-2ef006ba0134

JustASysAdmin commented 1 month ago

Oh also this happens on both the application and the CLI. However this screenshot is from CLI

JulianStiebler commented 1 month ago

Fixed, ty for reporting. I wrote it as string, not as integer.

Either you update, or you do this in the sourcecode: Line 1962, mainLogic.py

How it is now: grafik

How it should be: grafik

JulianStiebler commented 1 month ago

As reference;

Did test same command as you grafik

Saw the result is grafik

I know it should be without "" and its related to that we wrote it as string, not integer. My bad :(


Changed the type to int as above stated, now it writes it correctly

grafik

grafik

I know it should be without "" and its related to that we wrote it as string, not integer. My bad :(