It is currently Fri Nov 21, 2008 5:18 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: skill cap
PostPosted: Tue Apr 11, 2006 12:52 pm 
Offline

Joined: Sun Mar 12, 2006 1:32 pm
Posts: 27
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

_________________
th3_l00ny


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 11, 2006 4:47 pm 
Offline
Distro Developer
User avatar

Joined: Thu Apr 06, 2006 5:11 pm
Posts: 350
Location: Nederland, Texas
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:
  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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 11, 2006 5:14 pm 
Offline

Joined: Sun Mar 12, 2006 1:32 pm
Posts: 27
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 11, 2006 5:15 pm 
Offline

Joined: Sun Mar 12, 2006 1:32 pm
Posts: 27
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 11, 2006 9:46 pm 
Offline
Distro Developer
User avatar

Joined: Thu Apr 06, 2006 5:11 pm
Posts: 350
Location: Nederland, Texas
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?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 12, 2006 1:18 pm 
Offline

Joined: Sun Mar 12, 2006 1:32 pm
Posts: 27
heu i use pol 95 but he is modified and i dont know why i dont have this fils...

_________________
th3_l00ny


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 12, 2006 1:33 pm 
Offline
Distro Developer
User avatar

Joined: Thu Apr 06, 2006 5:11 pm
Posts: 350
Location: Nederland, Texas
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 12, 2006 5:21 pm 
Offline

Joined: Sun Mar 12, 2006 1:32 pm
Posts: 27
kk yes im using scripte of zuluhotel

kk im going to try this

_________________
th3_l00ny


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl