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
problem with pol097
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,
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.
Code: Select all
var result := MoveObjectToLocation( who, where.x, where.y, where.z, who.realm, MOVEOBJECT_FORCELOCATION );
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.
ok I solved the problem with hp,mp and stam. I change in vitals.cfg location of RegenRateFunction. earlier that was wrong.
Code: Select all
RegenRateFunction regen:GetLifeRegenRateExported