Page 1 of 1
skill cap
Posted: Tue Apr 11, 2006 12:52 pm
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
Posted: Tue Apr 11, 2006 4:47 pm
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.
Posted: Tue Apr 11, 2006 5:14 pm
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]
Posted: Tue Apr 11, 2006 5:15 pm
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]
Posted: Tue Apr 11, 2006 9:46 pm
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?
Posted: Wed Apr 12, 2006 1:18 pm
by th3_l00ny
heu i use pol 95 but he is modified and i dont know why i dont have this fils...
Posted: Wed Apr 12, 2006 1:33 pm
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.
Posted: Wed Apr 12, 2006 5:21 pm
by th3_l00ny
kk yes im using scripte of zuluhotel
kk im going to try this