These are chat archives for ZaneDubya/UltimaXNA

15th
Aug 2015
Jeff Boulanger
@jeffboulanger
Aug 15 2015 00:01
night
Deniz Sökmen
@denizsokmen
Aug 15 2015 05:52
do you have any idea about how AnimationFrame.uop files are handled?
Jeff Boulanger
@jeffboulanger
Aug 15 2015 06:56
I haven't looked
But it's probably not hard
Deniz Sökmen
@denizsokmen
Aug 15 2015 07:10
well currently
I loaded all .uops
and I have pinky map
with wrong animations :D
it's kinda funny
Screenshot_1.png
lol
things are messed up, also I had to fake the client version as 6.0.6.2 even though it was 7.0.45.0 because runuo sends new packets which ultimaxna cant handle
there are LOTS of things to do :D
Deniz Sökmen
@denizsokmen
Aug 15 2015 07:17
at least I could log in with the newest client :D
after a few steps, it crashes due to some null reference about animation&textures etc
and I also cant open paperdoll
Zane Wagner
@ZaneDubya
Aug 15 2015 11:19
@denizsokmen It's a start though! :)
Deniz Sökmen
@denizsokmen
Aug 15 2015 12:53
there seems to be lots of changes I need to find documentation
Zane Wagner
@ZaneDubya
Aug 15 2015 14:47
@denizsokmen That's what I was afraid of!
Well, if I can answer any questions about how the client works, please let me know. :)
Deniz Sökmen
@denizsokmen
Aug 15 2015 14:48
also the packets are renewed
which is another problem :D
Deniz Sökmen
@denizsokmen
Aug 15 2015 15:02
ohhhh fixed it
lol i found the reason
the new tiledata has 64 bits flags, not 32bit
works like charm :D
Zane Wagner
@ZaneDubya
Aug 15 2015 15:14
Cool! Wonder what those other flags are...
Deniz Sökmen
@denizsokmen
Aug 15 2015 15:15
no idea :D
actually the extra 32bit is labeled as unknown
but most probably extended flags
for the future
Deniz Sökmen
@denizsokmen
Aug 15 2015 15:33
Exception thrown: 'System.ArgumentException' in Microsoft.Xna.Framework.Graphics.dll
Error 2015-08-15 18:30:33:9994 The rectangle is too large or too small for this resource.
Parameter name: rect
An unhandled exception of type 'System.ArgumentException' occurred in Microsoft.Xna.Framework.Graphics.dll
Additional information: The rectangle is too large or too small for this resource.
getting this while exploring a random cave hmm
                Texture.GetData<ushort>(0, new Rectangle(x - 1, y - 1, 3, 3), pixelData, 0, 9);
this is the line that gives error, in MouseOverList.cs, ln 237
Zane Wagner
@ZaneDubya
Aug 15 2015 15:42
Can you still reference that error?
I'm perplexed, because that error shouldn't happen there... I wonder what item it was attempting to get the texture for.
Deniz Sökmen
@denizsokmen
Aug 15 2015 15:45
reproduced again
sec
callstack here
Screenshot_2.png
okay the Texture has 44width, 1 height
the rect has 3 height
it's larger
Deniz Sökmen
@denizsokmen
Aug 15 2015 15:52
more
Screenshot_3.png
Zane Wagner
@ZaneDubya
Aug 15 2015 15:59
Really! Ok, I can fix that easily. I Had no idea they had any textures smaller than 1px in both dimensions. Just for curiosities sake, what itemID is associated with that texture?
Deniz Sökmen
@denizsokmen
Aug 15 2015 15:59
couldnt see :D
Zane Wagner
@ZaneDubya
Aug 15 2015 16:14
@denizsokmen Just commited 40a0bd6500d6f9b88aeb592f6ef943fdff5ea5ca - should fix your problem.
(To master)
Thanks for reporting it!
Deniz Sökmen
@denizsokmen
Aug 15 2015 16:38
rebased the changes to my remote now :D
Screenshot_4.png
lets try
wow
reproduced it
Screenshot_5.png
ahh
probably
                    Texture.GetData<ushort>(0, new Rectangle(x, y, 1, 1), pixelData, 0, 9);
last argument is 9 but there is no 9 elements
cuz it's 1x1 rect :D
Jeff Boulanger
@jeffboulanger
Aug 15 2015 16:44
no its probably from x,y
if they arent both 0
its gonna throw
Deniz Sökmen
@denizsokmen
Aug 15 2015 18:16
oh i thought i broke the minimap
so it wasn't me :D
it's fixed with your commit
Zane Wagner
@ZaneDubya
Aug 15 2015 18:26
duhhhhhhh
@denizsokmen Thank you.
I can't believe I missed that! Such a silly bug.
Ok, try pulling my latest commit. Should be fixed.
Deniz Sökmen
@denizsokmen
Aug 15 2015 21:53
where are you from?