blackmetalz
Members-
Posts
29 -
Joined
-
Last visited
About blackmetalz
Recent Profile Visitors
824 profile views
blackmetalz's Achievements
Newbie (1/14)
2
Reputation
-
case 58730: // No fly Zone - Wintergrasp case 91604: // No fly Zone - Wintergrasp { if (!player) return false; Battlefield* Bf = sBattlefieldMgr->GetBattlefieldToZoneId(player->GetZoneId()); if (!Bf || Bf->CanFlyIn() || (!player->HasAuraType(SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED) && !player->HasAuraType(SPELL_AURA_FLY))) return false; break; } Here it is. Look like i must do a script that do check if player use mount in map wintergrasp, and that spell can fly, apply Restricted fly aura immediately
-
Tried and it does not work . This is so hard to make it done =.=. I changed flags in DBC and it does not work too!
-
Hi guys, i currently have problem with make a zone no fly, example: Wintergrasp I changed Flag DBC to no flyzone, i still can fly in that zone. in C++ i use this script: class restricted_fly : public PlayerScript{public: restricted_fly() : PlayerScript("restricted_fly") { } void OnUpdateZone(Player* player, uint32 newZone, uint32 newArea) { if (newArea == 4197 ) // Change to your areaId { player->CastSpell(player, 58600); // Restricted Flight player->GetSession()->SendNotification("You aren't allowed to fly here!"); } }};void AddSC_restricted_fly(){ new restricted_fly;} It was only useable for onzoneupdate, when player in that zone, player still can use mount to fly. How i can do this?
-
How do i fix the npc phase bugg? (invisible npcs for players)
blackmetalz replied to Chyssler's topic in Resolved
What emulator you are using, if i dont remember wrong, in 335a i had to remove visible flag or something like that in table creature_addons or creature_template_addons -
I mean it run forevers LOL. I used SQLYog so it would be not problem. Or maybe my query is fail
-
Hi, i'm going to clean some start up errors. One of query that i used is: DELETE FROM creature_loot_template WHERE entry NOT IN ( SELECT lootid FROM creature_template WHERE lootid!=0); But don't know why it get stuck. =.=
-
Change Security level in Table Command ( World DB ) with your account gmlevel. Then you will able to use any command.
-
Use your IP instead of No-IP. It would cause problem, if you want to use DNS, purchase a domain then
-
Thank you
-
Hi i'm having some problem I got 2 type of error: difficulty x mode entry xxx with `AIName` filled in. `AIName` of difficulty 0 mode creature is always used instead. Creature (Entry: xx) lists difficulty xx mode entry xxxwith `ScriptName` filled in. `ScriptName` of difficulty 0 mode creature is always used instead. So my fix is: UPDATE creature_template SET difficulty_entry_x=0 where AIName='SmartAI'; UPDATE creature_template SET difficulty_entry_x=0 where ScriptName NOT NULL; I want to ask if i update my DB with that querys, is it wrong or not? Ofc errorlog about it will gone.
-
No. I'm not running 3.3.5a . 4.3.4 Only . Thanks for your support
-
Just don't what need to do with this. Maybe i'm fail with this -.- And this is for 335a, not for 4.3.4 :-<
-
After use that script. Create Team cost 40gold. Ok. But if you click create team again one or 2 times, server being freeze.. And i don't see gossip that i can enter arena. Picture:
-
After comment line that make crash Server. Added NPC with script named: npc_1v1arena following in code: CreatureScript("npc_1v1arena") When i click into NPC. No gossip appear ( NPC has npcflag=1 )
-
No, i'm not . I'm using this https://github.com/BlackMetalz/WoWSource434 Can you spend a little time to help me