Achaea's Forums: Free Nexus Rat Slain Tracker - Achaea's Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Free Nexus Rat Slain Tracker system for import into nexus to help with keeping track of you rats

#1 User is offline   Taea 

  • Group: Adventurers
  • Posts: 137
  • Joined: 03-July 07

Posted 03 July 2007 - 07:13 AM

This is a little rat slain tracker I made for myself on Nexus.

I am putting this here for anyone to use if they want to and also to help those who need it see how to store variables and all :(

There are commands that are displayed when the system is activated and there is also a command that you can use when the system is inactive.

the commands are:
rattot - tells you how much in gold your dead rats are worth
clearrat - clears the ratcount and rattot
trk - displays total rats killed over all time and gold value
rathelp - repeats these commands

The system turns off and on when you use the RATS command for hunting rats.

To use this simply open the reflex editor click on archive then click import XML
paste the following including the reflexbundle tags

<reflexbundle modified="2007-07-03 02:24:15 EDT" author="Taea">
  
  <group name="rats" disabled="1">
	<var name="blrat">0</var>
	<var name="blrattotal">0</var>
	<var name="brat">0</var>
	<var name="brattotal">0</var>
	<var name="counter">0</var>
	<var name="orat">0</var>
	<var name="orattotal">0</var>
	<var name="rat">0</var>
	<var name="rattotal">0</var>
	<var name="totrats">0</var>
	<var name="yrat">0</var>
	<var name="yrattotal">0</var>
	<alias name="clearrat">#set brat = $brat * 0 
#set yrat = $yrat * 0
#set rat = $rat * 0
#set orat = $orat * 0
#set blrat = $blrat * 0</alias>
	<alias name="ratcount">#echo $brat Baby rats
#echo $yrat Young rats
#echo $rat Rats 
#echo $orat Old rats
#echo $blrat Black rats</alias>
	<alias name="rattot">#math brattotal $brat * 7
#math yrattotal $yrat * 14
#math rattotal $rat * 21
#math orattotal $orat * 28 
#math blrattotal $blrat * 35
#math totrats $brattotal + $yrattotal + $rattotal + $orattotal + $blrattotal
#echo $totrats gold in rats</alias>
	<trig name="He hands you a bag of {d} gold, and says,">#set brat = $brat * 0 
#set yrat = $yrat * 0
#set rat = $rat * 0
#set orat = $orat * 0
#set blrat = $blrat * 0</trig>
	<trig name="Liirup squeals with delight and nearly tears your arm off as she grabs the rats">#set brat = $brat * 0 
#set yrat = $yrat * 0
#set rat = $rat * 0
#set orat = $orat * 0
#set blrat = $blrat * 0</trig>
	<trig name="The ratman thanks you as you hand over ">#set brat = $brat * 0
#set yrat = $yrat * 0 
#set rat = $rat * 0
#set orat = $orat * 0
#set blrat = $blrat * 0</trig>
	<trig name="You have slain a baby rat, retrieving the corpse.">#math brat $brat + 1
#math totbrat $totbrat + 1 
#echo $brat baby rats Keeled!</trig>
	<trig name="You have slain a black rat, retrieving the corpse.">#math blrat $blrat + 1
#math totblrat $totblrat + 1
#echo $blrat black rats Keeled!</trig>
	<trig name="You have slain a rat, retrieving the corpse.">#math rat $rat + 1
#math totrat $totrat + 1
#echo $rat rats Keeled!</trig>
	<trig name="You have slain a young rat, retrieving the corpse.">#math yrat $yrat + 1 
#math totyrat $totyrat + 1
#echo $yrat young rats Keeled!</trig>
	<trig name="You have slain an old rat, retrieving the corpse.">#math orat $orat + 1
#math totorat $totorat + 1
#echo $orat old rats Keeled!</trig>
	<trig name="then smiles at you and hands you {d} sovereigns">#set brat = $brat * 0
#set yrat = $yrat * 0
#set rat = $rat * 0
#set orat = $orat * 0
#set blrat = $blrat * 0</trig>
  </group>
  <group name="default">
	<var name="blratsum">0</var>
	<var name="bratsum">0</var>
	<var name="oratsum">0</var>
	<var name="ratcounter">0</var>
	<var name="ratsum">0</var>
	<var name="totblrat">0</var>
	<var name="totbrat">0</var>
	<var name="totorat">0</var>
	<var name="totoratsum">0</var>
	<var name="totrat">0</var>
	<var name="totratssum">0</var>
	<var name="totyrat">0</var>
	<var name="yratsum">0</var>

	<alias name="rathelp">#echo ratcount - gives a breakdown of all rats killed
#echo rattot - tells you how much in gold your dead rats are worth
#echo clearrat - clears the ratcount and rattot
#echo trk - displays total rats killed over all time and gold value
#echo rathelp - repeats these commands</alias>
	<alias name="ratsoff">#groupoff rats
#echo trk - displays total rats killed and thier value
</alias>
	<alias name="ratson">#groupon rats
#echo ratcount - gives a breakdown of all rats killed. 
#echo rattot - tells you how much in gold your dead rats are worth.
#echo clearrat - clears the ratcount and rattot.
#echo trk - can be used with system on or off. Will display the number of rats
#echo killed since the installation of the system as well as value in gold. 
#echo please use "rathelp" to see these commands again.</alias>
	<alias name="trk">#echo $totbrat Baby rats
#echo $totyrat Young rats
#echo $totrat Rats
#echo $totorat Old rats
#echo $totblrat Black rats
#echo ----------*******----------
#math bratsum $totbrat * 7
#math yratsum $totyrat * 14
#math ratsum $totrat * 21 
#math oratsum $totorat * 28
#math blratsum $totblrat * 35
#math totratssum $bratsum + $yratsum + $ratsum + $oratsum + $blratsum
#math ratcounter $totbrat + $totyrat + $totrat + $totorat + $totblrat
#echo A total of $ratcounter rats killed, totaling $totratssum gold.</alias>

	<trig name="You will no longer take notice of the movement of rats.">#echo Rat tracking disabled.
ratsoff</trig>
	<trig name="You will now notice the movement of rats. Happy hunting!">#echo Taea's rat tracking enabled!
ratson</trig>
  </group>
</reflexbundle>


make sure to select merge...

I tried to use variables and aliases that I didn't think would overwrite any that are common..

Let me know what you think!


I may also put other systems that I make on here as well.

I do not typically use Nexus but it is what I started on and I think I have a pretty good grasp on things like this.

This post has been edited by Taea: 04 July 2007 - 06:17 PM

Nexus scripts here.
Nexus Scripts updated as of 3/22/08. Get newbie antitheft scripts!!!!!!
Utility scripts! Auto sipper, Concoctions, Tarot, Ratting, All free. Donations accepted.
Fishing script now under testing.

#2 User is offline   Taea 

  • Group: Adventurers
  • Posts: 137
  • Joined: 03-July 07

Posted 03 July 2007 - 05:05 PM

Here is an addon that will display the total in gold after each rat killed.. this is only the current value and resets when you sell your rats. This also still tells you how many rats you have killed when you killed them.. but the second version doesn't give you the number of rats killed unless you call for it to. Two updates with this post

To install
copy from reflexbundle open tag to close tag,
open your reflex editor,
click archives button,
click import xml button,
paste into text box and save.
click merge.

------**** displays rats and cumulative gold ****-------

<reflexbundle>
	<group name="rats" disabled="1">   
	<trig name="You have slain a baby rat, retrieving the corpse.">#math brat $brat + 1
#math totbrat $totbrat + 1 
#echo $brat baby rats Keeled!
rattot</trig>
	<trig name="You have slain a black rat, retrieving the corpse.">#math blrat $blrat + 1
#math totblrat $totblrat + 1
#echo $blrat black rats Keeled!
rattot</trig>
	<trig name="You have slain a rat, retrieving the corpse.">#math rat $rat + 1
#math totrat $totrat + 1
#echo $rat rats Keeled!
rattot</trig>
	<trig name="You have slain a young rat, retrieving the corpse.">#math yrat $yrat + 1 
#math totyrat $totyrat + 1
#echo $yrat young rats Keeled!
rattot</trig>
	<trig name="You have slain an old rat, retrieving the corpse.">#math orat $orat + 1
#math totorat $totorat + 1
#echo $orat old rats Keeled!
rattot</trig>
	</group>
</reflexbundle>

------**** displays cumulative gold no rats ****-------

<reflexbundle>
	<group name="rats" disabled="1">   
	<trig name="You have slain a baby rat, retrieving the corpse.">#math brat $brat + 1
#math totbrat $totbrat + 1 
rattot</trig>
	<trig name="You have slain a black rat, retrieving the corpse.">#math blrat $blrat + 1
#math totblrat $totblrat + 1
rattot</trig>
	<trig name="You have slain a rat, retrieving the corpse.">#math rat $rat + 1
#math totrat $totrat + 1
rattot</trig>
	<trig name="You have slain a young rat, retrieving the corpse.">#math yrat $yrat + 1 
#math totyrat $totyrat + 1
rattot</trig>
	<trig name="You have slain an old rat, retrieving the corpse.">#math orat $orat + 1
#math totorat $totorat + 1
rattot</trig>
	</group>
</reflexbundle>

This post has been edited by Taea: 04 July 2007 - 06:18 PM

Nexus scripts here.
Nexus Scripts updated as of 3/22/08. Get newbie antitheft scripts!!!!!!
Utility scripts! Auto sipper, Concoctions, Tarot, Ratting, All free. Donations accepted.
Fishing script now under testing.

#3 User is offline   Seducia 

  • Group: Adventurers
  • Posts: 14
  • Joined: 21-June 07

Posted 04 July 2007 - 03:18 PM

um.. that freaking rocks!!!

#4 User is offline   Taea 

  • Group: Adventurers
  • Posts: 137
  • Joined: 03-July 07

Posted 04 July 2007 - 08:56 PM

I have another update that was requested by a few people. This update will count the rats in your inventory as some people may be given rats or find them dead already. This addon should be imported after the main has been or after any other addons..

commands:

ckratinv - checks your inventory for rats (only what you are holding.. nothing in any type of container)

Make sure to merge this so the aliases in the default group do get overwritten. Otherwise the rathelp will not be up to date

<reflexbundle>

  <group name="rats" disabled="1">
	<alias name="ckratinv">#set brat = $brat * 0 
#set yrat = $yrat * 0
#set rat = $rat * 0
#set orat = $orat * 0
#set blrat = $blrat * 0
#groupon ratinv
ii
#wait 1500
#groupoff ratinv</alias>
  </group>

  <group name="ratinv" disabled="1">
	<trig name="corpse of a baby rat">#math brat $brat + 1</trig>
	<trig name="corpse of a black rat">#math blrat $blrat + 1</trig>
	<trig name="corpse of a rat">#math rat $rat + 1</trig>
	<trig name="corpse of a young rat">#math yrat $yrat + 1</trig>
	<trig name="corpse of an old rat">#math orat $orat + 1</trig>
	<trig name="Type MORE to continue reading.">more</trig>
  </group>

  <group name="default">
	
	<alias name="ratson">#groupon rats
#echo ratcount - gives a breakdown of all rats killed. 
#echo rattot - tells you how much in gold your dead rats are worth.
#echo clearrat - clears the ratcount and rattot.
#echo trk - can be used with system on or off. Will display the number of rats
#echo killed since the installation of the system as well as value in gold. 
#echo ckratinv - manually check your inventory in cases of receiving rats from others or finding dead rats
#echo please use "rathelp" to see these commands again.</alias>
	
	<alias name="rathelp">#echo ratcount - gives a breakdown of all rats killed
#echo rattot - tells you how much in gold your dead rats are worth
#echo clearrat - clears the ratcount and rattot
#echo trk - displays total rats killed over all time and gold value
#echo ckratinv - manually check your inventory in cases of receiving rats from others or finding dead rats
#echo rathelp - repeats these commands</alias>
  </group>

</reflexbundle>


If anyone spies any bugs please let me know.. I am also looking for the trigger for the ratman in Mhaldor if anyone could be kind enough to provide it. Once I have that trigger to clear the rats once sold in Mhaldor I am pretty sure this will be complete


Edited: small fix in the continue reading trigger

This post has been edited by Taea: 06 July 2007 - 04:26 PM

Nexus scripts here.
Nexus Scripts updated as of 3/22/08. Get newbie antitheft scripts!!!!!!
Utility scripts! Auto sipper, Concoctions, Tarot, Ratting, All free. Donations accepted.
Fishing script now under testing.

#5 User is offline   Taea 

  • Group: Adventurers
  • Posts: 137
  • Joined: 03-July 07

Posted 27 September 2008 - 05:55 AM

Here is another update that was requested that simply highlights the rats when they enter or leave the room.

Yellow for entering. Red for leaving.

<reflexbundle modified="2008-09-23 10:42:20 EDT">
  <group name="rats" disabled="1">
	
	
	<trig name="A {w} rat wanders into view, nosing about for food.">#highlight "bold yellow"</trig>
	<trig name="With a squeak, a {w} rat darts into the room, looking about wildly.">#highlight "bold yellow"</trig>
	<trig name="A {w} rat noses its way cautiously out of the shadows.">#highlight "bold yellow"</trig>
	<trig name="Your eyes are drawn to a {w} rat that darts suddenly into view.">#highlight "bold yellow"</trig>
	<trig name="A {w} rat wanders into view, nosing about for food.">#highlight "bold yellow"</trig>
	<trig name="With a flick of its small whiskers, a {w} rat dashes out of view.">#highlight "bold red"</trig>
	<trig name="A {w} rat wanders back into its warren where you may not follow.">#highlight "bold red"</trig>
	<trig name="A {w} rat darts into the shadows and disappears.">#highlight "bold red"</trig>

	<trig name="A rat wanders into view, nosing about for food.">#highlight "bold yellow"</trig>
	<trig name="With a squeak, a rat darts into the room, looking about wildly.">#highlight "bold yellow"</trig>
	<trig name="A rat noses its way cautiously out of the shadows.">#highlight "bold yellow"</trig>
	<trig name="Your eyes are drawn to a rat that darts suddenly into view.">#highlight "bold yellow"</trig>
	<trig name="A rat wanders into view, nosing about for food.">#highlight "bold yellow"</trig>
	<trig name="With a flick of its small whiskers, a rat dashes out of view.">#highlight "bold red"</trig>
	<trig name="A rat wanders back into its warren where you may not follow.">#highlight "bold red"</trig>
	<trig name="A rat darts into the shadows and disappears.">#highlight "bold red"</trig>

	<trig name="An {w} rat wanders into view, nosing about for food.">#highlight "bold yellow"</trig>
	<trig name="An {w} rat noses its way cautiously out of the shadows.">#highlight "bold yellow"</trig>
	<trig name="An {w} rat wanders into view, nosing about for food.">#highlight "bold yellow"</trig>
	<trig name="With a squeak, an {w} rat darts into the room, looking about wildly.">#highlight "bold yellow"</trig>
	<trig name="Your eyes are drawn to an {w} rat that darts suddenly into view.">#highlight "bold yellow"</trig>
	<trig name="An {w} rat wanders back into its warren where you may not follow.">#highlight "bold red"</trig>
	<trig name="An {w} rat darts into the shadows and disappears.">#highlight "bold red"</trig>
	<trig name="With a flick of its small whiskers, an {w} rat dashes out of view.">#highlight "bold red"</trig>
</group>

</reflexbundle>


Edit: You should be able to import this as an update as it should not overwrite any triggers from previous updates.

Edit 2: Wow this script is over a year old now! Necro'd!!

This post has been edited by Taea: 27 September 2008 - 05:57 AM

Nexus scripts here.
Nexus Scripts updated as of 3/22/08. Get newbie antitheft scripts!!!!!!
Utility scripts! Auto sipper, Concoctions, Tarot, Ratting, All free. Donations accepted.
Fishing script now under testing.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users