Man post Real Credits for Lua script Template.
Man post Real Credits for Lua script Template.
Find about scripting, programming and music! My blog: https://worldofsmth.wordpress.com!
1) Cant remember now, keep changing
2)change the 50 to the new code of the npcCode:RegisterUnitGossipEvent(50, 1, "TeleNPC_OnGossipTalk") RegisterUnitGossipEvent(50, 2, "TeleNPC_OnGossipSelect")
Also in the sqlCode:insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `mountdisplayid`, `equipmodel1`, `equipinfo1`, `equipslot1`, `equipmodel2`, `equipinfo2`, `equipslot2`, `equipmodel3`, `equipinfo3`, `equipslot3`, `respawntime`, `armor`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`) values('50','72','72','35','100','100','0','3','1','1500','0','666','3662','0','0','0','0','0','0','0','0','0','0','0','0','0','360000','0','0','0','0','0','0','0','1','0','0','1','0','0','0','2.5','8','14','0','0','0','0','0','0'); insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`) values('50','Salamanda\'s Hell Boy','','','0','7','0','1','0',NULL,'10992','0','0','0','1','1','0',NULL);
Highleted it red.
3) Not working on some servers, probably just need to add a 0 or remove it etc but i really cant be doing that at the moment as my pc barely works. I just made this npc as i was bored of all the teleporters going to cities, i wanted one going to random places ^^
4) Change and release any way you want to as long as you give credits, some people already have changed and re-released.
5) PM me or contact me on msn (most of the time on msn) - [email protected]
----------------------------------------------------------------
For the person who said I stole somone elses work gtfo, this is all mine and i handwrote it, i used somone elses layout to have it really neat, but i did not copy/paste. If you want me to make it messy i'm sure i can pm you a version you can barely understand!
Last edited by stoneharry; 09-15-2008 at 03:08 PM.
i cant get it to work for me can u help
Do you have Lua++?
Are you using Mangos?
In world.exe or whatever it is (console) It says near the end Lua names, then if they loaded or not, if it failed to load, whats the error?
In game whats the error? (what doesn't work?)
Do you have Lua enabled in your world config?
nice release +Rep
edit: must spread
Wtf.. ? Trying to Execute it, says '' SQL Error: Unknown Columm'mountdisplayid' in 'field list'
Here is the Code i used,
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `mountdisplayid`, `equipmodel1`, `equipinfo1`, `equipslot1`, `equipmodel2`, `equipinfo2`, `equipslot2`, `equipmodel3`, `equipinfo3`, `equipslot3`, `respawntime`, `armor`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`) values('50','72','72','35','100','100','0','3','1','1500','0','666','3662','0',' 0','0','0','0','0','0','0','0','0','0','0','0','360000','0','0','0','0','0','0', '0','1','0','0','1','0','0','0','2.5','8','14','0','0','0','0','0','0');
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`) values('50','Salamanda\'s Hell Boy','','','0','7','0','1','0',NULL,'10992','0','0','0','1','1','0',NULL);
this is sweet, although ironforge isnt the highest point you can get i dont remember what it is....whatev GOOD JOB :P
very cool ++ rep u later when I can xD
Nice, I like the skin.
Awesome m8 cheers