Confused on Formatting
-
I am trying to wrap my head around how it pulls the data but have not been able to figure it out, lets say I want to pull the shard name and uptime stats from this code, how can that be done? If I can figure that out then I would be good on the rest.
{ "server": { "name": "Name", "host": "127.0.0.1", "port": 7057, "os": "Microsoft Windows NT 10.0.17763.0", "net": "4.0.30319.42000", "core": "RunUO", "assembly": "ServUO", "assembly_version": "0.5.8002.30674" }, "stats": { "uptime": "3.17:18:38.6457664", "uptime_stamp": 321518.6457664, "uptime_peak": "3.17:18:38.6460000", "uptime_peak_stamp": 321518.646, "online": 1, "online_max": 1, "online_peak": 1, "unique": 1, "unique_max": 1, "unique_peak": 1, "items": 149729, "items_max": 149729, "items_peak": 149729, "mobiles": 3527, "mobiles_max": 3527, "mobiles_peak": 3527, "guilds": 0, "guilds_max": 0, "guilds_peak": 0, "memory": 408354992, "memory_max": 411494912, "memory_peak": 411494912 } }This is what I was testing and it didn’t work:
{subloop-array:stats:-1} {stats.uptime} {stats.uptime_stamp} {stats.uptime_peak} {/subloop-array:stats}
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Confused on Formatting’ is closed to new replies.