[Fix] Autoequip guard loaded from db

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

[Fix] Autoequip guard loaded from db

Postby Romain54 » Sat May 14, 2011 12:47 am

hello,

A fix which soluced the probléme of the auto equips guard since the database. Because when the config indicates True the server to the launch look for the equiptemplate in the database, a fix which corrects this probleme and the good check of the activation or not the database for the equipement of guards for the launch of the server, which will avoid you finding you with this kindgenre of log :
Code: Select all
01:28:31,834 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: albion_archer
01:28:31,881 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: albion_caster
01:28:31,896 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: albion_fighter
01:28:31,927 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: albion_lord
01:28:31,943 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: albion_healer
01:28:31,959 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: albion_stealther
01:28:31,990 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: alb_fighter_pk
01:28:32,005 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: alb_archer_pk
01:28:38,245 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: alb_caster_pk
01:28:38,261 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: midgard_archer
01:28:38,292 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: midgard_caster
01:28:38,308 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: midgard_fighter
01:28:38,339 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: midgard_lord
01:28:38,355 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: midgard_healer
01:28:38,386 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: midgard_hastener
01:28:38,401 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: midgard_stealther
01:28:38,417 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: mid_fighter_pk
01:28:38,448 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: mid_archer_pk
01:28:38,464 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: mid_caster_pk
01:28:38,495 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: hibernia_archer
01:28:38,511 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: hibernia_caster
01:28:38,542 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: hibernia_fighter
01:28:38,557 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: hibernia_lord
01:28:38,573 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: hibernia_healer
01:28:38,604 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: hibernia_stealther
01:28:38,620 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: hib_fighter_pk
01:28:38,651 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: hib_archer_pk
01:28:38,667 - [MAIN] - WARN - DOL.GS.GameNpcInventoryTemplate - Failed loading NPC inventory template: hib_caster_pk
And Add EquipTemplate Fort PortalKeep Guard :)
Sorry for my bad english.
Attachments
Clothing Manager.patch
(25.37 KiB) Downloaded 51 times
Image
Romain54
Contributor
 
Posts: 148
Joined: Sun Mar 13, 2011 2:01 am

Re: [Fix] Autoequip guard loaded from db

Postby Tolakram » Sat May 14, 2011 9:36 am

Hi,

sorry i don't understand this fix. When load from database is true it appears you removed loading equipment from the database. If you don't have equipment in the DB then set the property to false.
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: [Fix] AUTOEQUIP garde chargé de la DB

Postby Romain54 » Sat May 14, 2011 11:52 am

Whether it is on false or true he makes the search in the database made the test you will see. My corrective allows to correct this probleme:)
Image
Romain54
Contributor
 
Posts: 148
Joined: Sun Mar 13, 2011 2:01 am

Re: [Fix] Autoequip guard loaded from db

Postby geshi » Sat May 14, 2011 12:14 pm

The public DB misses all the guard equipment.
geshi
Contributor
 
Posts: 1826
Joined: Tue Oct 21, 2008 9:16 pm

Re: [Fix] Autoequip guard loaded from db

Postby Etaew » Thu Jul 07, 2011 8:58 am

viper can you include these guard equipment templates in your next release? I'm hesitant to re-add hardcoded guard clothing back into the core, loading from the db was the best way.
Retired DOL Enthusiast | Blog
User avatar
Etaew
Inactive Staff Member
 
Posts: 7602
Joined: Mon Oct 13, 2003 5:04 pm
Website: http://etaew.net
Location: England

Re: [Fix] Autoequip guard loaded from db

Postby viper1805 » Fri Jul 08, 2011 11:06 pm

I'm going to look into it :mrgreen:
I will not solve your problems for you ... I will just give you a way to find a solution :mrgreen:
User avatar
viper1805
Website Team
 
Posts: 607
Joined: Sat Oct 18, 2008 10:20 pm
Location: NRW, Germany


Return to “%s” DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest