Time to Next Tick Display -NET

Scripts for wintin.

Time to Next Tick Display -NET

Postby *juggleblood* » Fri Mar 03, 2006 11:12 am

This will make a counter at the lower right of your wintin terminal that counts down the seconds until the tick.

This is useful for making spell counters because the variable time2next updates every 2 seconds, so you can make sanc counters that are completely accurate, which I will post next by the way.

#defgroup ticker

#nop These help keep it accurate...you probably want to add more

#action {^It starts to rain} {#tickset} {G|ticker}
#action {^The day has begun} {tickset} {G|ticker}
#action {^The eastern sky starts to brighten} {tickset} {G|ticker}
#action {^Your fly spell just} {tickset} {G|ticker}

#alias {subtick} {#math {timesincetick} {$timesincetick-60};tickcheck} {G|ticker}
#alias {tick} {timesincetick;tickcheck} {G|ticker}
#alias {tickcheck} {#if {$timesincetick>59}{subtick} else {#math {time2next} {60-$timesincetick}}} {G|ticker}
#alias {tickrep} {tick;#showme {Next tick in $time2next seconds}} {G|ticker}
#alias {tickset} {#var lastticktime $time} {G|ticker}
#alias {timesincetick} {#math timesincetick {$time-$lastticktime}} {G|ticker}
#timer {ticker} {*:*:*2} {tick} {G|ticker}

#panel 1 {Time to Tick}
#pvar 2 time2next
Talk to the clown.
User avatar
*juggleblood*
Hall of Fame Avatar Poster
 
Posts: 1304
Joined: Sun Jan 22, 2006 6:36 am
Location: Beyond Yonder
Status: Offline

correction

Postby *juggleblood* » Fri Mar 03, 2006 12:07 pm

Make this correction

#al {tickcheck} {#if {$timesincetick>59}{subtick} else {#math {time2next} {60-$timesincetick}[b:3rci5p5b];#if {$time2next=60}{tickset}[/b:3rci5p5b]}

and add these

#al tickstop {#untimer ticker}
#al tickstart {#timer ticker {*:*:*2} {tick}}



*don't forget to add more triggers to automatically set the tick, for example, weather, daylight, spells ending, etc.. Just don't use hunger or thirst because they display in your score.

Cheers
Talk to the clown.
User avatar
*juggleblood*
Hall of Fame Avatar Poster
 
Posts: 1304
Joined: Sun Jan 22, 2006 6:36 am
Location: Beyond Yonder
Status: Offline

Postby Krok » Fri Mar 03, 2006 6:33 pm

TICK IN 10!!! CATCH!!
From Russia with love.
User avatar
Krok
Triple 40 Poster
 
Posts: 325
Joined: Mon Mar 01, 2004 6:25 am
Location: Russia, Moscow
Status: Offline

Postby *juggleblood* » Sat Mar 04, 2006 2:32 pm

Ok... I was learned a few things, such as:

1. spells don't end on tick...don't trigger them to tickset
2. sanc has a variable duration...counter past 1 min is useless

Question:

Is there even any point to a tickcounter nemore since you gain hp during the miniticks?
Talk to the clown.
User avatar
*juggleblood*
Hall of Fame Avatar Poster
 
Posts: 1304
Joined: Sun Jan 22, 2006 6:36 am
Location: Beyond Yonder
Status: Offline

Postby Weasel » Sat Mar 04, 2006 2:43 pm

mobs still operate on the tick system, so it's good for knowing when repops will occur and also I guess can be used to start killing a mob just after a tick so it doesn't get bonus hp midway through fight if another tick lapses...
User avatar
Weasel
Hall of Fame Avatar Poster
 
Posts: 2174
Joined: Sun Jan 04, 2004 4:27 am
Status: Offline

Postby *Splork* » Sat Mar 04, 2006 3:25 pm

Actually mob actions no longer work according to the old tick system. Mob actions are mostly random now...

Enjoy,
Splork
User avatar
*Splork*
Site Admin
 
Posts: 1135
Joined: Tue Apr 29, 2003 8:50 pm
Status: Offline

Postby 12345 » Sat Mar 04, 2006 4:34 pm

The mini ticks were designed to make ticks useless, yes. A real quick search of my memory seems to think that boats still come and go on actual ticks. Don't recall if areas repop on ticks or not. The game operates on about 6 different tick systems though, so trying to wrap your head around everything is pretty difficult.

The messages that say whatever spell is about to fall is your best measurement. If it didn't fail occasionally, it'd be perfect.
Kein Mehrheit Fur Die Mitleid -KMFDM
User avatar
12345
Avatar Poster
 
Posts: 1024
Joined: Thu Oct 21, 2004 10:27 am
Location: 127.0.0.1
Status: Offline

Postby Weasel » Sat Mar 04, 2006 5:38 pm

[quote="*Splork*":36r0lan2]Actually mob actions no longer work according to the old tick system. Mob actions are mostly random now...

Enjoy,
Splork[/quote:36r0lan2]

oop ok, thanks for the info.. guess my tick counter is completely useless now :)
I have a heap of tick message triggers like weather and area sounds etc.. deleting all those will cut out about half of my triggers hehe.
User avatar
Weasel
Hall of Fame Avatar Poster
 
Posts: 2174
Joined: Sun Jan 04, 2004 4:27 am
Status: Offline

Postby Weasel » Sat Mar 04, 2006 5:42 pm

hmm.. but still useful for mob pingers, yes? Are repop times still tick based along with weather, sunrise etc? ..or at least repop duration constant within an area..
User avatar
Weasel
Hall of Fame Avatar Poster
 
Posts: 2174
Joined: Sun Jan 04, 2004 4:27 am
Status: Offline


Return to WinTin Scripts

Who is online

Users browsing this forum: No registered users and 5 guests

cron