View unanswered posts | View active topics
|
Page 1 of 1
|
[ 13 posts ] |
|
| Author |
Message |
|
Jester
|
Post subject: Raising speed of skillgain? Posted: Sun Jul 13, 2008 1:20 am |
|
Joined: Mon Jul 07, 2008 2:33 pm Posts: 15
|
|
Hey, Im having some troubles with raising the skillgain speed. As I understand it if you have moved skills like alchemy to their own package its from there you raise the default points which will make you gain faster. Correct? I've done this and it seems to be working.
But how about combats and skills that have not been moved (like healing)? Is there somewhere to change these, or somewhere to globally change skillgain? Would really appreciate help since it's been a while since I did this and do not really remember the place to change everything. Im running this really old pol version, 093, so that might make things harder.
|
|
| Top |
|
 |
|
Jester
|
Post subject: Posted: Tue Jul 15, 2008 12:40 pm |
|
Joined: Mon Jul 07, 2008 2:33 pm Posts: 15
|
|
Apparently other skills like mining, lumberjacking isnt raising faster even though the default points is changed... No one got any tips for me, I know I did this once before ,I just forgot where and how.
|
|
| Top |
|
 |
|
ncrsn
|
Post subject: Posted: Tue Jul 15, 2008 12:54 pm |
|
Joined: Fri Feb 10, 2006 12:15 am Posts: 223
|
Did POL 093 have the CheckSkill syshook? If so, using it you could very easily handle the faster skillgain.
If it doesn't, I'd suggest you to replace your current CheckSkill function calls with an universal one, in which you'd do multiply the given skillpoints.
Read more of the syshook here: http://docs.polserver.com/pol097/scripttypes.php#SyshookScript.
These are the methods I'd use, if I were to speed up skillgains.
|
|
| Top |
|
 |
|
Jester
|
Post subject: Posted: Tue Jul 15, 2008 1:12 pm |
|
Joined: Mon Jul 07, 2008 2:33 pm Posts: 15
|
ncrsn wrote: Did POL 093 have the CheckSkill syshook? If so, using it you could very easily handle the faster skillgain. If it doesn't, I'd suggest you to replace your current CheckSkill function calls with an universal one, in which you'd do multiply the given skillpoints. Read more of the syshook here: http://docs.polserver.com/pol097/scripttypes.php#SyshookScript. These are the methods I'd use, if I were to speed up skillgains.
Yeah there are checkskill functions. But I dunno really what to change, there isnt really somewhere that looks like somewhere you can set stuff
Found this code in the skillpoints.inc. In the awardskillpoints function
Code: var global_multipliers := GetGlobalProperty( "SkillPointsMultiplier" ); if( len(global_multipliers) ) if( global_multipliers[skillid+1] ) if( Cint(global_multipliers[skillid+1]) = 9999 ) points := 0; else var mult := Cdbl( global_multipliers[skillid+1] ); points := Cint( points * mult ); endif endif endif
What about that? Cannot find where to change the SkillPointsMultiplier though.
|
|
| Top |
|
 |
|
Jester
|
Post subject: Posted: Fri Jul 18, 2008 4:46 pm |
|
Joined: Mon Jul 07, 2008 2:33 pm Posts: 15
|
|
Now to my problem, that wont affect fighting skills ands tuff :/ How can I get those to raise faster?
|
|
| Top |
|
 |
|
Jester
|
Post subject: Posted: Sat Jul 19, 2008 8:19 am |
|
Joined: Mon Jul 07, 2008 2:33 pm Posts: 15
|
|
Help would be greatly appreciated
|
|
| Top |
|
 |
|
OldnGrey
|
Post subject: Posted: Sun Jul 20, 2008 1:53 am |
|
Joined: Sat Feb 04, 2006 6:26 pm Posts: 561
|
|
I can only offer general comments, because the beauty of pol is also what makes it hard to help you. Everyone's scripts are probably different.
Unless you have re-written things, older cores and scripts you control skill gain through the CheckSkill function. Look for it in your scripts. Each script that wants to have skill gain uses it UNLESS you have written your own functions to handle skill gain. And a LOT of shards do just that - no idea if that includes ZH scripts which yours may be.
According to the documentation for pol095 the checkskill core function is:
CheckSkill(character, skillid, difficulty, points)
The 4th parameter is the one you want to play with - 'points'. I think you mention playing around with that. But you need to do it in every script, not just in one place.
You need to look at your scripts. Eg lumberjacking.src and figure out what line does the skillchecking. That line also says how many points to award towards the next actual gain in skill. Double what it has and test the results.
I know this seems vague and may be confusing. If you are using pol093 you are also in a situation where you are probably using a set of scripts from Zulu Hotel which as you probably know used a core that was never meant to be used - officially pol went from 092 to 094 and only those who have done ZH scripting will fully know how it does things. Since I am on pol097 I can only speculate about life in 093 land.
|
|
| Top |
|
 |
