Script named 'npc_Airen_qI' does not have a script name assigned in database.

Issue #101 closed
Maxxgold created an issue

Script named 'npc_Airen_qI' does not have a script name assigned in database.

I noticed this in my DBErrors log file. I notice it's associated with NPC Bots. is there a way to assign the npc a script name ?

I see it's a script for a bot quest. What is this ? Some leftover code from the original works ?

Comments (7)

  1. trickerer repo owner

    Oh, sorry for that you found this...
    Hehe, that's not from original works, rather from future additions, just like a NPC Dress mod.
    I planned a questline for bots and shit (too much to explain) but for now It's just a testing script.
    If you want to assing it to npc use this query:

    REPLACE INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`,
    `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, 
    `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, 
    `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, 
    `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, 
    `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, 
    `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, 
    `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, 
    `MovementType`, `InhabitType`, `HoverHeight`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, 
    `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, 
    `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`)
    VALUES ('71000','0','0','0','0','0','16853','16853','16853','16853','Airen','Priestess of Suffering', 
    NULL,'0','95','95','1','14','14','1','1.2','1.3','1.173','4','850','1150','0','100','5','1500','0','1','898','49152','2','0','0','0','0',
    '0','0','0','0','3','67110912','0','0','0','450','450','450','450','450','450','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1',
    '1000','1','5','1','0','0','0','0','0','0','0','0','617299839','1048946','npc_Airen_qI','-213');
    
    REPLACE INTO `creature_equip_template` (`entry`, `id`, `itemEntry1`, `itemEntry2`, `itemEntry3`) 
    VALUES ('71000','1','0','30902','0');
    
    REPLACE INTO `creature_template_outfits` (`entry`, `race`, `gender`, `skin`, `face`,  `hair`, `haircolor`, `facialhair`,  
     `head`, `shoulders`, `body`, `chest`, `waist`, `legs`, `feet`, `wrists`, `hands`, `back`, `tabard`) 
    VALUES ('71000','11','1','0','5','0','6','0','0','53903','21842','35049','35058','35051','35067','35044','0','0','0');
    

    You can add this npc in the game if you want to see it...
    But you can just go to ScriptLoader.cpp (at the end of file) and comment out two lines containing
    "AddSC_BotQuests_chapter1()"
    and this error should disappear.

  2. trickerer repo owner

    There is also the "greeting" (forgot about it).

    REPLACE INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `lang0`, `prob0`, `em0_0`, `em0_1`, `em0_2`, `em0_3`, `em0_4`, 
    `em0_5`, `text1_0`, `text1_1`, `lang1`, `prob1`, `em1_0`, `em1_1`, `em1_2`, `em1_3`, `em1_4`, `em1_5`, `text2_0`, 
    `text2_1`, `lang2`, `prob2`, `em2_0`, `em2_1`, `em2_2`, `em2_3`, `em2_4`, `em2_5`, `text3_0`, `text3_1`, `lang3`, 
    `prob3`, `em3_0`, `em3_1`, `em3_2`, `em3_3`, `em3_4`, `em3_5`, `text4_0`, `text4_1`, `lang4`, `prob4`, `em4_0`, 
    `em4_1`, `em4_2`, `em4_3`, `em4_4`, `em4_5`, `text5_0`, `text5_1`, `lang5`, `prob5`, `em5_0`, `em5_1`, `em5_2`, 
    `em5_3`, `em5_4`, `em5_5`, `text6_0`, `text6_1`, `lang6`, `prob6`, `em6_0`, `em6_1`, `em6_2`, `em6_3`, `em6_4`, 
    `em6_5`, `text7_0`, `text7_1`, `lang7`, `prob7`, `em7_0`, `em7_1`, `em7_2`, `em7_3`, `em7_4`, `em7_5`, `WDBVerified`) 
    VALUES ('71000','Mortals... usually I kill wretches like you at sight',
    NULL,'0','1','396','0','0','0','0','0',NULL,NULL,'0','0','0','0','0','0','0','0',NULL,NULL,'0','0','0','0','0','0','0','0',NULL,NULL,
    '0','0','0','0','0','0','0','0',NULL,NULL,'0','0','0','0','0','0','0','0',NULL,NULL,'0','0','0','0','0','0','0','0',NULL,NULL,'0','0','0',
    '0','0','0','0','0',NULL,NULL,'0','0','0','0','0','0','0','0','-213');
    
  3. Maxxgold reporter

    I added the NPC Airen which Whispers to me and when I try to accept the quest it asks me for a code. What is the code ?

  4. trickerer repo owner

    It's not a quest.
    Code is "asd" (there is no magic after that).
    You can just look at the script.

  5. trickerer repo owner

    NPCBots v4.0.16a

    Make bots static in world (Closes #77, Closes #72, Closes #89, Closes #90, Closes #68, Closes #96, Closes #101, Closes #104). Drop 4.3.4 branch support (Closes #74, Closes #75, Closes #85, Closes #87) Add basic honor for bots (Closes #30). Bots' stats are no longer depend on players (Closes #83, Ref #97, Ref #98). Convert equips from ItemTemplate from Item and make bots use real items and benefit from all items properties except certain class ability improvements (increase damage, decrease cast time, etc.) (Closes #51). Add Auto-equip option, allows to quick-equip items with simple item comparison algorithm (item level) (Closes #63). Add 'Unequip all' option, allows to unequip all items (Closes #95). Make npcbots' stats fully player-like (Ref #97, Closes #98). Disable custom cooldowns (Closes #97, Closes #100). Modify bots' formation to never spread too much (Closes #99). Allow bots to attack neutral units (Closes #107). Allow npcbots to queue into Dungeon Finder with master (Closes #20). No manual yet

    → <<cset 82d2382ad8bd>>

  6. Log in to comment