[SOLVED] Taxi on Quest Accept menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    controlsx2's Avatar Member
    Reputation
    16
    Join Date
    Jun 2007
    Posts
    223
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [SOLVED] Taxi on Quest Accept

    Im trying to make a quest, that when accepted makes your fly around an area. But on taking the quest nothing ahppens. Can anyone see why? Im not getting any errors

    Code:
    function LevelTour_OnQuestAccept(event, Player, pQuestGiver, questId)
        if(questId == 291501) then 
    	Player:SendBroadcastMessage("DEBUG: LevelRoadTaxi")
    	local LevelingRoadTour
    	LevelingRoadTour = LuaTaxi:CreateTaxi()
    		LevelingRoadTour:AddPathNode(1, 5371.613281, -3734.627197, 1623.341064)
    		LevelingRoadTour:AddPathNode(1, 5370.723145, -3689.628662, 1600.732910)
    		LevelingRoadTour:AddPathNode(1, 5350.239258, -3669.909912, 1597.379517)
    		LevelingRoadTour:AddPathNode(1, 5285.966797, -3694.568848, 1614.047607)
    		LevelingRoadTour:AddPathNode(1, 5248.104492, -3515.797363, 1619.830322)
    		LevelingRoadTour:AddPathNode(1, 5248.104492, -3515.797363, 1619.830322)
    		LevelingRoadTour:AddPathNode(1, 5200.380586, -3352.350098, 1637.130005)
    		LevelingRoadTour:AddPathNode(1, 5183.259766, -3352.350098, 1637.130005)
    		Player:StartTaxi(LevelingRoadTour, 17699)
    end
    end
    
    
    RegisterServerHook(14, "LevelTour_OnQuestAccept")
    Last edited by controlsx2; 07-16-2010 at 02:54 PM.

    [SOLVED] Taxi on Quest Accept
  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)
    Code:
    function OnQuestAccept(event, pPlayer, questId, pQuestGiver)
        if questId == 1 then
        local Taxi = LuaTaxi:CreateTaxi()
        Taxi:AddPathNode(1, 7830, -2240, 475)
        Taxi:AddPathNode(1, 7708, -2201, 472)
        Taxi:AddPathNode(1, 7582.8, -2188, 487)
        Taxi:AddPathNode(1, 7535.9, -2129.8, 494)
        Taxi:AddPathNode(1, 7482.1, -2126.3, 492.5)
        Taxi:AddPathNode(1, 7482.1, -2126.3, 492.5)
        pPlayer:StartTaxi(Taxi, 28400)
        end
    end
    
    RegisterServerHook(14, "OnQuestAccept")
    That is my script, compare it to yours. The parameters are the wrong way round on yours, you need to switch questid and questgiver ones around in the function then it should work.
    Last edited by stoneharry; 07-16-2010 at 11:22 AM.

  3. #3
    controlsx2's Avatar Member
    Reputation
    16
    Join Date
    Jun 2007
    Posts
    223
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks soo much Stone. I wasnt sure of the args and just googles :AddPathNode and copied the args from another script. Guess i googled a bad one lol.

    Thanks again!!

Similar Threads

  1. [Trinity] [Solved] Item Delivery Quests - Quest Ender Not Working on Custom Ones
    By st0rmblast in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 06-24-2016, 03:30 PM
  2. [Auto-Clicker] [AutoHotKey]Devilian -- Remote quest accept and turn in + Auto run to quest script
    By Parog in forum Devilian Exploits|Hacks
    Replies: 7
    Last Post: 01-21-2016, 04:13 PM
  3. Replies: 6
    Last Post: 01-15-2016, 05:53 PM
  4. Aouto Complete / Accept Quest *Macro*
    By Drorharush in forum World of Warcraft Exploits
    Replies: 17
    Last Post: 10-11-2007, 09:31 PM
All times are GMT -5. The time now is 11:30 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