Page 1 of 2
Kimarr the Barbarian
Posted: 02 Feb 2012, 02:55
by JDuran
Just thought I should post it for everyone wanting to do this.
To determine the amount of fluffy kills needed use this:
Code: Select all
set $@Fluffy_Min, 1 + (BaseLevel*7)/10;
and you will LOSE if
Code: Select all
if ($@Fluffy_Kills < $@Fluffy_Min)
Odds are that you will have a number which is not whole (unless you are lvl 10,20,30 etc, in which case you will actually need to kill 1 more than the number you get for "fluffy_min")
You will need to round this up to get the total number you need to kill
ex: 1+(99*7)/10 = 70.3
here you will need 71, as 70 will be less than 70.3.
Another ex: 1+(80*7)/10 = 57
In this example, no rounding is neccesary; however, you will need to kill MORE than this number. Therefore, you will actually need to kill 58
Enjoy the fights!
Also, I would be interested in seeing any strategies to avoiding yetis

Re: Kimarr the Barbarian
Posted: 02 Feb 2012, 04:34
by Freeyorp101
tmwAthena doesn't use floating point arithmetic in scripts. The division operation here is integer division, with associated truncation as necessary. Also note that the failure check is less than, not less than or equal to, so you don't need to kill more than the minimum number.
---Freeyorp
Re: Kimarr the Barbarian
Posted: 02 Feb 2012, 20:53
by JDuran
Freeyorp101 wrote:tmwAthena doesn't use floating point arithmetic in scripts. The division operation here is integer division, with associated truncation as necessary. Also note that the failure check is less than, not less than or equal to, so you don't need to kill more than the minimum number.
---Freeyorp
Sorry freeyorp but I fail to see how the first part of this affects my post, though that's likely because a good portion of your statement was beyond my understanding. One more thing, you state that "the failure check is less than, not less than or equal to, so you don't need to kill more than the minimum number." If I'm reading that right, you're saying that you can kill less than (again, you said we don't need to kill MORE than the minimum) and not fail. If you could please clarify your post?
Re: Kimarr the Barbarian
Posted: 02 Feb 2012, 22:51
by Piateluca
ex: 1+(99*7)/10 = 70.3
here you will need 71, as 70 will be less than 70.3.
truncation = the .3 dies and goes to heavens with god, so the result is 70
Another ex: 1+(80*7)/10 = 57
In this example, no rounding is neccesary; however, you will need to kill MORE than this number. Therefore, you will actually need to kill 58
Code: Select all
if ($@Fluffy_Kills < $@Fluffy_Min)
if (57 < 57)
you lose
that is false

