Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Mangos Teleporter NPC

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jan 21, 2009
Messages
5
Reaction score
0
Re: [GUIDE][MaNGOS] Teleporter NPC

will this work on mangos 2.4.3 noobpack by 711?
 
Member
Joined
Jan 10, 2007
Messages
530
Reaction score
12
Re: [GUIDE][MaNGOS] Teleporter NPC

MySQL said: Documentation
#1054 - Unknown column 'civilian' in 'field list'
 
Skilled Illusionist
Joined
Feb 23, 2009
Messages
352
Reaction score
10
Re: [GUIDE][MaNGOS] Teleporter NPC

Nice job mate!
 
Experienced Elementalist
Joined
Jan 15, 2007
Messages
225
Reaction score
27
Re: [GUIDE][MaNGOS] Teleporter NPC

good, thx.
 
Newbie Spellweaver
Joined
Sep 29, 2006
Messages
75
Reaction score
0
Re: [GUIDE][MaNGOS] Teleporter NPC

MySQL said: Documentation
#1054 - Unknown column 'civilian' in 'field list'

Just delete civilan and the number associated with it and it will be fine
 
Newbie Spellweaver
Joined
May 18, 2009
Messages
5
Reaction score
0
Re: [GUIDE][MaNGOS] Teleporter NPC

Any locs for Ulduar?
 
Newbie Spellweaver
Joined
Jun 5, 2009
Messages
12
Reaction score
0
Re: [GUIDE][MaNGOS] Teleporter NPC

Plz update this for the current mangos core, Thx in advance...
 
Initiate Mage
Joined
Jun 16, 2009
Messages
1
Reaction score
0
Re: [GUIDE][MaNGOS] Teleporter NPC

Yo uso Mangos 7983 ScriptDev2 rev1128 y no me detectaba algunas tablas y valores entonces modifique un poco y me funciono...asi me quedo:

[Copian y pegan todo el texto en el bloc de notas y sustituyen lo que se encuentra en negrita como antes se menciono y guardan el archivo con la extension .sql para poder importarlo en la base de datos mangos.

DELETE FROM `creature_questrelation` WHERE `quest` = 100000;
DELETE FROM `gameobject_questrelation` WHERE `quest` = 100000;
UPDATE `item_template` SET `StartQuest`=0 WHERE `StartQuest` = 100000;
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (40001, 100000);
UPDATE `creature_template` SET `npcflag`=`npcflag`|2 WHERE `entry` = 40001;
DELETE FROM `creature_involvedrelation` WHERE `quest` = 100000;
DELETE FROM `gameobject_involvedrelation` WHERE `quest` = 100000;
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (40001, 100000);
UPDATE `creature_template` SET `npcflag`=`npcflag`|2 WHERE `entry`=40001;
DELETE FROM `quest_end_scripts` WHERE `id`=100000;
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES
(100000, 0, 6, 0, 0, -13229.88, 226.21, 32.70, 1.066);
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `Type`, `RequiredRaces`, `RequiredSkillValue`, `RequiredMinRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepFaction`, `RequiredMaxRepValue`, `SuggestedPlayers`, `LimitTime`, `QuestFlags`, `SpecialFlags`, `PrevQuestId`, `NextQuestId`, `ExclusiveGroup`, `NextQuestInChain`, `SrcItemId`, `SrcItemCount`, `SrcSpell`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `RequestItemsText`, `EndText`, `ObjectiveText1`, `ObjectiveText2`, `ObjectiveText3`, `ObjectiveText4`, `ReqItemId1`, `ReqItemId2`, `ReqItemId3`, `ReqItemId4`, `ReqItemCount1`, `ReqItemCount2`, `ReqItemCount3`, `ReqItemCount4`, `ReqSourceId1`, `ReqSourceId2`, `ReqSourceId3`, `ReqSourceId4`, `ReqSourceCount1`, `ReqSourceCount2`, `ReqSourceCount3`, `ReqSourceCount4`, `ReqCreatureOrGOId1`, `ReqCreatureOrGOId2`, `ReqCreatureOrGOId3`, `ReqCreatureOrGOId4`, `ReqCreatureOrGOCount1`, `ReqCreatureOrGOCount2`, `ReqCreatureOrGOCount3`, `ReqCreatureOrGOCount4`, `ReqSpellCast1`, `ReqSpellCast2`, `ReqSpellCast3`, `ReqSpellCast4`, `RewChoiceItemId1`, `RewChoiceItemId2`, `RewChoiceItemId3`, `RewChoiceItemId4`, `RewChoiceItemId5`, `RewChoiceItemId6`, `RewChoiceItemCount1`, `RewChoiceItemCount2`, `RewChoiceItemCount3`, `RewChoiceItemCount4`, `RewChoiceItemCount5`, `RewChoiceItemCount6`, `RewItemId1`, `RewItemId2`, `RewItemId3`, `RewItemId4`, `RewItemCount1`, `RewItemCount2`, `RewItemCount3`, `RewItemCount4`, `RewRepFaction1`, `RewRepFaction2`, `RewRepFaction3`, `RewRepFaction4`, `RewRepFaction5`, `RewRepValue1`, `RewRepValue2`, `RewRepValue3`, `RewRepValue4`, `RewRepValue5`, `RewOrReqMoney`, `RewMoneyMaxLevel`, `RewSpell`, `PointMapId`, `PointX`, `PointY`, `PointOpt`, `DetailsEmote1`, `DetailsEmote2`, `DetailsEmote3`, `DetailsEmote4`, `IncompleteEmote`, `CompleteEmote`, `OfferRewardEmote1`, `OfferRewardEmote2`, `OfferRewardEmote3`, `OfferRewardEmote4`, `StartScript`, `CompleteScript`) VALUES (100000, 0, 30, 0, 0, 1791, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Teleport to Gurubashi Arena', 'Teleport to Gurubashi Arena Costs 50s', 'Pay the vendor 50s', '50s Please', '50s Please', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 100000);

Espero les ayude xD
Atte. Hunt
 
Initiate Mage
Joined
Oct 21, 2009
Messages
1
Reaction score
0
Re: [GUIDE][MaNGOS] Teleporter NPC

Cam aiurea sa intreb dar totusi.. unde si cum pun respectivele scripturi ?
Srry dar nu prea ma pricep
 
Lord of the Legion
Joined
Jul 28, 2005
Messages
426
Reaction score
35
Hurkulez, these scripts were made in 2008 (This thread has been dead for 3 years). I don't think these will work for you anymore regardless. As far as I know, the quest_end_script table is deprecated now, making this method of teleporting obsolete.

Only other way I can think without doing any actual scripting in the core would be custom area triggers, if that's possible (Never tried). It's also doable via SmartAI scripting, through SMART_ACTION_TELEPORT (action_type 62) and SMART_TARGET_ACTION_EVOKER (target_type 7) with the map, X, Y and Z coordinates.

You can make a script for each teleport location and then link the scripts to an NPC's gossip menu.
 
Last edited:
Status
Not open for further replies.
Back
Top