I actually changed it to scribe instead of spells thinking the same thing. However handing them the item don't scribe the spells still. Going to try changeing there name to something else and see what it does.
|
Quote:
Quote:
Quote:
Anyway, I plan to use scribespells(); soon here in one of my quests so ill report back to this thread on the effectiveness via 5.7-DR6 stock source. |
Guys, this forum isn't for critiqing whatever elementary school teachings there are in various countries - it's for quest creation. Lets keep it to that, thanks!
|
ya typos happen. sorry i started it. but i just critiqued his Code. There's nothing i hate worse than being on a server and seeing blatantly mispelled words in the quests.
|
Try changing the scribespells function(parser.cpp) with the contents of #scribespells command.You will need to enter an integer as argument to tell the level.I hope I have not so much english faults lol.
|
I tried changing the quest around, and I even made a whole new npc (A_Teacher_of_Magic) and still get the same thing. I tried it with the 65 in there, and I tried it without anything in it, here is what I have right now:
sub EVENT_SAY { if ($text=~ /Hail/i){quest::say("Hello $name, are you interested in having your spells [scribed]?");} if ($text=~ /scribed/i){quest::say("You have come to the right person, however I need you to do me a small favor. I do not like those thieves that have been hanging around the sewers. You do know where I am talking about right? It is the ones to the left of the gates of Freeport which lead you to North Freeport. Anyways bring me one of their daggers and I will teach you all the spells that a $class can use.");} if ($text=~ /just do it/i){quest::say("You don't have to get nasty $name, fine here is your blasted spells!"); quest::scribespells();} } sub EVENT_ITEM { if ($itemcount{1451} == 1){quest::say("Thank you for your assistance $name. As promised here is your spells."); quest::scribespells(65); quest::exp(25);} } When I say "Just do it" I don't even get the text. When I hand item 1451 in, I don't get no text and I don't get the exp either. Basically the only reason I have the exp in there is just to see if any of it works. Pretty much all it does right now is responds to hail and scribed. You know, now that I think of it I don't think there is any servers that has a working spells scriber? Is this possibly a command that simply don't work as part of a quest atm? Might just end up doing like scorp2k does and just have gm's do it. On the brighter side got some of my quests working that I couldn't get to work before. Penfrost's Quest can now be completed. |
Code:
# perlQuest |
I copied it and put it in there. Does nothing when I say Just do it and does nothign when handed item 1451.
|
Thanks for the ideas guys :) I just started working w/ jimbox114 and I've done a few quests of my own so hopefully between the 2 of us, we can get this working (<3 quests in every aspect) And dont worry, I'll teach him to spell yet :P
Boggles/Tovya |
Do you have any zone.exe errors jimbox?
|
Quote:
|
Out of curiousity whats the unknown opcode, someone is going to ask anyhow =)
Darkwaters |
All times are GMT -4. The time now is 12:18 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.