Chrispee Repack The Sunwell (with Db teleporternpc,skillnpc,portable tele and morph ) menu

Shout-Out

User Tag List

Page 18 of 20 FirstFirst ... 14151617181920 LastLast
Results 256 to 270 of 286
  1. #256
    y2kss66's Avatar Member
    Reputation
    104
    Join Date
    Jan 2008
    Posts
    778
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    delete your cache in your WoW program files folder(where you installed World of Warcraft) and then log in it and create a new character and that should give you the portable morpher and teleporter.

    Chrispee Repack The Sunwell (with Db teleporternpc,skillnpc,portable tele and morph )
  2. #257
    snowbird's Avatar Member
    Reputation
    15
    Join Date
    May 2008
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wow dude this is excelent

  3. #258
    lilbdiablo12's Avatar Active Member
    Reputation
    40
    Join Date
    Feb 2008
    Posts
    535
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok i am getting the error message unable to validate game version.... i tohught this was supposed to be a sunwell repack... nevermind i found the solution
    Last edited by lilbdiablo12; 06-29-2008 at 12:26 AM.

  4. #259
    buzzaugust's Avatar Contributor
    Reputation
    139
    Join Date
    Jun 2007
    Posts
    141
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I cant open any ascent or logonserver. It says that the side by side config' is wrong.

    Can it be becuase im running vista 64-bit??

  5. #260
    powerbar's Avatar Member
    Reputation
    1
    Join Date
    May 2008
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was having a problem with the PVP, sorry if there was already an answer to it, or it was already asked.

    For some reason when you go to places such as gurubashi, you do not get the free for all flag. You can make it where they can battle until they are dead manually by changing there faction but they can not use spells then.

    Help please

  6. #261
    Brutal Pink Panther's Avatar Member
    Reputation
    9
    Join Date
    Mar 2008
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i have been looking for a teleporter whit sql, but i cant find it. I really want the source that it can fit my server revision. Please PM me +Rep will be given.

  7. #262
    volitle's Avatar Contributor
    Reputation
    181
    Join Date
    Nov 2007
    Posts
    1,127
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Owned Emu View Post
    i have been looking for a teleporter whit sql, but i cant find it. I really want the source that it can fit my server revision. Please PM me +Rep will be given.
    here use this
    http://www.mmowned.com/forums/ascent...c-windows.html


  8. #263
    Brutal Pink Panther's Avatar Member
    Reputation
    9
    Join Date
    Mar 2008
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It doesent use SQL Teleport menus
    Last edited by Brutal Pink Panther; 07-03-2008 at 06:50 AM.

  9. #264
    volitle's Avatar Contributor
    Reputation
    181
    Join Date
    Nov 2007
    Posts
    1,127
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ahh fair enuf


  10. #265
    Brutal Pink Panther's Avatar Member
    Reputation
    9
    Join Date
    Mar 2008
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i think many poeple want the source of that one

  11. #266
    soul02's Avatar Active Member
    Reputation
    33
    Join Date
    Mar 2008
    Posts
    168
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Owned Emu View Post
    i think many poeple want the source of that one
    Code:
    #include "StdAfx.h"
    #include "Setup.h"
    #include <iostream>
    #include <vector>
    
    using namespace std;
    
    #ifdef WIN32
        #pragma warning(disable:4305)        // warning C4305: 'argument' : truncation from 'double' to 'float'
    #endif
    
    #define MAX_ENTRIES 20
    
    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);
    
      private:
        void GetTeleportEntries(uint32 creature,uint32 parent,std::vector<ct_entry> &entries);
        void GetTeleportEntry(uint32 creature,uint32 id, ct_entry &entry);
        bool CanDisplay(ct_entry entry, Player * Plr);
        bool ProcessEntryData(uint32 creature,QueryResult * res,ct_entry &entry);
        bool IsValid(QueryResult * res);
    };
    
    void Warper::GossipHello(Object * pObject, Player* Plr, bool AutoSend)
        {
            Creature * pCreature = (pObject->GetTypeId()==TYPEID_UNIT)?((Creature*)pObject):NULL;
            if(pCreature==NULL)
                    return;
    
            GossipMenu *Menu;
            objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
    	std::vector<ct_entry> entries;
            GetTeleportEntries(pCreature->GetEntry(),0,entries);
    
    	for(std::vector<ct_entry>::iterator itEntry = entries.begin(); itEntry != entries.end(); itEntry++)
    	{
    		ct_entry entry = *(itEntry);
    
    		if (CanDisplay(entry,Plr))
                            Menu->AddItem(entry.icon,entry.gossip,entry.menuid);
    	
    	}
    
            if(AutoSend)
                Menu->SendTo(Plr);
    
        }
    
    void Warper::GossipSelectOption(Object * pObject, Player* Plr, uint32 Id, uint32 IntId, const char * Code)
    {
    	Creature * pCreature = (pObject->GetTypeId()==TYPEID_UNIT)?((Creature*)pObject):NULL;
    	if(pCreature==NULL)
    		return;
    
    	if (IntId == 9999)
    	{
    		GossipHello(pObject,Plr,true);
    		return;
    	}
    
    	ct_entry entry;
    	GetTeleportEntry(pCreature->GetEntry(),IntId,entry);
    
    	if (entry.hasChildren)
    	{
            	GossipMenu * Menu;
    		objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
    
    		std::vector<ct_entry> entries;
    		GetTeleportEntries(pCreature->GetEntry(),IntId,entries);
           		std::vector<ct_entry>::iterator itEntry;
           		for(itEntry = entries.begin(); itEntry != entries.end(); itEntry++)
           		{
                   		ct_entry entry = *(itEntry);
    
                   		if (CanDisplay(entry,Plr))
                           		Menu->AddItem(entry.icon,entry.gossip,entry.menuid);
           		}
    
    		if (IntId > 0)
    			Menu->AddItem(0, "[Back]", 9999);
    
    		entries.clear();
    		Menu->SendTo(Plr);
    	}
    	else
    	{
    		Plr->EventTeleport(entry.map,entry.position_x,entry.position_y,entry.position_z);
    	}
    }
    
    void Warper::GossipEnd(Object * pObject, Player* Plr)
    {
        GossipScript::GossipEnd(pObject, Plr);
    }
    
    void Warper::GetTeleportEntries(uint32 creature, uint32 parent,std::vector<ct_entry> &entries)
    {
            QueryResult * res;
            res = WorldDatabase.Query("SELECT * FROM `custom_teleporter` WHERE creature='%u' AND parent='%u' LIMIT %u",creature,parent,MAX_ENTRIES);
            if(res)
            {
                    do
                    {
                    	ct_entry entry;
    			if(ProcessEntryData(creature,res,entry)) entries.push_back(entry);	
                    } while(res->NextRow());
            }
            delete res;
    	
    }
    
    void Warper::GetTeleportEntry(uint32 creature, uint32 id, ct_entry &entry)
    {
            QueryResult * res;
            res = WorldDatabase.Query("SELECT * FROM `custom_teleporter` WHERE creature='%u' AND menuid='%u'",creature,id);
    	ProcessEntryData(creature,res,entry);
    	delete res;
    }
    
    bool Warper::CanDisplay(ct_entry entry, Player * Plr)
    {
    	if ((entry.team != -1) && (entry.team != Plr->GetTeam())) return false;
    	if ((entry.minlevel > 0) && (Plr->getLevel() < entry.minlevel)) return false;
    	if ((entry.maxlevel > 0) && (Plr->getLevel() > entry.maxlevel)) return false;
    
    	return true;
    }
    
    bool Warper::ProcessEntryData(uint32 creature, QueryResult * res,ct_entry &entry)
    {
    	if(res)
    	{
    		QueryResult * res2;
    		bool hasChildren = false;
    		res2 = WorldDatabase.Query("SELECT menuid FROM `custom_teleporter` WHERE creature='%u' AND parent='%u'", creature,res->Fetch()[2].GetUInt32());
    
    		if (res2)
    		{
    			hasChildren = true;
    		}
    		else
    		{
    			if (!IsValid(res)) 
    			{
    				// If it doesn't have children, it must have valid coordinates
                    		Log.Color(TRED);
                    		printf("[Teleporter] Invalid menu entry (creature='%u',menuid='%u')",creature,res->Fetch()[2].GetUInt32());
                    		Log.Color(TNORMAL);
                    		Log.Line();
    				return false;
    			}
    		}	
    
            	entry.creature = res->Fetch()[0].GetUInt32();
            	entry.parent = res->Fetch()[1].GetUInt32();
            	entry.menuid = res->Fetch()[2].GetUInt32();
            	entry.icon = res->Fetch()[3].GetUInt32();
            	entry.gossip = res->Fetch()[4].GetString();
            	entry.map = res->Fetch()[5].GetUInt32();
            	entry.position_x = res->Fetch()[6].GetFloat();
            	entry.position_y = res->Fetch()[7].GetFloat();
            	entry.position_z = res->Fetch()[8].GetFloat();
            	entry.minlevel = res->Fetch()[9].GetUInt32();
            	entry.maxlevel = res->Fetch()[10].GetUInt32();
            	entry.team = res->Fetch()[11].GetInt32();
            	entry.hasChildren = hasChildren;
    		
    		delete res2;
    		return true;
    	}
    }
    
    bool Warper::IsValid(QueryResult * res)
    {
    	return ((res->Fetch()[5].GetString() != 0) &&
    		(res->Fetch()[6].GetString() != 0) && 
    		(res->Fetch()[7].GetString() != 0) && 
    		(res->Fetch()[8].GetString() != 0) 
    	       );
    }
    
    void SetupWarper(ScriptMgr * mgr)
    {
    	GossipScript * gs = (GossipScript*) new Warper();
    
    	QueryResult * res = WorldDatabase.Query("SELECT DISTINCT(`creature`) FROM `custom_teleporter`");
            if(res)
            {
                    do
                    {
    			mgr->register_gossip_script(res->Fetch()[0].GetUInt32(), gs);
                    } while(res->NextRow());
            }
            delete res;
    
    }
    credit for the source: sorry i dont remember who code this
    -·=»‡«=·- Soul02 -·=»‡«=·-


  12. #267
    Brutal Pink Panther's Avatar Member
    Reputation
    9
    Join Date
    Mar 2008
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks! , but i'll get those error's on compiling:
    Code:
    1>------ Build started: Project: MiscScripts, Configuration: Release Win32 ------
    1>Compiling...
    1>WarpNpcWhitTable.cpp
    1>..srcMiscScriptsWarpNpcWhitTable.cpp(22) : error C2065: 'ct_entry' : undeclared identifier
    1>..srcMiscScriptsWarpNpcWhitTable.cpp(23) : error C2061: syntax error : identifier 'ct_entry'
    1>..srcMiscScriptsWarpNpcWhitTable.cpp(24) : error C2061: syntax error : identifier 'ct_entry'
    1>..srcMiscScriptsWarpNpcWhitTable.cpp(25) : error C2061: syntax error : identifier 'ct_entry'
    1>..srcMiscScriptsWarpNpcWhitTable.cpp(37) : error C2065: 'ct_entry' : undeclared identifier
    1>..srcMiscScriptsWarpNpcWhitTable.cpp(37) : error C2133: 'entries' : unknown size
    1>..srcMiscScriptsWarpNpcWhitTable.cpp(37) : error C2512: 'std::vector' : no appropriate default constructor available
    1>..srcMiscScriptsWarpNpcWhitTable.cpp(40) : error C2065: 'ct_entry' : undeclared identifier
    1>..srcMiscScriptsWarpNpcWhitTable.cpp(40) : error C2955: 'std::vector' : use of class template requires template argument list
    1>        C:Program FilesMicrosoft Visual Studio 9.0VCincludevector(438) : see declaration of 'std::vector'
    1>..srcMiscScriptsWarpNpcWhitTable.cpp(40) : error C2663: 'std::vector<_Ty,_Alloc>::begin' : 2 overloads have no legal conversion for 'this' pointer
    1>..srcMiscScriptsWarpNpcWhitTable.cpp(40) : error C2512: 'std::_Vector_iterator<_Ty,_Alloc::rebind<_Ty>::other>' : no appropriate default constructor available
    1>..srcMiscScriptsWarpNpcWhitTable.cpp(40) : error C2663: 'std::vector<_Ty,_Alloc>::end' : 2 overloads have no legal conversion for 'this' pointer
    1>..srcMiscScriptsWarpNpcWhitTable.cpp(40) : fatal error C1903: unable to recover from previous error(s); stopping compilation
    1>SkillNpc.cpp
    1>Setup.cpp
    1>Generating Code...
    1>Build log was saved at "file://d:SVNtrunktrunksrcmoonscriptsprojects2003_int_release_miscscriptsBuildLog.htm"
    1>MiscScripts - 13 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 14 up-to-date, 0 skipped ==========

  13. #268
    soul02's Avatar Active Member
    Reputation
    33
    Join Date
    Mar 2008
    Posts
    168
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    setup.cpp
    Code:
    #include "StdAfx.h"
    #include "Setup.h"
    
    extern "C" SCRIPT_DECL uint32 _exp_get_version()
    {
        return MAKE_SCRIPT_VERSION(SCRIPTLIB_VERSION_MAJOR, SCRIPTLIB_VERSION_MINOR);
    }
    
    extern "C" SCRIPT_DECL uint32 _exp_get_script_type()
    {
            return SCRIPT_TYPE_MISC;
    }
    
    extern "C" SCRIPT_DECL void _exp_script_register(ScriptMgr* mgr)
    {
    	SetupWarper(mgr);
    	
    }
    
    #ifdef WIN32
    
    BOOL APIENTRY DllMain( HANDLE hModule, DWORD  ul_reason_for_call, LPVOID lpReserved )
    {
        return TRUE;
    }
    
    #endif

    setup.h
    Code:
    #ifndef INSTANCE_SCRIPTS_SETUP_H
    #define INSTANCE_SCRIPTS_SETUP_H
    
    struct ct_entry {
    	int creature;
    	int parent;
    	int menuid;
    	int icon;
    	const char * gossip;
    	int map;
    	float position_x;
    	float position_y;
    	float position_z;
    	int minlevel;
    	int maxlevel;
    	int team;
    	bool hasChildren;
    };
    
    void SetupWarper(ScriptMgr * mgr);
    #endif
    -·=»‡«=·- Soul02 -·=»‡«=·-


  14. #269
    Brutal Pink Panther's Avatar Member
    Reputation
    9
    Join Date
    Mar 2008
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    THANKS! +Rep for it!

  15. #270
    soul02's Avatar Active Member
    Reputation
    33
    Join Date
    Mar 2008
    Posts
    168
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    np and thx for the rep.. good nite bed time
    -·=»‡«=·- Soul02 -·=»‡«=·-


Similar Threads

  1. Setting up My repack ( The Sunwell )
    By Chrispee in forum WoW EMU Guides & Tutorials
    Replies: 143
    Last Post: 10-15-2008, 10:22 PM
  2. Chrispee Repack The Sunwell (Fully updated from last one)
    By Chrispee in forum World of Warcraft Emulator Servers
    Replies: 46
    Last Post: 08-08-2008, 11:43 PM
  3. I need Help with Chrispees repack
    By Hunter99 in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 12-18-2007, 04:48 PM
  4. [Realese] The Newest Chrispee Repack[Finished]
    By Chrispee in forum World of Warcraft Emulator Servers
    Replies: 267
    Last Post: 12-14-2007, 05:07 AM
All times are GMT -5. The time now is 06:40 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search