player:SetModel???!? menu

User Tag List

Results 1 to 6 of 6
  1. #1
    davidknag's Avatar Active Member
    Reputation
    49
    Join Date
    Nov 2009
    Posts
    201
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    player:SetModel???!?

    i was working on a custom model script and i noticed that

    player:SetModel() now doesn't mount you it morphs you!
    is there any fix for this now?

    thanks,

    David

    player:SetModel???!?
  2. #2
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    SetModel() has always morphed you. To mount you do: SetMount().

  3. #3
    davidknag's Avatar Active Member
    Reputation
    49
    Join Date
    Nov 2009
    Posts
    201
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks stoneharry you're the best !

    ---------- Post added at 08:23 AM ---------- Previous post was at 08:18 AM ----------

    tbh tho, it doesn't fully work
    here's the code

    Code:
    local itemid = 1335
    function Item_Trigger(item, event, player)
        Item_menu(item, player)
    end
    function Item_menu(item, player)
                             
        item:GossipCreateMenu(2, player, 0)
        item:GossipMenuAddItem(4, "Mount me on a Dragon", 2, 0)
    	item:GossipMenuAddItem(4, "Mount me on a Wasp", 4, 0)
        item:GossipMenuAddItem(4, "Dismount", 3, 0)
        item:GossipSendMenu(player)
        end
    function OnSelect(item, event, player, id, intid, code)
    
        if (intid == 2) then
        player:SetFlying()
        player:ModifyRunSpeed(21)
        player:SetMount(22841)
    		player:GossipComplete()
        end
        if (intid == 4) then
        player:SetFlying()
        player:ModifyRunSpeed(15)
        player:SetMount(22641)
    		player:GossipComplete()
        end
        if (intid == 3) then
        player:SetMovementType(256)
        player:ModifyRunSpeed(7.5)
        player:SetMount(0)
    		player:GossipComplete()
        end
    end
     
    RegisterItemGossipEvent(1335,1,"Item_Trigger")
    RegisterItemGossipEvent(1335,2,"OnSelect")

  4. #4
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    :SetPlayerSpeed(speed)
    ^
    That's the command for changing players speed. The one your using is for npc's.
    SetFlying() doesn't enable flying, it just enables hover mode (via a spell last time I checked) and I don't know how to truly make a player fly.

  5. #5
    davidknag's Avatar Active Member
    Reputation
    49
    Join Date
    Nov 2009
    Posts
    201
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok, thanks for you help any dude.

  6. #6
    Link_S's Avatar Member
    Reputation
    125
    Join Date
    Dec 2008
    Posts
    293
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In C++ I use packets to make set a player into fly mode. I know this is also available through Lua using the packet system Hypersniper designed here
    Packet System -- ArcEmu

    You'll have to lookup how the specific packet is constructed in the core.
    Why do I need a signature?

Similar Threads

  1. [Exploit] Find out if an opposite faction player is online
    By Matt in forum World of Warcraft Exploits
    Replies: 7
    Last Post: 11-04-2006, 09:22 AM
  2. [Macro] Trick players to think your going a different way..
    By janzi9 in forum World of Warcraft Exploits
    Replies: 40
    Last Post: 08-14-2006, 03:46 PM
  3. Player Killing in Cenarion Hold
    By Matt in forum World of Warcraft Exploits
    Replies: 1
    Last Post: 05-10-2006, 06:05 PM
  4. AQ40 Disconnect lazy players
    By Matt in forum World of Warcraft Exploits
    Replies: 0
    Last Post: 05-02-2006, 01:13 PM
All times are GMT -5. The time now is 02:38 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