EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Guide to the Perl Quest system *updated 16/02/2004* (https://www.eqemulator.org/forums/showthread.php?t=11052)

mrea 10-04-2004 10:05 AM

Alright
 
Well, this isn't entirely about quests, but whenever I use Mysql-Front and edit data for my dbs (wanted everyone to start in FP at these certain zone coords) it seems to revert back to the previous stuff whenever I exit the program. Does anyone know how to fix this? Also, the quests that I associate with a certain mob i made (did the #Npcspawn create and #npcspawn add) do not work. They are saved to C:\Eqemu\Quests\freportw\soandso.pl. Is this correct?

Maquiavelo 10-11-2004 07:15 AM

I'm having a small problem with this.

I have everything running, I'm testing the soulbinder script, I added it ot the NPC, the NPC respond to the hail, I tell him to bind my soul, he casts the spell on me.

But I'm never really bound, the spell just doesnt work.

I've tried with other spells and is the same thing.

I'm running 0.5.9-DR2.

Any ideas ?

Derision 10-11-2004 08:23 AM

When I was playing with soulbinders, castspell didn't work, as you described, so I used selfcast which, seemed to work OK. (Been a while since I played with this though). IIRC I had the same problem with translocators, I had to use selfcast rather than castspell.

Code:

sub EVENT_SAY {
if ($text=~/Hail/i){quest::say("Greetings $name . When a hero of our world is slain. their soul returns to the place it was last bound and the body is reincarnated. As a member of the Order of Eternity. it is my duty to [bind your soul] to this location if that is your wish."); }
if ($text=~/bind my soul/i){quest::say("Very well. You will return to this spot when you die.");
quest::selfcast(2049); }
}
#END of FILE Zone:neriaka  ID:5555 -- Soulbinder_Nola_Z`Ret


sotonin 10-11-2004 08:33 AM

Aye we had that issue too. Will probably be looked at and fixed for the WR release.

finwe 10-12-2004 12:40 AM

problem installing
 
when i do install IO::Scalar i get the following:

cpan> install IO::Scalar
Going to read \.cpan\sources\authors\01mailrc.txt.gz
Going to read \.cpan\sources\modules\02packages.details.txt.gz
Warning: Your \.cpan\sources\modules\02packages.details.txt.gz does not contain
a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your \.cpan\sources\modules\02packages.details.txt.gz does not contain
a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Going to read \.cpan\sources\modules\03modlist.data.gz
Can't locate object method "data" via package "CPAN::Modulelist" (perhaps you fo
rgot to load "CPAN::Modulelist"?) at (eval 19) line 1.
CPAN::Index::rd_modlist('CPAN::Index','\.cpan\sour ces\modules\03modlist.
data.gz') called at C:/Perl/lib/CPAN.pm line 3129
CPAN::Index::reload('CPAN::Index') called at C:/Perl/lib/CPAN.pm line 67
5
CPAN::exists('CPAN=HASH(0x1cc0634)','CPAN::Module' ,'IO::Scalar') called
at C:/Perl/lib/CPAN.pm line 1842
CPAN::Shell::expandany('CPAN::Shell','IO::Scalar') called at C:/Perl/lib
/CPAN.pm line 2078
CPAN::Shell::rematein('CPAN::Shell','install','IO: :Scalar') called at C:
/Perl/lib/CPAN.pm line 2165
CPAN::Shell::install('CPAN::Shell','IO::Scalar') called at C:/Perl/lib/C
PAN.pm line 201
eval {...} called at C:/Perl/lib/CPAN.pm line 201
CPAN::shell() called at -e line 1

cpan>

What can be happening???? tks

Xothin 10-21-2004 03:38 PM

Has anyone taken a look at the castspell() function yet?

Still does the same thing, nada. ^.^

Cisyouc 10-22-2004 10:31 AM

thats because castspell() isnt a function.

cast() -- npc casts a spell
selfcast() -- Player casts spell on self.

Sarepean 10-27-2004 11:03 AM

Is there a way to access a loot table instead of just summoning a set item? Or maybe for example, a perl function that rolls a "d20" and bases the quest reward on the result???

-Sarepean

Xorith 11-18-2004 01:19 PM

Curious if anyone knows anything about the new Perl system, the one that implements commands.pl and XS.

I'm wondering what added features are not discussed, and how to do commands. Mainly, what methods and objects are available? I did some source-diving and found things like "Client::<method>", but they give me errors, as does the "$client->Method" way.

Lurker_005 11-19-2004 07:28 AM

For more information on the updated perl quest system, look for posts by fathernitwit since he is the one currently reworking it:

http://www.eqemulator.net/forums/viewtopic.php?t=18147
http://www.eqemulator.net/forums/viewtopic.php?t=18404
http://www.eqemulator.net/forums/viewtopic.php?t=18432
and also
http://www.eqemulator.net/forums/viewtopic.php?t=18480
http://www.eqemulator.net/forums/viewtopic.php?t=18573


All times are GMT -4. The time now is 02:33 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.