Bug 423 - Alchemy Integer Overflow & Related Crash.
Summary: Alchemy Integer Overflow & Related Crash.
Status: UNCONFIRMED
Alias: None
Product: The Genesis Project
Classification: Unclassified
Component: Alchemy (show other bugs)
Version: 0.5.0-14
Hardware: PC Windows
: Normal normal
Assignee: cozyGalvinism
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-22 21:30 CET by The Genesis Project
Modified: 2023-03-24 13:14 CET (History)
0 users

See Also:
Discord Author: zealouslyZombified#2768
Discord Author ID: 779890508146409543


Attachments
log file (14.10 KB, text/plain)
2023-03-24 13:14 CET, Trixie
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description The Genesis Project 2023-03-22 21:30:35 CET
When creating incredibly expensive weapons/objects, 
(somewhere over 500 million) the game will freak out and set the cost of build grist (but usually not other grist types, settling around 500M) to the negative 32 bit integer limit, or -2,147,483,647. Attempting to alchemize this item will Severely Fuck With Your Grist, either setting it negative, medium, (250M), or to the previous amount you had. 

To replicate, start a session, place down all neccesary materials to enter,*But do not enter.* instead, go to your computer and save your house. Quit out of the session, enter house building mode (high grist count, handy for alchemizing.) load the house you just saved, and enter the medium inside of house building mode. If you did it correctly, you will be in the medium with an *open* cruxtruder, the machines to alchemize, and 1.1g grist. Then, spawn in your favorite high tier weapon (ie caledscratch or thorns), Spawn in items with the best tags (Rocket model, SBURB guide for assholes, pogo, grimoire etc.) apply them to your weapon, and || them with older iterations a few times. It should have a stat range of around 2.4 speed and 5-ish damage. Then, start &&ing the iterations together, until the cost integer overflows. Then, if you attempt to save this map with the weapon stored in a chest, the game will freeze, then crash. If you attempt to load a different map with the weapon in your inventory, the game also crashes. 

If you need help figuring the glitch out, let me know!!
Comment 1 Trixie 2023-03-24 13:14:33 CET
Created attachment 114 [details]
log file

i managed to replicate this bug; for me i can save/load houses with the weapon in the chest just fine but it does crash when loading a house with the overflowed weapon equipped