Page 1 of 1

Quest name

Posted: Wed Sep 26, 2012 2:06 pm
by _hirondelle
Good evening,

Yesterday, I was abble to complete quest with a simple code.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
	local dqCount, dqPerDay = RoMScript("Daily_count()");
	while dqCount ~= 10 do
		dqCount, dqPerDay = RoMScript("Daily_count()");
			player:target_NPC("Robbie Butcher");
			AcceptQuestByName("de");
			player:target_NPC("Robbie Butcher");
			CompleteQuestByName("de");
		
	end;
	--loadPaths("blyads_dogmeat_loop.xml")
	player:logout()
	error("Ending script",2)
</onLoad>
</waypoints>
The french name quest is "Difficultés de ravitaillement".

There is a &eacute;...

I can't noww use my old code because he don't find the quest.
Ok, I'll make this properly and I change to this :

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
	local dqCount, dqPerDay = RoMScript("Daily_count()");
	local meatquest = GetIdName(424180);
	while dqCount ~= 10 do
		dqCount, dqPerDay = RoMScript("Daily_count()");
			player:target_NPC("Robbie Butcher");
			AcceptQuestByName(meatquest);
			player:target_NPC("Robbie Butcher");
			CompleteQuestByName(meatquest);
		
	end;
	--loadPaths("blyads_dogmeat_loop.xml")
	player:logout()
	error("Ending script",2)
</onLoad>
</waypoints>
But I have this message :
We try to find NPC Robbie Butcher:
We successfully target NPC Robbie Butcher and try to open the dialog window.
Questname not found: Difficult├®s de ravitaillement
What did I missed ?

Re: Quest name

Posted: Wed Sep 26, 2012 2:47 pm
by rock5
"Userfunctions, waypoint scripts, etc." is only for sharing files, not for asking for help.

Try writing the name with dots replacing all the special characters. See if that works.

Eg.

Code: Select all

AcceptQuestByName("Difficult.s de ravitaillement")

Re: Quest name

Posted: Wed Sep 26, 2012 3:50 pm
by Ego95
Or you use just

Code: Select all

AcceptQuestByName("de ravitaillement")
Parts of the Questname should work, too.