Informatikai Barkács Fórum

WORLD OF WARCRAFT SZERVER => Adatbázis => A témát indította: dReamer Dátum 2010 május 09, 10:42:20 DÉLUTÁN

Cím: Icecrown Citadel - Entrances
Írta: dReamer Dátum 2010 május 09, 10:42:20 DÉLUTÁN
Sziasztok!

Nem tudom, hogy van-e már ilyen téma, de szerintem ha van is ilyen 1el több vagy kevesebb az nem számít.



Csak be  kell ezt importálnod a gameobject -be:
#
INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES
#
(151000,201761,571,1,1,5590.68,2009.12,798.182,0.695061,0,0,0.340577,0.940217,7200,0,1),
#
(151001,201760,571,1,1,5628.6,1971.78,803.021,1.46869,0,0,0.670099,0.742271,7200,0,1),
#
(151002,201759,571,1,1,5672.19,2002.05,798.182,2.2541,0,0,0.90315,0.429325,7200,0,1),
#
(151003,202347,571,1,1,5779.44,2066.59,636.065,0.417346,0,0,0.207162,0.978307,25,0,1),
#
(151004,202348,571,1,1,5779.44,2066.59,636.065,0.417346,0,0,0.207162,0.978307,25,0,1),
#
(151005,202349,571,1,1,5779.44,2066.59,636.065,0.417346,0,0,0.207162,0.978307,25,0,1),
#
(151006,202350,571,1,1,5779.44,2066.59,636.065,0.417346,0,0,0.207162,0.978307,25,0,1),
#
(151007,196392,571,1,1,5673.97,1999.95,798.182,2.32866,0,0,0.918523,0.395367,25,0,1),
#
(151008,196391,571,1,1,5673.97,1999.95,798.182,2.32866,0,0,0.918523,0.395367,25,0,1),
#
(151009,196392,571,1,1,5588.71,2007.31,798.182,0.721988,0,0,0.353205,0.935546,7200,0,1),
#
(151010,196391,571,1,1,5628.25,1968.23,803.021,1.56083,0,0,0.703573,0.710623,7200,0,1),
#
(151011,196392,571,1,1,5628.25,1968.23,803.021,1.56083,0,0,0.703573,0.710623,7200,0,1),
#
(151012,196391,571,1,1,5588.71,2007.31,798.182,0.721988,0,0,0.353205,0.935546,7200,0,1);



Ezt be kell ezt importálnod a instance_template -be:
#
DELETE FROM `instance_template` WHERE `map` IN (631,632,658,668);
#
INSERT INTO `instance_template` (`map`,`parent`,`access_id`,`startLocX`,`startLocY`,`startLocZ`,`startLocO`,`script`) VALUES
#
(631,0,5670,Null,Null,Null,Null, ''),
#
(632,0,5635,Null,Null,Null,Null, ''),
#
(658,0,5637,Null,Null,Null,Null, ''),
#
(668,0,5636,Null,Null,Null,Null, '');



Ezt be kell ezt importálnod a access_requirement -be:
DELETE FROM `access_requirement` WHERE `id` IN (5635,5636,5637,5642,5643,5646,5668,5670,5683,5688);
#
INSERT INTO `access_requirement` (`id`,`level_min`,`heroic_level_min`,`level_max`,`item`,`item2`,`heroic_key`,`heroic_key2`,`quest_done`,`quest_failed_text`,`heroic_quest_done`,`heroic_quest_failed_text`,`comment`) VALUES
#
(5635,80,80,0,0,0,0,0,0,Null,0,Null, 'Forge of Souls (Entrance)'),
#
(5636,80,80,0,0,0,0,0,0,Null,0,Null, 'Halls of Reflection (Entrance)'),
#
(5637,80,80,0,0,0,0,0,0,Null,0,Null, 'Pit of Saron (Entrance)'),
#
(5642,0,0,0,0,0,0,0,0,Null,0,Null, 'Forge of Souls (Exit)'),
#
(5643,0,0,0,0,0,0,0,0,Null,0,Null, 'Pit of Saron (Exit)'),
#
(5646,0,0,0,0,0,0,0,0,Null,0,Null, 'Halls of Reflection (Exit)'),
#
(5668,0,0,0,0,0,0,0,0,Null,0,Null, 'IceCrown Citadel (Exit)'),
#
(5670,80,80,0,0,0,0,0,0,Null,0,Null, 'IceCrown Citadel (Entrance)'),
#
(5683,0,0,0,0,0,0,0,0,Null,0,Null, 'Pit of Saron (Exit)'),
#
(5688,0,0,0,0,0,0,0,0,Null,0,Null, 'Forge of Souls (Exit)');



