Yukiko, thank you!
It worked! Im almost done! heheh
I found out that the problem was that my UO folder has a large path or spaces in path. So i moved my uo installation to c:/uoml and worked, builded the realm, and compiled everything successfull.
Now im gettint some error when i try to run the POL.exe
Loading package in pkg/utils/timeutils/
INSTALLING: Exported Vital - RegenRate and MaxValue functions ...
Server Shutdown: initialize_client_interfaces
Execution aborted due to: Bad UO Skill ID
Founded that script with this message:
C:\test\pkg\attributes\hooks\vitalInit.src
use uo;
include "include/attributes";
var npcdesccfg := ReadConfigFile("::npcdesc");
program regen()
print("INSTALLING: Exported Vital - RegenRate and MaxValue functions ...");
return 1;
endprogram
exported function GetLifeRegenRateExported(mob)
var rate := GetObjProperty(mob, CPROP_NAME_PREFIX_REGEN_RATE+VITALID_LIFE);
if( rate != error )
rate := Cint(rate);
if( rate != error )
return rate;
endif
endif
return 1200;
endfunction
also i fonded in attributes.inc file:
/************************************************************************************************************
**
** ATTRIBUTES.INC
**
** This file contains most of the possibly useful functions and constants relative
** to the core 094 attributes system.
**
** INSTALLATION: You might need to change SKILLID_BATTLE_DEFENSE to SKILLID_PARRY in
** client.inc in order to have attributes.inc to compile well.
** You can also want to move the SKILLID_* constants from client.inc
** to this file. in this case you should remove the include "include/client";
** statement from this file and instead add include "include/attributes"; to your
** client.inc
**
** CREATING NEW SKILLS PROCEDURE:
** 1) Add the new skillid to the specified CFGFILESPEC_SKILLSDEF.
** 2) Add the new attribute to your attributes.cfg.
** 3) Create a new SKILLID_ constant to fit the given skillid.
** 4) Create a new ATTRIBUTEID_ constant to fit the given attribute name.
** 5) Add a line to GetAttributeIdBySkillId( skillid ) function like:
** newSKILLID_: return newATTRIBUTEID_;
** 6) Add a line to GetSkillIdByAttributeId( attributeid ) function like:
** newATTRIBUTEID_: return newSKILLID_;
** 7) Add the new SKILLID_ to GetSkillIds() function.
** 8) Add the new ATTRIBUTEID_ to GetAttributeIds() function.
** 9) Be happy
**
Can you help me?
Thanks man!!