Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
Orang
Apprentice


Joined: 22 Jul 2004
Posts: 118
Location: USA

PostPosted: Sat Jul 23, 2005 12:18 am   

Tracker script for Aard
 
a few notes:
i will add a level tracker part on ver 2.0 and a few other things, like color Embarassed
and THIS IS VERY IMPORTANT:
if you have 'noexp' on.. be sure and disable the {Tracker|Exp} script!!

Code:

look below for newer version
Reply with quote
Orang
Apprentice


Joined: 22 Jul 2004
Posts: 118
Location: USA

PostPosted: Mon Jul 25, 2005 6:35 pm   
 
fixed a few things :)


Code:

#class {Tracker}
#class 0
#class {Tracker|Exp}
#class 0
#class {Tracker|Quest Points}
#class 0
#class {Tracker}
#alias Tracker {#cr;#echo -----------------------------------Tracker Script----------------------------------------------;#mxp ~<send "Tracker" "Shows this screen">Tracker~</send> - shows this screen;#mxp ~<send "ExpToday" "Shows your exp you've gained today">ExpToday~</send> - shows your exp you've gained today;#mxp ~<send "ExpTotal" "Shows your total exp">ExpTotal~</send> - shows your total exp;#mxp ~<send "ExpGained" "Shows your total exp gained since script installation">ExpGained~</send> - shows your total exp gained since script installation;#mxp ~<send "ExpRecord" "Shows your exp 1~-day exp record">ExpRecord~</send> - shows your exp 1~-day record;#mxp ~<send "ExpClearAll" "Clears all exp vars">ExpClearAll~</send> - clears all exp vars;#mxp ~<send "ExpClearToday" "Clears today~'s exp">ExpClearToday~</send> - clears today~'s exp;#mxp ~<send "ExpClearGained" "Clears total exp gained since script installation">ExpClearGained~</send> - clears total exp gained since script installation;#mxp ~<send "ExpClearTotal" "Clears your total exp">ExpClearTotal~</send> - clears your total exp;#mxp ~<send "ExpClearRecord" "Clears your exp record">ExpClearRecord~</send> - clears your exp record;#mxp ~<send "QpToday" "Shows your qp you've gained today">QpToday~</send> - shows your qp you've gained today;#mxp ~<send "QpTotal" "Shows your total qp">QpTotal~</send> - shows your total qp;#mxp ~<send "QpGained" "Shows your total qp gained since script installation">QpGained~</send> - shows your total qp gained since script installation;#mxp ~<send "QpRecord" "Shows your qp 1~-day qp record">QpRecord~</send> - shows your qp 1~-day record;#mxp ~<send "QpClearAll" "Clears all qp vars">QpClearAll~</send> - clears all qp vars;#mxp ~<send "QpClearToday" "Clears today~'s qp">QpClearToday~</send> - clears today~'s qp;#mxp ~<send "QpClearGained" "Clears total qp gained since script installation">QpClearGained~</send> - clears total qp gained since script installation;#mxp ~<send "QpClearTotal" "Clears your total qp">QpClearTotal~</send> - clears your total qp;#mxp ~<send "QpClearRecord" "Clears your qp record">QpClearRecord~</send> - clears your qp record;#echo ----------------------------------------------------------------------------------------------;}
#class 0
#class {Tracker|Exp}
#var exp_today {0} {0}
#var exp_total {0}
#var exp_gained {0}
#var exp_record {0}
#var last_exp_gain {}
#alias ExpToday {#echo Experience gained today~: @exp_today}
#alias ExpTotal {#echo Experienced gained total~: @exp_total}
#alias ExpGained {#echo Experience gained since installation~: @exp_gained}
#alias ExpRecord {#echo New daily experience record~! @exp_record}
#alias ExpClearAll {#yesno "Are you sure you want to clear all exp variables?" {#var exp_today {0} {0};#var exp_total {0};#var exp_gained {0};#var exp_record {0};#echo All exp vars set to defaults.;}}
#alias ExpClearRecord {#yesno "Are you sure you want to clear your exp record?" {#var exp_record {0};#echo Exp record reset.}}
#alias ExpClearToday {#yesno "Are you sure you want to clear today~'s exp variables?" {#var exp_today {0} {0};#echo Today~'s exp vars set to default. }}
#alias ExpClearGained {#yesno "Are you sure you want to clear exp gained since script installation?" {#var exp_gained {0};#echo Exp gained since installation reset.}}
#alias ExpClearTotal {#yesno "Are you sure you want to clear your total exp var?" {#var exp_total {0};#echo Total exp reset.}}
#trigger {^You receive (%d) experience points.$} {#add exp_today %1;#add exp_total %1;#add exp_gained %1;#alarm +2 {ExpToday;ExpTotal;ExpGained;#if (@exp_record < @exp_today) {#var exp_record {@exp_today};ExpRecord;}}}
#trigger {^You receive (%d) bonus experience points in honor of (%w) reaching Superhero.$} {#add exp_today %1;#add exp_total %1;#add exp_gained %1;#alarm +2 {ExpToday;ExpTotal;ExpGained;#if (@exp_record < @exp_today) {#var exp_record {@exp_today};ExpRecord;}}}
#trigger {You need (%d) xp to level. You have (%d) xp total.} {#var exp_total {%2}}
#class 0
#class {Tracker|Quest Points}
#var qp_today {0} {0}
#var qp_total {0}
#var qp_gained {0}
#var qp_record {0}
#var last_qp_gain {}
#alias QpToday {#echo Quest points gained today~: @qp_today}
#alias QpTotal {#echo Quest points gained total~: @qp_total}
#alias QpGained {#echo Quest points gained since installation~: @qp_gained}
#alias QpRecord {#echo New daily experience record~! @qp_record}
#alias QpClearAll {#yesno "Are you sure you want to clear all qp variables?" {#var qp_today {0} {0};#var qp_total {0};#var qp_gained {0};#var qp_record {0};#echo All qp vars set to defaults.}}
#alias QpClearRecord {#yesno "Are you sure you want to clear your qp record?" {#var qp_record {0};#echo qp record reset.}}
#alias QpClearToday {#yesno "Are you sure you want to clear today~'s qp variables?" {#var qp_today {0} {0};#echo Today~'s qp vars set to default.}}
#alias QpClearGained {#yesno "Are you sure you want to clear qp gained since script installation?" {#var qp_gained {0};#echo Qp gained since installation reset.}}
#alias QpClearTotal {#yesno "Are you sure you want to clear your total qp var?" {#var qp_total {0};#echo Total qp reset.}}
#trigger {^Questor tells you 'As a reward, I am giving you (%d) quest points(*)$} {#add qp_today %1;#add qp_total %1;#add qp_gained %1;#alarm +2 {QpToday;QpTotal;QpGained;#if (@qp_record < @qp_today) {#var qp_record {@qp_today};QpRecord}}}
#trigger {^You gain an extra (%d) quest points 'MCCP Bonus'.$} {#add qp_today %1;#add qp_total %1;#add qp_gained %1;#alarm +2 {QpToday;QpTotal;QpGained;#if (@qp_record < @qp_today) {#var qp_record {@qp_today};QpRecord}}}
#trigger {^You get lucky and gain an extra (%d) quest points.$} {#add qp_today %1;#add qp_total %1;#add qp_gained %1;#alarm +2 {QpToday;QpTotal;QpGained;#if (@qp_record < @qp_today) {#var qp_record {@qp_today};QpRecord}}}
#trigger {You have (%d) quest points.} {#var qp_total {%1}}
#class 0
#echo Installation complete.
#alarm +1 {#echo Performing one-time setup, please wait.}
#alarm +2 {exp;q points}
#alarm +3 {Tracker}
Reply with quote
Atreides_096
Wanderer


