logo headerlogo header right
Wróć   Forum WoW-Center @ WoW-Center.pl > TrinityCore/OregonCore > Instrukcje i porady


                                                     
Legend:   Active Tags   Preferred Tags   
Forum/ Thread Tag Cloud   (Top 61 Tags)
2.4.3 255 level addony gm arcemu autorestarter balance blizzard bug c++ cdysk core dodawanie budynków mangos druid error feral freebsd fuzja serwera gotowiec gotowiec3.3.2 gtgamin wow gtg rivendare gtg wow kompilacja kompilacja mangos linux konto level77 lvl77 magosa mangos mix modspora pod problem rejestracja rewizje mangos rivendare rivendare gtgaming rospora serwer wow skryptowanie skryptowanie lua skrypt zmiany rasy smieszne spelle strona style wordpress tbc tc 3.3.2 trinity trinitycore tworzenie portali tworzenie questów versus vipwow wielki windows windowsem world of warcraft wow youtube zainstalowanie

Tags
Brak
Odpowiedz
 
LinkBack Narzędzia wątku Wygląd
  #1 (permalink)  
stare 24-07-09, 10:41
Avatar Lukas
 
Zarejestrowany: lut 2009
Postów: 835
Thanks: 5
Thanked 104 Times in 94 Posts
Lukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond repute
Domyślnie Jak dodac item badz poprawke do bazy.

Jest to bardzo proste jednak niektórzy sobie z tym nie radzą. Dlatego postanowiłem napisać krótki tutek. Mam nadzieję, że się przyda
Zakładam, że itemy będziesz robił na wow-v.com.
Będziemy także korzystać z Navicat Lite. Więc zanim przystąpisz do czytania dalszej części ściągnij sobie darmową wersję

1. Wejdź na WoW-V.com i się zarejestruj.
2. Stwórz swój item. Zjeżdżasz na dół strony i naciskasz "submit":
3. Wybierz opcję "Download". Wybierasz emu i Rev. Zapisz gdzieś plik .sq
4. Uruchom MySQL na swoim komputerze.

4. Skoro masz już plik. sql musisz go dodać jakoś do bazy....Przypuszczam, że już zainstalowałeś Navicat'a.

Jeżeli jeszcze nie nie stworzyłeś połączenia do swojego serwera przeczytaj tą część.
Jeżeli natomiast już nawiązałeś połączenie ze swoim serwerem możesz to ominąć.

Zacznijmy:

- Otwórz Navicat'a
- Kliknij na Connection

Teraz wypełnij pola:

Connection Name: Nazwa połączenia. Daj np "mój serwer"
Host name/IP address: localhost
Port: Nie zmieniaj
User name: Nazwa użytkownika bazy MySQL
Password: Hasło do bazy MySQL

- Kliknij na Test Connection. Jeżeli będzie "success" to znaczy, że Navicat prawidłowo się połączył. Jeżeli się nie połączył prawidłowo to sam myśl czemu

5. Teraz Kliknij na bazę "world". Ok powinna się "zaświecić" na zielono, co oznacza, że połączyłeś się z nią.

6. Kliknij ppm na "world"-->Execute Batch file-->znajdź i wybierz swój item, który wcześniej stworzyłeś.

7. Kliknij na Start. Powinno się wgrać bez żadnego error'a.

8. Przeładuj tabelę." (niekiedy wymaga restartu serwera)

To wszystko. W grze dodaj sobie swój item
__________________
Nie pomagam na GG
http://www.lukas.wow-center.pl/
Zajmuję się instalowaniem cm-sów, modów, modyfikacjami flash, php, xml, xhtml, java script.
Skryptami php, sql.
Odpowiedź z Cytatem
The Following 3 Users Say Thank You to Lukas For This Useful Post:
jajcarz1 (06-02-10), Karolus250 (12-03-10), triki41 (28-02-10)
  #2 (permalink)  
stare 14-08-09, 23:47
 
