Page 1 of 1

Post your problems!

Posted: Fri Jul 09, 2010 4:11 pm
by Gatz
I'd love to see folks create topics about problem progs they have. Really, scripting out a prog can be difficult at first, but not impossible. Sometimes, it just takes another set of eyes on the issue. So, post your problems or issues or if you need help getting an idea off the ground.

Re: Post your problems!

Posted: Fri Feb 03, 2012 9:11 am
by Madiku
For some reason I can't get a mprog to mpoload an item :cry: so i can have it load and give it to them for a quest >.>

:arrow: :arrow: :arrow: :arrow: :arrow: :evil:

Re: Post your problems!

Posted: Fri Feb 03, 2012 3:33 pm
by Gatz
Madiku wrote:For some reason I can't get a mprog to mpoload an item


Can you post the syntaxt you're trying to use? Also, can you use ostat to confirm that item exists?

Re: Post your problems!

Posted: Sat Feb 04, 2012 1:00 am
by Madiku
Yea I have made 3 items for the quest, I'm wondering if it is only because it is prototype that is not working? I even tried making the npc immortal but the help file says its not implemented yet. I posted the prog below, (After this quest and a quick making of a food item i'm done, just got stuck on this after a couple hours and took a break, but I must say i really like Smaug's OLC,)

Ashido wrote:2>speech_prog "Key Quest."
if hasqbit($n) == 5112
mpsleep 2
say You've completed this quest and you already have a key...
else
endif
if hasqbit($n) == 5111
mpsleep 2
say You already have this quest, go bring the parchment to the blacksmith.
else
mpqset $n 5111
mpsleep 3
say So you wan't a key, huh $n? Well I suppose I can afford to give you+
one, but only if you do something for me in return.
mpsleep 6
say Could you have the blacksmith do an order for me?
mpaset $n 5111
mpsleep 2
mpecho Shizuko scrounges his pockets...
mpsleep 6
mpoload 5117 1
give parchment $n
endif

Re: Post your problems!

Posted: Sat Feb 04, 2012 8:38 pm
by Madiku
*FIXED* Thank you Gatz =D