These are chat archives for ZaneDubya/UltimaXNA

20th
Aug 2015
Deniz Sökmen
@denizsokmen
Aug 20 2015 02:08
Okay
Jeff Boulanger
@jeffboulanger
Aug 20 2015 02:08
i got scaling working ;)
zooming ;)
Jeff Boulanger
@jeffboulanger
Aug 20 2015 02:26
Only works best if you turn off PointClamping, and use LinearClamp though
It goes to show that currently the world rendering wastes time rendering to far to the right, and bottom ;)
like 2-3 tiles
Deniz Sökmen
@denizsokmen
Aug 20 2015 02:56
lol gj
ahahah it brought me the idea of camera in GTA2, zoomed while standing, zoomed out a little bit while walking, zoomed out maximum while driving :D
Jeff Boulanger
@jeffboulanger
Aug 20 2015 02:58
ya
obviously it'd be nicer to have the mouse wheel or something control it, and have it ease in and out nicely, but for now this will do
the input system baffles me in uxna
InjectionDev
@InjectionDev
Aug 20 2015 03:41
@jeffboulanger really nice
Deniz Sökmen
@denizsokmen
Aug 20 2015 11:35
hiya
Zane Wagner
@ZaneDubya
Aug 20 2015 14:00
Nice Jeff! Looks excellent. The overdraw on top and bottom is because the world is 3d and tiles can be higher or lower than the z tile you are standing on (and to allow tall objects to be drawn before their tile would otherwise be on screen). Similar reason for overdrawing on the left and right
.
Btw objects completely off screen are culled before render.
See spritebatch3d
Are the sprites still pixel sharp at 1x and 2x?
Deniz Sökmen
@denizsokmen
Aug 20 2015 14:43
Are you using 3d renderer
@ZaneDubya
Jeff Boulanger
@jeffboulanger
Aug 20 2015 15:06
@ZaneDubya For SpriteBatch3d I made it so the SamplerState was linear, not point, then for SpriteBatchUI it flips back to Point
@denizsokmen there is technically no such thing as 2d, everything is in reality 3d, just always drawn on 1 plain, so it looks 2d. UXNA is 2d, the 3d is simulated by moving up the Y axis 4 pixels per Z defined on the map.
so X,Y are used only for simulating the 3d look, Z is used, but only so things don't overlap. Basically Z is for sprite sorting, but since the projection matrix is orthoganal, you dont get perspective, and everything looks flat at all times, no depth.
Zane Wagner
@ZaneDubya
Aug 20 2015 15:54
I'm looking forward t
-o playing with it!
InjectionDev
@InjectionDev
Aug 20 2015 16:03
i cant wait :D
Jeff Boulanger
@jeffboulanger
Aug 20 2015 16:06
@ZaneDubya Ill check in what i have tonight, not sure what implications there are, I was having issues with my server and the client (the whole falling through the floor thing)
As far as i could tell, picking worked just fine, though im not sure how
seems like it shouldnt have, cause I didn't change any code
ill try again tonight, but ill check it in on my fork and do a pull so you can play around to and see if i missed anything
I would like to attach the zoom to the mouse wheel but man, input service is impossible to figure out how to use
at least for me :(
InjectionDev
@InjectionDev
Aug 20 2015 17:02
@ZaneDubya do you mind if i open an issue talking about freezing login at POL server ? we still have some nice servers using this emulator
Jeff Boulanger
@jeffboulanger
Aug 20 2015 17:04
Can you look at the packets in the console for UXNA and see the different?
InjectionDev
@InjectionDev
Aug 20 2015 17:07
sure, i can try... i didnt have the time last night.. but i could try to get it at home
Jeff Boulanger
@jeffboulanger
Aug 20 2015 17:08
It would help to show the differences
InjectionDev
@InjectionDev
Aug 20 2015 17:11
other little think that i miss, is ctrl + V on password textbox :)
i will take a look jeff... if i had some issues i tell you, or give a login/pwd to a POL server
Jeff Boulanger
@jeffboulanger
Aug 20 2015 17:12
k
Rex-deadwall
@Rex-deadwall
Aug 20 2015 17:41
Hello all.
Deniz Sökmen
@denizsokmen
Aug 20 2015 17:43
hi
Rex-deadwall
@Rex-deadwall
Aug 20 2015 17:47
is there a way to get automatic updates from the github distribution of UltimaXNA?
Deniz Sökmen
@denizsokmen
Aug 20 2015 17:47
git rebase origin
:P
Jeff Boulanger
@jeffboulanger
Aug 20 2015 17:48
Nothing automatic
that would defeat the purpose of source control ;)
Rex-deadwall
@Rex-deadwall
Aug 20 2015 17:49
hmm ok maybe subversion i guess? i guess its not totally automatic, and that's fine
Jeff Boulanger
@jeffboulanger
Aug 20 2015 17:49
There is not a single source control that is automatic, you always need to get the latest code via a command of some sort.
Rex-deadwall
@Rex-deadwall
Aug 20 2015 17:51
i see, i guess my question should have been, what should i use to get the updates.
Jeff Boulanger
@jeffboulanger
Aug 20 2015 17:51
Depends on how you got the source, did you fork it to your own github repo, or did you just get the source from the official UltimaXNA repo
Rex-deadwall
@Rex-deadwall
Aug 20 2015 17:53
i think i'd want to get it from the official repo.
Zane Wagner
@ZaneDubya
Aug 20 2015 17:59
Rex, the official github desktop client is very easy to use
Rex-deadwall
@Rex-deadwall
Aug 20 2015 18:00
i'm looking for an easy solution, thanks
Zane Wagner
@ZaneDubya
Aug 20 2015 18:02
:)
Once you've forked the repo, it will show up in the desktop client.
And really it's just a front end for the git command line, which you can always call up, so you don't lose any functionality.
Zane Wagner
@ZaneDubya
Aug 20 2015 18:08
Oh, I'm sorry, I misread your question. Jeff and deniz are right, you will need to manually pull changes from my master. You can do this from the github
Page for your fork.
Rex-deadwall
@Rex-deadwall
Aug 20 2015 18:20
ok i see
Rex-deadwall
@Rex-deadwall
Aug 20 2015 18:30
I'm working with heavily modified client files with a base starting at patch 7.0.15.1, which includes the High Seas and Stygian Abyss content. I'm wondering if/when or how much work is involved in getting UltimaXNA the ability to use and display the map, art, textures and gumps from this file set?
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:31
Are they mul or uop?
Rex-deadwall
@Rex-deadwall
Aug 20 2015 18:31
they are all mul
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:31
should just work crosses fingers
Rex-deadwall
@Rex-deadwall
Aug 20 2015 18:32
ML goes to 3FFF (16383), SA goes to 7fff(32767) and high seas goes to FFFF (65535)
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:32
ya
Rex-deadwall
@Rex-deadwall
Aug 20 2015 18:32
i've tried and it throws an error when loading the map
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:33
i think right now we are at 3fff
so might need to change something
not sure what atm im at work
:(
Rex-deadwall
@Rex-deadwall
Aug 20 2015 18:34
what i did was simply download the recommended uoML client and then through in out modified art.mul etc
throw in our*
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:34
right
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:35
emulator?
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:35
if you can give us the error, or write it up as an issue on the issues page, we might be able to fix it if its easy, Zane is pretty getting features finished for milestone 0.7, so if its hard, it might get pushed
Rex-deadwall
@Rex-deadwall
Aug 20 2015 18:35
we don't need all of the functionality of the HS stuff like the huge boats, but we do have a custom map and a huge amount of gumps and also art that is within the unused blocks in the HS numbers
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:35
@Rex-deadwall
what is the emu
Rex-deadwall
@Rex-deadwall
Aug 20 2015 18:37
its ForkUO, We currently are based around a pre-UOP era somewhere between ML and High Seas - our core is heavily modified as is our normal scriptbase, assets and just about everything else.
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:38
well currently
the tiledata loads only 0x4000
it's probably index out of bounds
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:39
ya tiledata is unfortunatly 32 bit
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:39
since you are trying to view something above 0x4000
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:39
oh you mean tiles
not tiledata ;)
tiledata is 32 bit, tiles (land art) is 0x4000
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:40
no
i'm talking about item data
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:40
oh itemdata
ya
a lot of the file handling is based on what it was whewn uxna starrted
and hasn't been adapted to the newer clients
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:40
my fork handles everything atm
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:40
even old clients?
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:40
but I need to send a pull request
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:40
all based on version?
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:41
what I mean is newer clients :D
but it also supports the old yes
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:41
ya, but is it backword compat
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:41
I mean the ML
Th3Ma5hatt3r
@Th3Ma5hatt3r
Aug 20 2015 18:41
But does it work...
Rex-deadwall
@Rex-deadwall
Aug 20 2015 18:41
i'll list the error
Th3Ma5hatt3r
@Th3Ma5hatt3r
Aug 20 2015 18:41
:-)
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:41
it is backwards compat
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:41
Does it determine from old via client version?
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:41
with the current version
Rex-deadwall
@Rex-deadwall
Aug 20 2015 18:41
error.JPG
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:41
yes
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:41
gotcha
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:41
yeah
exactly what I said
:P
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:42
ya @Rex-deadwall thats what @denizsokmen is talking about
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:42
index out of bounds
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:42
so once @denizsokmen does a pull request for UOP support that he did, it should be fixed
Th3Ma5hatt3r
@Th3Ma5hatt3r
Aug 20 2015 18:42
Nailed it!
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:42
if he ever does ;)
Th3Ma5hatt3r
@Th3Ma5hatt3r
Aug 20 2015 18:42
Haha
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:42
@denizsokmen just giving you a hard time
Th3Ma5hatt3r
@Th3Ma5hatt3r
Aug 20 2015 18:43
Me too, but it is entertaining.
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:43
since you said it was done but we haven't seen a pull request ;)
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:43
its because
Rex-deadwall
@Rex-deadwall
Aug 20 2015 18:43
But, these don't use UOP files, is it related?
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:43
I forgot to handle sounds.mul
because it was handled differently, I haven't noticed it
it doesn't use FileIndex class
:(
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:43
orl?
orly?
ill look at that for openuo
@Rex-deadwall no, its just a bug he fixed while doing uop
Rex-deadwall
@Rex-deadwall
Aug 20 2015 18:44
ok
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:44
which means I will have to duplicate the code in FileIndexUop
or restructure it to use FileIndex
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:44
if it doesnt have a file index, it shouldnt use a file index
lol
ill see how I should handle it in OpenUO and you can reference that
Rex-deadwall
@Rex-deadwall
Aug 20 2015 18:45
im guessing its not as simple as changing it from 0x4000 to like 0xFFFF?
Deniz Sökmen
@denizsokmen
Aug 20 2015 18:46
no
because we also need to handle 0xF3 packet which handles itemids above 0x4000
Rex-deadwall
@Rex-deadwall
Aug 20 2015 18:47
I see. I look forward to the update
Th3Ma5hatt3r
@Th3Ma5hatt3r
Aug 20 2015 18:48
I will be playing around with your fork @denizsokmen when I get home from work. :-)
For some reason the normal UO client freezes on me everything I click on something on something in a different monitor.
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:49
weird considering its GDI
Th3Ma5hatt3r
@Th3Ma5hatt3r
Aug 20 2015 18:50
Yeah it just says 'Not responding'. I have not been able to figure it out and it has been making me rage.
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:51
Run as Administrator
Th3Ma5hatt3r
@Th3Ma5hatt3r
Aug 20 2015 18:51
I do
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:51
and/or XP Compatibility
do you use Razor?
Th3Ma5hatt3r
@Th3Ma5hatt3r
Aug 20 2015 18:52
Yup
I run Razor in admin mode.
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:52
use XP compatibility
Th3Ma5hatt3r
@Th3Ma5hatt3r
Aug 20 2015 18:52
Well as admin.
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:52
and turn off Aero
Th3Ma5hatt3r
@Th3Ma5hatt3r
Aug 20 2015 18:52
Okay I will give that a try when I get home.
Jeff Boulanger
@jeffboulanger
Aug 20 2015 18:52
if you are on windows 8
7
I feel like i had that problem too at some point
can't really remember what i did to fix it though
Rex-deadwall
@Rex-deadwall
Aug 20 2015 19:07
So, you can use Razor with UltimaXNA?
Rex-deadwall
@Rex-deadwall
Aug 20 2015 21:16
@jeffboulanger : mouse wheel controlling zoom. Zoom would be a great feature as something in the macro options, or with a changeable hotkey, i know a lot of players that use mouse wheel for target self or last target.
Rex-deadwall
@Rex-deadwall
Aug 20 2015 21:28
UltimaXNA2.JPG
@denizsokmen I downloaded your repo of UltimaXNA and it loaded up my map, tiles, etc, just fine. well mostly.
InjectionDev
@InjectionDev
Aug 20 2015 22:17
nice!
Rex-deadwall
@Rex-deadwall
Aug 20 2015 22:18
i'm seeing that the client can deal with the higher art ID's, but its not actually loading the correct ones
UltimaXNA3.JPG
the item in slot 0x4085 in tile data on the map is loading up 0x0085 in the UltimaXNA client.
Rex-deadwall
@Rex-deadwall
Aug 20 2015 22:25
i'll try to figure out how to document this bug
Rex-deadwall
@Rex-deadwall
Aug 20 2015 22:33
i wondering if i should bother since its a bug in denizsokmen's fork, and not the master.
im also seeing some issues with item z or depth layer as it draws items on top of other items.
Rex-deadwall
@Rex-deadwall
Aug 20 2015 22:41
Also the uxna client doesn't seem show items flagged with "translucent" as translucent.
Zane Wagner
@ZaneDubya
Aug 20 2015 22:50
@Rex-deadwall The offset by 0x4000 issue you're noting is caused by the limit you've already been discussing: uxna only handles itemids up to 0x3fff.
Translucency support has not yet been added.
Translucency is definitely on the radar, but it's out there a way.
Past 0.7
Unless someone else wants to take it on; but I think it will take some difficult mucking around in the spritebatch.
Rex-deadwall
@Rex-deadwall
Aug 20 2015 22:54
gotta have that see-through water ya know?(at some point)
WaterTranslucent.JPG
Zane, I work with Isidor if you hadn't guessed.
Zane Wagner
@ZaneDubya
Aug 20 2015 22:57
I actually figured you were isidor ;)
Thank you for clarifying that. :)
Rex-deadwall
@Rex-deadwall
Aug 20 2015 22:57
hah! i'm sure he'll pop in here at some point.
I'm excited to use the client. I see real potential.
Jeff Boulanger
@jeffboulanger
Aug 20 2015 23:18
@Rex-deadwall ya hotkey zoom would be ideal, but macros dont exist atm in uxna, no keyboard handling really does unless its on a gump
Rex-deadwall
@Rex-deadwall
Aug 20 2015 23:19
ahh ok, that also explains all the missing hotkeys i was trying.
Jeff Boulanger
@jeffboulanger
Aug 20 2015 23:19
;)
Rex-deadwall
@Rex-deadwall
Aug 20 2015 23:20
Ctrl-q last said, ctrlw foward last said, ctrl map, ctrl paste copied text, etc
i guess i need to get into the issues, requests, miles stones and get myself up to date on where the project is at as a whole.
Zane Wagner
@ZaneDubya
Aug 20 2015 23:24
@Rex-deadwall When you see something missing, please add it to the list of issues!
That would be tremendously helpful. Thank you!
Zane Wagner
@ZaneDubya
Aug 20 2015 23:29
I'm trying to work up the enthusiasm for coding, but I'm just exhausted. Long week.
Jeff Boulanger
@jeffboulanger
Aug 20 2015 23:30
:(
ive been at the park all day with work lol
and i still dont wanna code
Zane Wagner
@ZaneDubya
Aug 20 2015 23:30
Family day?
Jeff Boulanger
@jeffboulanger
Aug 20 2015 23:30
nah just bbq in the park with work
we do it 1x a summer
Zane Wagner
@ZaneDubya
Aug 20 2015 23:31
Sounds so nice.
Jeff Boulanger
@jeffboulanger
Aug 20 2015 23:31
it was fun
and delicious
bunch of ribs, sausage, brisket, chicken ;)
Zane Wagner
@ZaneDubya
Aug 20 2015 23:32
omg mmmm
On the clock? ;)
Jeff Boulanger
@jeffboulanger
Aug 20 2015 23:32
ya all paid
got off at 3
so worked 9-12, went to park, ate, hung out, left at 3, paid till 5
lol
Zane Wagner
@ZaneDubya
Aug 20 2015 23:32
fantastic.
Where are my google jellys when I need them ;)
Rex-deadwall
@Rex-deadwall
Aug 20 2015 23:33
I'm finding things left and right. for some reason my custom cliloc is also not loading entries properly.
Zane Wagner
@ZaneDubya
Aug 20 2015 23:34
Hm. Not sure what could be causing that. You are posting these as issues right? ;)
Jeff Boulanger
@jeffboulanger
Aug 20 2015 23:34
@ZaneDubya check this out https://www.youtube.com/watch?v=FEvFxXaRACQ drone wars via ksp ;)
Rex-deadwall
@Rex-deadwall
Aug 20 2015 23:35
no man im just having fun with it. lol
Zane Wagner
@ZaneDubya
Aug 20 2015 23:35
I did my first Moho flyby last night!
I mean, it was supposed to be a moho lander, but I passed by with a velocity difference of over 9k m/s with only 4k m/s dv.
Rex-deadwall
@Rex-deadwall
Aug 20 2015 23:35
i'll get to posting the issues/bugs/missing features though.
Zane Wagner
@ZaneDubya
Aug 20 2015 23:35
More like new horizons than messenger ;)
Jeff Boulanger
@jeffboulanger
Aug 20 2015 23:36
lol
nice
Zane Wagner
@ZaneDubya
Aug 20 2015 23:37
watching that video - I love that guy!
wtf guns!
Jeff Boulanger
@jeffboulanger
Aug 20 2015 23:37
this guy had ppl submit their planes, to go up against his 6 plane fleet
Zane Wagner
@ZaneDubya
Aug 20 2015 23:37
Nice!
Jeff Boulanger
@jeffboulanger
Aug 20 2015 23:37
1 vs 6
scott manley is awesome, next year when im in SF for build (if i go) I'm gonna send him a message to see if he wants to meet up for a drink
he works right next to moscone center
where the conference is
Zane Wagner
@ZaneDubya
Aug 20 2015 23:38
Nice first plane. Two solid boosters just kinda hanging on.
This is great!