Zarejestrowany: cze 2009
Postów: 49
Thanks: 0
Thanked 1 Time in 1 Post
Katoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond repute
Domyślnie Re: Jak dodaÄ? item bÄ?dz poprawke do bazy.

A co zrobić w sytuacji kiedy Wow-v.com nie tworzy tabeli stackcount wymaganej w TrinityCore ...
Odpowiedź z Cytatem
  #3 (permalink)  
stare 15-08-09, 10:28
Avatar Lukas
 
Zarejestrowany: lut 2009
Postów: 835
Thanks: 5
Thanked 104 Times in 94 Posts
Lukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond repute
Domyślnie Re: Jak dodaÄ? item bÄ?dz poprawke do bazy.

Dodać do zapytania z wow-v zmiankę o tej tabeli ręcznie.
__________________
Nie pomagam na GG
http://www.lukas.wow-center.pl/
Zajmuję się instalowaniem cm-sów, modów, modyfikacjami flash, php, xml, xhtml, java script.
Skryptami php, sql.
Odpowiedź z Cytatem
  #4 (permalink)  
stare 15-08-09, 12:28
 
Zarejestrowany: cze 2009
Postów: 49
Thanks: 0
Thanked 1 Time in 1 Post
Katoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond repute
Domyślnie Re: Jak dodaÄ? item bÄ?dz poprawke do bazy.

Czyli co mam pod tym rozumiec? Ze w pliku sql mam dopisac recznie tabele statscount? Tylko ze to musi byc w odpowiednim miejscu a mangos od połowy różni się całkiem od trinity w pliku template item .

[Err] 1054 - Unknown column 'StatsCount' in 'field list'
[Err] INSERT INTO item_template (entry, class, subclass, unk0, name, displayid, Quality, Flags, BuyCount, BuyPrice, SellPrice, InventoryType, AllowableClass, AllowableRace, ItemLevel, RequiredLevel, RequiredSkill, RequiredSkillRank, requiredspell, requiredhonorrank, RequiredCityRank, RequiredReputationFaction, RequiredReputationRank, maxcount, stackable, ContainerSlots, stat_type1, stat_value1, stat_type2, stat_value2, stat_type3, stat_value3, stat_type4, stat_value4, stat_type5, stat_value5, stat_type6, stat_value6, stat_type7, stat_value7, stat_type8, stat_value8, stat_type9, stat_value9, stat_type10, stat_value10, dmg_min1, dmg_max1, dmg_type1, dmg_min2, dmg_max2, dmg_type2, armor, holy_res, fire_res, nature_res, frost_res, shadow_res, arcane_res, delay, ammo_type, RangedModRange, spellid_1, spelltrigger_1, spellcharges_1, spellcooldown_1, spellcategory_1, spellcategorycooldown_1, spellid_2, spelltrigger_2, spellcharges_2, spellcooldown_2, spellcategory_2, spellcategorycooldown_2, spellid_3, spelltrigger_3, spellcharges_3, spellcooldown_3, spellcategory_3, spellcategorycooldown_3, spellid_4, spelltrigger_4, spellcharges_4, spellcooldown_4, spellcategory_4, spellcategorycooldown_4, spellid_5, spelltrigger_5, spellcharges_5, spellcooldown_5, spellcategory_5, spellcategorycooldown_5, bonding, description, PageText, LanguageID, PageMaterial, startquest, lockid, Material, sheath, RandomProperty, RandomSuffix, block, itemset, MaxDurability, area, Map, BagFamily, TotemCategory, socketColor_1, socketContent_1, socketColor_2, socketContent_2, socketColor_3, socketContent_3, socketBonus, GemProperties, RequiredDisenchantSkill, ArmorDamageModifier, ScriptName, DisenchantID, StatsCount)
VALUES (50003, 2, 1, -1, "Canibal Axe", 53943, 4, 0, 0, 0000, 0000, 17, -1, -1, 270, 70, 0, 0, 0, 0, 0, 0, 0, 40, 1, 0, 7, 108, 4, 90, 31, 39, 32, 70, 35, 53, 38, 300, 0, 0, 0, 0, 0, 0, 0, 0, 500, 700, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3500, 0, 0, 0, 0, 0, 0, 0, 0, 43902, 1, 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, 1, 1, 0, 0, 0, 0, 160, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0, 3355, 0, 0, 0, 'internalitemhanler', 0, 10);
[Msg] Finished - Unsuccessfully
--------------------------------------------------
Co mam teraz zrobic|?
Odpowiedź z Cytatem
  #5 (permalink)  
