EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Swimming Skillup ??? (https://www.eqemulator.org/forums/showthread.php?t=40967)

DanCanDo 10-12-2016 02:27 PM

Swimming Skillup ???
 
Just wondering what handles the swimming skillup function that causes it
to auto max the swimming skill whenever a toon levels ?
I have no auto-skillups enabled or any global player script doing anything.
I couldn't find anything in the rules table for it.
Just trying to get this set, so one has to actually go swimming to get their
skill up.

DanCanDo 10-14-2016 04:15 PM

There isn't really anything that can be done in the skill_caps table to stop it from capping
as soon as one levels. So I figure it must be in the source somewhere .......

N0ctrnl 10-14-2016 06:01 PM

Why can't you just scale it up in the skill_caps table?

DanCanDo 10-14-2016 07:26 PM

Thats something I did try, but just an example here:
Swimming skill cap for level 9 is 45 and level 10 is 50
Now when a toon dings from level 9 to 10, his swimming skill is maxed to 50 as soon
as he dings 10, without having to swim some more to get that skill up the 5 points
from 45-50. So no matter what I set the skill cap at for level 10, the toon will get the
capped points as soon as he levels. Thats what I am trying to prevent.
Kind of like other skills, when a war has 1HS maxed for his level, then after dinging,
he has to get the 1HS skills up to max again. Hence - no auto skillups upon leveling.
So just to test, I raised the level 10 cap to 60. But as soon as the toon dinged 10, his
swimming skill was maxed to 60.

DanCanDo 10-14-2016 07:40 PM

Just noticed something, to add, it will only auto-skillup the swimming to 100, no matter
what level is reached. At level 65 the cap is 325 but the skill will only reach 100 from
leveling alone. So up until level 20 (the 100 cap) it auto-skillups then toon has to swim.

N0ctrnl 10-15-2016 12:27 AM

What's your Skills:SwimmingStartValue set to?

DanCanDo 10-15-2016 12:54 AM

Quote:

Originally Posted by N0ctrnl (Post 251815)
What's your Skills:SwimmingStartValue set to?

Is that supposed to be in the rule_values table ? I definately don't have that one, haha

N0ctrnl 10-15-2016 12:59 AM

It defaults to 100. So if you don't have it set as a rule, that would be it.

https://github.com/EQEmu/Server/blob...letypes.h#L180

Set it to 0 and see if that does the trick. It should.

DanCanDo 10-15-2016 01:03 AM

Ahh, ok, so if I change that 100 in the source to 0 and recompile, will that do the trick ?

N0ctrnl 10-15-2016 01:07 AM

Yes, but why the hell would you do that when you can just set a rule?

DanCanDo 10-15-2016 01:20 AM

Oh, I'm going to set a rule for it, I was just curious (for future reference) about hardcoding it.
And many thanks to you for helping me figure this one out. Every other skillup was
functioning, normally, except for the swimming so I was kind of baffled.
I like those "old school" mechanics of game play :)

N0ctrnl 10-15-2016 01:22 AM

But yeah. Ruletypes.h holds the default value for all the rules. When no rule value is set in your ruleset, it defaults to the value in there.

DanCanDo 10-15-2016 01:30 AM

Did the original classic EQ ever have a time where the sense heading skill had to be
trained ? haha, I couldn't imagine that task

DanCanDo 10-15-2016 01:47 AM

I just tested out the swimming rule. I set it for 0 first time and it didn't do anything
for the issue. But I set it for 5 as a start, as it is in skill caps, and now it works like
it's supposed to. Thank You kind sir!

N0ctrnl 10-15-2016 02:05 AM

Quote:

Originally Posted by DanCanDo (Post 251822)
Did the original classic EQ ever have a time where the sense heading skill had to be
trained ? haha, I couldn't imagine that task

Sure did. Compass would just bounce. It was not a good time :P


All times are GMT -4. The time now is 06:33 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.