-
[RELEASE]Gabi's world!Latest ascent core rev. 4533 with customs!Spirit healers fixed!
Core Releases
Rev. 4533 (More fixes, you can now use .levelup , it's better than .mod level)
Rev. 4521 (world.conf changed, replace yours with the one in the repack)
Rev. 4513
Rev. 4512 (added sql folder with all core sql updates)
Rev. 4499
Rev4490a
(Spirit healer fix, make sure u update the last line in ascent-world.conf to match this, all my next releases will have this fix until burlex fix it)
PHP Code:
<Moon spirithealer="1" Quiz="1" UnDeath="1" WishBook="1" EventChat="1" Trivia="1" TriviaTime="30000" Announcer ="1" AnouncerTime="300000" PvPToken="1" PvPTokenID="26045" PvPKillAnnounce="1" DJ="1" Portals="1" StripperNPC="1" WarpNPC="1" MorphNPC="1" HealNPC="1" L70etc="1" MounterNPC="1" BuffNPC="1" CoinNPC="1" Warper="1" MountItem="1" Max_SkillNPC="1">
Rev.4490 (replace this dll in script_bin and update the last line in ascent-world.conf if you want to have the spirit healers fix, rev4490a allready have it) Download dll
Rev.4487
Rev. 4477
Latest database with quest trainers working, custom stuff included and level road started
Gabi's database rev 2 (from now on i'll only post the updates, in this database i have full ABD 131 + many fixes, quests and trainers work)
Gabi's database rev 1
Blizzlike database, TRAINERS AND QUESTS WORK FOR 2.4.X
DOWNLOAD IT
(this database doesn't have the custom stuff in it you need to add it for the custom stuff to work, i'll post a database with all custom stuff added)
World Database(Ascent Blizzlike Database)
ADB rev 118(IT HAVE SOME BUGS :( )
Character database
enGB 2.4
enUS 2.4
Custom updates and infos
Custom stuff SQL
Readme First (If you keep your conf files please read Readme First)
Included customs:
- Database configurable warp item
- Morph npc (many morphs added)
- PvP Token system with announce
- and some other not so important like stripper ...
- Improved hack detection, use vmaps for best results!
Custom commands available to players and gm's:
- Players #event (teleport the player to the location where the gm said #eventon)
- Gm's #eventoff (disable the player event command to teleport to that location)
- Players can use: .start (teleport the player to start position)
- Players can use: .unstuck (teleport the player to start position and revive them use /g .unstuck if you are dead :) that means say it in guild)
- None of those commands can't be used while in combat
None of the releases contain the maps/vmaps, but i included every other file needed by the server.
Allways using the latest Moon++ and LUA
All releases are compiled with VS2008 and require .net Framework 3.5.
All releases will have collision enabled so dont forget to extract the Vmaps.
All releases are intended for use with patch 2.4.x
Universal Map Extractor -- (Compiled by Kameleon20)
enUS DBC Extractor
enGB DBC Extractor
Latest Vmap extractor & assembler
Vmaps 2.4.x latest
-
Re: [RELEASE]Gabi's world! Latest ascent core rev. 4490 with customs!
If any1 want's that ActionHouse Bot, AHBOT in the release ask me, i can put it, but the way Ultra Spidey made it you have to put the items in a table in the database, it's a long story, you can read his post Ascent Forums • View topic - [Release] AHBot
I'll edit it and make it like in Mangos, so you will only specify how many white,green, orange items you want and it will automatically put random items in AH :) I'm working on it now
-
Re: [RELEASE]Gabi's world! Latest ascent core rev. 4490 with customs!
Curcubeu could you please share the source of portable teleporter? That would be awesome
-
Re: [RELEASE]Gabi's world! Latest ascent core rev. 4490 with customs!
-
Re: [RELEASE]Gabi's world! Latest ascent core rev. 4490 with customs!
Do you still have the source code of previous version of gabi's world? The one with all global locations, rez sickness remove, map illumine etc? That was great item :)
-
Re: [RELEASE]Gabi's world! Latest ascent core rev. 4490 with customs!
yes, here is the code:
Code:
//--------------------------------------//
// ControlPanel.cpp //
//--------------------------------------//
// Created by Gastricpenguin. With //
// some tips here and there. If you //
// release this, you need the proper //
// permission. If you do not give the //
// proper credits, and don't even have //
// permission, then you're most def //
// going to be banned. Anyway, enjoy! //
//--------------------------------------//
#include "StdAfx.h"
#include "Setup.h"
#ifdef WIN32
#pragma warning(disable:4305)
#endif
class SCRIPT_DECL CPanel : public GossipScript
{
public:
void GossipHello(Object * pObject, Player* Plr , bool AutoSend);
void GossipSelectOption(Object * pObject, Player* Plr, uint32 Id, uint32 IntId, const char * Code);
void GossipEnd(Object * pObject, Player* Plr);
void Destroy()
{
delete this;
}
};
void CPanel::GossipHello(Object* pObject, Player * Plr, bool AutoSend)
{
if(Plr->CombatStatus.IsInCombat()){
Plr->BroadcastMessage("You are in combat!");
return;
}
GossipMenu *Menu;
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2593, Plr);
Menu->AddItem(0, "-|Welcome to your Control Panel|-");
Menu->AddItem(2, "Main City Teleports", 8);
Menu->AddItem(6, "Show Online GMs", 4);
Menu->AddItem(6, "Show Online Players", 19);
Menu->AddItem(4, "Global Options", 1);
Menu->AddItem(3, "Player Options", 2);
if(AutoSend)
Menu->SendTo(Plr);
}
void CPanel::GossipSelectOption(Object* pObject, Player* Plr, uint32 Id, uint32 IntId, const char * Code)
{
GossipMenu * Menu;
switch(IntId)
{
case 1:
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2593, Plr);
Menu->AddItem(4, "Open Flight Paths [10 gold]", 10);
Menu->AddItem(4, "Discover Map Locations [10 gold]", 21);
Menu->AddItem(4, "Advance All Skills [5 gold]", 20);
Menu->SendTo(Plr);
}
break;
case 2:
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2593, Plr);
Menu->AddItem(3, "Reset Talentpoints [10 gold]", 9);
// Menu->AddItem(5, "Access My Bank", 5); ---- Converting Creatures to an Object is a bitch
// Menu->AddItem(3, "Repair My Items", 6); ---- Not finished.. figures >.>
Menu->AddItem(3, "Player Save", 7);
Menu->AddItem(3, "Latency", 22);
Menu->SendTo(Plr);
}
break;
case 4:
{
bool first = true;
PlayerStorageMap::const_iterator itr;
objmgr._playerslock.AcquireReadLock();
for (itr = objmgr._players.begin(); itr != objmgr._players.end(); itr++)
{
if(itr->second->GetSession()->GetPermissionCount())
{
if(first)
Plr->BroadcastMessage("The following GMs are currently online:");
Plr->BroadcastMessage("%s", itr->second->GetName());
Plr->Gossip_Complete();
first = false;
}
}
objmgr._playerslock.ReleaseReadLock();
if(first)
Plr->BroadcastMessage("There are no GMs currently online.");
Plr->Gossip_Complete();
}
break;
/* If anyone has a clue as to how i open a bank from a creature, using an item? Cuz im stumped o.o */
// case 5:
// {
// Plr->GetSession()->SendBankerList(pCreature);
// }
// break;
/* I just haven't finished this one yet. */
// case 6:
// {
// Plr->SetUInt32Value( ITEM_FIELD_DURABILITY, m_itemProto->MaxDurability );
// Plr->Gossip_Complete();
// }
// break;
case 7:
{
Plr->SaveToDB(true);
Plr->BroadcastMessage("Your Character Has Been Succesfully Saved to the Database");
Plr->Emote(EMOTE_ONESHOT_CHEER);
Plr->Gossip_Complete();
}
break;
case 8:
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2593, Plr);
if(Plr->getRace()== 10||Plr->getRace()== 2||Plr->getRace()== 6||Plr->getRace()== 8||Plr->getRace()== 5)
{
Menu->AddItem(2, "Silvermoon", 11);
Menu->AddItem(2, "Orgrimmar", 12);
Menu->AddItem(2, "Thunderbluff", 13);
Menu->AddItem(2, "UnderCity", 14);
}
else
{
Menu->AddItem(2, "The Exodar", 17);
Menu->AddItem(2, "Stormwind", 18);
Menu->AddItem(2, "Ironforge", 15);
Menu->AddItem(2, "Darnassus", 16);
}
Menu->SendTo(Plr);
}
break;
case 9:
{
uint32 price = 100000;
uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
if (currentgold>=price){
int32 newgold = currentgold - price;
Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
Plr->BroadcastMessage("Your Talentpoints have been sucessfully reset!");
Plr->Reset_Talents();
Plr->Gossip_Complete();
} else {
Plr->BroadcastMessage("You don't have enough money to afford a talent reset!");
Plr->Gossip_Complete();
}
}break;
case 10:
{
uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
if(currentgold>100000)
{
int32 newgold = currentgold - 100000;
Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
for (uint8 i=0; i<8; i++)
{
Plr->SetTaximask(i, 0xFFFFFFFF);
}
Plr->BroadcastMessage("All flight paths have been opened!");
Plr->Gossip_Complete();
}
else
{
Plr->BroadcastMessage("Sorry, you don't have enought gold.");
Plr->Gossip_Complete();
}
}break;
case 11:
{
Plr->EventTeleport(530, 9400.486328, -7278.376953, 14.206780);}
break;
case 12:
{
Plr->EventTeleport(1, 1371.068970, -4370.801758, 26.052483);}
break;
case 13:
{
Plr->EventTeleport(1, -1304.569946, 205.285004, 68.681396);}
break;
case 14:
{
Plr->EventTeleport(0, 2050.203125, 285.650604, 56.994549);}
break;
case 15:
{
Plr->EventTeleport(0, -5028.265137, -825.976563, 495.301575);}
break;
case 16:
{
Plr->EventTeleport(1, 9985.907227, 1971.155640, 1326.815674);}
break;
case 17:
{
Plr->EventTeleport(530, -4072.202393, -12014.337891, -1.277277);}
break;
case 18:
{
Plr->EventTeleport(0, -9100.480469, 406.950745, 92.594185);}
break;
case 19:
{
uint32 clientsNum = (uint32)sWorld.GetSessionCount();
Plr->BroadcastMessage("Current Players Online: %d", clientsNum);
Plr->Gossip_Complete();
}break;
case 20:
{
uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
if(currentgold>50000){
int32 newgold = currentgold - 50000;
Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
if (Plr->_HasSkillLine(43))
{Plr->_AdvanceSkillLine(43, 350);}
if (Plr->_HasSkillLine(55))
{Plr->_AdvanceSkillLine(55, 350);}
if (Plr->_HasSkillLine(44))
{Plr->_AdvanceSkillLine(44, 350);}
if (Plr->_HasSkillLine(95))
{Plr->_AdvanceSkillLine(95, 350);}
if (Plr->_HasSkillLine(54))
{Plr->_AdvanceSkillLine(54, 350);}
if (Plr->_HasSkillLine(45))
{Plr->_AdvanceSkillLine(45, 350);}
if (Plr->_HasSkillLine(46))
{Plr->_AdvanceSkillLine(46, 350);}
if (Plr->_HasSkillLine(136))
{Plr->_AdvanceSkillLine(136, 350);}
if (Plr->_HasSkillLine(160))
{Plr->_AdvanceSkillLine(160, 350);}
if (Plr->_HasSkillLine(162))
{Plr->_AdvanceSkillLine(162, 350);}
if (Plr->_HasSkillLine(172))
{Plr->_AdvanceSkillLine(172, 350);}
if (Plr->_HasSkillLine(173))
{Plr->_AdvanceSkillLine(173, 350);}
if (Plr->_HasSkillLine(176))
{Plr->_AdvanceSkillLine(176, 350);}
if (Plr->_HasSkillLine(226))
{Plr->_AdvanceSkillLine(226, 350);}
if (Plr->_HasSkillLine(228))
{Plr->_AdvanceSkillLine(228, 350);}
if (Plr->_HasSkillLine(229))
{Plr->_AdvanceSkillLine(229, 350);}
if (Plr->_HasSkillLine(473))
{Plr->_AdvanceSkillLine(473, 350);}
Plr->Gossip_Complete();
}else{
Plr->BroadcastMessage("Sorry, you don't have enought gold.");
Plr->Gossip_Complete();
}
}break;
case 21:
{
uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
if(currentgold>100000)
{
int32 newgold = currentgold - 100000;
Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
for (uint8 i=0; i<64; i++)
{
Plr->SetFlag(PLAYER_EXPLORED_ZONES_1+i,0xFFFFFFFF);
}
Plr->BroadcastMessage("All Map Locations have been opened!");
Plr->Gossip_Complete();
}
else
{
Plr->BroadcastMessage("Sorry, you don't have enought gold.");
Plr->Gossip_Complete();
}
}break;
case 22:
{
Plr->BroadcastMessage("|cffff0000 Your Latency: %i ms", Plr->GetSession()->GetLatency());
Plr->Gossip_Complete();
}break;
}
};
void CPanel::GossipEnd(Object * pObject, Player* Plr)
{
GossipScript::GossipEnd(pObject, Plr);
}
void SetupCPanel(ScriptMgr * mgr)
{
GossipScript * gs = (GossipScript*) new CPanel();
mgr->register_item_gossip_script(87562,gs);
}
PS- test them first, if i remember corectly i had to comment some of the functions and i added more, this is the initial code, no changes, and you need to create a item, here is the sql:(if the sql doesn't work just make a item with id 87562 .. :p you know better...
PHP Code:
INSERT INTO `items` VALUES ('87562', '8', '-1', '-1', 'Control Panel', '', '', '', '35133', '3', '0', '1', '0', '0', '-1', '-1', '100', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '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', '33208', '0', '0', '-1', '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', 'Your personal controls.', '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');
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4490 with customs!Spirit healers fi
can any1 post the missing spells and the required level to learn them? i can make the players autolearn those spells when they reach that level :)
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4512 with customs!Spirit healers fi
Hi, curcubeu.
Something went wrong:
1) about "huge quest bug ( u need money to finish)" you proposed this solution:
PHP Code:
alter table quests add column RequiredTradeskillValue int(5) unsigned default 0 not null after RequiredTradeskill;
but it don't work. I downloaded your last release 4512, rul all Sql updates/fixes, but still problem persists.
2) In your release 4512, SpellHandlers.dll is wrong version:
http://img254.imageshack.us/img254/7...rrorxw4.th.jpg
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4512 with customs!Spirit healers fi
Curcubeu, you have understood me wrong ;]
I need the source code of portable teleporter you used here:
http://forum.ragezone.com/f434/relea...8/#post3282935
Because it is very good teleporter with all locations
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4512 with customs!Spirit healers fi
oh, ok, here it is: uncomment the options you want, i didn't need them on my release, and ine of them crash the server, didn't had time to look into it( Open all FlightPaths if i remember corectly, if you fix it post the fix pls ) Thanks
Code:
//Title of Script: Portable Teleporter
//Description of Script: Teleports people to major citys with a item teleporter.
//Author: Aldaus
//Credits: To Mesmer for helping me fix the combat check.
#include "X:\ascent\surse\src\ascent-world\StdAfx.h"
#include "Setup.h"
#ifdef WIN32
#pragma warning(disable:4305) // warning C4305: 'argument' : truncation from 'double' to 'float'
#endif
//Defining Warper
class SCRIPT_DECL Warper : public GossipScript
{
public:
void GossipHello(Object * pObject, Player* Plr, bool AutoSend);
void GossipSelectOption(Object * pObject, Player* Plr, uint32 Id, uint32 IntId, const char * Code);
void GossipEnd(Object * pObject, Player* Plr);
void Destroy()
{
delete this;
}
};
void Warper::GossipHello(Object* pObject, Player * Plr, bool AutoSend)
{
//Plr->SetUInt32Value(UNIT_FIELD_MOUNTDISPLAYID, 0);
//m_Unit->SetUInt32Value(UNIT_FIELD_MOUNTDISPLAYID, 0);
if(Plr->CombatStatus.IsInCombat())
{
Plr->BroadcastMessage("You are in combat!");
}
if(Plr->flying_aura = 1)
{
WorldPacket pbuf(836, 13);
Plr->m_setflycheat = 0;
//Plr->FlyCheat();
Plr->flying_aura = 0;
//flying_aura = 1;
//uint32 flying_aura;
//stringstream LoadAuras;
Plr->flying_aura = 0;
//Plr->EnableFlight(false);
pbuf << Plr->GetNewGUID();
Plr->SendMessageToSet(&pbuf, true);
Plr->SetPlayerSpeed(RUN, 7);
Plr->SetPlayerSpeed(SWIM, 7);
Plr->SetPlayerSpeed(RUNBACK, 5);
Plr->SetPlayerSpeed(FLY, 0);
}
if(!Plr->CombatStatus.IsInCombat() )
{
GossipMenu *Menu;
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2593, Plr);
if(Plr->getRace()== 10||Plr->getRace()== 2||Plr->getRace()== 6||Plr->getRace()== 8||Plr->getRace()== 5)
{Menu->AddItem(0, "Horde Cities", 1);}else{Menu->AddItem(1, "Alliance Cities", 2);}
Menu->AddItem(2, "Global Locations", 80);
Menu->AddItem(3, "Azeroth Instances", 30);
Menu->AddItem(4, "Outland Instances", 50);
Menu->AddItem(5, "Shattrath", 20);
Menu->AddItem(6, "Gurubashi Arena", 21);
//Menu->AddItem(6, "Gurubashi Arena", 21);
Menu->AddItem(2, "Extra Options", 500);
//Menu->AddItem(0, "Horde mounts", 700);
//Menu->AddItem(1, "Alliance Mounts", 800);
//Menu->AddItem(0, "Dismount", 999);
if(AutoSend)
Menu->SendTo(Plr);
}
};
//Defining Cases
void Warper::GossipSelectOption(Object* pObject, Player* Plr, uint32 Id, uint32 IntId, const char * Code)
{
GossipMenu * Menu;
float Speed = 7.0;
uint32 displayid = 0;
uint32 eventid = 5;
uint32 xxx = 0;
bool flytf = false;
bool apply = false;
switch(IntId)
{
case 1: // Hord Cities
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Silvermoon", 4);
Menu->AddItem(5, "Orgrimmar", 5);
Menu->AddItem(5, "Thunder Bluff", 6);
Menu->AddItem(5, "Undercity", 7);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 500: // Hord Cities
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
//Menu->AddItem(2, "Save Player to DB", 501);
Menu->AddItem(2, "Remove Resurrection Sickness", 502);
//Menu->AddItem(2, "Remove Cooldowns [1g]", 503);
Menu->AddItem(2, "Reset Talentpoints [10g]", 504);
//Menu->AddItem(2, "Advance All Skills [10g]", 505);
//Menu->AddItem(5, "Illumine All Maps [10g]", 506);
//Menu->AddItem(5, "Open all FlightPaths [50g]", 507);
Menu->AddItem(2, "Pay for Level 70 [20,000g]", 508);
Menu->AddItem(2, "Go to start position(Stuck)", 509);
Menu->SendTo(Plr);
}
break;
case 504://Reset Talentpoints
{
uint32 price = 100000;
uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
if (currentgold>=price){
int32 newgold = currentgold - price;
Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
Plr->BroadcastMessage("Your talentpoints are reset!");
Plr->Reset_Talents();
} else {
Plr->BroadcastMessage("You don't have enough money to afford a talent reset!");
}
}break;
/* case 503://Remove Cooldowns
{
uint32 price = 10000;
uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
if (currentgold>=price){
int32 newgold = currentgold - price;
Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
Plr->BroadcastMessage("Your cooldowns are removed!");
Plr->ResetAllCooldowns();
}else{
Plr->BroadcastMessage("You don't have enough money to afford a cooldown reset!");
}
}break;*/
case 502:// Remove Resurrection Sickness
{
Plr->addSpell(15007);
Plr->removeSpell(15007,0,0,0);
}break;
case 508: //Level to 70
{
uint32 price = 200000000;
uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
if (currentgold>=price){
int32 newgold = currentgold - price;
Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
Plr->BroadcastMessage("You are now level 70!" );
Plr->SetUInt32Value(UNIT_FIELD_LEVEL, 70);
} else {
Plr->BroadcastMessage("You don't have enough money to afford to be Leveled to 70!");
}
}break;
/*case 505: //Advance all Skills
{
uint32 price = 50000;
uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
if (currentgold>=price){
int32 newgold = currentgold - price;
Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
Plr->BroadcastMessage("All of your skills are now Advanced!" );
Plr->_AdvanceAllSkills(true);
} else {
Plr->BroadcastMessage("You don't have enough money to afford all skills to be Advanced!");
}
}break;*/
/*case 501: //Save Player to DB
{
Plr->SaveToDB(true);
Plr->BroadcastMessage("Player Saved to DB");
Plr->Emote(EMOTE_ONESHOT_CHEER);
}break;
case 506: //Explore all Maps
{
uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
if(currentgold>100000){
int32 newgold = currentgold - 100000;
Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
for (uint8 i=0; i<64; i++)
{
Plr->SetFlag(PLAYER_EXPLORED_ZONES_1+i,0xFFFFFFFF);
Plr->Gossip_Complete();
Plr->BroadcastMessage("All Map Locations have been opened!");
}
}else{
Plr->BroadcastMessage("Sorry, you don't have enough gold.");
Plr->Gossip_Complete();
}
}break;
/* case 507: //Open all FlightPaths
{
uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
if(currentgold>500000){
int32 newgold = currentgold - 500000;
Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
for (uint8 i=0; i<64; i++)
{
Plr->SetTaximask(i, 0xFFFFFFFF);
Plr->Gossip_Complete();
Plr->BroadcastMessage("All FlightPaths have been opened!");
}
}else{
Plr->BroadcastMessage("Sorry, you don't have enough gold.");
Plr->Gossip_Complete();
}
}break;
*/
case 509:{ //Hearth
Plr->SafeTeleport(Plr->GetBindMapId(), Plr->GetBindZoneId(), Plr->GetBindPositionX(),
Plr->GetBindPositionY(), Plr->GetBindPositionZ(), 0);
}break;
case 2: // Alliance Cities
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "The Exodar", 8);
Menu->AddItem(5, "Stormwind", 9);
Menu->AddItem(5, "Ironforge", 10);
Menu->AddItem(5, "Darnassus", 11);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 3: // Outland Locations
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Hellfire Peninsula", 12);
Menu->AddItem(5, "Zangermarsh", 13);
Menu->AddItem(5, "Nagrand", 14);
Menu->AddItem(5, "Blades Edge Mountains", 15);
Menu->AddItem(5, "Netherstorm", 16);
Menu->AddItem(5, "Terokkar Forest", 17);
Menu->AddItem(5, "Shadowmoon Valley", 18);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 4://Silvermoon
{
Plr->EventTeleport(530, 9400.486328, -7278.376953, 14.206780);
Plr->Gossip_Complete();
}break;
case 5://Orgrimmar
{
Plr->EventTeleport(1, 1371.068970, -4370.801758, 26.052483);
Plr->Gossip_Complete();
}break;
case 6://ThunderBluff
{
Plr->EventTeleport(1, -1304.569946, 205.285004, 68.681396);
Plr->Gossip_Complete();
}
break;
case 7://Undercity
{
Plr->EventTeleport(0, 2050.203125, 285.650604, 56.994549);
Plr->Gossip_Complete();
}
break;
case 8: //Exodar
{
Plr->EventTeleport(530, -4072.202393, -12014.337891, -1.277277);
Plr->Gossip_Complete();
}
break;
case 9: //Stormwind
{
Plr->EventTeleport(0, -9100.480469, 406.950745, 92.594185);
Plr->Gossip_Complete();
}
break;
case 10: //Ironforge
{
Plr->EventTeleport(0, -5028.265137, -825.976563, 495.301575);
Plr->Gossip_Complete();
}
break;
case 11: //Darnassus
{
Plr->EventTeleport(1, 9985.907227, 1971.155640, 1326.815674);
Plr->Gossip_Complete();
}
break;
case 12: //Hellfire Peninsula
{
Plr->EventTeleport(530, -248.160004, 922.348999, 84.379799);
Plr->Gossip_Complete();
}
break;
case 13: //Zangermarsh
{
Plr->EventTeleport(530, -225.863632, 5405.927246, 22.346397);
Plr->Gossip_Complete();
}
break;
case 14: //Nagrand
{
Plr->EventTeleport(530, -468.232330, 8418.666016, 28.031298);
Plr->Gossip_Complete();
}
break;
case 15: //Blades Edge Mountains
{
Plr->EventTeleport(530, 1471.672852, 6828.047852, 107.759239);
Plr->Gossip_Complete();
}
break;
case 16: //Netherstorm
{
Plr->EventTeleport(530, 3396.123779, 4182.208008, 137.097992);
Plr->Gossip_Complete();
}
break;
case 17: //Terokkar Forest
{
Plr->EventTeleport(530, -1202.426636, 5313.692871, 33.774723);
Plr->Gossip_Complete();
}
break;
case 18: //Shadowmoon Valley
{
Plr->EventTeleport(530, -2859.522461, 3182.34773, 10.008426);
Plr->Gossip_Complete();
}
break;
case 20: //Shattrath
{
Plr->EventTeleport(530, -1887.510010, 5359.379883, -12.427300);
Plr->Gossip_Complete();
}
break;
case 21: // Gurubsahi Arena
{
Plr->EventTeleport(0, -13271.959961, 149.105515, 34.464458);
Plr->Gossip_Complete();
}
break;
case 30: // Azeroth Instances
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Shadowfang Keep", 31);
Menu->AddItem(5, "Scarlet Monastery", 32);
Menu->AddItem(5, "Zul'Farrak", 33);
Menu->AddItem(5, "Stratholme", 41);
Menu->AddItem(5, "Scholomance", 40);
Menu->AddItem(5, "Blackrock Spire", 42);
Menu->AddItem(5, "Onyxia's Lair", 38);
Menu->AddItem(5, "Molten Core", 37);
Menu->AddItem(5, "Zul'Gurub", 34);
Menu->AddItem(5, "Karazhan", 43);
Menu->AddItem(5, "Ahn'Qirai 20", 35);
Menu->AddItem(5, "Ahn'Qirai 40", 36);
Menu->AddItem(5, "Naxxramas", 39);
Menu->AddItem(5, "Caverns of Time", 44);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 31: // Shadowfang Keep
{
Plr->EventTeleport(0, -234.495087, 1561.946411, 76.892143);
Plr->Gossip_Complete();
}
break;
case 32: // Scarlet Monastery
{
Plr->EventTeleport(0, 2870.442627, -819.985229, 160.331085);
Plr->Gossip_Complete();
}
break;
case 33: // Zul'Farrak
{
Plr->EventTeleport(1, -6797.278809, -2903.917969, 9.953360);
Plr->Gossip_Complete();
}
break;
case 34: // Zul'Gurub
{
Plr->EventTeleport(0, -11919.073242, -1202.459374, 92.298744);
Plr->Gossip_Complete();
}
break;
case 35: // Ahn'Qirai 20
{
Plr->EventTeleport(1, -8394.730469, 1485.658447, 21.038563);
Plr->Gossip_Complete();
}
break;
case 36: // Ahn'Qirai 40
{
Plr->EventTeleport(1, -8247.316406, 1970.156860, 129.071472);
Plr->Gossip_Complete();
}
break;
case 37: // Molten Core
{
// Plr->EventTeleport(0, -7515.409668, -1045.369629, 182.301208);
Plr->EventTeleport(409, 1089.6, -470.19, -106.41);
Plr->Gossip_Complete();
}
break;
case 38: // Onyxia
{
// Plr->EventTeleport(1, -4708.491699, -3727.672363, 54.535076);
Plr->EventTeleport(249, 30.0, -64.0, -5.0);
Plr->Gossip_Complete();
}
break;
case 39: // Naxxramas
{
// Plr->EventTeleport(0, 3132.915283, -3731.012939, 138.658371);
Plr->EventTeleport(533, 3006.06, -3436.72, 293.891);
Plr->Gossip_Complete();
}
break;
case 40: //Scholomance
{
Plr->EventTeleport(0, 1267.468628, -2556.651367, 94.127983);
Plr->Gossip_Complete();
}
break;
case 41: //Stratholme
{
Plr->EventTeleport(0, 3359.111572, -3380.8444238, 144.781860);
Plr->Gossip_Complete();
}break;
case 42: // Black Rock Spire
{
Plr->EventTeleport(0, -7527.129883, -1224.997437, 285.733002);
Plr->Gossip_Complete();
}break;
case 43: // Kharazan
{
// Plr->EventTeleport(0, -11122.913086, -2014.498779, 47.079350);
Plr->EventTeleport(532, -11087.3, -1977.47, 49.6135);
Plr->Gossip_Complete();
}break;
case 44: // Caverns of Times
{
Plr->EventTeleport(1, -8519.718750, -4297.542480, -208.441376);
Plr->Gossip_Complete();
}break;
case 50: // Outland Instances
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(0, "Outland Raids", 64);
Menu->AddItem(5, "Hellfire Ramparts", 51);
Menu->AddItem(5, "The Blood Furnace", 52);
Menu->AddItem(5, "The Shattered Halls", 53);
Menu->AddItem(5, "The Underbog", 54);
Menu->AddItem(5, "The Slave Pens", 55);
Menu->AddItem(5, "The Steamvault", 56);
Menu->AddItem(5, "Mana-Tombs", 57);
Menu->AddItem(5, "Auchenai Crypts", 58);
Menu->AddItem(5, "Sethekk Halls", 59);
Menu->AddItem(5, "Shadow Labyrinth", 60);
Menu->AddItem(5, "The Mechanar", 61);
Menu->AddItem(5, "The Botanica", 62);
Menu->AddItem(5, "The Arcatraz", 63);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 51: // Hellfire Ramparts
{
Plr->EventTeleport(530, -360.670990, 3071.899902, -15.097700);
Plr->Gossip_Complete();
}break;
case 52: // The Blood Furnace
{
Plr->EventTeleport(530, -303.506012, 3164.820068, 31.742500);
Plr->Gossip_Complete();
}break;
case 53: // The Shattered Halls
{
Plr->EventTeleport(530, -311.083527, 3083.291748, -3.745923);
Plr->Gossip_Complete();
}break;
case 54: // The Underbog
{
Plr->EventTeleport(530, 777.088989, 6763.450195, -72.062561);
Plr->Gossip_Complete();
}break;
case 55: // The Slave Pens
{
Plr->EventTeleport(530, 719.507996, 6999.339844, -73.074303);
Plr->Gossip_Complete();
}break;
case 56: // The Steamvault
{
Plr->EventTeleport(530, 816.590027, 6934.669922, -80.544601);
Plr->Gossip_Complete();
}break;
case 57: // Mana-Tombs
{
Plr->EventTeleport(530, -3079.810059, 4943.040039, -101.046997);
Plr->Gossip_Complete();
}break;
case 58: // Auchenai Crypts
{
Plr->EventTeleport(530, -3361.959961, 5225.770020, -101.047997);
Plr->Gossip_Complete();
}break;
case 59: // Sethekk Halls
{
Plr->EventTeleport(530, -3362.219971, 4660.410156, -101.049004 );
Plr->Gossip_Complete();
}break;
case 60: // Shadow Labyrinth
{
Plr->EventTeleport(530, -3645.060059, 4943.620117, -101.047997);
Plr->Gossip_Complete();
}break;
case 61: // The Mechanar
{
Plr->EventTeleport(530, 2862.409912, 1546.089966, 252.158691);
Plr->Gossip_Complete();
}break;
case 62: // The Botanica
{
Plr->EventTeleport(530, 3413.649902, 1483.319946, 182.837997);
Plr->Gossip_Complete();
}break;
case 63: // The Arcatraz
{
Plr->EventTeleport(530, 3311.598145, 1332.745117, 505.557251);
Plr->Gossip_Complete();
}break;
case 64: // Outland Raids
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Magtheridon's Lair", 65);
Menu->AddItem(5, "Serpentshrine Cavern", 66);
Menu->AddItem(5, "Gruul's Lair", 67);
Menu->AddItem(5, "The Eye", 68);
Menu->AddItem(5, "Black Temple", 69);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 65: // Magtheridon's Lair
{
Plr->EventTeleport(530, -313.678986, 3088.350098, -116.501999);
Plr->Gossip_Complete();
}break;
case 66: // Serpentshrine Cavern
{
Plr->EventTeleport(530, 830.542908, 6865.445801, -63.785503);
Plr->Gossip_Complete();
}break;
case 67: // Gruul's Lair
{
Plr->EventTeleport(530, 3549.424072, 5179.854004, -4.430779);
Plr->Gossip_Complete();
}break;
case 68: // The Eye
{
Plr->EventTeleport(530, 3087.310059, 1373.790039, 184.643005);
Plr->Gossip_Complete();
}break;
case 69: // Black Temple
{
// Plr->EventTeleport(530, -3609.739990, 328.252014, 37.307701 );
Plr->EventTeleport(564, 97.0894, 1001.96, -86.8798 );
Plr->Gossip_Complete();
}break;
case 80: //SUB MENU
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Eastern Kingdoms A - E", 81);
Menu->AddItem(5, "Eastern Kingdoms F - Z", 130);
Menu->AddItem(5, "Kalimdor A - F", 82);
Menu->AddItem(5, "Kalimdor G - Z", 131);
Menu->AddItem(5, "Outland", 3);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 81: // EASTERN KINGDOM A - E
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Alterac Mountains", 73);
Menu->AddItem(5, "Arathi Highlands", 77);
Menu->AddItem(5, "Badlands", 101);
Menu->AddItem(5, "Blackrock Mountain", 102);
Menu->AddItem(5, "The Blasted Lands", 108);
Menu->AddItem(5, "Deadwind Pass", 109);
Menu->AddItem(5, "Dun Morogh", 79);
Menu->AddItem(5, "Duskwood", 105);
Menu->AddItem(5, "Eastern Plaguelands", 70);
Menu->AddItem(5, "Elwynn Forest", 104);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 130: // EASTERN KINGDOM F - Z
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Hillsbrad Foothills", 75);
Menu->AddItem(5, "The Hinterlands", 76);
Menu->AddItem(5, "Loch Modan", 100);
Menu->AddItem(5, "Redridge Mountain", 103);
Menu->AddItem(5, "Silverpine Forest", 74);
Menu->AddItem(5, "Stranglethorn Vale", 110);
Menu->AddItem(5, "Swamp of Sorrows", 107);
Menu->AddItem(5, "Tristfal Glades", 72);
Menu->AddItem(5, "Western Plaguelands", 71);
Menu->AddItem(5, "Westfall", 106);
Menu->AddItem(5, "Wetlands", 78);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 82: // KALIMDOR A - F
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Ashenvale", 116);
Menu->AddItem(5, "Azshara", 115);
Menu->AddItem(5, "The Barrens", 118);
Menu->AddItem(5, "Darkshore", 114);
Menu->AddItem(5, "Desolace", 121);
Menu->AddItem(5, "Dustwallow Marsh", 122);
Menu->AddItem(5, "Durotar", 119);
Menu->AddItem(5, "Felwood", 113);
Menu->AddItem(5, "Feralas", 123);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 131: // KALIMDOR G - Z
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Moonglade", 111);
Menu->AddItem(5, "Mulgore", 120);
Menu->AddItem(5, "Silithus", 127);
Menu->AddItem(5, "Stonetalon Mountains", 117);
Menu->AddItem(5, "Tanaris Desert", 125);
Menu->AddItem(5, "Thousand Needles", 124);
Menu->AddItem(5, "Un'Goro Crater", 126);
Menu->AddItem(5, "Winterspring", 112);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
// EASTERN KINGDOMS [case] //
case 70: // WesternPlaguelands
{
Plr->EventTeleport( 0, 1855, -1569, 61);
Plr->Gossip_Complete();
}break;
case 71: // EasternPlaguelands
{
Plr->EventTeleport( 0, 2278, -5311, 89);
Plr->Gossip_Complete();
}break;
case 72: // TristfallGlades
{
Plr->EventTeleport( 0, 2032, -432, 37);
Plr->Gossip_Complete();
}break;
case 73: // AlteracMountains
{
Plr->EventTeleport( 0, 552, -275, 152);
Plr->Gossip_Complete();
}break;
case 74: // Silverpine Forest
{
Plr->EventTeleport( 0, -126, 815, 68);
Plr->Gossip_Complete();
}break;
case 75: // Hillsbrad
{
Plr->EventTeleport( 0, -502, 91, 61);
Plr->Gossip_Complete();
}break;
case 76: // TheHinterlands
{
Plr->EventTeleport( 0, -678, -4018, 240);
Plr->Gossip_Complete();
}break;
case 77: // ArathiHighlands
{
Plr->EventTeleport( 0, -797, -2068, 35);
Plr->Gossip_Complete();
}break;
case 78: // Wetlands
{
Plr->EventTeleport( 0, -3256, -2718, 11);
Plr->Gossip_Complete();
}break;
case 79: // Dunmorogh
{
Plr->EventTeleport( 0, -5826, -1586, 366);
Plr->Gossip_Complete();
}break;
case 100: // Lochmodan
{
Plr->EventTeleport( 0, -4771, -3329, 347);
Plr->Gossip_Complete();
}break;
case 101: // Badlands
{
Plr->EventTeleport( 0, -7027, -3330, 243);
Plr->Gossip_Complete();
}break;
case 102: // Blackrockmountain
{
Plr->EventTeleport( 0, -7317, -1072, 279);
Plr->Gossip_Complete();
}break;
case 103: // Redridgemountain
{
Plr->EventTeleport( 0, -9168, -2726, 92);
Plr->Gossip_Complete();
}break;
case 104: // ElwynnForest
{
Plr->EventTeleport( 0, -9325, -1038, 67);
Plr->Gossip_Complete();
}break;
case 105: // Duskwood
{
Plr->EventTeleport( 0, -10694, -884, 52);
Plr->Gossip_Complete();
}break;
case 106: // Westfall
{
Plr->EventTeleport( 0, -11018, 1513, 45);
Plr->Gossip_Complete();
}break;
case 107: // SwampofSorrows
{
Plr->EventTeleport( 0, -10429, -3828, -29);
Plr->Gossip_Complete();
}break;
case 108: // BlastedLands
{
Plr->EventTeleport( 0, -11853, -3197, -25);
Plr->Gossip_Complete();
}break;
case 109: // DeadwindPass
{
Plr->EventTeleport( 0, -10435, -1809, 101);
Plr->Gossip_Complete();
}break;
case 110: // Stranglethornvale
{
Plr->EventTeleport( 0, -13382, 2, 23);
Plr->Gossip_Complete();
}break;
// KALIMDOR [case] //
case 111: // Moonglade
{
Plr->EventTeleport( 1, 7978, -2501, 490);
Plr->Gossip_Complete();
}break;
case 112: // winterspring
{
Plr->EventTeleport( 1, 6721, -4659, 722);
Plr->Gossip_Complete();
}break;
case 113: // felwood
{
Plr->EventTeleport( 1, 4878, -614, 362);
Plr->Gossip_Complete();
}break;
case 114: // darkshore
{
Plr->EventTeleport( 1, 4565, 438, 34);
Plr->Gossip_Complete();
}break;
case 115: // azshara
{
Plr->EventTeleport( 1, 2717, -5968, 108);
Plr->Gossip_Complete();
}break;
case 116: // ashenvale
{
Plr->EventTeleport( 1, 3469, 847, 7);
Plr->Gossip_Complete();
}break;
case 117: // Stonetalon
{
Plr->EventTeleport( 1, 898, 922, 128);
Plr->Gossip_Complete();
}break;
case 118: // TheBarrens
{
Plr->EventTeleport( 1, -1330, -3120, 93);
Plr->Gossip_Complete();
}break;
case 119: // Durotar
{
Plr->EventTeleport( 1, 242, -5151, 3);
Plr->Gossip_Complete();
}break;
case 120: // Mulgore
{
Plr->EventTeleport( 1, -2326, -367, -6);
Plr->Gossip_Complete();
}break;
case 121: // Desolace
{
Plr->EventTeleport( 1, -939, 1091, 95);
Plr->Gossip_Complete();
}break;
case 122: // Dustwallow
{
Plr->EventTeleport( 1, -3719, -2530, 71);
Plr->Gossip_Complete();
}break;
case 123: // Feralas
{
Plr->EventTeleport( 1, -4508, 2041, 53);
Plr->Gossip_Complete();
}break;
case 124: // ThousandNeedles
{
Plr->EventTeleport( 1, -4619, -1850, 88);
Plr->Gossip_Complete();
}break;
case 125: // Tanaris
{
Plr->EventTeleport( 1, -7373, -2950, 12);
Plr->Gossip_Complete();
}break;
case 126: // Ungoro
{
Plr->EventTeleport( 1, -6186, -1106, -215);
Plr->Gossip_Complete();
}break;
case 127: // Silithus
{
Plr->EventTeleport( 1, -6824, 821, 51);
Plr->Gossip_Complete();
}break;
//************************************************************
//Defining Cases
/*
void Warper::GossipSelectOption(Object* pObject, Player* Plr, uint32 Id, uint32 IntId, const char * Code)
{
float Speed = 7.0;
uint32 displayid = 0;
uint32 eventid = 5;
uint32 xxx = 0;
bool flytf = false;
bool apply = false;
GossipMenu * Menu;
switch(IntId)
{ */
/*
case 800: // Common 100% speed flying mounts horde
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Humans", 1000);
Menu->AddItem(5, "Gnomes", 1100);
Menu->AddItem(5, "Dwarves", 1200);
Menu->AddItem(5, "Draenei", 1300);
Menu->AddItem(5, "Night Elves", 1400);
Menu->AddItem(5, "Custom Mounts", 1500);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 700: // Common 100% speed flying mounts horde
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Undead", 2000);
Menu->AddItem(5, "Tauren", 2100);
Menu->AddItem(5, "Orc", 2200);
Menu->AddItem(5, "Troll", 2300);
Menu->AddItem(5, "Blood elf", 2400);
Menu->AddItem(5, "Custom Mounts", 2500);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 1000: // humans
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Swift Palamino Horse", 1001);
Menu->AddItem(5, "Swift Brown Steed", 1002);
Menu->AddItem(5, "Swift White Steed", 1003);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 1100: // gnomes
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Swift Yellow Mechanostrider ", 1011);
Menu->AddItem(5, "Swift White Mechanostrider", 1012);
Menu->AddItem(5, "Swift Green Mechanostrider", 1013);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 1200: // dwarves
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Swift Brown Ram", 1021);
Menu->AddItem(5, "Swift Gray Ram", 1022);
Menu->AddItem(5, "Swift White Ram", 1023);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 1300: // Draenei
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Great Green Elekk", 1031);
Menu->AddItem(5, "Great Purple Elekk ", 1032);
Menu->AddItem(5, "Great Blue Elekk", 1033);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 1400: // Night Elves
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Swift Stormsaber", 1041);
Menu->AddItem(5, "Swift Mistsaber", 1042);
Menu->AddItem(5, "Swift Frostsaber", 1043);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 1500: // Custom
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Steel Kitty :)", 1051);
//Menu->AddItem(5, "Swift Mistsaber", 142);
//Menu->AddItem(5, "Swift Frostsaber", 143);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 2000: // Undead
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Purple Skeletal Warhorse", 2001);
Menu->AddItem(5, "Green Skeletal Warhorse", 2002);
//Menu->AddItem(5, "swift white steed", 203);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 2100: // Tauren
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Great Brown Kodo", 2011);
Menu->AddItem(5, "Great White Kodo", 2012);
Menu->AddItem(5, "Great Gray Kodo", 2013);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 2200: // Orc
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Swift Brown Wolf", 2021);
Menu->AddItem(5, "Swift Gray Wolf", 2022);
Menu->AddItem(5, "Swift Timber Wolf", 2023);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 2300: // Troll
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Swift Olive Raptor", 2031);
Menu->AddItem(5, "Swift Blue Raptor", 2032);
Menu->AddItem(5, "Swift Orange Raptor", 2033);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 2400: // Blood elf
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "Swift Green Hawkstrider", 2041);
Menu->AddItem(5, "Swift Pink Hawkstrider", 2042);
Menu->AddItem(5, "Swift Purple Hawkstrider", 2043);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
case 2500: // Custom
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
Menu->AddItem(5, "A nice mount :)", 1051);
//Menu->AddItem(5, "Swift Mistsaber", 142);
//Menu->AddItem(5, "Swift Frostsaber", 143);
Menu->AddItem(0,"Main Menu",99);
Menu->SendTo(Plr);
}
break;
/*
case 1:{
if(Plr->getLevel() >= 60){
flytf = true; eventid = 3; displayid = 17880; Speed = 15;
}else {
Plr->BroadcastMessage("You need to be atleast level 60 to ride this baby");
}
break;
case 1001:{
flytf = false; eventid = 3; displayid = 14582; Speed = 14; xxx = 0;
break;
}
case 1002:{
flytf = false; eventid = 3; displayid = 14583; Speed = 14; xxx = 0;
break;
}
case 1003:{
flytf = false; eventid = 3; displayid = 14338; Speed = 14; xxx = 0;
break;
}
case 1011:{
flytf = false; eventid = 3; displayid = 14377; Speed = 14; xxx = 0;
break;
}
case 1012:{
flytf = false; eventid = 3; displayid = 14376; Speed = 14; xxx = 0;
break;
}
case 1013:{
flytf = false; eventid = 3; displayid = 14374; Speed = 14; xxx = 0;
break;
}
case 1021:{
flytf = false; eventid = 3; displayid = 14347; Speed = 14; xxx = 0;
break;
}
case 1022:{
flytf = false; eventid = 3; displayid = 14576; Speed = 14; xxx = 0;
break;
}
case 1023:{
flytf = false; eventid = 3; displayid = 14346; Speed = 14; xxx = 0;
break;
}
case 1031:{
flytf = false; eventid = 3; displayid = 19873; Speed = 14; xxx = 0;
break;
}
case 1032:{
flytf = false; eventid = 3; displayid = 19872; Speed = 14; xxx = 0;
break;
}
case 1033:{
flytf = false; eventid = 3; displayid = 19871; Speed = 14; xxx = 0;
break;
}
case 1041:{
flytf = false; eventid = 3; displayid = 14632; Speed = 14; xxx = 0;
break;
}
case 1042:{
flytf = false; eventid = 3; displayid = 14332; Speed = 14; xxx = 0;
break;
}
case 1043:{
flytf = false; eventid = 3; displayid = 14331; Speed = 14; xxx = 0;
break;
}
case 1051:{
flytf = false; eventid = 3; displayid = 19607; Speed = 14; xxx = 0;
break;
}
case 2001:{
flytf = false; eventid = 3; displayid = 10721; Speed = 14; xxx = 0;
break;
}
case 2002:{
flytf = false; eventid = 3; displayid = 10720; Speed = 14; xxx = 0;
break;
}
case 2011:{
flytf = false; eventid = 3; displayid = 14578; Speed = 14; xxx = 0;
break;
}
case 2012:{
flytf = false; eventid = 3; displayid = 14349; Speed = 14; xxx = 0;
break;
}
case 2013:{
flytf = false; eventid = 3; displayid = 14579; Speed = 14; xxx = 0;
break;
}
case 2021:{
flytf = false; eventid = 3; displayid = 14573; Speed = 14; xxx = 0;
break;
}
case 2022:{
flytf = false; eventid = 3; displayid = 14574; Speed = 14; xxx = 0;
break;
}
case 2023:{
flytf = false; eventid = 3; displayid = 14575; Speed = 14; xxx = 0;
break;
}
case 2031:{
flytf = false; eventid = 3; displayid = 14344; Speed = 14; xxx = 0;
break;
}
case 2032:{
flytf = false; eventid = 3; displayid = 14339; Speed = 14; xxx = 0;
break;
}
case 2033:{
flytf = false; eventid = 3; displayid = 14342; Speed = 14; xxx = 0;
break;
}
case 2041:{
flytf = false; eventid = 3; displayid = 19484; Speed = 14; xxx = 0;
break;
}
case 2042:{
flytf = false; eventid = 3; displayid = 18697; Speed = 14; xxx = 0;
break;
}
case 2043:{
flytf = false; eventid = 3; displayid = 19482; Speed = 14; xxx = 0;
break;
}
*/
//************************************************************
case 99: //main menu
{
objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
if(Plr->getRace()== 10||Plr->getRace()== 2||Plr->getRace()== 6||Plr->getRace()== 8||Plr->getRace()== 5)
{Menu->AddItem(0, "Horde Cities", 1);}else{Menu->AddItem(1, "Alliance Cities", 2);}
Menu->AddItem(2, "Global Locations", 80);
Menu->AddItem(3, "Azeroth Instances", 30);
Menu->AddItem(4, "Outland Instances", 50);
Menu->AddItem(5, "Shattrath", 20);
Menu->AddItem(6, "Gurubashi Arena", 21);
Menu->AddItem(2, "Extra Options", 500);
//Menu->AddItem(0, "Horde mounts", 700);
//Menu->AddItem(1, "Alliance Mounts", 800);
//Menu->AddItem(0, "Dismount", 999);
Menu->SendTo(Plr);
}break;
}
/*
WorldPacket pbuf(836, 13);
Plr->m_setflycheat = flytf;
//Plr->FlyCheat();
Plr->flying_aura = flytf;
//flying_aura = 1;
//uint32 flying_aura;
//stringstream LoadAuras;
Plr->flying_aura = xxx;
Plr->EnableFlight(flytf);
pbuf << Plr->GetNewGUID();
pbuf << uint32(eventid);
Plr->SendMessageToSet(&pbuf, true);
Plr->SetPlayerSpeed(RUN, Speed);
Plr->SetPlayerSpeed(SWIM, Speed);
Plr->SetPlayerSpeed(RUNBACK, 5);
Plr->SetPlayerSpeed(FLY, Speed);
Plr->SetUInt32Value(UNIT_FIELD_MOUNTDISPLAYID, displayid);
*/
}
void Warper::GossipEnd(Object * pObject, Player* Plr)
{
GossipScript::GossipEnd(pObject, Plr);
}
void SetupWarper(ScriptMgr * mgr)
{
GossipScript * gs = (GossipScript*) new Warper();
mgr->register_item_gossip_script(60001,gs);
}
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4512 with customs!Spirit healers fi
TheCopacabana thanks for pointing that out :) i fix it now
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4512 with customs!Spirit healers fi
new revision posted, i fixed everything in it, i will post a fix for quests and trainers today
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4512 with customs!Spirit healers fi
Thanks for sharing the source curcubeu, really good teleporter :)
If you would released this repack earlier I would used it, but made my own :)
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4512 with customs!Spirit healers fi
Curcubeu, thank you very grazie! :)
You SpeedyGonzales(*) in releasing versions! :)
(*) [youtubevid]t43_ilAdwC8[/youtubevid]
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4512 with customs!Spirit healers fi
i just got a new pc :)
http://bullzyard.no-ip.biz/release/mypc.jpg
i compile everything in 2 minutes :)
nice cartoons :) :thumbup:
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4512 with customs!Spirit healers fi
Rofl, I remember how I`d used to watch these 24/7 ^^
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4512 with customs!Spirit healers fi
Still cannot complete quest, as per "not enough money".
You proposed
PHP Code:
alter table quests add column RequiredTradeskillValue int(5) unsigned default 0 not null after RequiredTradeskill;
I had already this field, and updated all my tables, according your 4513's Sql directory, but still dont work.
Please, if you have Navicat (or something else), may you backup all your database, and publish it?
Remember to clean accounts & characters tables ;)
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4512 with customs!Spirit healers fi
Ok, i made it, trainers work :) download my last release 4513 and the database under it :)
http://bullzyard.no-ip.biz/release/trainer.JPG
i'm working on quests now, i'll post the database after i resolve that too
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4512 with customs!Spirit healers fi
ok, quests fixed, they won't require money to complete them, a blizzlike database is on the first post, use that, the trainers and quests work.
to get to sunwell island use .recall port sunwell :)
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4513 with customs!Spirit healers fi
Now, if any1 have a list with missing spells please post it, i really want to make a release that have no missing spells and things
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4513 with customs!Spirit healers fi
Is there a way to extract VMAPs on mac, I'm running the server from a PC but only have WoW on my mac.
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4521 with customs!Spirit healers fi
i can share you my vmaps :) here is the link :
Latest 2.4.x vmaps
i'll put this link in the first post too.
hope you can download them, it's on a server from my company :)
if you can'r download tell me and i'll try to put them on rapidshare or filebeam
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4533 with customs!Spirit healers fi
hi i what to say thxx for repack and whant to ask for custem staff
becouse healer npc its not working good, sometime hi is working but sometimes not and when hi is working hi heale 2000 that is to low !
and hi dont heale mana to
so if there is some fix for this plizz give me and some script that can disable colddown on resurect i need to wait 30 sec to resurect after death
and if there is some custem vendors for Armor .. feet, waist,...
becouse i have some custem_...3.1a but there some vendors after respawn explode ! :P and some of them cant show dont know how to fix that
thxx again for files and i hope that you can help me
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4533 with customs!Spirit healers fi
the healer heals only 2000+ player level 1-69 and full hp to level 70, i'll make the healer heal full hp for any level, from now on all releases will be like that, here is the dll, replace it in script_bin: this is for rev. 4533
Filebeam - Free Fast File Hosting
i don't understand the cooldown on resurrect, usually when u die u get to a spirit healer, if you want i can make the spirit healer not cast the resurrection sickness on the player and he can revive instantly but with low hp... waiting answer, the dll is just a healnpc fix, he now heal full hp and mana all levels
-
Re: [RELEASE]Gabi's world!Latest ascent core rev. 4533 with customs!Spirit healers fi
the cooldown bug of the rezz sickness is lvl based.
i tested it at lvl1 and got the 0sec blinking
but when i tested it at lvl20 i got the 10min counting down...