stare 15-08-09, 12:52
Avatar Lukas
 
Zarejestrowany: lut 2009
Postów: 835
Thanks: 5
Thanked 104 Times in 94 Posts
Lukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond repute
Domyślnie Re: Jak dodaÄ? item bÄ?dz poprawke do bazy.

Jaka baza danych udb? 2.4.3 czy 3.1.3?
W twoim zapytaniu jest StatsCount a takiej tabeli nie ma. (chyba )
__________________
Nie pomagam na GG
http://www.lukas.wow-center.pl/
Zajmuję się instalowaniem cm-sów, modów, modyfikacjami flash, php, xml, xhtml, java script.
Skryptami php, sql.
Odpowiedź z Cytatem
  #6 (permalink)  
stare 15-08-09, 14:27
 
Zarejestrowany: cze 2009
Postów: 49
Thanks: 0
Thanked 1 Time in 1 Post
Katoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond reputeKatoo has a reputation beyond repute
Domyślnie Re: Jak dodaÄ? item bÄ?dz poprawke do bazy.

Baza to 2.4.3 twój gotowiec. W item StatsCount jest ale niema go w bazie item template. Czyli rozumiem ze mam usunąć statscount?
Odpowiedź z Cytatem
  #7 (permalink)  
stare 16-08-09, 11:01
Avatar Lukas
 
Zarejestrowany: lut 2009
Postów: 835
Thanks: 5
Thanked 104 Times in 94 Posts
Lukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond repute
Domyślnie Re: Jak dodaÄ? item bÄ?dz poprawke do bazy.

Połącz się z bazą przez phpmyadmin, wejdź do tabeli item_template policz wszystkie komórki później te z zapytania:
Kod:
INSERT INTO item_template (entry, class, subclass, unk0, name, displayid, Quality, Flags, BuyCount, BuyPrice, SellPrice, InventoryType, AllowableClass, AllowableRace, ItemLevel, RequiredLevel, RequiredSkill, RequiredSkillRank, requiredspell, requiredhonorrank, RequiredCityRank, RequiredReputationFaction, RequiredReputationRank, maxcount, stackable, ContainerSlots, stat_type1, stat_value1, stat_type2, stat_value2, stat_type3, stat_value3, stat_type4, stat_value4, stat_type5, stat_value5, stat_type6, stat_value6, stat_type7, stat_value7, stat_type8, stat_value8, stat_type9, stat_value9, stat_type10, stat_value10, dmg_min1, dmg_max1, dmg_type1, dmg_min2, dmg_max2, dmg_type2, armor, holy_res, fire_res, nature_res, frost_res, shadow_res, arcane_res, delay, ammo_type, RangedModRange, spellid_1, spelltrigger_1, spellcharges_1, spellcooldown_1, spellcategory_1, spellcategorycooldown_1, spellid_2, spelltrigger_2, spellcharges_2, spellcooldown_2, spellcategory_2, spellcategorycooldown_2, spellid_3, spelltrigger_3, spellcharges_3, spellcooldown_3, spellcategory_3, spellcategorycooldown_3, spellid_4, spelltrigger_4, spellcharges_4, spellcooldown_4, spellcategory_4, spellcategorycooldown_4, spellid_5, spelltrigger_5, spellcharges_5, spellcooldown_5, spellcategory_5, spellcategorycooldown_5, bonding, description, PageText, LanguageID, PageMaterial, startquest, lockid, Material, sheath, RandomProperty, RandomSuffix, block, itemset, MaxDurability, area, Map, BagFamily, TotemCategory, socketColor_1, socketContent_1, socketColor_2, socketContent_2, socketColor_3, socketContent_3, socketBonus, GemProperties, RequiredDisenchantSkill, ArmorDamageModifier, ScriptName, DisenchantID, StatsCount)
Porównaj której nie ma a która nie ma być, jak już wiesz która w kolejności to dodajesz do kodu i do zapytania, jeśli nie wiesz jaką wartość wpisać wpisz 0.. jak będę miał trochę czasu sam to sprawdzę.