Joined: 21 Jan 2005
Posts: 99
Location: Solvang, CA

PostPosted: Fri Aug 19, 2005 9:34 am   
 
Some things you could use to update:

* Add in tracking for tier qps bonus.
* Add in tracking for campaign and GQ qps
* Add in tracking for douible qp periods
* Change "Questor" to a variable, since many of us use manor questors.
* Change the trigger to track exp for characters with exprate, too.
* Change the tracker for bonus exp to accomodate for the other types of doubles (hour of double, xmas card double, donation doubles)
Reply with quote
Orang
Apprentice


Joined: 22 Jul 2004
Posts: 118
Location: USA

PostPosted: Tue Aug 30, 2005 12:05 am   
 
Atreides_096 wrote:
Some things you could use to update:

* Add in tracking for tier qps bonus.
* Add in tracking for campaign and GQ qps
* Add in tracking for douible qp periods
* Change "Questor" to a variable, since many of us use manor questors.
* Change the trigger to track exp for characters with exprate, too.
* Change the tracker for bonus exp to accomodate for the other types of doubles (hour of double, xmas card double, donation doubles)

most of that, i can get it and its alreayd in the next version. some of it i just have no access to the messages from the mud
unless someone wants to post them here?
like the exprate message
the xmas card
donation
....
Reply with quote
Atreides_096
Wanderer


Joined: 21 Jan 2005
Posts: 99
Location: Solvang, CA

PostPosted: Tue Aug 30, 2005 12:41 am   
 
You receive 102+11 experience points.

^~[(*)(%d) minutes of double exp started courtesy of Aardwolf supporters ~- see ~'help donate(*)~]$
^You receive (%d) bonus experience points courtesy of Aardwolf supporters ~-see help donate.$

^Double experience for (%d) minutes courtesy of (%w).$
^You receive (%d) bonus experience points courtesy of (%w).$

(*) tells you 'I am also giving you (%d) quest points tier bonus.'

The double messages are outta my tracker script, 1st set donations, 2nd set xmas card. I cannot remember if I ever got the donation trigs working, so may wanna play with it some (throw the unaltered message in whois, whois yourself, and try to get it to set off)

(bonus exp messages are only posted one way, w/o the exprate, so when killin a mob durin dbl w/ exprate, the line I posted shows once, and a combined total, looks exactly like non-exprate, posts below it) (I posted this unaltered, since there's several ways to handle it via trig, up to you what you prefer)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net