Ezt be kell ezt importálnod a areatrigger_teleport -be:
#
DELETE FROM `areatrigger_teleport` WHERE `id` IN (5635,5636,5637,5642,5644,5646,5668,5670,5683,5688);
#
INSERT INTO `areatrigger_teleport` (`id`,`name`,`access_id`,`target_map`,`target_position_x`,`target_position_y`,`target_position_z`,`target_orientation`) VALUES
#
(5635, 'Forge of Souls (Entrance)',5635,632,4922.86,2175.63,638.734,2.00355),
#
(5636, 'Halls of Reflection (Entrance)',5636,668,5239.01,1932.64,707.695,0.800565),
#
(5637, 'Pit of Saron (Entrance)',5637,658,435.743,212.413,528.709,6.25646),
#
(5642, 'Forge of Souls (Exit)',5642,571,5667.72,2007.19,798.042,2.31535),
#
(5644, 'Pit of Saron (Exit)',5643,571,5595.92,2013.02,798.041,0.648728),
#
(5646, 'Halls of Reflection (Exit)',5646,571,5630.59,1997.55,798.049,1.44042),
#
(5668, 'IceCrown Citadel (Exit)',5668,571,5790,2071.48,636.065,0.459897),
#
(5670, 'IceCrown Citadel (Entrance)',5670,631,76.8638,2211.37,30,3.14965),
#
(5683, 'Pit of Saron (Exit)',5683,571,5595.92,2013.02,798.041,0.648728),
#
(5688, 'Forge of Souls (Exit)',5688,571,5667.72,2007.19,798.042,2.31535);



Ha ez megtörtént akkor restartolod a szerveredet, és máris készen van Icecrown -ban ICC Raid, és Dungeon bejárata!, de FIGYELEM! EZ CSAK PORTÁL, NE SZÁMÍTSATOK FULL DROP, ÉS NPC SPAWN-RA!
Cím: Re:Icecrown Citadel - Entrances
Írta: ident Dátum 2010 május 09, 11:23:05 DÉLUTÁN
http://trinitydatabase.org/index.php?/topic/15494-objects-several-objects-for-icc/
http://trinitydatabase.org/index.php?/topic/14652-fix-icecrown-citadel-instance/
http://trinitydatabase.org/index.php?/topic/15136-creature-spawns-icc-from-sniff/

lootok
Cím: Re:Icecrown Citadel - Entrances
Írta: dReamer Dátum 2010 május 10, 12:04:03 DÉLELŐTT
Köszönöm, ezzel nagyon sokat segítettél! :)
Cím: Re:Icecrown Citadel - Entrances
Írta: dReamer Dátum 2010 május 11, 05:04:08 DÉLUTÁN
Ident, ha tudn
Cím: Re:Icecrown Citadel - Entrances
Írta: Szilárd Dátum 2010 május 11, 05:30:05 DÉLUTÁN
Az elsőnél csak a felső SET @guid :=XXX; -nél az XXX helyére kell beírnod az id-t :D
Cím: Re:Icecrown Citadel - Entrances
Írta: dReamer Dátum 2010 május 11, 06:10:17 DÉLUTÁN
:$ (L) k
Cím: Re:Icecrown Citadel - Entrances
Írta: Szilárd Dátum 2010 május 12, 03:43:13 DÉLUTÁN
Azt hogy
Cím: Re:Icecrown Citadel - Entrances
Írta: dReamer Dátum 2010 május 12, 05:29:14 DÉLUTÁN
Speed column nincs.
akkor mit
Cím: Re:Icecrown Citadel - Entrances
Írta: dReamer Dátum 2010 május 12, 05:47:33 DÉLUTÁN
Amikor importálni akarom a Mobokat, ezt a hibaüzenetet kapom:
Hiba

SQL-kérés:

INSERT 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`,`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`,`RacialLeader`,`questItem1`,`questItem2`,`questItem3`,`questItem4`,`questItem5`,`questItem6`,`movementId`,`Regen[...]

MySQL jelzi: Dokumentáció
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 206



MI lehet a hiba?:S
Cím: Re:Icecrown Citadel - Entrances
Írta: Szilárd Dátum 2010 május 12, 06:50:39 DÉLUTÁN

ALTER TABLE `creature_template` ADD COLUMN `speed` float NOT NULL default '1' AFTER `npcflag`;

Így néz ki helyesen. Ahogy te akartad úgy egyszerűen csak a végére berak 1 oszlopot.
Cím: Re:Icecrown Citadel - Entrances
Írta: Devis Dátum 2010 május 21, 12:32:49 DÉLUTÁN
http://trinitydatabase.org/index.php?/topic/15603-fos-faction-changes-for-heroic-mode/page__gopid__79492&#entry79492 (http://trinitydatabase.org/index.php?/topic/15603-fos-faction-changes-for-heroic-mode/page__gopid__79492&#entry79492)
az ebben a linkben szereplők nekem kicsit érthetetlenek, lehet én vok hülye :S
Cím: Re:Icecrown Citadel - Entrances
Írta: dReamer Dátum 2010 május 21, 03:21:16 DÉLUTÁN
Semmi, nem szoltam. Megold
Cím: Re:Icecrown Citadel - Entrances
Írta: Apoldar Dátum 2010 május 26, 09:36:17 DÉLELŐTT
Nekem ezek közül nem jó egyiksem :S Ident léci v.hova töltsd fel a creature-spawns-icct + a lootosat. Meg köszönném :)(L)  ::)


Idézetet írta: ident Dátum 2010 május 09, 11:23:05 DÉLUTÁN
http://trinitydatabase.org/index.php?/topic/15494-objects-several-objects-for-icc/
http://trinitydatabase.org/index.php?/topic/14652-fix-icecrown-citadel-instance/
http://trinitydatabase.org/index.php?/topic/15136-creature-spawns-icc-from-sniff/

lootok és egyebek:

http://trinitydatabase.org/index.php?/topic/15603-fos-faction-changes-for-heroic-mode/page__gopid__79492&#entry79492

Több minden is elő van készítve, de mostanában teacher sajna kicsit inaktív és nem tudtam még vele beszélni.
Cím: Re:Icecrown Citadel - Entrances
Írta: Devis Dátum 2010 május 26, 12:27:22 DÉLUTÁN
nekem mindegyik jó volt O.o
Cím: Re:Icecrown Citadel - Entrances
Írta: ident Dátum 2010 május 26, 06:07:20 DÉLUTÁN
Idézetet írta: Apoldar Dátum 2010 május 26, 09:36:17 DÉLELŐTT
Nekem ezek közül nem jó egyiksem :S Ident léci v.hova töltsd fel a creature-spawns-icct + a lootosat. Meg köszönném :)(L)  ::)


Idézetet írta: ident Dátum 2010 május 09, 11:23:05 DÉLUTÁN
http://trinitydatabase.org/index.php?/topic/15494-objects-several-objects-for-icc/
http://trinitydatabase.org/index.php?/topic/14652-fix-icecrown-citadel-instance/
http://trinitydatabase.org/index.php?/topic/15136-creature-spawns-icc-from-sniff/

lootok és egyebek:

http://trinitydatabase.org/index.php?/topic/15603-fos-faction-changes-for-heroic-mode/page__gopid__79492&#entry79492

Több minden is elő van készítve, de mostanában teacher sajna kicsit inaktív és nem tudtam még vele beszélni.

Talán ha be lennél regisztrálva a tdb oldalon...
Cím: Re:Icecrown Citadel - Entrances
Írta: Apoldar Dátum 2010 május 26, 11:03:59 DÉLUTÁN
 ;D
Cím: Re:Icecrown Citadel - Entrances
Írta: aaronka Dátum 2010 június 01, 09:04:59 DÉLUTÁN
Sziasztok!

Nekem a teleportal van gond. Lerakom és a menüje nem nyílik meg.

http://www.wowhead.com/object=202242 (http://www.wowhead.com/object=202242)

