These are chat archives for ZaneDubya/UltimaXNA

7th
Jan 2016
Zane Wagner
@ZaneDubya
Jan 07 2016 00:50
So ... the first thing I'd like to do is create a virtual console window.
Maybe put it in that debug gump?
Jeff Boulanger
@jeffboulanger
Jan 07 2016 02:05
Quake style :)
Xen85
@Xen85
Jan 07 2016 09:14
hello!
Xen85
@Xen85
Jan 07 2016 13:04
jeff RelativePanel works for win8 too?
Boberski
@TorchwoodPL
Jan 07 2016 13:07
If I can guess, no its not
Jeff Boulanger
@jeffboulanger
Jan 07 2016 15:34
No it's UWP only
Xen85
@Xen85
Jan 07 2016 15:40
universal?
however what it does? how does it work?
Jeff Boulanger
@jeffboulanger
Jan 07 2016 16:18
just easier layouts, you can snap controls to other controls, then depending on resolution, simply change the snapping and it auto animates and re-adjusts
Xen85
@Xen85
Jan 07 2016 16:18
coll
*cool
do you use prims at work for wpf?
Jeff Boulanger
@jeffboulanger
Jan 07 2016 16:18

                    <RelativePanel Margin="0 80 0 160"
                                   HorizontalAlignment="Stretch"
                                   VerticalAlignment="Stretch">
                        <TextBlock x:Name="PART_Question"
                                   Foreground="{StaticResource SystemControlForegroundBaseLowBrush}"
                                   RelativePanel.AlignHorizontalCenterWithPanel="True"
                                   Style="{StaticResource SubTitleTextBlockStyle}"
                                   Text="Welcome to" />
                        <TextBlock x:Name="PART_ShopName"
                                   RelativePanel.AlignHorizontalCenterWithPanel="True"
                                   RelativePanel.Below="PART_Question"
                                   Style="{StaticResource TitleTextBlockStyle}"
                                   Text="{x:Bind ShopName}"
                                   design:Designer.Text="Tricity Body $amp; Paint" />
                        <Image Width="300"
                               Height="300"
                               RelativePanel.AlignHorizontalCenterWithPanel="True"
                               RelativePanel.Below="PART_ShopName"
                               Source="ms-appx:///Mock/mock-logo.png"
                               Stretch="Uniform" />
                        <Button Command="{x:Bind NextCommand}"
                                Content="Let's Get Started"
                                RelativePanel.AlignBottomWithPanel="True"
                                RelativePanel.AlignHorizontalCenterWithPanel="True" />
                    </RelativePanel>