VALUES (50003, 2, 1, -1, "Canibal Axe", 53943, 4, 0, 0, 0000, 0000, 17, -1, -1, 270, 70, 0, 0, 0, 0, 0, 0, 0, 40, 1, 0, 7, 108, 4, 90, 31, 39, 32, 70, 35, 53, 38, 300, 0, 0, 0, 0, 0, 0, 0, 0, 500, 700, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3500, 0, 0, 0, 0, 0, 0, 0, 0, 43902, 1, 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, 1, 1, 0, 0, 0, 0, 160, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0, 3355, 0, 0, 0, 'internalitemhanler', 0, 10);
__________________
Nie pomagam na GG
http://www.lukas.wow-center.pl/
Zajmuję się instalowaniem cm-sów, modów, modyfikacjami flash, php, xml, xhtml, java script.
Skryptami php, sql.

Ostatnio edytowane przez Lukas ; 01-10-09 o 16:23
Odpowiedź z Cytatem
  #8 (permalink)  
stare 06-02-10, 14:12
Avatar jajcarz1
 
Zarejestrowany: lut 2010
Skąd: Nidzica
Postów: 43
Thanks: 6
Thanked 1 Time in 1 Post
jajcarz1 is on a distinguished road
Domyślnie

Cytat:
Napisał Lukas Zobacz post
5. Teraz Kliknij na bazę "world". Ok powinna się "zaświecić" na zielono, co oznacza, że połączyłeś się z nią.
Nie widzę bazy world:

Co robię źle?
Odpowiedź z Cytatem
  #9 (permalink)  
stare 06-02-10, 15:00
Avatar Lukas
 
Zarejestrowany: lut 2009
Postów: 835
Thanks: 5
Thanked 104 Times in 94 Posts
Lukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond reputeLukas has a reputation beyond repute
Domyślnie

Wygląda na to że nie ma w twojej bazie mysql, bazy world
__________________
Nie pomagam na GG
http://www.lukas.wow-center.pl/
Zajmuję się instalowaniem cm-sów, modów, modyfikacjami flash, php, xml, xhtml, java script.
Skryptami php, sql.
Odpowiedź z Cytatem
  #10 (permalink)  
stare 06-02-10, 15:42
Avatar jajcarz1
 
Zarejestrowany: lut 2010
Skąd: Nidzica
Postów: 43
Thanks: 6
Thanked 1 Time in 1 Post
jajcarz1 is on a distinguished road
Domyślnie

Da się coś z tym zrobić? ;[ Czy lepiej mam sobie darować? Może mam to jakiejś innej bazy wsadzić?
Odpowiedź z Cytatem
Odpowiedz
Narzędzia wątku
Wygląd

Zasady postowania
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Włączony
EmotikonyWłączony
[IMG] kod jest Włączony
HTML kod jest Wyłączony
Trackbacks are Włączony
Pingbacks are Włączony
Refbacks are Włączony






vBulletin skin by: Alba-Design.Info
MyTranslator by Cionfs & Giangy94
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Czasy w strefie GMT +2. Teraz jest 21:36.
WoW-Center by Lukas