Comments (7)
Good that you added a dedicated issue for us to track this.
from devilution.
If possible, post a random seed and upload a save file. It may be the case that this always happens, still, good to have for reproduceability.
from devilution.
This has always been the case seen Devilution first compiled (and dungeons actually work lol).
It's likely a signage issue with one of the flags, since the game will compare gbMaxPlayers
and the monster id.
from devilution.
Seed: 699653937
Character: https://xyinn.org/diablo/debug/single_0.sv-2018-06-29-0845
Butcher already complete on this char (Obviously).
from devilution.
Can confirm this bug. The Butcher dropped Spiked Club for me.
Compiled under debug, seed: 708591219
from devilution.
I can confirm... Uploading save file.
I will look into this in a few.
I am starting at here... and will try to follow it down.
0043171D
They're a few issues I think.
Magic items are only dropping becasue of this function
int __fastcall CheckUnique(int i, int lvl, int uper, bool recreate)
...
...
if ( random(28, 100) > uper )
//This above returns
/*
random returns
eax 0x59 :89
ecx C4460E56
edx 0x59 : 89
*/
According to the asm , it looks like it expects the value to be below 15 , otherwise it will jump to making a unique item.
Once that completes, It will grab a unique item using ECX and EDX. EDX will hold the index of the unique item . So ideally you can make this 0 and get the cleaver. I am still looking at this though.
EDIT what I am doing isn't right. I need to step back a bit and see why the butcher would generate such a high RNG.
from devilution.
This issue was caused by the signage of MData->mTreasure
. When the code was decompiled, I had this field entered as signed short
, but later on it was correct to be unsigned
. This however was not reflected in the actual code. It's been fixed now, Butcher drops the Cleaver. 56e625c
from devilution.
Related Issues (20)
- [hellfire] Hive/Crypt - invisible chests and barrels HOT 1
- Are you able to use Hellfire's source code? HOT 1
- [hellfire] OperateL2Door - Please check bin exactness HOT 10
- Building in VS2019: exe attempts to open crypto/rsa key file? HOT 1
- Cleanup code HOT 1
- out of memory error HOT 5
- 60 FPS support? HOT 1
- Migrate macOS builds to GitHub Actions HOT 10
- [Not A Bug] Question about the License and Legal Section in the Readme HOT 5
- MaxGold always depends on auricGold HOT 4
- Gnat String's "Multiple arrows per shot" only fires one arrow HOT 2
- Win98 Support? HOT 1
- Farmer Quest Bug HOT 1
- [Feature request] add option to show items on map HOT 4
- [Android] Option to change stationary toggle to allow moving
- "Legal" section ambiguity HOT 1
- [MSVC][permissive-] devilution failed to build with /permissive- on MSVC HOT 5
- [Need help] Getting a Massive bow of swiftness at clvl 44+ HOT 3
- Is this gap intentional? HOT 1
- mods don't work In the mobile application HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devilution.