Page 1 of 1
problem with pol097
Posted: Wed Feb 14, 2007 11:32 am
by Bone
Hi
My first problem would be that when I log in with a character, it doesn't have the hp, stamina and mana values equal to the stat values. Instead they're all set to the value of 1.
My second problem is that a character cant's move at all. And when i use the .mtele or .tele commands and try to teleport somewhere, i get the "invalid parameter" message.
I thank you for any help that you can provide
Posted: Wed Feb 14, 2007 5:33 pm
by Yukiko
First I guess we need to establish which scriptset you are using. Is it POL 0.97 Sistro? If not which one is it?
Posted: Thu Feb 15, 2007 6:02 am
by Bone
ohh sorry I forgot. I using pol95 distro scripts. I converted them to pol097. I haven't any errors during compilation
Posted: Thu Feb 15, 2007 1:38 pm
by Yukiko
That's odd because I converted the 0.95 Distro and didn't enounter any of those problems. I suggest that the mtele problem might be related to the placement of the
realm parameter in the mtele script. Make sure your MoveObjectToLocation has all parameters in the right order,
Code: Select all
var result := MoveObjectToLocation( who, where.x, where.y, where.z, who.realm, MOVEOBJECT_FORCELOCATION );
Also, make sure you ran the realm conversion, MUL copy and tiledata generation options from the batch file. If you don't have a starthere.bat file in your \pol folder then download the 0.97 Distro and copy the starthere.bat file and the folder named 'batchfiles' from the 0.97 Distro to your POL 0.95 directory. That batch file set is probably one of the most valuable additions to POL since Racalacs documentation set. It really should be added to the core download IMHO.
As to the vitals being wrong, I'd look into the files being correct in your \pol\pkg\foundations\hooks directory, make sure all the vital names are correct that are being passed to the various vital mod scripts. Are the vitals regenerating properly after the initial starting value of 1?
That's about all I can think of to check at the moment.
Posted: Sun Feb 18, 2007 11:49 am
by Bone
They won't regenerate because it sais that the maximal value of the vitals is 1.
Posted: Mon Feb 19, 2007 8:09 pm
by Yukiko
I can't help thinking this has to do with some missing or malformatted cfg file in the \pkg\foundations\hooks folder.
Posted: Tue Feb 27, 2007 6:49 am
by Bone
ok I solved the problem with hp,mp and stam. I change in vitals.cfg location of RegenRateFunction.
Code: Select all
RegenRateFunction regen:GetLifeRegenRateExported
earlier that was wrong.
Posted: Wed Feb 28, 2007 11:09 pm
by Yukiko
Good.
Glad that's working now.