Floating-point locations

Forum for alternative clients, mods & discussions on the same.
User avatar
loftar
Posts: 9093
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Floating-point locations

Post by loftar »

I'm not entirely sure when I'll actually merge floating-point locations to the real server, but I've pushed the relevant client changes to an "fpos" branch on the public repos, so that you can try and merge the code and find/fix the conflicts in advance.

The reason I'm holding out for now is mostly because there's little visible impact from the change, so I'm still testing it to see if I can wash out any more bugs. (I still haven't found any really tricky ones, which makes me nervous that they're still hiding out there. ^^)

Just a headsup for now.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
RJT
Posts: 1186
Joined: Sun Jan 30, 2011 11:14 pm

Re: Floating-point locations

Post by RJT »

What does this do?
[8:21:56 PM] Ravian: We didn't run
[8:22:04 PM] Ravian: We left in the other direction
http://strawpoll.me/6822558
Stand against tyranny, Brothers and sisters. Rise!
User avatar
sabinati
Posts: 15527
Joined: Mon Jul 13, 2009 4:25 am
Location: View active topics

Re: Floating-point locations

Post by sabinati »

it calculates your coordinates more precisely, e.g. 11.235, 420.69, instead of 11, 421
User avatar
RJT
Posts: 1186
Joined: Sun Jan 30, 2011 11:14 pm

Re: Floating-point locations

Post by RJT »

Oh, so nothing, glad we got that instead of combat.
Thanks.
[8:21:56 PM] Ravian: We didn't run
[8:22:04 PM] Ravian: We left in the other direction
http://strawpoll.me/6822558
Stand against tyranny, Brothers and sisters. Rise!
User avatar
xdragonlord18
Posts: 623
Joined: Sat Apr 16, 2016 3:25 am

Re: Floating-point locations

Post by xdragonlord18 »

RJT wrote:Oh, so nothing, glad we got that instead of combat.
Thanks.
you some kind of dumb?
Ysh wrote:You all forget that bucket is include. I think with bucket it is fair price.
User avatar
Granger
Posts: 9255
Joined: Mon Mar 22, 2010 2:00 pm

Re: Floating-point locations

Post by Granger »

He is.

Back to topic please.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
EnderWiggin
Posts: 1156
Joined: Sat Mar 20, 2010 8:23 pm

Re: Floating-point locations

Post by EnderWiggin »

Loftar, is it ok if game looks like this after merge?
Image
Is this because server is still on old protocol or this is merge error?
User avatar
RJT
Posts: 1186
Joined: Sun Jan 30, 2011 11:14 pm

Re: Floating-point locations

Post by RJT »

Granger wrote:He is.

Back to topic please.
"Oh look we made stupid hit boxes slightly less gay instead of giving, working on, or thinking about a change that may make a stupid combat system less stupid."

But yeah, no, I'm dumb because I along with many others don't like you.
(Inc ban for mod sass.)
[8:21:56 PM] Ravian: We didn't run
[8:22:04 PM] Ravian: We left in the other direction
http://strawpoll.me/6822558
Stand against tyranny, Brothers and sisters. Rise!
User avatar
loftar
Posts: 9093
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Floating-point locations

Post by loftar »

EnderWiggin wrote:Is this because server is still on old protocol or this is merge error?
It's because the server still uses the old protocol, yes. What you're seeing is probably the expected result.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
xdragonlord18
Posts: 623
Joined: Sat Apr 16, 2016 3:25 am

Re: Floating-point locations

Post by xdragonlord18 »

RJT wrote:
Granger wrote:He is.

Back to topic please.
"Oh look we made stupid hit boxes slightly less gay instead of giving, working on, or thinking about a change that may make a stupid combat system less stupid."

But yeah, no, I'm dumb because I along with many others don't like you.
(Inc ban for mod sass.)
proper pathing is far more important than combat changes youre dumb because you have no idea how significant changing to floating point coords is and then you flame loftar about combat as if he isnt also working on that too
Ysh wrote:You all forget that bucket is include. I think with bucket it is fair price.

Return to “The Wizards' Tower”