[ Database ] SOLVED - race and npctemplate tables

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

[ Database ] SOLVED - race and npctemplate tables

Postby Eudes » Tue Jan 20, 2015 11:46 am

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
Last edited by Eudes on Tue Jan 20, 2015 3:09 pm, edited 2 times in total.
Eudes
DOL Freak
 
Posts: 561
Joined: Wed Dec 05, 2007 12:27 am

Re: [ Database ] race and npctemplate tables

Postby Eudes » Tue Jan 20, 2015 12:46 pm

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.
Eudes
DOL Freak
 
Posts: 561
Joined: Wed Dec 05, 2007 12:27 am

Re: [ Database ] race and npctemplate tables

Postby HunabKu » Tue Jan 20, 2015 1:50 pm

It would be interesting to check the code or it loads the resistances relative to the races.
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: [ Database ] race and npctemplate tables

Postby Eudes » Tue Jan 20, 2015 3:02 pm

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.
Eudes
DOL Freak
 
Posts: 561
Joined: Wed Dec 05, 2007 12:27 am


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 0 guests