Page 1 of 1
races are broken
Posted: Thu Apr 05, 2012 11:51 pm
by dragon slayer
I have made a complete blank races.dfn and only added 0-3 races for my human gargoyle and elf. well then i try to add some more races for npcs and server just stops and crashes doing loadng races.dfn
if i use uox3 default one and add my new races elf/ gargoyle it wont read them. so i think uox3 race system isnt working 100% like it should. i just hope some one will look into this and have it fixed hehe
Re: races are broken
Posted: Fri Apr 06, 2012 1:10 am
by Xuri
Post your race-script please

Re: races are broken
Posted: Fri Apr 06, 2012 1:46 am
by dragon slayer
//*****************************************************************
//* UOX3 DFNs v0.98 *
//* http://www.uox3dev.net *
//* *
//* Last Update : 1/4/2003 *
//* Script : races.dfn *
//*****************************************************************
//* How to use this script *
//* *
//* Available settings *
//* *
//* ARMORREST= # - Sets the armor class restriction of the race*
//* BEARDMIN=# *
//* BEARDMAX=# *
//* COLDAFFECT - Race is affected by cold *
//* COLDLEVEL=# - Cold level from which damage occurs *
//* COLDDAMAGE=# - Max amount of damage taken by cold *
//* COLDSECS=# - How often cold damages in seconds *
//* DEXCAP=# - DEXTERITY cap of race *
//* GENDER=MALE/FEMALE - Gender restricion *
//* HAIRMIN=# *
//* HAIRMAX=# *
//* HEATAFFECT - Race is affected by heat *
//* HEATLEVEL=# - Heat level from which damage occurs *
//* HEATDAMAGE=# - Max amount of damage taken by heat *
//* HEATSECS=# - How often heat damages in seconds *
//* HPMOD=# - Max health modificator *
//* HUNGER=#,# - The first number is the time between hunger *
//* checks, the second one the damage when starving
//* INTCAP=# - INTELLECT cap of race *
//* LIGHTAFFECT - Race is affected by light *
//* LIGHTDAMAGE=# - Max amount of damage taken by light *
//* LIGHTLEVEL=# - Light level from which damage occurs *
//* LIGHTSECS=# - How often light damages in seconds *
//* LIGHTNINGAFFECT - Race is affected by lightning *
//* LIGHTNINGDAMAGE=# - Max amount of damage taken by lightning
//* LIGHTNINGCHANCE=# - Chance to get hit by a lighning during a storm
//* LANGUAGEMIN=# *
//* MAGICRESISTANCE=# *
//* MANAMOD=# - Max mana modificator *
//* NAME=abc - Name of the race *
//* NOBEARD *
//* NIGHTVIS=# - Default night vision level *
//* PLAYERRACE=# - Is it a player race *
//* POISONRESISTANCE=# *
//* PARENTRACE=# *
//* REQUIREBEARD *
//* RAINAFFECT - Race is affected by rain *
//* RAINDAMAGE=# - Max amount of damage taken by rain *
//* RAINSECS=# - How often rain damages in seconds *
//* RACERELATION=# *
//* RACIALENEMY=# *
//* RACIALAID=# *
//* STRCAP=# - STRENGTH cap of race *
//* SKINMIN=# *
//* SKINMAX=# *
//* SNOWAFFECT - Race is affected by snow *
//* SNOWDAMAGE=# - Max amount of damage taken by snow *
//* SNOWSECS=# - How often snow damages in seconds *
//* STORMAFFECT - Race is affected by storm *
//* STORMDAMAGE=# - Max amount of damage taken by storm *
//* STORMSECS=# - How often storm damages in seconds *
//* STAMMOD=# - Max stamina modificator *
//* VISRANGE=# - Default visibility range *
//* *
//* *
//*****************************************************************
[RACE 0]
{
NAME=Human
PLAYERRACE=1
ARMORREST=1
STRCAP=100
DEXCAP=100
INTCAP=100
RACIALENEMY=2
RACIALENEMY=3
RACIALAID=1
RACERELATION=Blood Elf, -100
RACERELATION=Gargoyle, -100
}
[RACE 1]
{
NAME=Night Elf
PLAYERRACE=1
STRCAP=100
DEXCAP=100
INTCAP=100
ARMORREST=0x2
RACIALENEMY=2
RACIALENEMY=3
RACIALAID=0
NIGHTVIS=0
RACERELATION=Blood Elf, -100
RACERELATION=Gargoyle, -100
}
[RACE 2]
{
NAME=Blood Elf
PLAYERRACE=1
STRCAP=100
DEXCAP=100
INTCAP=100
ARMORREST=0x2
RACIALENEMY=0
RACIALENEMY=1
RACIALAID=3
NIGHTVIS=0
RACERELATION=Night Elf, -100
RACERELATION=Human, -100
}
[RACE 3]
{
NAME=Gargoyle
PLAYERRACE=1
STRCAP=100
DEXCAP=100
INTCAP=100
ARMORREST=4
RACIALENEMY=0
RACIALENEMY=1
RACIALAID=2
RACERELATION=Night Elf, -100
RACERELATION=Human, -100
}
Re: races are broken
Posted: Fri Apr 06, 2012 2:35 am
by dragon slayer
i think i soled this problem lol.
i was thinking the race.dfn got corrupt and i was right it did.
so i opened it in wordpad added my new race saved it and closed it and it work out fine server loaded fine.