List of C++ Commands menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    Psychotherapy's Avatar Member
    Reputation
    5
    Join Date
    Sep 2008
    Posts
    58
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    List of C++ Commands

    Hey guys. I was surfing through my files and found a list of C++ commands which I would like to share with you guys. I got it from a website but I forgot which haha. Here it is anyway!

    Player Functions
    Code:
    SendAreaTriggerMessage("text"); - Sends an Area Trigger Message
    BroadcastMessage("text"); - Sends a message to the chatbox
    EventTeleport(mapid, x, y, z); - Teleports the player
    SafeTeleport(mapid, instanceid, location vector); - Teleports the player to specific instance
    Kick(miliseconds); - Kicks the player in x miliseconds
    SoftDisconnect(); - Ends the player's session
    Reset_Spells(); - Resets spells
    Reset_Talents(); - Resets Talents
    Reset_ToLevel1(); - Resets player to level 1
    GiveXP(y, guid, true); - Gives y number of XP to a player guid
    Reset_Talents();-Resets players talents
    AddCalculatedRestXP(# of seconds); - Adds rested xp to player equal to # of seconds
    GetPositionX(); - Get player's X coordinate
    GetPositionY(); - Get player's Y coordinate
    GetPositionZ(); - Get player's Z coordinate
    GetPositionO(); - Get player's O coordinate
    KillPlayer(); - Kills the player
    ResurrectPlayer(); - Resurrects the player
    SetBindPoint(x, y, z, mapid, zoneid); - Bind the player's hearthstone
    ModStanding(Faction, Value); - Modifies the player's standing with the Faction
    _AdvanceSkillLine(SkillLine, x); - Advances a skill line x times
    _AddSkillLine(SkillLine, min, max); - Adds skill line x with minimum and maximum level
    _RemoveSkillLine(x); - Removes skill line x
    _HasSkillLine(x); - Returns true if player has skill line x
    _RemoveAllSkills(); - Removes all skills from player
    SetTaximask(i, 0xFFFFFFFF);-Unlocks all flight paths
    _RemoveLanguages(); - Removes all languages from player
    _AddLanguages(true); - Adds all languages to player
    _AdvanceAllSkills(x); - Advances all skills x times
    _ModifySkillMaximum(SkillLine, Max); - Sets a skill level equal to Max
    GetClass(); - Returns the player's class
    GetRace(); Returns the player's race
    getLevel(); - Returns the player's level
    GetGUID(); - Returns the player's guid
    GetLowGuid(); - Returns the player's low guid
    getTeam(); Returns true (1) if player is horde
    GetItemInterface()->GetItemCount(itemid, false); - Returns the number of itemid the player has
    GetUInt32Value(PLAYER_FIELD_COINAGE);-Gets players copper amount
    PlaySoundToSet(entryid); - Plays a sound entry
    SetFlag(PLAYER_EXPLORED_ZONES_1+i,0xFFFFFFFF);-Lets all player maps show
    EventTeleport(37, 122.486130, 1017.602112, 295.270355);- Teleports
    Item * pItem = objmgr.CreateItem(itemid, Player);
    GetItemInterface()->AddItemToFreeSlot(pItem); - Adds and item to Player
    
    LevelInfo * Info = objmgr.GetLevelInfo(PlayerRace, PlayerClass, level);
    ApplyLevelInfo(Info, level); - mods a players level
    PVP
    Code:
    IsPvPFlagged() - When returned true, player is in pvp
    SetPvPFlag(); - Sets the player in pvp
    RemovePvPFlag(); - Removes the player from pvp
    IsFFAPvPFlagged() - When returned true, player is in FFA pvp
    SetFFAPvPFlag(); - Sets the player in FFA pvp
    RemoveFFAPvPFlag(); - Removes the player from FFA pvp
    RecalculateHonor(); - Reloads honor
    AddKnownTitle(18);-adds title rank 18SetPVPRank(8);- sets pvp rankSetUInt32Value(UNIT_FIELD_DISPLAYID, 17233);- sets display idDeMorph();- dimorphs player
    PVE
    Code:
    CombatStatus.IsInCombat();-returns true for aplayer that is in combat

    Spells
    Code:
    AddAura(#); - Adds an aura to the player
    addSpell(spellid); - Adds a spell to the player
    CastSpell(target, spellid, 0); - Cast a spell on target
    HasSpell(spellid); - Returns true if the player has the spell
    Quests
    Code:
    HasFinishedQuest(quest_id); - Returns true if player has finished the quest
    HasQuestForItem(itemid); - Returns true if player has quest item
    HasQuestSpell(spellid); - Returns true if player has quest spell
    HasQuest(quest_id); - Returns true if player has quest
    Gossip
    Code:
    objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2593, Plr);-Creates the main menu
    GossipSelectOption(Object* pObject, Player* Plr, uint32 Id, uint32 IntId, const char * Code)- Makes the sub menus and options
    Menu->AddItem(0, "Take Me To Alliance Mall", 201)- Adds a new option in menu
    Gossip_Complete();-tells script its done computing script until called again
    Server Hooks
    Code:
    OnNewCharacter(uint32 Race, uint32 Class, WorldSession * Session, const char * Name);
    OnKillPlayer(Player * pPlayer, Player * pVictim);
    OnFirstEnterWorld(Player * pPlayer);
    OnEnterWorld(Player * pPlayer);
    OnGuildCreate(Player * pLeader, Guild * pGuild);
    OnGuildJoin(Player * pPlayer, Guild * pGuild);
    OnDeath(Player * pPlayer);
    OnRepop(Player * pPlayer);
    OnEmote(Player * pPlayer, uint32 Emote, Unit * pUnit);
    OnEnterCombat(Player * pPlayer, Unit * pTarget);
    OnCastSpell(Player * pPlayer, SpellEntry * pSpell);
    OnLogoutRequest(Player * pPlayer);
    OnLogout(Player * pPlayer);
    OnQuestAccept(Player * pPlayer, Quest * pQuest, Object * pQuestGiver);
    OnZone(Player * pPlayer, uint32 Zone);
    OnChat(Player * pPlayer, uint32 Type, uint32 Lang, const char * Message, const char * Misc);
    OnLoot(Player * pPlayer, Unit * pTarget, uint32 Money, uint32 ItemId);
    OnEnterWorld2(Player * pPlayer);
    OnCharacterCreate(Player * pPlayer);
    OnQuestCancelled(Player * pPlayer, Quest * pQuest);
    OnQuestFinished(Player * pPlayer, Quest * pQuest, Object * pQuestGiver);
    OnHonorableKill(Player * pPlayer, Player * pKilled);
    OnArenaFinish(Player * pPlayer, ArenaTeam* pTeam, bool victory, bool rated);
    OnObjectLoot(Player * pPlayer, Object * pTarget, uint32 Money, uint32 ItemId);
    OnAreaTrigger(Player * pPlayer, uint32 areaTrigger);
    OnPostLevelUp(Player * pPlayer);
    OnPreUnitDie(Unit *Killer, Unit *Victim);
    OnAdvanceSkillLine(Player * pPlayer, uint32 SkillLine, uint32 Current);
    OnDealDamage(Player * plr);
    Last edited by darkimpacty; 07-18-2009 at 07:24 PM.

    List of C++ Commands
  2. #2
    Herleybob's Avatar Contributor
    Reputation
    178
    Join Date
    Jul 2007
    Posts
    663
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Um didnt gastric post this?

    Nom Nom Nom :P

  3. #3
    Psychotherapy's Avatar Member
    Reputation
    5
    Join Date
    Sep 2008
    Posts
    58
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No I don't think so :P
    Their was no similar topics to it.

Similar Threads

  1. [Reference] Truly Complete list of slash commands
    By Castseven in forum World of Warcraft Guides
    Replies: 16
    Last Post: 10-12-2009, 11:56 AM
  2. Full list of lua commands
    By runiker in forum WoW EMU Questions & Requests
    Replies: 10
    Last Post: 12-25-2008, 02:46 PM
  3. [List] GM/Admin Commands
    By Greensponge in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 12-14-2007, 09:32 PM
  4. [Guide] Command List
    By oninuva in forum World of Warcraft Guides
    Replies: 5
    Last Post: 05-17-2006, 08:28 PM
All times are GMT -5. The time now is 09:22 AM. 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