Checkskill.cfg?

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
babybasher
New User
Posts: 4
Joined: Wed May 20, 2009 8:13 am

Checkskill.cfg?

Post by babybasher »

Just some questions regarding the skill system and files.

Is there a crucial .cfg file called checkskill.cfg? I've just previously used scriptsets that had this, and didnt see it in the pol cfg files in the documentation pages. Is this file needed and if so, what values does it take? (I'm just doing a server from scratch atm).

Cheers
Damien.
Journeyman Poster
Posts: 63
Joined: Thu Feb 08, 2007 11:14 am

Re: Checkskill.cfg?

Post by Damien. »

I use 098 core and there is no such config. Configs including attributes can be found in systems/attributes/config...
Otherwise you could always create an own CheckSkill.cfg and a script which will read it and do whatever you want to do :)
CheckSkill is also an function: http://docs.polserver.com/pol098/single ... utesem.xml
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Re: Checkskill.cfg?

Post by CWO »

If its not in the documentation then it was a custom configuration file. How it was formatted and how it was used was all done by custom scripting. Depending on how your scriptbase is set up, you'll likely have to find how skillgain is called inside the scripts and includes. If your scriptbase uses CheckSkill, see if there is an entry in syshook.cfg to hook it. If there is, that entry contains the pointer to your skillgain file. Otherwise, you likely have a different custom skillgain system.
Post Reply