Itt egy Teleporter NPC TrynityCore-ra. nekem működik, minden rendben van vele szerintem.
Remélem, hogy jó helyre írtam és hogy hasznos lesz mindenkinek
IdézDELETE FROM `quest_template` WHERE `entry` = '91201';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91201', '3459', '1', '70', '1101', '1', 'Teleport to Stormwind', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91201');
DELETE FROM `quest_end_scripts` WHERE `id` = '91201';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91201', '0', '6', '0', '0', '-8833.164063', '479.762543', '112.095619', '0.587327');
DELETE FROM `quest_template` WHERE `entry` = '91202';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91202', '3459', '1', '70', '1101', '1', 'Teleport to Ironforge', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91202');
DELETE FROM `quest_end_scripts` WHERE `id` = '91202';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91202', '0', '6', '0', '0', '-4821.613281', '-1155.579468', '502.212250', '3.335226');
DELETE FROM `quest_template` WHERE `entry` = '91203';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91203', '3459', '1', '70', '1101', '1', 'Teleport to Darnassus', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91203');
DELETE FROM `quest_end_scripts` WHERE `id` = '91203';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91203', '0', '6', '1', '0', '9947.525391', '2604.150879', '1316.187988', '4.223004');
DELETE FROM `quest_template` WHERE `entry` = '91204';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91204', '3459', '1', '70', '1101', '1', 'Teleport to Exodar', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91204');
DELETE FROM `quest_end_scripts` WHERE `id` = '91204';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91204', '0', '6', '530', '0', '-4054.751709', '-11793.398438', '11.113947', '1.515031');
DELETE FROM `quest_template` WHERE `entry` = '91205';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91205', '3459', '1', '70', '690', '1', 'Teleport to Orgrimmar', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91205');
DELETE FROM `quest_end_scripts` WHERE `id` = '91205';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91205', '0', '6', '1', '0', '1677.910400', '-4314.788574', '62.500027', '2.669688');
DELETE FROM `quest_template` WHERE `entry` = '91206';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91206', '3459', '1', '70', '690', '1', 'Teleport to Thunder Bluff', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91206');
DELETE FROM `quest_end_scripts` WHERE `id` = '91206';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91206', '0', '6', '1', '0', '-1197.183716', '29.270617', '179.754837', '2.966604');
DELETE FROM `quest_template` WHERE `entry` = '91207';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91207', '3459', '1', '70', '690', '1', 'Teleport to Undercity', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91207');
DELETE FROM `quest_end_scripts` WHERE `id` = '91207';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91207', '0', '6', '0', '0', '1568.478760', '268.519928', '-42.138416', '1.697186');
DELETE FROM `quest_template` WHERE `entry` = '91208';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91208', '3459', '1', '70', '690', '1', 'Teleport to Silvermoon', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91208');
DELETE FROM `quest_end_scripts` WHERE `id` = '91208';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91208', '0', '6', '530', '0', '9373.077148', '-7166.074219', '11.476312', '5.386526');
DELETE FROM `quest_template` WHERE `entry` = '91209';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91209', '3459', '1', '70', '0', '1', 'Teleport to Shattrath', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91209');
DELETE FROM `quest_end_scripts` WHERE `id` = '91209';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91209', '0', '6', '530', '0', '-1879.500977', '5409.461426', '-12.427713', '1.033202');
DELETE FROM `quest_template` WHERE `entry` = '91210';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91210', '3459', '1', '70', '0', '1', 'Teleport to Dalaran', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91210');
DELETE FROM `quest_end_scripts` WHERE `id` = '91210';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91210', '0', '6', '571', '0', '5813.643555', '651.078247', '647.396973', '3.982841');
DELETE FROM `quest_template` WHERE `entry` = '91210';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91211', '3459', '1', '70', '0', '1', 'Teleport to Gurubashi Arena', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91211');
DELETE FROM `quest_end_scripts` WHERE `id` = '91210';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91211', '0', '6', '0', '0', '-13234.119141', '217.386627', '31.675938', '1.068150');
insert into `creature_template` (`entry`, `modelid_A`, `modelid_A2`, `modelid_H`, `modelid_H2`, `name`, `subname`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed`, `scale`, `rank`, `mindmg`, `maxdmg`, `baseattacktime`, `family`, `type`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `mingold`, `maxgold`)
values ('40000', '21277', '21277', '21277', '21277', "Teleporter", "Teleporter", '80', '80', '1000', '1000', '1000', '1000', '10000', '35', '35', '3', '8.00', '1', '3', '1000', '4000', '1000', '0', '7', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '91201');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '91202');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '91203');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '91204');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '91205');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '91206');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '91207');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '91208');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '91209');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '91210');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '91211');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '91201');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '91202');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '91203');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '91204');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '91205');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '91206');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '91207');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '91208');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '91209');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '91210');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '91211');
Sziasztok kis help az npc hez mikor betettem és rá lépek csak üdvözöl miért? vagy én nem tudom Id számát? rendesen ? 90000. ???
Idézetet írta: foxcon Dátum 2009 október 12, 12:16:10 DÉLELŐTT
Sziasztok kis help az npc hez mikor betettem és rá lépek csak üdvözöl miért? vagy én nem tudom Id számát? rendesen ? 90000. ???
igenn, sry most vettem észre, hogy el van rontva. Át kell írni így:
delete from `creature_template` where entry = 90000;
insert into `creature_template` (`entry`, `modelid_A`, `modelid_A2`, `modelid_H`, `modelid_H2`, `name`, `subname`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed`, `scale`, `rank`, `mindmg`, `maxdmg`, `baseattacktime`, `family`, `type`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `mingold`, `maxgold`)
values ('40000', '21277', '21277', '21277', '21277', "Teleporter", "Teleporter", '80', '80', '1000', '1000', '1000', '1000', '10000', '35', '35', '3', '8.00', '1', '3', '1000', '4000', '1000', '0', '7', '0', '0', '0', '0', '0', '0', '0', '0');
delete ezt, delete amazt, fel db-t szet kursz es mar is van 1 crp. questes teleportered ;D
Scriptel szoktak...
de hha nem scriptelsz? és adatbázisbol akarod megcsinálni...
Nálam script nélkül van megoldva és nincs problémám vele....script ide vagy script oda ;D ;D ;D!!!
Idézetet írta: Wex Dátum 2009 október 12, 10:09:18 DÉLELŐTT
delete ezt, delete amazt, fel db-t szet kursz es mar is van 1 crp. questes teleportered ;D
Scriptel szoktak...
Komolyan mondom egyszerűbb írni egy teleport scriptet mint DBbe megcsinálni mindezt...
Idézetet írta: Diver Dátum 2009 október 12, 02:42:21 DÉLUTÁN
Komolyan mondom egyszerűbb írni egy teleport scriptet mint DBbe megcsinálni mindezt...
Igazat mond :)
:) ha szépen meg kérhetném akkor küldenétek egy meg bízhatott és akkor nem szenvedek ezzel :D
Előre is megköszönöm a válaszotokat és még egy kis helpet kérnék mivel még noob vagyok, csak kis le írás hogy mit is tegyek vele :D kérlek titteket ne nevesetek ki vala hol el kell kezdenem. :'(
Jó, akkor ba****tok le, hogy meg mertem osztani veletek. gondoltam ez egy olyan fórum, ahova ilyeneket lehet írni. Gondoltam ,hogy építő jellegű post lesz, mivel NEM mindenki tud scriptelni (én sem), és lehet hogy adatbázisban szeretné megoldani a dolgokat.
Sub
Hát ha ez neked lebaszás, akkor gratulálok...
Idézetet írta: subscribe Dátum 2009 október 12, 04:56:10 DÉLUTÁN
Jó, akkor ba****tok le, hogy meg mertem osztani veletek. gondoltam ez egy olyan fórum, ahova ilyeneket lehet írni. Gondoltam ,hogy építő jellegű post lesz, mivel NEM mindenki tud scriptelni (én sem), és lehet hogy adatbázisban szeretné megoldani a dolgokat.
Sub
Bocsi, de szerintem csak a véleményüket mondták, hogy mi az egyszerűbb senki sem bántott itt. Most kicsit képzeld el magad az én helyzetembe Számító gép szervizes vagyok (szigoruan csak hadwerel foglalkozom) ergo fingom nincs a configoláshoz és egyéb softwerhez. sajna most kezdem feszegetni a a határokat nem pro akarok lenni csak érteni szeretnék hozzá úgy mond tanulni ezért is választottam a wowot mert itt mindent megtalálok a C++-tól kezdve a az utolsó php -ig.. és már odáig jutottam el hogy nem egy kis serverem mit csinosítgatóm alakítgató ilyesmik. és csak azért járok ide fel mert itt nagyon sok nálam tapasztaltabbak is vannak itt, ki válóban le tudják írni hogy mit merre hány óra. ahogy látod ez a harmadik hozászolásom csak itt a fórumban álltalában olvasni járok fel nem nagy úgy szerintem mert mindenki azt csinálja és ha valami megtetszik akkor szépen neki állok és addig-addig próbálom még össze nem jön a dolog :)
És örülök hogy sok ember ki nyilvánítja a véleményét mert akkor tudom hogy egy adott nekem problémára nem csak egy fajta járható útja van az egésznek. Így tudok tanulni..
Ismétlem senki nem bántott te így oldottad meg más meg skriptel ebben nincs sem sértő sem ártó dolog.
Bocsánat a helyesírásomért...
IdézSzerzeztés:
Attól a kérdésem fent áll az előző írásomnál.Mert meg csináltam és sajna hibbát kaptam a hiba:
Hiba:
SQL-lekérdezés:
INSERT INTO `quest_template` ( `entry` , `ZoneOrSort` , `MinLevel` , `QuestLevel` , `RequiredRaces` , `SpecialFlags` , `Title` , `Details` , `Objectives` , `OfferRewardText` , `PointOpt` , `CompleteScript` )
VALUES (
'91211', '3459', '1', '70', '0', '1', 'Teleport to Gurubashi Arena', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91211'
);
A MySQL mondta: Dokumentáció
#1062 - Duplicate entry '91211' for key 'PRIMARY'
Előre is Köszönöm.
subscribe
Nézd meg az aláírásom... Ergó nekem kb. ennyira kellene értenem hogy CAD. Nemtudom mit tanulsz, de a viselkedésed alapján én általánosra szavazok
IdézUI.: A scripteléshez nem kell C++ ismeret!
Most én is írjam le, hogy sima gimibe járok? :)
Az-az semmilyen képesítésem sincs.
Idézetet írta: Anubisss Dátum 2009 október 12, 08:48:29 DÉLUTÁN
Most én is írjam le, hogy sima gimibe járok? :)
Az-az semmilyen képesítésem sincs.
Bocs :) rám jött az írhatnék :D :P
kezdö vok az ilyenbe még,azt szeretném kérdezni hogy hova kell ezt betenni?:D
Nekem segítsetek én módosítottam ezt a teleporter npc-t még egy másik topicból ahonnan kimásoltam és még adtam is hozzá plusz 2 teleport helyet de amikor raknám be a db-be ezt írja ki:
[Err] 1265 - Data truncated for column 'y' at row 1
[Err] INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91208', '0', '6', '0', '530', '1502.709961', '-4415-419922', '21.551201', '0.000000');
[Msg] Finished - Unsuccessfully
--------------------------------------------------
ezt a teleportert használom:
/* Alliance Vendor Island */
DELETE FROM `quest_template` WHERE `entry` = '91201';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91201', '3459', '1', '70', '1101', '1', 'Teleport Alliance Vendor Islandra', 'Szeretned a Teleportot?', 'Beszelj a Teleporterrel ujra.', 'Biztos ezt akarod?', '0', '91201');
DELETE FROM `quest_end_scripts` WHERE `id` = '91201';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91201', '0', '6', '0', '0', '-11830.299805', '1248.369995', '4.012740', '5.034730');
/* Alliance Duel Zone */
DELETE FROM `quest_template` WHERE `entry` = '91202';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91202', '3459', '1', '70', '1101', '1', 'Teleport Alliance Duel Zoneba', 'Szeretned a Teleportot?', 'Beszelj a Teleporterrel ujra.', 'Biztos ezt akarod?', '0', '91202');
DELETE FROM `quest_end_scripts` WHERE `id` = '91202';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91202', '0', '6', '0', '0', '-4821.613281', '-1155.579468', '502.212250', '3.335226');
/* Barber - Jump Zone */
DELETE FROM `quest_template` WHERE `entry` = '91203';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91203', '3459', '1', '70', '1101', '1', 'Teleport Barber - Jump Zoneba', 'Szeretned a Teleportot?', 'Beszelj a Teleporterrel ujra.', 'Biztos ezt akarod?', '0', '91203');
DELETE FROM `quest_end_scripts` WHERE `id` = '91203';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91203', '0', '6', '0', '1', '4290.068359', '-6398.651367', '82.337029', '2.815650');
/* Stormwind City */
DELETE FROM `quest_template` WHERE `entry` = '91204';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91204', '3459', '1', '70', '1101', '1', 'Teleport Stormwind City-be', 'Szeretned a Teleportot?', 'Beszelj a Teleporterrel ujra.', 'Biztos ezt akarod?', '0', '91204');
DELETE FROM `quest_end_scripts` WHERE `id` = '91204';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91204', '0', '6', '0', '530', '-8886.200195', '574.577026', '92.769897', '0.728850');
/* Horde Vendor Island */
DELETE FROM `quest_template` WHERE `entry` = '91205';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91205', '3459', '1', '70', '690', '1', 'Teleport Horde Vendor Islandra', 'Szeretned a Teleportot?', 'Beszelj a Teleporterrel ujra.', 'Biztos ezt akarod?', '0', '91205');
DELETE FROM `quest_end_scripts` WHERE `id` = '91205';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91205', '0', '6', '0', '1', '-12138.453125', '897.416565', '8.973920', '1.210622');
/* Horde Duel Zone */
DELETE FROM `quest_template` WHERE `entry` = '91206';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91206', '3459', '1', '70', '690', '1', 'Teleport Horde Duel Zoneba', 'Szeretned a Teleportot?', 'Beszelj a Teleporterrel ujra.', 'Biztos ezt akarod?', '0', '91206');
DELETE FROM `quest_end_scripts` WHERE `id` = '91206';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91206', '0', '6', '0', '1', '-7403.279297', '-1997.809937', '313.734680', '4.592992');
/* Barber - Jump Zone */
DELETE FROM `quest_template` WHERE `entry` = '91207';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91207', '3459', '1', '70', '690', '1', 'Teleport Barber - Jump Zoneba', 'Szeretned a Teleportot?', 'Beszelj a Teleporterrel ujra.', 'Biztos ezt akarod?', '0', '91207');
DELETE FROM `quest_end_scripts` WHERE `id` = '91207';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91207', '0', '6', '0', '0', '4290.068359', '-6398.651367', '82.337029', '2.815650');
/* Orgrimmar */
DELETE FROM `quest_template` WHERE `entry` = '91208';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91208', '3459', '1', '70', '690', '1', 'Teleport Orgrimmar-ba', 'Szeretned a Teleportot?', 'Beszelj a Teleporterrel ujra.', 'Biztos ezt akarod?', '0', '91208');
DELETE FROM `quest_end_scripts` WHERE `id` = '91208';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91208', '0', '6', '0', '530', '1502.709961', '-4415-419922', '21.551201', '0.000000');
/* Shattrath City */
DELETE FROM `quest_template` WHERE `entry` = '91209';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91209', '3459', '1', '70', '0', '1', 'Teleport Shattrat City-be', 'Szeretned a Teleportot?', 'Beszelj a Teleporterrel ujra.', 'Biztos ezt akarod?', '0', '91209');
DELETE FROM `quest_end_scripts` WHERE `id` = '91209';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91209', '0', '6', '0', '530', '-1846.849976', '5396.640137', '-12.428200', '2.039000');
/* Gurubashi Arena */
DELETE FROM `quest_template` WHERE `entry` = '91210';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91210', '3459', '1', '70', '0', '1', 'Teleport Gurubashi Arena-ba', 'Szeretned a Teleportot?', 'Beszelj a Teleporterrel ujra.', 'Biztos ezt akarod?', '0', '91210');
DELETE FROM `quest_end_scripts` WHERE `id` = '91210';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91210', '0', '6', '0', '0', '-13224.513672', '235.640350', '33.463028', '1.116049');
/* Egyedi Insta */
DELETE FROM `quest_template` WHERE `entry` = '91211';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91210', '3459', '1', '70', '0', '1', 'Teleport Egyedi Instaba', 'Szeretned a Teleportot?', 'Beszelj a Teleporterrel ujra.', 'Biztos ezt akarod?', '0', '91210');
DELETE FROM `quest_end_scripts` WHERE `id` = '91211';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91211', '0', '6', '0', '0', '1813.489990', '-4418.580078', '-18.570000', '5.135220');
/* Jump Event */
DELETE FROM `quest_template` WHERE `entry` = '91212';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91210', '3459', '1', '70', '0', '1', 'Teleport Jump Eventre', 'Szeretned a Teleportot?', 'Beszelj a Teleporterrel ujra.', 'Biztos ezt akarod?', '0', '91210');
DELETE FROM `quest_end_scripts` WHERE `id` = '91212';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91212', '0', '6', '0', '0', '-13250.667969', '183.197708', '109.302498', '1.252708')
/* Teleporter */
DELETE FROM `creature_template` WHERE `entry` = '91200';
INSERT INTO `creature_template` (`entry`, `modelid_A`, `modelid_H`, `name`, `subname`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `faction_A`, `faction_H`, `npcflag`, `speed`, `mindmg`, `maxdmg`, `attackpower`, `baseattacktime`, `rangeattacktime`, `minrangedmg`, `maxrangedmg`, `type`, `civilian`, `InhabitType`, `RegenHealth`) VALUES ('91200', '15235', '15235', 'Teleporter', 'Hammer WoW', '70', '70', '5000', '5000', '35', '35', '2', '1', '50', '200', '500', '1500', '1500', '50', '100', '7', '1', '3', '1');
DELETE FROM `creature_questrelation` WHERE `id` = '91200';
DELETE FROM `creature_involvedrelation` WHERE `id` = '91200';
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('91200', '91201');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('91200', '91202');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('91200', '91203');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('91200', '91204');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('91200', '91205');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('91200', '91206');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('91200', '91207');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('91200', '91208');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('91200', '91209');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('91200', '91210');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('91200', '91211');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('91200', '91212');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('91200', '91201');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('91200', '91202');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('91200', '91203');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('91200', '91204');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('91200', '91205');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('91200', '91206');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('91200', '91207');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('91200', '91208');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('91200', '91209');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('91200', '91210');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('91200', '91211');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('91200', '91212');
MaNGOS-ra tudna valaki?
MaNGOS-ra is használható, a creature importot a mostani tdb-re nem is lehet elvégezni, kicsit másabbak lettek az oszlopok.
#1265 - Data truncated for column 'y' at row 1
Idézetet írta: DJ Dátum 2010 február 17, 12:22:45 DÉLUTÁN
[Err] 1265 - Data truncated for column 'y' at row 1
[Err] INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91208', '0', '6', '0', '530', '1502.709961', '-4415-419922', '21.551201', '0.000000');
[Msg] Finished - Unsuccessfully
--------------------------------------------------
Az
Egy
Üdv. Az lenne a kérdésem hogy tudna valaki feltenni egy teleporter npc-t amiben benne van orgrimmar durotar silvermoon thunder bluff goldshire nagrand aréna és gurubashi aréna? Ez lenne hordának a porterje alinak pedig stormwind elwynn forest razor hill gurubashi aréna nagrand lenne benne. Erre a 2 porter npcre lenne szükségünk ugyanis már 2ik napja kínlódunk vele hogy megcsináljuk őket de nem engedi betenni a dbbe. Trinitycore2 7276 revisionos emut használunk 3.2.2a-val. Nagyon megköszönném ha valaki tudna linkelni.
több npc teleporter van fent csak használní kéne keresés gombot ;)
nekem ezt ijra: [Err] 1062 - Duplicate entry '91211' for key 1
[Err] INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('91211', '3459', '1', '70', '0', '1', 'Teleport to Gurubashi Arena', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91211');
[Msg] Finished - Unsuccessfully
Lécci help h miért!
Azt
[Err] 1054 - Unknown column 'datatext' in 'field list'
[Err] INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datatext`, `datalong`, `x`, `y`, `z`, `o`) VALUES ('91201', '0', '6', '', '0', '-8833.164063', '479.762543', '112.095619', '0.587327');
[Msg] Finished - Unsuccessfully most meg ezt irja xĐ
Idézetet írta: free.run Dátum 2010 március 25, 09:09:08 DÉLUTÁN
[Err] 1054 - Unknown column 'datatext' in 'field list'
[Err] INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datatext`, `datalong`, `x`, `y`, `z`, `o`) VALUES ('91201', '0', '6', '', '0', '-8833.164063', '479.762543', '112.095619', '0.587327');
[Msg] Finished - Unsuccessfully most meg ezt irja xĐ
column - oszlop
unknown - ismeretlen
field - mező
list - lista
Remélem ebből rájössz :)
Egy kis logika és fordítás.
Egyébként ezt én nem értem, hogy hogy sikerült kivitelezned... "Unknown column .... "
[Err] 1054 - Unknown column 'speed' in 'field list'
[Err] insert into `creature_template` (`entry`, `modelid_A`, `modelid_A2`, `modelid_H`, `modelid_H2`, `name`, `subname`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed`, `scale`, `rank`, `mindmg`, `maxdmg`, `baseattacktime`, `family`, `type`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `mingold`, `maxgold`)
values ('91500', '23158', '0', '0', '0', "Hitsu", "Teleport Master", '80', '80', '100000', '1000000', '10000', '10000', '50000', '35', '35', '0', '8.00', '1', '3', '2000', '2000', '3000', '0', '7', '500', '505', '500', '500', '500', '500', '100000', '100000');
[Msg] Finished - Unsuccessfully
--------------------------------------------------
tudnátok segíteni? :S akármien NPC-t töltök be mindig ezt írja :S
Az sql fájlod régebbi verzióhoz való, mint amit most van (gondolom 3.3.2-őd van). Ettől függetlenül megoldható a betöltése, csak meg kell nézned, hogy melyik mezők térnek el (jelen esetben a speed mező helyett speed_walk és speed_run kéne).
:S kössz
akkor visszatérek 3.2.2 re xd
Már ne haragudj, de most nem tudsz átírni egy oszlopot? meg hozzáadni még egyet? Gondolkodjatok emberek... gondolkodjatok!
a-a XD :S annyira nem értek hozzá :S
WDB field hiányzik belöle ;)!!Azt kell pótolni illetve egy 0
Idézetet írta: yocimc Dátum 2010 április 09, 11:11:49 DÉLUTÁN
[Err] 1054 - Unknown column 'speed' in 'field list'
[Err] insert into `creature_template` (`entry`, `modelid_A`, `modelid_A2`, `modelid_H`, `modelid_H2`, `name`, `subname`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed`, `scale`, `rank`, `mindmg`, `maxdmg`, `baseattacktime`, `family`, `type`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `mingold`, `maxgold`)
values ('91500', '23158', '0', '0', '0', "Hitsu", "Teleport Master", '80', '80', '100000', '1000000', '10000', '10000', '50000', '35', '35', '0', '8.00', '1', '3', '2000', '2000', '3000', '0', '7', '500', '505', '500', '500', '500', '500', '100000', '100000');
[Msg] Finished - Unsuccessfully
--------------------------------------------------
tudnátok segíteni? :S akármien NPC-t töltök be mindig ezt írja :S
Meg a speed_walk és a speed_run, mint ahogy azt már írtam az előbb...
Kössz mindent!! na most bent van meg minden de amikor letenném akkor nem rakja le :S azt irja hogy nincs olyan npc :S
Leellenőrizted, hogy tényleg bent van-e megfelelő entry-vel a creature_template táblában?
igen! utána kitöröltem megint betettem ezt vagy 5x és még mindig nemjó :S
Persze! Azért ennyire Hülye nem vagyok xD
nem tudom mi lehet a probléma :S
:s már az itemeket sem adja mintha rossz DB lenne betöltve! :S:S
EDIT: És tényleg rossz Cucc van bent Navicat ban Azt hogytudom megcsinálni hogy jólegyen? mert hiába töröltem ki és ujra de úgyse jó :S
írd át az entryjét az npc-nek, ha notepad++-t használsz akkor ctrl+r beírod hogy mit írjon át, ... asszem 40000-en van, akkor a find whatba beírod, hogy 40000 és a replace with-be 40001, mert elvileg a MySQL sok dolgot elment, lehet ez is probléma.
:S szerintem más a probléma mert akármit töltök be meg írok át a táblákban nem változtatja meg!
Lehet hogy az hogy mi routeren vagyunk négy gép van összekötve és másik gépen is megcsináltam a szerót :S
ott is letöltöttem külön MySQL-t meg mindent :S lehet hogy az :S
Probáldd ki scriptel!
http://infobarkacs.hu/index.php?topic=3976.0 (http://infobarkacs.hu/index.php?topic=3976.0)
Ez egy tökéletes script a számodra!
Ha trinitycore2 emud van akkor itt a leírás hogyan rakdd fel:
Idéz1. A letöltött .cpp fájlt másold be az emud főkonyvtárán belül az "src/scripts/custom" mappába!
Idéz2. "src/scripts" mappába lépj be és nyíssd meg a CMakelist.txt-t. A 19. sor után nyomj 1 entert és írdd be ezt: custom/[fájlnév].cpp
Idéz3. "src/game/Scriptloader.cpp" ezt nyíssd meg és a 25. sorba írdd be ezt: void AddSC_telenpc();
Idéz4. A 522. sorba pedig ezt: AddSC_telenpc();
5. Importáldd be ezt a szöveget, ez egy npc a scripthez:
IdézINSERT 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`, `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`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES
(900093, 0, 0, 0, 0, 0, 26077, 0, 0, 0, 'TELENPC', 'TELE-BABA', '', 0, 81, 81, 2, 35, 35, 1, 1, 1.4, 0.8, 0, 342, 485, 0, 392, 1, 2000, 0, 1, 32768, 0, 0, 0, 0, 0, 0, 295, 438, 68, 7, 4096, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 'telenpc');
6.
Idézmake - make install
. Utána belépsz a játékba és
Idéz.npc add 900093 !
Természetesen make install után kell 1 szeró resi ;)
Ambergui-m van :S és szerintem az repack
Idézetet írta: yocimc Dátum 2010 április 11, 01:19:25 DÉLUTÁN
Ambergui-m van :S és szerintem az repack
Hát, sajnos repackoknál nemtudom hogyan mükődik! ???
Pontosabban milyen gond van aa SQL-es teleporterrel?
szerintem nem azzal van a gond :S mert pl: wow-v.com on csináltam npc-t meg itemet betöltöttem az adatbázisba nyomtam egy szerver restartot és nem adja az itemet a karinak! irom: .add 1 és Unknow. Item entry vagy .npc add 40000 unknow. NPC entry :S itt mással lessz a gond
Ha nem vennéd észre, rossz npc-t próbálsz lerakni. Ami sql-t beimportáltál annak az `entry`-vel egyező számmal tudod lerakni az npc-t. Amit te írtál számokat, azok egyik példában sem szerepelnek amiket a többiek írtak.
Idézetet írta: subscribe Dátum 2009 október 08, 11:41:02 DÉLUTÁN
Idéz
insert into `creature_template` (`entry`, `modelid_A`, `modelid_A2`, `modelid_H`, `modelid_H2`, `name`, `subname`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed`, `scale`, `rank`, `mindmg`, `maxdmg`, `baseattacktime`, `family`, `type`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `mingold`, `maxgold`)
values ('40000', '21277', '21277', '21277', '21277', "Teleporter", "Teleporter", '80', '80', '1000', '1000', '1000', '1000', '10000', '35', '35', '3', '8.00', '1', '3', '1000', '4000', '1000', '0', '7', '0', '0', '0', '0', '0', '0', '0', '0');
Sajnos szerepel...
Az előző oldalt néztem csak ;D Ott meg nincs az az id csak a 91500 és a 900093. Ebből gondolom megpróbálta valamelyiket, de még mindig a régi 40000-el próbálja meg lerakni. Ez logikusan hangzik mivel nem tudja lerakni a 40000-es id-vel :)
nemérted xd csináltam csaját NPC-t hozzá és azt nem adja :S és ez nem az első saját szerverem lenne! annyira hülye nem vagyok xD nem ezekkel az NPC-kkel probálkoztam!
Hát ha mégsem bírod betenni akkor csak nem én vagyok a "hülye". Semmi konkrétumot nem adsz, hogy mit is teszel és hova, akkor nekem honnan kéne tudnom azt hogy te milyen id-vel próbálod? Bár az hogy először 1-es id-vel próbáltad és még olyat sem talált, hát nem engem minősít kedves "nem első szerveres". Esetleg ha vennéd a fáradtságot és a pontos npc template-et adnád meg és leírnád hogy mit is próbálsz pontosan, akkor már bárki tudna segíteni, mert konkrétan tudnánk hogy mi a fene baja van. Így csak gondolatolvasás és találgatás az egész, ami valljuk be egy idő után degeneratív hatással van a tolerancia szintekre minden egyébként segítőkész fórumozónál, főként hogy 1000000000000000000 topicban el lett már magyarázva hogy támpontok nélkül nem tud senki sem segíteni, mert így a hibát is nekünk kell kitalálni. Pl.: SQL gyönyörűen kiírja minden esetben hogy mi a baja egy hibás importnál, ilyenkor a kapott hibát bemásolva egyből tudjuk mi a teendő, de ha valaki csak azzal jön hogy "ez xar", abból semmit sem fogunk tudni. Esetenként más, egyéb külső tényező is okozhatja a hibát, ezért is kell megadni a lehető legtöbb információt (sql szerver verzió, emulátor verzió/típus, adatbázis verzió/típus, op. rendszer, az első lépéstől az utolsóig hogy mit csinálsz, hogyan csinálod és mivel) ha már egyszer segítséget szeretnél kapni a találgatások helyett.
Remélem érthetően írtam le már _sokadjára_ ezt a mit-miért combót...
Ha esetleg a core-d revjét + db-jét meg a kódot bemásolod, akkor ahogy ident is mondta megmondjuk mi a probléma :D
Idézetet írta: showman Dátum 2009 október 12, 10:09:18 DÉLELŐTT
delete ezt, delete amazt, fel db-t szet kursz es mar is van 1 crp. questes teleportered ;D
Scriptel szoktak...
Hogy érted hogy szétkúrod a db-t? Mert betenném, de ezt nem akarom átélni.... azért mert betesz pár questet :D
Semmit nem "kúr" szét vele, hiszen ilyen magas id-jű questek és npc nincsen a játékban, ergo semmi hátrányod nem fog származni belőle.
na ugye, köszi :)
ömm, egy kérdés, az o betü (quest scripto) az a map id? :D ( Ha nem melyik a mapid? :P )
http://trinitycore.info/index.php/Scripts_tc2 (http://trinitycore.info/index.php/Scripts_tc2) datalong a mapid
Nah működik, de valamiért ott van a creature_questrelation-ban a cucc de mégsem adja a questet :S csak leadni tom, ebben mi lehet a baj?
http://infobarkacs.hu/index.php?topic=4154.0
ez hihtetelen, ember OLVASSÁL ne csak írj, levan írva hogyan kell megcsinálni, senki nem fog helyetted dolgozni, főleg nem egy ilyen egyszerű dolgon
http://dev.mysql.com/doc/refman/5.5/en/
IdézELETE FROM `quest_template` WHERE `entry` = '900096';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('900096', '3459', '1', '70', '1101', '1', 'Teleport to Stormwind', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91201');
DELETE FROM `quest_end_scripts` WHERE `id` = '900096';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('900096', '0', '6', '0', '0', '-8833.164063', '479.762543', '112.095619', '0.587327');
DELETE FROM `quest_template` WHERE `entry` = '900097';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('900097', '3459', '1', '70', '1101', '1', 'Teleport to Ironforge', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91202');
DELETE FROM `quest_end_scripts` WHERE `id` = '900097';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('900097', '0', '6', '0', '0', '-4821.613281', '-1155.579468', '502.212250', '3.335226');
DELETE FROM `quest_template` WHERE `entry` = '900098';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('900098', '3459', '1', '70', '1101', '1', 'Teleport to Darnassus', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91203');
DELETE FROM `quest_end_scripts` WHERE `id` = '900098';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('900098', '0', '6', '1', '0', '9947.525391', '2604.150879', '1316.187988', '4.223004');
DELETE FROM `quest_template` WHERE `entry` = '900099';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('900099', '3459', '1', '70', '1101', '1', 'Teleport to Exodar', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91204');
DELETE FROM `quest_end_scripts` WHERE `id` = '900099';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('900099', '0', '6', '530', '0', '-4054.751709', '-11793.398438', '11.113947', '1.515031');
DELETE FROM `quest_template` WHERE `entry` = '900100';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('900100', '3459', '1', '70', '690', '1', 'Teleport to Orgrimmar', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91205');
DELETE FROM `quest_end_scripts` WHERE `id` = '900100';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('900100', '0', '6', '1', '0', '1677.910400', '-4314.788574', '62.500027', '2.669688');
DELETE FROM `quest_template` WHERE `entry` = '900101';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('900101', '3459', '1', '70', '690', '1', 'Teleport to Thunder Bluff', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91206');
DELETE FROM `quest_end_scripts` WHERE `id` = '900101';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('900101', '0', '6', '1', '0', '-1197.183716', '29.270617', '179.754837', '2.966604');
DELETE FROM `quest_template` WHERE `entry` = '900102';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('900102', '3459', '1', '70', '690', '1', 'Teleport to Undercity', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91207');
DELETE FROM `quest_end_scripts` WHERE `id` = '900102';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('900102', '0', '6', '0', '0', '1568.478760', '268.519928', '-42.138416', '1.697186');
DELETE FROM `quest_template` WHERE `entry` = '900103';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('900103', '3459', '1', '70', '690', '1', 'Teleport to Silvermoon', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91208');
DELETE FROM `quest_end_scripts` WHERE `id` = '900103';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('900103', '0', '6', '530', '0', '9373.077148', '-7166.074219', '11.476312', '5.386526');
DELETE FROM `quest_template` WHERE `entry` = '900104';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('900104', '3459', '1', '70', '0', '1', 'Teleport to Shattrath', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91209');
DELETE FROM `quest_end_scripts` WHERE `id` = '900104';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('900104', '0', '6', '530', '0', '-1879.500977', '5409.461426', '-12.427713', '1.033202');
DELETE FROM `quest_template` WHERE `entry` = '900105';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('900105', '3459', '1', '70', '0', '1', 'Teleport to Dalaran', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91210');
DELETE FROM `quest_end_scripts` WHERE `id` = '900105';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('900105', '0', '6', '571', '0', '5813.643555', '651.078247', '647.396973', '3.982841');
DELETE FROM `quest_template` WHERE `entry` = '900106';
INSERT INTO `quest_template` (`entry`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `RequiredRaces`, `SpecialFlags`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `PointOpt`, `CompleteScript`) VALUES ('900106', '3459', '1', '70', '0', '1', 'Teleport to Gurubashi Arena', 'So you want to teleport?', 'Speak with the Teleport Master again.', 'Are you sure, you\'re ready to teleport?', '0', '91211');
DELETE FROM `quest_end_scripts` WHERE `id` = '900106';
INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES ('91211', '0', '6', '0', '0', '-13234.119141', '217.386627', '31.675938', '1.068150');
insert into `creature_template` (`entry`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `minlevel`, `maxlevel`, `faction_A`, `faction_H`, `npcflag`, `speed`, `scale`, `rank`, `mindmg`, `maxdmg`, `baseattacktime`, `family`, `type`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `mingold`, `maxgold`)
values ('40000', '21277', '21277', '21277', '21277', "Teleporter", "Teleporter", '80', '80', '35', '35', '3', '8.00', '1', '3', '1000', '4000', '1000', '0', '7', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '900096');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '900097');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '900098');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '900099');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '900100');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '900101');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '900102');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '900103');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '900104');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '900105');
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES ('40000', '900106');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '900096');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '900097');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '900098');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '900099');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '900100');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '900101');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '900102');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '900103');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '900104');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '900105');
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES ('40000', '900106');
ha valakinek nem lenne jó vagy valami akkor tessék ittvan, az idket átírtam mert nálam már voltak ilyen id-k (lehet hogy másnál is van ilyen hiba). Ha már valaki feltöltötte normálisan akkor bocsi. nem olvastam végig a topicot mert úgy emlékeztem hogy hogy senki nem írta be hibátlanul
a fenti leírás 3.3.2 tökéletes, viszont az lenne a problémám, hogy 3.3.3a-n már jó.
A probléma az az, hogy ha beszélek vele akkor ugye ujra kell vele beszélni hogy leadja a questet és utána elteleportáljon. Na a questet leis adja, csakhogy nem teleportál sehova. Már mindent próbáltam, de sehogy nem sikerült rájönnöm hogy miért nem visz el sehova.
Pastebin: http://pastebin.com/AKJhHTmZ (http://pastebin.com/AKJhHTmZ)
Aki tud az pls segítsen :-\
(ha rájövök addig akk leírom h mi a baja)
Milyen emulátort használsz?
MaNGOS vagy TC2?
tc2
Hát nem tudom akkor szokott ilyen lenni ha a quest_end_scripts-ben a command "0"-n van.
Ezt csekkold le hogy ez jól van-e
:-\
mindegyik 6-oson van.... vkinek még vmi ötlet?
Amúgy bluerák köszi a gyors válaszokat
http://pastebin.com/CsGBhU4X
Próbáld ezt
hát most azt csináltam h mivel a quest template-ben rossz volt a complate scriptnél a változó azt most átírtam, ha ez nem jön be akkor köszi zoomika :D
Én gossippal csináltam.
Csinálsz a gossip_menu táblába egy új bejegyzést id-kkel
Új bejegyzés a gossip_scripts táblába szokványos command6 stb(A xyz koordinátat legegyszerűbben úgy tudod megnézni,hogy ingame tele add név a a db-ben game_tele táblában kikeresed és csak át kell másolni)
Csinálsz minden scripthez,ha úgy tetszik egy-egy helyhez egy gossip_menu_option bejegyzést.
Pl.
gossip_menu : entry 2 textid 328
gossip_scripts: id 1 delay 2 command 6 datalong 578 datalong2 0 dataint 0 x:1061.41 y:1095.96 z:432.52 o:0.64
gossip_menu_option:Menu id:2(ez a kapcsolat a gossip_menu táblával) id:45(ez az opció saját id-je) option icon: 1 option_text:Stage 1 option id:1(gossip) npc_option_npcflag:3(itt kell megadni az npc npcflagját,amelyik használni tudja) action menu id:0 actionpoi:0 actionscript id:1(ez az érték kapcsolja az opcióhoz a scriptet) box_coded:0 box_money:0 Box_text:Stage 1 0 0 0 0 0 0 0 0 0
Adott npc-hez kötni úgy lehet,hogy a creature_templateben beírod az npcnek a gossip_menu id-t és az npcflaget 3nak.
És nem kell szenvedned egyenként a questeket megcsinálni,az involved és questrelationokat beirkálni.
Hey Apostol!
Nagyon jó a leírás köszi! Egy kérdésem lenne csak. Csináltam egy teleporter NPC-t, de csak az első menü látszik. Kettőt tettem be:
-Port me to The Lich King!
-Port me to Dalaran.
A gossip scriptet megcsináltam a másodiknak is és a `gossip_menu_option` táblához is hozzáadtam egyező menu_id-val és eltérő ID-val. Ami még eltér az az action_script_id és az option_text szövege.
Mit kell még beállítanom, hogy látszódjon a második opció is? Az npc_option_flag a rossz? (3)
Előre is köszönöm a segítséget!
Ha azt akarod hogy több menü látszodjon, akkor a gossip_menu táblában ugyanazzal a menu_id-vel kell hogy legyen az option, mert máskülönben másik gossip_menuhöz rendeled.
Ha az npcnek pl 50000 a gossip_manu_id-je, akkor ha optiont akarsz bele rakni akkor lesz neked 3db 50000-es kezdésü menu_id-d a gossip_menu táblában.
asdasdasd
:d
Én találtam benne 1-2 hibát ami a trinity-ben nem volt jó de kijavítottam és finoman magyarosítottam ami persze nyugodtan visszacsinálhattok ha nem teccik!Annyi volt a magyarosítás h egyszerűen ékezetes betűk nélkül fejeztem ki a tele npc menüjét!De kipróbáltam és minden változtatásommal tökéletessen működik!köszönöm szépen a forrást!
ez kimaradt szedjétek le ha gondoljátok! http://data.hu/get/2796468/tele_npc_gossip.rar.html (http://data.hu/get/2796468/tele_npc_gossip.rar.html)
itt 1 gossipos teleporter is
http://infobarkacs.hu/index.php/topic,6701.0.html
ez jobb mint a questekkel történő módszer xD
Frissítve SAI-ra,magyarosítva
http://pastebin.com/unWjQx5X