Jeff Boulanger
@jeffboulanger
Jan 07 2016 16:19
i wrote my own
i have used it though
Xen85
@Xen85
Jan 07 2016 16:20
with that code it could be any kind of panel
Jeff Boulanger
@jeffboulanger
Jan 07 2016 16:20
its good, slightly to complex for our needs
Xen85
@Xen85
Jan 07 2016 16:20
RelativePanel.AlignHorizontalCenterWithPanel="True"
RelativePanel.Below="PART_ShopName"
cool
Jeff Boulanger
@jeffboulanger
Jan 07 2016 16:20
My problem with prism is mostly that the container systems they support are to heavy
Xen85
@Xen85
Jan 07 2016 16:21
RelativePanel.AlignBottomWithPanel="True"
RelativePanel.AlignHorizontalCenterWithPanel="True"
Jeff Boulanger
@jeffboulanger
Jan 07 2016 16:21
a lot of them perform poorly
Xen85
@Xen85
Jan 07 2016 16:21
you can attach any container you want if you use their intefraces
Jeff Boulanger
@jeffboulanger
Jan 07 2016 16:21
I also dont like reflection driven DP
ya i know
Xen85
@Xen85
Jan 07 2016 16:21
*interfaces
Jeff Boulanger
@jeffboulanger
Jan 07 2016 16:21
but i've written our own stuff ;)
Xen85
@Xen85
Jan 07 2016 16:21
cool
Jeff Boulanger
@jeffboulanger
Jan 07 2016 16:21
fast, small, lightweight
Xen85
@Xen85
Jan 07 2016 16:21
i see
Jeff Boulanger
@jeffboulanger
Jan 07 2016 16:22
our entire ioc/dp system is 1100ish lines of code
Xen85
@Xen85
Jan 07 2016 16:22
something similiar to mvvm light , i see
Jeff Boulanger
@jeffboulanger
Jan 07 2016 16:22
more like tinyioc
Xen85
@Xen85
Jan 07 2016 16:26
my problem is time so i need something extremely already made. That's the reason i looked to prims
*prism
i need something like "maven" XD
Jeff Boulanger
@jeffboulanger
Jan 07 2016 17:02
dunno what maven is
Zane Wagner
@ZaneDubya
Jan 07 2016 17:52
@jeffboulanger I think your most recent PR fixed the polserver/hsa login problem.
Still a ton going on with that setup that I don't want to deal with, but being able to log in is nice!
Jeff Boulanger
@jeffboulanger
Jan 07 2016 17:58
ya, something weird happened, ill look at it when i get a chance, hard right now cause my boss is out, so im doing my work and his atm
I definately like that setup better, less buffer creation, which is important. GC doesnt handled byte[]'s very well, so you can get large leaks over time, if the buffers are to big
there is a thing called large object heap, and GC doesnt always reclaim memory from it, so while an object can get destroyed in memory, and deleted from that heap, it may not be able to reuse that memory space because of sparse allocation, thus causing an invisible memory leak
its quite complex, happens in a lot of applications with large string'd data, like json/xml
Zane Wagner
@ZaneDubya
Jan 07 2016 18:01
ha, over my head. thanks for looking into it.
Jeff Boulanger
@jeffboulanger
Jan 07 2016 18:02
;) If you look at RunUO, they accomplish the same with a BufferPool, and allocate buffers and save them as needed
Deniz Sökmen
@denizsokmen
Jan 07 2016 18:02
well also the rendering technique is also itself a buffer pool in uxna :D reclaiming the used vertex buffers from the queue
Jeff Boulanger
@jeffboulanger
Jan 07 2016 18:34
they are buffered
i believe
in SpriteBatch3D
which is a terrible name for a SpriteBatch that does 2d rendering
;)
Zane Wagner
@ZaneDubya
Jan 07 2016 18:36
haha
sbiso?
Jeff Boulanger
@jeffboulanger
Jan 07 2016 18:36
SpriteBatchEx?
Zane Wagner
@ZaneDubya
Jan 07 2016 18:36
I mean, that doesn't work either.
Jeff Boulanger
@jeffboulanger
Jan 07 2016 18:36
;)
Zane Wagner
@ZaneDubya
Jan 07 2016 18:36
right
Hey, I use that same name for the same class in other projects...
Jeff Boulanger
@jeffboulanger
Jan 07 2016 18:37
Ex just means Extended, so it makes sense ;)
i use it when i extend controls for work
;)
although I try not to
extend controls that is
much better to write a decorator
but not always an optoin
option*
Zane Wagner
@ZaneDubya
Jan 07 2016 20:16
hah
there's another pol server log in issue
Deniz Sökmen
@denizsokmen
Jan 07 2016 20:17
lol
Zane Wagner
@ZaneDubya
Jan 07 2016 20:17
until and unless the server requests the client's version, then the client expects the 0xbd enable client version packet to be 3 bytes long.
sorry, 0xb9
the 0xb9 packet is ONLY 5 bytes long when the client version is over a specific number (pol server docs say 6.0.14.2?) and the server specifically requests the client version.
Jeff Boulanger
@jeffboulanger
Jan 07 2016 21:02
I added code for that in the PR your merged
@ZaneDubya maybe not, or it didnt get merged
hm
        if (FileManager.IsUnknownClientVersion || FileManager.Version < m_OldSupportedFeatureVersion)
        {
            Register<SupportedFeaturesPacket>(0xB9, "Supported Features", 3, ReceiveEnableFeatures);
        }
        else
        {
            Register<SupportedFeaturesPacket>(0xB9, "Supported Features Extended", 5, ReceiveEnableFeatures);
        }
ya I thought I submitted this, maybe not though
Zane Wagner
@ZaneDubya
Jan 07 2016 21:04
right, it's in there
but there's an additional check
Jeff Boulanger
@jeffboulanger
Jan 07 2016 21:04
this explains why @aderal000 was having so many problems, I thought it was in master
Zane Wagner
@ZaneDubya
Jan 07 2016 21:05
the extended packet is only enabled after the 0xbd packet is received from the server
Jeff Boulanger
@jeffboulanger
Jan 07 2016 21:05
what do you mean additional
ah
How come i dont see the above code in LoginClient on master?
Zane Wagner
@ZaneDubya
Jan 07 2016 21:05
and if the server never sends the 0xbd packet - I'm not sure that pol does - then we never expect a 5 byte feature packet regardless of the client's version.
Zane Wagner
@ZaneDubya
Jan 07 2016 21:06
moved it here
Jeff Boulanger
@jeffboulanger
Jan 07 2016 21:06
oh weird
I must not have resynced
Dunno, but i hate pol
;)
thats about all i know
lol
Jeff Boulanger
@jeffboulanger
Jan 07 2016 21:31
@ZaneDubya did you merge my latest PR?
oh it never went through, hm
Zane Wagner
@ZaneDubya
Jan 07 2016 22:43
@aderal000 confirmed that the new packet enabling condition works for pol server!
so that's one more success.
Jeff Boulanger
@jeffboulanger
Jan 07 2016 23:19
nice