Page 1 of 1

[ Database ] SOLVED - race and npctemplate tables

PostPosted: Tue Jan 20, 2015 11:46 am
by Eudes
Hello DOL,

In the database, in create a new race in the race table. I set each resistance with a particular value different than 0 and I give an ID.

In the npctemplate table, I use the ID in the race field for a few npctemplate.

In game, I load the /mob npctemplate to my new mob and in the /mob info I can see everything good, even the race.id but resistances are all 0. I try with another npctemplate, same problem, resistances are all defined to 0.

Does someone already met the same problem?

Thanks

Re: [ Database ] race and npctemplate tables

PostPosted: Tue Jan 20, 2015 12:46 pm
by Eudes
I also test /mob race MyID to a new created mob with no npctemplate, but still no resistances... but the /mob info shows the race: MyID.

Re: [ Database ] race and npctemplate tables

PostPosted: Tue Jan 20, 2015 1:50 pm
by HunabKu
It would be interesting to check the code or it loads the resistances relative to the races.

Re: [ Database ] race and npctemplate tables

PostPosted: Tue Jan 20, 2015 3:02 pm
by Eudes
In fact there is no problem. It takes to restart the server to load the resistances... I guess this is something obvious for everyone except me.

Thanks anyway.