Dev Tracker - Discussion

Eorzea Time
 
 
 
Language: JP EN FR DE
Version 3.1
New Items
users online
Forum » FFXI » General » Dev Tracker - Discussion
Dev Tracker - Discussion
First Page 2 3 ... 549 550
 Fenrir.Brimstonefox
Offline
Server: Fenrir
Game: FFXI
user: Brimstone
Posts: 298
By Fenrir.Brimstonefox 2025-08-26 12:41:00
Link | Quote | Reply
 
Kaffy said: »
what world do you live in where people measure everything in seconds only?

We live in a world of computers? Which btw measure everything in seconds (much finer precision than that actually)

If you actually understand how computers keep time (google "epoch time") you can realize the Y2k was a fallacious problem and it actually hasn't happened yet.

Anyways this should solve everyone's problem:
Code
timeremaining = 123456
if timeremaining > 3600:
   print(f'{timeremaining/3600.0:0f} hrs')
elif timeremaining > 60:
   print(f'{timeremaining/60:0f} min')
else:
   print(f'{timeremaining:0f} sec')


Not that I expect SE to do that, but its a few lines of code.
[+]
Offline
Posts: 1226
By Kaffy 2025-08-26 12:44:42
Link | Quote | Reply
 
my mistake, poor choice of words. precision is a good thing, but not converting it to a more user friendly format for display makes little sense.
[+]
 Shiva.Thorny
Online
Server: Shiva
Game: FFXI
user: Rairin
Posts: 3454
By Shiva.Thorny 2025-08-26 12:56:28
Link | Quote | Reply
 
Their normal menu system takes a parameter and subs it into a set of tokens, the server doesn't send you the full string it's going to display. In this case, the message they chose is:
Code
"You can't use the \x01\x053\x82\x80\x80\x80 for another \x0A\x01 second\x7F\x92\x01[/s] (Earth time).\x7F1\x00\x07"


So, they have one token that subs in the key item, one that subs in the number of seconds, and one that subs in the optional s for multiple seconds. The menu event system does not have a way to display fully dynamic text, as is. So, while they should probably have dealt with that at some point, implementing a more flexible display is still annoying.

They'd likely have to add 3 message ids for the different format, change the way the packet is sent for each, and do the calculations on the server end to determine which packet is sent, which order the parameters go in, and what values each param is. It's not rocket science, but it is considerably more annoying than what Brimstone posted.

Of course, this is assuming their tooling doesn't tie the message id to the menu event, and implementing it is as simple as writing the if-elseif-else logic and adding more dat entries. If it's integrated further up, it would start to border on spaghetti code to do it at all.
 Fenrir.Richybear
Offline
Server: Fenrir
Game: FFXI
user: Richybear
Posts: 1555
By Fenrir.Richybear 2025-08-26 13:05:07
Link | Quote | Reply
 
TIL it's Square Enix not Spagh Etti
 Carbuncle.Nynja
Offline
Server: Carbuncle
Game: FFXI
user: NynJa
Posts: 5753
By Carbuncle.Nynja 2025-08-26 13:42:16
Link | Quote | Reply
 
Rytaal : A new Imperial Army I.D. tag can be issued at 4/9/1465 0:59.(Earth Time: Nov. 1, 2024 11:31:11pm)

There are already systems in place that give exact time until event availability, instead of telling you when stuff will be available in hours/minutes/seconds. Thats just one example I was able to find in my logs.
 Fenrir.Brimstonefox
Offline
Server: Fenrir
Game: FFXI
user: Brimstone
Posts: 298
By Fenrir.Brimstonefox 2025-08-26 13:48:39
Link | Quote | Reply
 
Shiva.Thorny said: »
If it's integrated further up, it would start to border on spaghetti code to do it at all.

The answer to that is almost certainly "it is".

I'm sure its not written in python either, but also if windower can inject lots of log messages via lua plugins, not exactly rocket science for SE to have some client side way to pretty print messages from the server. Not that I want to blame the guy now trying to fix a problem invented by someone else years ago...
 Fenrir.Richybear
Offline
Server: Fenrir
Game: FFXI
user: Richybear
Posts: 1555
By Fenrir.Richybear 2025-08-26 13:56:10
Link | Quote | Reply
 
