by Hobbesistan » Thu Feb 20, 2014 5:35 pm
by Shadow Afforess » Thu Feb 20, 2014 7:46 pm
by Cerian Quilor » Fri Feb 21, 2014 9:05 am
by Tano » Fri Feb 21, 2014 4:25 pm
Cerian Quilor wrote:I'm glad they're not.
Govindia: Do you consider me a friend, or just an acquaintance or what?
hobbes: I don't particularly consider anyone a true 'friend'
hobbes: at least,not on NS
Govindia: why is that?
hobbes: because
hobbes: everyone here is a jackass
hobbes: myself included
Pixie: *heart sploosh*
Tano: if your heart is splooshing you should contact a doctor
Tano: hearts are supposed to thump not sploosh
Pixie: No this is normal
Pixie: intense emotion causes me to hemorrage internally
Pixie: my life is like a really depressing comedic episode of The X-Files
Khron: we need an achievment of rem's face just for Tano
Pixie: haha
Pixie: "be Tano"
Brunhilde: My quotes should be in more signatures.
by Shadow Afforess » Fri Feb 21, 2014 4:37 pm
Cerian Quilor wrote:I'm glad they're not.
by Hobbesistan » Tue Mar 04, 2014 9:15 pm
by Hobbesistan » Tue Apr 08, 2014 5:15 pm
by Hobbesistan » Mon Jun 23, 2014 8:18 pm
by Mallorea and Riva » Mon Jun 23, 2014 9:18 pm
by Misley » Mon Jun 23, 2014 9:30 pm
Mallorea and Riva wrote:Out of curiosity just how accurate is this?
by Hobbesistan » Tue Jun 24, 2014 8:44 am
Mallorea and Riva wrote:Out of curiosity just how accurate is this?
by Mallorea and Riva » Tue Jun 24, 2014 9:36 am
Hobbesistan wrote:Mallorea and Riva wrote:Out of curiosity just how accurate is this?
It uses NS++ backend, this script will give you the rough time a region updates as well as the variance in seconds that the calculation may be off.
I've tested it with most XML scripts and found that for more active regions (because it relies on actual activity) this script is almost always right, but if its a super-inactive region, because no data has been collected, the result will be skewed.
It's not quite working right now due to a update in NS++ backend, i'll have a patch out soonish.
by Misley » Tue Jun 24, 2014 10:08 am
Mallorea and Riva wrote:Hobbesistan wrote:
It uses NS++ backend, this script will give you the rough time a region updates as well as the variance in seconds that the calculation may be off.
I've tested it with most XML scripts and found that for more active regions (because it relies on actual activity) this script is almost always right, but if its a super-inactive region, because no data has been collected, the result will be skewed.
It's not quite working right now due to a update in NS++ backend, i'll have a patch out soonish.
Right but how wide is the variance window on the calculations?
by Mallorea and Riva » Tue Jun 24, 2014 10:10 am
That's more or less what I figured. Any approx that isn't accurate to within ten seconds really isn't useful.Misley wrote:Mallorea and Riva wrote:Right but how wide is the variance window on the calculations?
It depends on the regional activity level of things that change at update (influence changes, issues answered, delegate changes, etc.). Large, active regions will be fairly accurate (within ~1-2 minutes) but small, inactive regions can be off by several minutes, if there's enough data to calculate an estimate at all.
by Hobbesistan » Tue Jun 24, 2014 10:15 am
Mallorea and Riva wrote:Hobbesistan wrote:
It uses NS++ backend, this script will give you the rough time a region updates as well as the variance in seconds that the calculation may be off.
I've tested it with most XML scripts and found that for more active regions (because it relies on actual activity) this script is almost always right, but if its a super-inactive region, because no data has been collected, the result will be skewed.
It's not quite working right now due to a update in NS++ backend, i'll have a patch out soonish.
Right but how wide is the variance window on the calculations?
by Misley » Tue Jun 24, 2014 10:16 am
Mallorea and Riva wrote:That's more or less what I figured. Any approx that isn't accurate to within ten seconds really isn't useful.Misley wrote:
It depends on the regional activity level of things that change at update (influence changes, issues answered, delegate changes, etc.). Large, active regions will be fairly accurate (within ~1-2 minutes) but small, inactive regions can be off by several minutes, if there's enough data to calculate an estimate at all.
by Shadow Afforess » Tue Jun 24, 2014 1:17 pm
Hobbesistan wrote:It's not quite working right now due to a update in NS++ backend, i'll have a patch out soonish.
by Hobbesistan » Tue Jun 24, 2014 5:27 pm
by Shadow Afforess » Tue Jun 24, 2014 6:56 pm
by Misley » Fri Jun 27, 2014 6:58 pm
SerinApprox 0.98
~~~~~~~~~~~~~Minor~~~~~~~~~~~~~~~~~~~~
on *:text:.minor &:#YOURREGION:{
if !$sock(pluspluss) { sockopen pluspluss nationstatesplusplus.net 80 | set %regionplus $2 }
set %yourchannel #YOURREGION
else notice $nick Wait!
}
on *:sockopen:pluspluss:{
sockwrite -n $sockname GET /api/region/updatetime/?region= $+ %regionplus HTTP/1.0
sockwrite -n $sockname $crlf
}
on *:sockread:pluspluss: {
sockread &plus
if $regex($bvar(&plus,1-).text,/"([^"]+)":("[^"]*"|[^"{][^,}]+)/g) {
var %time = $calc($regml(12) / 1000 - 18000)
if (%time < 0) %time = $calc(%time + 86400)
msg %yourchannel Minor Update Calculation: $duration(%time,3) (+/- $floor($calc($regml(10) /1000)) seconds )
}
unset %regionplus
}
~~~~~~~~~~~~~~Major~~~~~~~~~~~~~~~~~~~~~
on *:text:.approx &:#YOURREGION:{
if !$sock(plusplus) { sockopen plusplus nationstatesplusplus.net 80 | set %regionplus $2 }
set %yourchannel #YOURREGION
else notice $nick Wait!
}
on *:sockopen:plusplus:{
sockwrite -n $sockname GET /api/region/updatetime/?region= $+ %regionplus HTTP/1.0
sockwrite -n $sockname $crlf
}
on *:sockread:plusplus: {
sockread &plus
if $regex($bvar(&plus,1-).text,/"([^"]+)":("[^"]*"|[^"{][^,}]+)/g) {
var %time = $calc($regml(28) / 1000 - 18000)
if (%time < 0) %time = $calc(%time + 86400)
msg %yourchannel Major Update Calculation: $duration(%time,3) (+/- $floor($calc($regml(26) /1000)) seconds )
}
unset %regionplus
}
by Hobbesistan » Fri Jun 27, 2014 8:16 pm
by Hobbesistan » Wed Jul 29, 2015 5:09 pm
Advertisement
Users browsing this forum: Bali Kingdom, Countriopia, Tamocordia, Trotterdam
Advertisement