These are chat archives for ZaneDubya/UltimaXNA

1st
Sep 2016
Marcelo Paez
@paezao
Sep 01 2016 14:12 UTC
Hey whats up people?
Jeff Boulanger
@jeffboulanger
Sep 01 2016 15:51 UTC
Hi @paezao, just working, you?
Marcelo Paez
@paezao
Sep 01 2016 15:55 UTC
Working as well
And playing around with UO mul files again haha
Jeff Boulanger
@jeffboulanger
Sep 01 2016 17:06 UTC
:) fun times, i think my infatuation with UO gone, VR has taken over my life lol
Marcelo Paez
@paezao
Sep 01 2016 17:10 UTC
oh hha
what are you working on?
Jeff Boulanger
@jeffboulanger
Sep 01 2016 17:10 UTC
at work, im doing hololens stuff
at home i just play DCS world
;)_
Marcelo Paez
@paezao
Sep 01 2016 17:12 UTC
lol
awesome
Wish I had VR and a hotas
Jeff Boulanger
@jeffboulanger
Sep 01 2016 17:15 UTC
Marcelo Paez
@paezao
Sep 01 2016 17:17 UTC
wow
nice!
I had a x52
I sold it :(
wish I didnt tbh
Jeff Boulanger
@jeffboulanger
Sep 01 2016 17:18 UTC
i have one of those, now for sale lol
i had a x52 pro, upgraded to the warthog
Marcelo Paez
@paezao
Sep 01 2016 17:20 UTC
Cool
so no more hobby coding? haha
Jeff Boulanger
@jeffboulanger
Sep 01 2016 17:23 UTC
times getting short for me, i do some lua modding for dcs, but ya, i got a 5 yo in school, a baby on the way, lifes a bit more complex, not leaving much room for hobby's, and the little time i have i dont usually wanna code since i do it all day at work, so i usually spend that time decompressing with games or tv.
Marcelo Paez
@paezao
Sep 01 2016 17:24 UTC
haha makes sense
Im really busy too
but I always play around with projects I never finish
Jeff Boulanger
@jeffboulanger
Sep 01 2016 17:25 UTC
ya, my github repo shows that same thing
;)
i think nearly 19 years of interest in a game is long enough haha
the 1 hobby project im thinking of making is a profile editor and loader for the warthog, thrustmasters TARGET system is garbage.
Marcelo Paez
@paezao
Sep 01 2016 17:28 UTC
damn
Jeff Boulanger
@jeffboulanger
Sep 01 2016 17:28 UTC
i much prefer how Saitek's was
Marcelo Paez
@paezao
Sep 01 2016 17:28 UTC
your making me wish I had that x52 pro still haha
Jeff Boulanger
@jeffboulanger
Sep 01 2016 17:28 UTC
;)
Pretty sure it wouldnt be to difficult, but again, time.
Marcelo Paez
@paezao
Sep 01 2016 17:28 UTC
so Im playing around with making a UO client ill never finish in C
haha
Jeff Boulanger
@jeffboulanger
Sep 01 2016 17:29 UTC
sounds painful
Marcelo Paez
@paezao
Sep 01 2016 17:29 UTC
I like C
so its fun for me
and im lacking ideas
Jeff Boulanger
@jeffboulanger
Sep 01 2016 17:29 UTC
to much work lol
Marcelo Paez
@paezao
Sep 01 2016 17:29 UTC
so remaking something is "easier" haha
Jeff Boulanger
@jeffboulanger
Sep 01 2016 17:29 UTC
im not a huge fan of memory management
Marcelo Paez
@paezao
Sep 01 2016 17:29 UTC
yes ill never finish it definitely haha
thats kinda what I wanna learn
mem management
and low level stuff
Jeff Boulanger
@jeffboulanger
Sep 01 2016 17:30 UTC
ah
i know it enough, i still have to do it in C# sometimes
and thats enough for me
being mostly a UI engineer, i still have to deal with it
Marcelo Paez
@paezao
Sep 01 2016 17:32 UTC
and I mostly do web dev at work when I get to code
so it kinda bores me to death haha
Jeff Boulanger
@jeffboulanger
Sep 01 2016 17:32 UTC
ah ya
we got a team i help out with here doing a lot of that, angular, typescript, etc. I really dislike webdev so i keep my distance
Marcelo Paez
@paezao
Sep 01 2016 17:42 UTC
yea i used to like it
but it bores me now
Jeff Boulanger
@jeffboulanger
Sep 01 2016 17:43 UTC
:(
Marcelo Paez
@paezao
Sep 01 2016 17:44 UTC
haha
Jeff Boulanger
@jeffboulanger
Sep 01 2016 17:44 UTC
i was worried for a while, it looked as tho FAT clients were a thing of the past, but i was able to find a job where that wasnt the case, and they kinda made a comback
seems to flip flop, web gets more advanced, does a lot of what fatclients do, then some tech comes out making fatclient better, and web lags
Marcelo Paez
@paezao
Sep 01 2016 18:00 UTC
haha
Jeff Boulanger
@jeffboulanger
Sep 01 2016 18:01 UTC
i do think webgl has made it to the point where a full UO client is totally doable now, im shocked i havent seen anyone doing this (granted i havent really looked)
Marcelo Paez
@paezao
Sep 01 2016 18:01 UTC
well im using raylib
which compiles for webgl
im still working on the map rendering
and it's far from finished hehe
Jeff Boulanger
@jeffboulanger
Sep 01 2016 18:03 UTC
;) ya especially with webasm, seems like you could make a client that was fast, responsive and ran on my modern browsers
Marcelo Paez
@paezao
Sep 01 2016 18:04 UTC
that would be cool definitely
Marcelo Paez
@paezao
Sep 01 2016 20:35 UTC
using opengl now @jeffboulanger so I can make the Z thing work on land
stretching the texture and such
do you know how to convert from world location to mapblock and coordinates?
Jeff Boulanger
@jeffboulanger
Sep 01 2016 20:40 UTC
its kinda complicated
you might wanna try to just look at how its done in uxna
Marcelo Paez
@paezao
Sep 01 2016 20:40 UTC
I had this covered before but forgot it
Jeff Boulanger
@jeffboulanger
Sep 01 2016 20:40 UTC
ya
i'd have to figure it out again for the n'th number of times ;)
its one of those things i try not to remember lol
Marcelo Paez
@paezao
Sep 01 2016 20:41 UTC
hahaha
okay
Ill look into it :D
512 blocks down, by 768 blocks across.
each block is 8x8
Jeff Boulanger
@jeffboulanger
Sep 01 2016 20:42 UTC
well, UO is stored in 8x8 blocks, so you can efficiently render in intervals of 8
so, 16x16 or 24x24
and you want to render the blocks in 8x8 chunks
uxna doesnt do this, and it has clipping issues sometimes
and u wanna render UO-North to south, and for each index, UO east to west
and the Z coord is actually tile.y+=(z*4)
or -4
depending on your coord system
Marcelo Paez
@paezao
Sep 01 2016 20:48 UTC
hm
im rendering north to south west to east
whastw rong with doing it like that?
Jeff Boulanger
@jeffboulanger
Sep 01 2016 21:02 UTC
ya thats what i meant
for(y) { for(x) {
however
you need to do it in 8x8 clusters
i believe
i remember having really efficient code at some point
performance-wise
its been to long
Marcelo Paez
@paezao
Sep 01 2016 21:03 UTC
yes Im doing that
every block is 8x8
i might have something here
i dont remember, its been a long time
i may not have actually checked it in even
Marcelo Paez
@paezao
Sep 01 2016 21:05 UTC
Nice
Jeff Boulanger
@jeffboulanger
Sep 01 2016 21:05 UTC
ill take a look when i get a chance
Marcelo Paez
@paezao
Sep 01 2016 21:05 UTC
I actually called the client open uo
and then remembered about your repo
so I changed the name lol
Jeff Boulanger
@jeffboulanger
Sep 01 2016 21:05 UTC
:)
Marcelo Paez
@paezao
Sep 01 2016 21:07 UTC
haha
Jeff Boulanger
@jeffboulanger
Sep 01 2016 21:07 UTC
i could have sworn i had world render code in openuo somewhere
been to long
Marcelo Paez
@paezao
Sep 01 2016 21:10 UTC
gonna try and fill the screen with tiles now somehow
im only rendering a single one