Re: Kimarr the Barbarian
Posted: 03 Feb 2012, 11:49
by Freeyorp101
JDuran wrote:Sorry freeyorp but I fail to see how the first part of this affects my post, though that's likely because a good portion of your statement was beyond my understanding.
tmwAthena's scripting engine can only deal with integer numbers, such as 3, 5, 7, and not real numbers, such as 70.3. Integer division is where only the integral result is kept; 8/3 == 2, for instance.
JDuran wrote:One more thing, you state that "the failure check is less than, not less than or equal to, so you don't need to kill more than the minimum number." If I'm reading that right, you're saying that you can kill less than (again, you said we don't need to kill MORE than the minimum) and not fail. If you could please clarify your post?
No. You don't need to kill more than the minimum, you can kill the minimum number and be fine. If you kill less than the minimum you will, naturally, fail.
---Freeyorp
Re: Kimarr the Barbarian
Posted: 03 Feb 2012, 20:12
by prsm
I am more concerned with the obvious unbalance of mage/warrior/archer!
This one quest brings it to the forefront with "the scoreboard".
You can see that high level warriors can barely get a 100 score,
and high level archers can maybe get to 130, if they are very lucky,
some Mages are getting 400+, and to my knowledge they are not
even level 99 yet!
Just a point to ponder.
Re: Kimarr the Barbarian
Posted: 04 Feb 2012, 02:44
by JDuran
Okay freeyorp, I understand what you're saying now. Thanks for the clarification! TMW would be lost without you

Re: Kimarr the Barbarian
Posted: 04 Feb 2012, 10:17
by Piateluca
prsm wrote:I am more concerned with the obvious unbalance of mage/warrior/archer!
This one quest brings it to the forefront with "the scoreboard".
You can see that high level warriors can barely get a 100 score,
and high level archers can maybe get to 130, if they are very lucky,
some Mages are getting 400+, and to my knowledge they are not
even level 99 yet!
Just a point to ponder.
I agree, maybe two lists to record the highest kills could fix that, one for mages (when fluffy kills > 300) and other for the tanks and archers
Re: Kimarr the Barbarian
Posted: 05 Feb 2012, 16:48
by Zopar
Ditto on what Prizm had to say. I thought I was the only one that noticed something awry!

Re: Kimarr the Barbarian
Posted: 05 Feb 2012, 21:53
by radiant
Piateluca wrote:I agree, maybe two lists to record the highest kills could fix that, one for mages (when fluffy kills > 300) and other for the tanks and archers
So a mage could claim an indelible spot atop the second list by slow-rolling themselves to stop at 299 or 300?
Re: Kimarr the Barbarian
Posted: 05 Feb 2012, 21:55
by Frost
Should the high scores be periodically cleared, so that nobody can sit "on top" forever?
Re: Kimarr the Barbarian
Posted: 06 Feb 2012, 03:04
by Piateluca
radiant wrote:Piateluca wrote:I agree, maybe two lists to record the highest kills could fix that, one for mages (when fluffy kills > 300) and other for the tanks and archers
So a mage could claim an indelible spot atop the second list by slow-rolling themselves to stop at 299 or 300?
you are right

Re: Kimarr the Barbarian
Posted: 06 Feb 2012, 10:48
by alastrim
Maybe we could check for the players stats and record their kills in different lists. Maybe something like this:
Suggestions?
Mages: (Magic attack > 0 and Bow not equipped) or (astral soul focused)
Archers: (Bow equiped)
Warrior: All the other options
Code: Select all
if ((readparam(bMatk) > 0 && getequipid(equip_hand1) != "Bow Ids") || @skillid == "astral soul skill ID)
set @Fluffy_Category$, "Mage";
if (getequipid(equip_hand1) == "Bow Ids")
set @Fluffy_Category$, "Archer";
if (@Fluffy_Category$ == "")
set @Fluffy_Category$, "Warrior";
After checking this, kimmar could say something like: "You look like a mage/archer, but maybe you can still prove your worth as a hunter".
Re: Kimarr the Barbarian
Posted: 06 Feb 2012, 17:07
by Dude
While this idea has SOME merit, but in actuallity any attempts to level the playing field on this quest will like only lead to people more creatively circumventing teh code....Many players will go to git, read the source and look for 'shortcuts'...The real 'problem' here is, and continues to be, the strength of magic/mages...That said, mages still can't survive in the GY without help, so its not like they are omnipotent or something, they just happen to have the ability to kill a lot of fluffies in a short amout of time....BFD, imo...
alastrim wrote:Maybe we could check for the players stats and record their kills in different lists. Maybe something like this:
Suggestions?
Mages: (Magic attack > 0 and Bow not equipped) or (astral soul focused)
Archers: (Bow equiped)
Warrior: All the other options
Code: Select all
if ((readparam(bMatk) > 0 && getequipid(equip_hand1) != "Bow Ids") || @skillid == "astral soul skill ID)
set @Fluffy_Category$, "Mage";
if (getequipid(equip_hand1) == "Bow Ids")
set @Fluffy_Category$, "Archer";
if (@Fluffy_Category$ == "")
set @Fluffy_Category$, "Warrior";
After checking this, kimmar could say something like: "You look like a mage/archer, but maybe you can still prove your worth as a hunter".
Re: Kimarr the Barbarian
Posted: 06 Feb 2012, 19:25
by Piateluca
That said, mages still can't survive in the GY without help,
That is not true, probably in the crypt... but the thing is not even a tank can survive alone there.