skill cap

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 095. Note: Core 095 is no longer officially supported.
Post Reply
th3_l00ny
New User
Posts: 28
Joined: Sun Mar 12, 2006 1:32 pm

skill cap

Post by th3_l00ny »

ok when im using my admin on my shard i got 200 all stat but when im try to add 200 at one skill for one player that work but ,the skill drop after, at 130 in one shot what i can do
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm

Post by tekproxy »

Skill and stat caps are handled by attributeCore.src in functions CheckStatCap and CheckSkillCap. If you're using the 095 distro check out CheckSkillCap, it should be near the top.

Code: Select all

  if(GetAttributeBaseValue(who, attributeid) > 1000)
    SetAttributeBaseValue(who, attributeid, 1000);
  endif
That code right there checks if the skill is greater than 1000 tenths (or 100.0) and if it is, it sets it down to 100.0. Try changing that code, recompiling and perhaps restarting your server.
th3_l00ny
New User
Posts: 28
Joined: Sun Mar 12, 2006 1:32 pm

Post by th3_l00ny »

humm... i doont find the file attributecore.... i juste find attribute.sfg and i have change all cap for all skill and nooothing...

[/quote]
th3_l00ny
New User
Posts: 28
Joined: Sun Mar 12, 2006 1:32 pm

Post by th3_l00ny »

humm... i doont find the file attributecore.... i juste find attribute.sfg and i have change all cap for all skill and nooothing...

[/quote]
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm

Post by tekproxy »

That file is in the 095 distro, which I assumed you were using. What distro are you using?

If you change a config file you'll probably have to reset your server. Have you tried that?
th3_l00ny
New User
Posts: 28
Joined: Sun Mar 12, 2006 1:32 pm

Post by th3_l00ny »

heu i use pol 95 but he is modified and i dont know why i dont have this fils...
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm

Post by tekproxy »

You might use the 095 core but not the 095 distro. What script version do you use? Is it custom or is it zulu hotel?

Try searching for the number 130 in your scripts or whatever the skill cap seems to be. It might be 1300 since POL measures skills in tenths of a point.
th3_l00ny
New User
Posts: 28
Joined: Sun Mar 12, 2006 1:32 pm

Post by th3_l00ny »

kk yes im using scripte of zuluhotel

kk im going to try this
Post Reply