FIXED Scrolls of Transcendence binding

BBB

Novice
The Legend
I have used scroll binder to bind alchemy pink scrolls up to 5 and at the end i got scammed :p
fake binder.PNG
It gets even more interesting because i made a proper one +5 alchemy SoT just a moment before.
fine scroll.PNG
Maybe it's the order in which the scrolls are added. I also noticed math going crazy sometimes when you bind SoTs.
 

Dan

Staff Member
Administrator
Game Master
Put them all in one container and give me the [where of the container so I can check them out.
 
  • Like
Reactions: BBB

Dan

Staff Member
Administrator
Game Master
I have removed that scroll binder deed and placed the 5.0 Alchemy in its place.


I can't seem to find the error in the code though but there is obviously something out of place here. Does anyone else see anything that sticks out to them? It is the SOT method inside the ScrollBinder.cs
 
  • Like
Reactions: BBB

Dan

Staff Member
Administrator
Game Master
The issue is related to the comparison of double and int types in C#. When newValue (a double) and Needed (an int) are compared, there can be precision discrepancies, especially when dealing with floating-point numbers. This is why even when newValue is 5.0 and Needed is 5, they might not be considered equal due to the way floating-point numbers are represented in memory.

I have a way to fix it but I will have to force-fix any bugged in-game.
 

PLAY NOW

Heritage

Address
play.trueuo.com
Port
2593
Uptime
18 minutes
Players Online
4
Houses
877
Vendors
276
Gold
5,511,502,326gp
Top Bottom