(http://kepfeltoltes.hu/thumb/100601/WoWScrnShot_060110_212534_www.kepfeltoltes.hu_.jpg) (http://kepfeltoltes.hu/view/100601/WoWScrnShot_060110_212534_www.kepfeltoltes.hu_.jpg)
Cím: Re:Icecrown Citadel - Entrances
Írta: Action Dátum 2010 június 01, 09:52:03 DÉLUTÁN
Idézetet írta: aaronka Dátum 2010 június 01, 09:04:59 DÉLUTÁN
Sziasztok!

Nekem a teleportal van gond. Lerakom és a menüje nem nyílik meg.

http://www.wowhead.com/object=202242 (http://www.wowhead.com/object=202242)

(http://kepfeltoltes.hu/thumb/100601/WoWScrnShot_060110_212534_www.kepfeltoltes.hu_.jpg) (http://kepfeltoltes.hu/view/100601/WoWScrnShot_060110_212534_www.kepfeltoltes.hu_.jpg)

Script szerintem megoldhatja. :)
Most tárgyalok Girosz barátunkkal, és ha megértem, akkor megírom szívesen, de még csak ma kezdtem. :D

Edit:
Hova visznek a teleportok?
Mik a menük?
És a koordinátákat tudod?

Edit2:

The Lower Citadel
The Rampart of Skulls
Deathbringer's Rise
The Frost Queen's Lair
The Upper Reaches
Royal Quarters
The Frozen Throne
Frostmourne

Ide kellene, én is kinézhetem de az időbe fog telni. :)
Cím: Re:Icecrown Citadel - Entrances
Írta: Athmor Dátum 2010 június 01, 09:58:27 DÉLUTÁN
Próbáld meg gossip_script-tel.
www.trinitycore.info (http://www.trinitycore.info)

Itt beírod azt a táblát, ami kell neked hozzá és kinézed belőle az adatokat.
Cím: Re:Icecrown Citadel - Entrances
Írta: Girosz Dátum 2010 június 01, 11:24:10 DÉLUTÁN
A kérdés sokkal inkább a koordinátákra vonatkozott, mint az elkészítési módra.  ;D
Cím: Re:Icecrown Citadel - Entrances
Írta: Action Dátum 2010 június 01, 11:26:38 DÉLUTÁN
Majd holnap lenézem a koordinátákat, és remélhetőleg meg tudom írni a működő scriptet.

"Megírni", összeollózni. :D
Cím: Re:Icecrown Citadel - Entrances
Írta: Athmor Dátum 2010 augusztus 01, 10:36:47 DÉLUTÁN
Idézetet írta: Ideal Dátum 2010 május 11, 05:04:08 DÉLUTÁN
Ident, ha tudnál segíteni megköszönném.

A problémám az lenne hogy ha ráérsz és van páróra szabadidőd, akkor ezeket megcsinálnád e nekem:
http://pastebin.com/TD4rWvxc (http://pastebin.com/TD4rWvxc) - itt GUID ot kellene átírni valami customre. (322990 fölé mehet az ID) - Köszönöm, megoldásra került a probléma, hála: Zoomika-nak!
http://pastebin.com/M1pp4EMS (http://pastebin.com/M1pp4EMS) - itt a speed-et, és a hozzá tartozó értékét kellene kivenni mindenhonnan, mert TrinityCore 2-s DBmben nincs ilyen táblázat, viszont én a héten 16órában dolgozni fogok és nincs rá időm.

A megoldások nem csak nekem, hanem mindenki számára nagy segítség lenne.


Ne értsen félre senki, nem megakarom ezzel úszni ezt az időt, csak szimplán nincs rá időm.
Ha nem érsz rá Te sem, akkor bocsánat a zavarásért, és akkor szépen aprólékosan megcsinálom. (feltöltöm majd egy oldalra ha kész van, és akkor már elérhető lesz mindenkinek ehhez a DB fajtához.)



Ha segítesz akkor nagyon szépen köszönöm, +respect, és +kindness.


A speed-es gondra a legeslegegyszerűbb az, ha a speed mellé hozzáírod hogy _walk, mert 1-en van a speedje mindegyiknek. A speed_run-t meg automatikusan hozzácsapja a db.