Carbuncle.Nynja said: »
Rytaal : A new Imperial Army I.D. tag can be issued at 4/9/1465 0:59.(Earth Time: Nov. 1, 2024 11:31:11pm)

There are already systems in place that give exact time until event availability, instead of telling you when stuff will be available in hours/minutes/seconds. Thats just one example I was able to find in my logs.

Though not availability, I think mog locker is broken down the same way too.

Inb4 TOAU is only time they did this
Offline
Posts: 1006
By soralin 2025-08-26 14:04:29
Link | Quote | Reply
 
Obligatory XKCD

[+]
Online
By Dodik 2025-08-26 14:15:00
Link | Quote | Reply
 
Someone that has worked with date time would first ask "Which timezones" then convert both to UTC before subtracting them, surely.

And they don't have to do any of that, just take seconds / 3600 and display it as hours with a x.y precision, meaning one decimal point. Still one value to display.
Offline
Posts: 1006
By soralin 2025-08-26 14:23:00
Link | Quote | Reply
 
Yall are triggering my UX meeting 'nam flashback ptsd to multi-hour long meetings arguing about this exact kinda stuff.

I do admit, displaying the remaining time as seconds is by far the *worst* way to choose and smells borderline intentional as malicious compliance *or* as a joke to troll us.
Offline
Posts: 1418
By Seun 2025-08-26 14:28:25
Link | Quote | Reply
 
soralin said: »
I do admit, displaying the remaining time as seconds is by far the *worst* way to choose and smells borderline intentional as malicious compliance *or* as a joke to troll us.

Until you realize they could have given us all of the times in Vana'diel and not earth...
[+]
Offline
Posts: 1006
By soralin 2025-08-26 14:30:52
Link | Quote | Reply
 
***, that's pretty good tho, lol
VIP
Offline
Posts: 1008
By Lili 2025-08-26 17:18:41
Link | Quote | Reply
 
Here
https://www.ffxiah.com/forum/topic/58594/readable-make-npcs-readable-again/
 Phoenix.Capuchin
Offline
Server: Phoenix
Game: FFXI
user: Anza
Posts: 3845
By Phoenix.Capuchin 2025-08-27 01:17:32
Link | Quote | Reply
 
Carbuncle.Nynja said: »
Rytaal : A new Imperial Army I.D. tag can be issued at 4/9/1465 0:59.(Earth Time: Nov. 1, 2024 11:31:11pm)

There are already systems in place that give exact time until event availability, instead of telling you when stuff will be available in hours/minutes/seconds. Thats just one example I was able to find in my logs.

===Area: Aht Urghan Whitegate ===
Fubruhn: This is the center for Mog Locker administration and expansion. How may I help you?
Fubruhn: Your current Mog Locker lease is valid until 2027/3/31 16:23:01 (Earth time).
 Asura.Sechs
Online
Server: Asura
Game: FFXI
user: Akumasama
Posts: 10697
By Asura.Sechs 2025-08-27 03:30:37
Link | Quote | Reply
 
Limbus NMs incoming NOMNOMNOMNOM
[+]
VIP
Offline
Posts: 1008
By Lili 2025-08-27 03:38:14
Link | Quote | Reply
 
Also permanent stews (RMTs rejoice) and no more unnecessary imprimatur block on Adoulin missions!
[+]
 Asura.Vyre
Forum Moderator
Offline
Server: Asura
Game: FFXI
user: Vyrerus
Posts: 16359
By Asura.Vyre 2025-08-27 03:47:48
Link | Quote | Reply
 
Phoenix.Capuchin said: »
Carbuncle.Nynja said: »
Rytaal : A new Imperial Army I.D. tag can be issued at 4/9/1465 0:59.(Earth Time: Nov. 1, 2024 11:31:11pm)

There are already systems in place that give exact time until event availability, instead of telling you when stuff will be available in hours/minutes/seconds. Thats just one example I was able to find in my logs.

===Area: Aht Urghan Whitegate ===
Fubruhn: This is the center for Mog Locker administration and expansion. How may I help you?
Fubruhn: Your current Mog Locker lease is valid until 2027/3/31 16:23:01 (Earth time).
Mine's good until 2062/11/11 02:34:05 (Earth Time)
[+]
First Page 2 3 ... 549 550