• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] CompleteQuest() dosnt seem to work

Status
Not open for further replies.

Nirelz

Epic Member
Latest Rev. (3ad7d9a7678510ab9a997ab0cae28920f7005bde)

Apperently the :CompleteQuest does not seem to work for me, it says "objective complete" but the quest is still uncompleted.

Any ideas?
 

Nirelz

Epic Member
How are you using it?
Are you using it to skip objectives?

Quest Becoming a Shadoweave Tailor is not working as it should for me.
http://wotlk.openwow.com/quest=10833
It does not complete the objective when used item(spell) at correct place.

Linking your code would be beneficial. :p

local function Shadowweave(event, player, spell, skipCheck)
if(spell:GetEntry() == 39094) then
player:CompleteQuest(10833)
end
end

RegisterPlayerEvent(5, Shadowweave)

Tried :SetQuestStatus(10833, 1) aswell but didnt do anything then, not even say "objective complete"
 

Rochet2

Moderator / Eluna Dev

I personally cant check on it before end of the week. Too much assignments and other things.
This is why I recommend posting anything relevant to the issue (what it does, what it was expected to do etc) so when there is time, the issue can be solved effectively.
(hence le questions)
 

Foereaper

Founder
Tested the method and working like it should on Mangos Zero at least. Don't have a TC source set up for testing on TC though unfortunately.
 

Nirelz

Epic Member
I personally cant check on it before end of the week. Too much assignments and other things.
This is why I recommend posting anything relevant to the issue (what it does, what it was expected to do etc) so when there is time, the issue can be solved effectively.
(hence le questions)

I did answer the questions saying what it is supposed to do?

Tested the method and working like it should on Mangos Zero at least. Don't have a TC source set up for testing on TC though unfortunately.

It works fine on my local tc but its about 5 months old so is the eluna and im attempting to use it on the newest version but it just says "Objective complete" and still 0/1 instead of 1/1
 

Rochet2

Moderator / Eluna Dev
I did answer the questions saying what it is supposed to do?
It works fine on my local tc but its about 5 months old so is the eluna and im attempting to use it on the newest version but it just says "Objective complete" and still 0/1 instead of 1/1

I was just saying since you are bumping and seeming like you feel like you are getting no attention at all, even though the time frames are like 1~2 days.
And just emphasizing that the questions I asked are for later evaluation and if you have anything to add, you could do so.
 

Rochet2

Moderator / Eluna Dev
Soon™
The method is not in itself bugged. However I guess we could make it complete the quest objectives as well, like the GM command.

Meanwhile you can use this:

Code:
local function Shadowweave(event, player, spell, skipCheck)
    if(spell:GetEntry() == 39094) then
        player:[COLOR="#FFA500"]KilledMonsterCredit[/COLOR]([COLOR="#FFA500"]22395[/COLOR])
    end
end

RegisterPlayerEvent(5, Shadowweave)

The quest requires a creature killed credit (as seen on the quest template) and you just need to reward it. For some reason there is no script for it yet etc.
 
Status
Not open for further replies.
Top