|
Jester
|
Post subject: Posted: Sun Jul 20, 2008 4:21 am |
|
Joined: Mon Jul 07, 2008 2:33 pm Posts: 15
|
OldnGrey wrote: I can only offer general comments, because the beauty of pol is also what makes it hard to help you. Everyone's scripts are probably different.
Unless you have re-written things, older cores and scripts you control skill gain through the CheckSkill function. Look for it in your scripts. Each script that wants to have skill gain uses it UNLESS you have written your own functions to handle skill gain. And a LOT of shards do just that - no idea if that includes ZH scripts which yours may be.
According to the documentation for pol095 the checkskill core function is: CheckSkill(character, skillid, difficulty, points)
The 4th parameter is the one you want to play with - 'points'. I think you mention playing around with that. But you need to do it in every script, not just in one place.
You need to look at your scripts. Eg lumberjacking.src and figure out what line does the skillchecking. That line also says how many points to award towards the next actual gain in skill. Double what it has and test the results.
I know this seems vague and may be confusing. If you are using pol093 you are also in a situation where you are probably using a set of scripts from Zulu Hotel which as you probably know used a core that was never meant to be used - officially pol went from 092 to 094 and only those who have done ZH scripting will fully know how it does things. Since I am on pol097 I can only speculate about life in 093 land.
Yeah, 093 is more than a bit confusing. I find 095 much more user friendly.
The only reference to points in the lumberjacking.src file is this:
Code: if( CheckSkill( character , SKILLID_LUMBERJACKING , -1 , DEFAULT_POINTS ) ) GetStuff( character , logamount , tool ); else SendSysmessage( character , "You fail to find any usable wood." ); return 0; endif
But that seems more like it's calling the difficulty check in the checkskill function. Not actually awarding points. :/ I might be wrong since im not really a scriptguru when it comes to pol, so please correct me if you think I am totally wrong 
|
|
| Top |
|
 |
|
CWO
|
Post subject: Posted: Sun Jul 20, 2008 4:23 am |
|
Joined: Sat Feb 04, 2006 5:49 pm Posts: 772 Location: Chicago, IL USA
|
|
CheckSkill had no other use for the points parameter than to do skillgain as far as I've seen it. So the points parameter is exactly what you're looking for.
|
|
| Top |
|
 |
|
Jester
|
Post subject: Posted: Sun Jul 20, 2008 4:52 am |
|
Joined: Mon Jul 07, 2008 2:33 pm Posts: 15
|
CWO wrote: CheckSkill had no other use for the points parameter than to do skillgain as far as I've seen it. So the points parameter is exactly what you're looking for.
Haha, you got no idea of how grateful I am  I will fiddle around with this tonight  I also feel like an idiot for not noticing this before.
Well, many thanks and lets hope I solve this tonight.
|
|
| Top |
|
 |
|
Jester
|
Post subject: Posted: Sun Jul 20, 2008 6:41 am |
|
Joined: Mon Jul 07, 2008 2:33 pm Posts: 15
|
CWO wrote: CheckSkill had no other use for the points parameter than to do skillgain as far as I've seen it. So the points parameter is exactly what you're looking for.
Just another question. How about them combats, since they have no scripts of their own. Could it be so bad that they go through the core and not use the checkskill function?
|
|
| Top |
|
 |
|
Jester
|
Post subject: Posted: Sun Jul 20, 2008 11:41 am |
|
Joined: Mon Jul 07, 2008 2:33 pm Posts: 15
|
Yeah, I figured all skills out except magery and combats. Cannot find anywhere in those packages where the checkskill function is called. They seem to deal with awardrawskillpoints  and those dun work very well changning for me. Tips anyone?
|
|
| Top |
|
 |
|
Jester
|
Post subject: Posted: Thu Jul 24, 2008 3:52 am |
|
Joined: Mon Jul 07, 2008 2:33 pm Posts: 15
|
Thx for all the help, with your help I solved it 
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 13 posts ] |
|
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
|
|