Hey
i've made several npcs and i just came across that i cant do any damage to em
Uploaded with ImageShack.us
I can hit him with one spell (THIS)
Hey
i've made several npcs and i just came across that i cant do any damage to em
Uploaded with ImageShack.us
I can hit him with one spell (THIS)
World config -> find collision -> set it to 0 -> restart server -> see if that fixes it.
Is that a custom weapon?
If it is, you have used an ID that isn't in the DBC that is registered as a weapon, this was a means implemented in 3.3 to attempt to limit emulation, but there are workarounds. use the search tool for "Custom weapon fix" or something, there's a whole bunch of threads about it.
Or yeah, stoneharry beats me by a minuteHe knows more about this than I do.
hey ervyone whats up gamboys
Yeah I agree with the above guys...
Stoneharry: Because he always knows what he's doing xD
Facerolling: Because I also think it sounds like you made something wrong with the NPC :s
Thanks
Newtech
LuaHypArc Lua scripter - 3.3.5a World Builder.
it is set to 0
---------- Post added at 09:13 AM ---------- Previous post was at 09:12 AM ----------
its not custom made its this weapon = Flesh-Carving Scalpel - Item - World of Warcraft
Alright, Can you do an SQL dump of the NPC in particular, or can you check that his resistances are normal?
What core are you running?
hey ervyone whats up gamboys
All resisting is 0, i am doing ArcEmu (by SQL dump do you mean post it here? if so here it is)
Code:insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `killcredit1`, `killcredit2`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `leader`) values ('99996', "Wizard", "Grunt of the Horde", '', '0', '10', '0', '1', '0', '0', '18408', '0', '0', '0', '1', '1', '0'); insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `can_ranged`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `respawntime`, `armor`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`, `summonguard`) values ('99996', '81', '81', '21', '1890000', '1890000', '1500000', '1', '0', '3600', '0', '1852', '2436', '0', '0', '0', '0', '1200000', '21547', '0', '0', '0', '0', '0', '0', '0', '0', "78723, 32200", '0', '0', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0', '0');
Your Combat Reach and bounding Radius are set to 0. Try changing the combat reach to 1 (and possibly the bounding radius). Other than that, I can't see what's wrong, are there any scripts linked to NPC ID 99996?
They're both in Creature_proto
hey ervyone whats up gamboys
Last edited by Fumi; 04-06-2011 at 02:41 AM. Reason: Meat balls
If you want him to cast a fireball, your best bet is a Lua script as you're on ArcEmu. It's relatively simple and there are probably some guides out there![]()
hey ervyone whats up gamboys
make sure you have .gm off, and Lua is quite simple, If you give me the spell you wish to use and the time interval you want him to use it, i'll make a sample script for you to see.
hey ervyone whats up gamboys
No, it means you had your GM tag on, which makes all mobs neutral to the GM only, if you take the tag off, you function as a normal player.
Hold on, i'll do a template real quick.
99996 is the NPC IDCode:function monster_OnCombat(Unit, Event) Unit:RegisterEvent ("monster_Fireball", 10000, 0) end function monster_Fireball(Unit, Event) Unit:FullCastSpellOnTarget(#, Unit:GetClosestPlayer()) end function monster_OnLeaveCombat(Unit, Event) Unit:RemoveEvents() end function monster_OnDeath(Unit, Event) Unit:RemoveEvents() end RegisterUnitEvent(99996, 1, "monster_OnCombat") RegisterUnitEvent(99996, 2, "monster_OnLeaveCombat") RegisterUnitEvent(99996, 4, "monster_OnDeath")
# is the Spell ID
10000 is the time in milliseconds the spell will be cast
0 is the number of times the spell will be cast (0 is infinite, until the event is removed or the mob dies.)
Unit:GetClosestPlayer() is who the spell will hit, currently it will get whoever is the closest to the mob, it can be interchanged with many things, for example : Unit:GetRandomPlayer(7) is anyone but the main tank.
Last edited by Facerolling; 04-06-2011 at 04:15 AM.
hey ervyone whats up gamboys