Having a problem? Post it here.
-
Sei Ryu
- Admirable

- Posts: 135
- Joined: Wed Jul 13, 2011 5:52 am
Post
by Sei Ryu » Fri Aug 05, 2011 11:47 pm
I went through all the vendors in Skara Brae TWICE, none of them gave me package deliveries for any of the local vendors. I am trying to remember the last time I got a package delivery for someone from Skara Brae, but I can't remember any at all.
Checking at the WoD scripts, it leads me to guess the FindMyTown() function is failing. Check the case for Skara Brae in compile\include\towns.inc:
Code: Select all
elseif (x >= 530 and x <= 2250 and y >= 2100 and y <= 600)
return TOWN_SKARA_BRAE;
The 2250 and 600 must be swapped to fix the problem.
Gradilla Dragon
-=={UDIC}==-
Chars: Sighard Kharada, Taliaali Kharada, Walja Kharada, Zebey Kharada, Sarinder Kharada, Maedhros Kharada
-
Sei Ryu
- Admirable

- Posts: 135
- Joined: Wed Jul 13, 2011 5:52 am
Post
by Sei Ryu » Fri Aug 05, 2011 11:53 pm
Also, the case for Minoc doesn't feel right to me.
Code: Select all
elseif (x >= 2400 and x <= 2650 and y >= 2500 and y <= 700)
return TOWN_MINOC;
The y >= 2500 should be y >= 250
Gradilla Dragon
-=={UDIC}==-
Chars: Sighard Kharada, Taliaali Kharada, Walja Kharada, Zebey Kharada, Sarinder Kharada, Maedhros Kharada
-
Laephis
- Administrator
- Posts: 312
- Joined: Thu Jul 07, 2011 9:57 pm
Post
by Laephis » Fri Aug 05, 2011 11:58 pm
Thanks, I'll test this out this weekend.
-
Sei Ryu
- Admirable

- Posts: 135
- Joined: Wed Jul 13, 2011 5:52 am
Post
by Sei Ryu » Sat Aug 06, 2011 12:07 am
Lets hope with these two fixes we finally stop getting the "Well, I could... Hmm... No, never mind. Come back later." message while asking for a quest.
Gradilla Dragon
-=={UDIC}==-
Chars: Sighard Kharada, Taliaali Kharada, Walja Kharada, Zebey Kharada, Sarinder Kharada, Maedhros Kharada
-
Laephis
- Administrator
- Posts: 312
- Joined: Thu Jul 07, 2011 9:57 pm
Post
by Laephis » Sat Aug 06, 2011 12:54 am
Update: I made the changes to towns.inc, recompiled all the scripts in pkg\npcs\townfolk\merchants, but no vendor quests ever came up for Skara. Maybe there's something more to this issue?
-
Sei Ryu
- Admirable

- Posts: 135
- Joined: Wed Jul 13, 2011 5:52 am
Post
by Sei Ryu » Sat Aug 06, 2011 5:46 am
Maybe restarting the NPC vendors? The quest script looks at a global array of the vendors for each town. Each vendor adds itself to the global array upon vendor startup or vendor restart.
the global array is ("#merchants_of_town_" + chosentown), where chosentown should be 10 for Skara Brae
Gradilla Dragon
-=={UDIC}==-
Chars: Sighard Kharada, Taliaali Kharada, Walja Kharada, Zebey Kharada, Sarinder Kharada, Maedhros Kharada
-
Sei Ryu
- Admirable

- Posts: 135
- Joined: Wed Jul 13, 2011 5:52 am
Post
by Sei Ryu » Sat Aug 06, 2011 6:59 am
Ok, finally found the problem: the compile\include\towns.inc is obsolete, the WoD scripts use scripts\include\locations.inc instead.
Also, the coordinates for Skara Brae are a little off. The correct coordinates are:
Code: Select all
elseif (x >= 530 and x <= 680 and y >= 2100 and y <= 2290)
return TOWN_SKARA_BRAE;
I verified the ones for Minoc, they work with the change I suggested:
Code: Select all
elseif (x >= 2400 and x <= 2650 and y >= 250 and y <= 700)
return TOWN_MINOC;
Gradilla Dragon
-=={UDIC}==-
Chars: Sighard Kharada, Taliaali Kharada, Walja Kharada, Zebey Kharada, Sarinder Kharada, Maedhros Kharada
-
Laephis
- Administrator
- Posts: 312
- Joined: Thu Jul 07, 2011 9:57 pm
Post
by Laephis » Sat Aug 06, 2011 1:49 pm
This should be fixed now, let me know if it needs any more tweaking.
Who is online
Users browsing this forum: No registered users and 3 guests