|
rfallengods23 Newbie
Joined: 05 Feb 2005 Posts: 4
|
Posted: Sat Feb 05, 2005 3:43 am
Can someone help me make a xp rate calculator for zmud? |
I have tried many different things and have yet to find one that will work. I want something where i can type xprate and it will do "say You have made X xp in that last 5 minutes. At this rate you will make X xp an hour."
What i`m getting my xp from is this.
-=-=-| COST |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
You still have a ways to go.
STAT LEVEL IMPROVE
Strength : 50 No
Charisma : 42 No
Constitution : 43 No
Dexterity : 91 No
Intelligence : 50 No
Wisdom : 40 No
To raise a stat type 'improve <stat>'
You have 1173000 to spend on stats, skills or to use to level.
You must be in your class hall to train, level or improve yourself.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I would like it to auto take the 1173000 or what ever xp i have and compare it to the xp i had 5 minutes before hand or last time my xp was recorded "which i want it recorded every 5 minutes automaticly" and then calculate it out and tell me the results on it own. I`m useing the latest version of zmud out. Please help me out. Thanks. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Feb 05, 2005 3:51 pm |
Code: |
#ALA *600 {xprate}
#TR {^You have (%d) to spend on stats} {
#MATH XPincrease {%1 - @XPtotal};#VAR XPtotal %1;#SAY {You have made @XPincrease xp in the last 5 minutes. At this rate you will make %eval( 12 * @XPincrease) an hour}} |
"xprate" should be replaced with whatever command you use to generate the display you are taking your xp from. I expect you to be smart enough to ignore the output when you choose to put that command in early. |
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
|
rfallengods23 Newbie
Joined: 05 Feb 2005 Posts: 4
|
Posted: Sat Feb 05, 2005 5:46 pm |
OK i set it up and now it comes out like this when i type cost. I don`t get a say at all. I`m not sure what is going on.
-=-=-| COST |=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
You still have a ways to go.
STAT LEVEL IMPROVE
Strength : 50 No
Charisma : 42 No
Constitution : 43 No
Dexterity : 91 No
Intelligence : 50 No
Wisdom : 40 No
To raise a stat type 'improve <stat>'
You have 1224000 to spend on stats, skills or to use to level.
Variable XPtotal not defined
You have made 0 xp in the last 5 minutes. At this rate you will make 0 an hour
You must be in your class hall to train, level or improve yourself.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I`m not sure what i need to change to get it to take my orignal xp and remember it and then go from there. PLease help . Thank you LightBulb |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Feb 07, 2005 1:35 am |
Apparently ; isn't being processed correctly. Just replace all of them with new lines.
Code: |
#TR {^You have (%d) to spend on stats} {
#MATH XPincrease {%1 - @XPtotal}
#VAR XPtotal %1
#SAY {You have made @XPincrease xp in the last 5 minutes. At this rate you will make %eval( 12 * @XPincrease) an hour}} |
|
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
|
|
|