PDA

View Full Version : In Game perl commands


Apoc.Index
09-03-2011, 06:19 PM
Hello everyone, so.. I am starting to re do all my quests in the Tutorial after the crash.

I dont know if I am useing the wrong command or not.

The starting zone is taka, in my eqemu quest's folder i added taka, then added the (DBnumber).pl file and wrote the quest in there.
after placing it in there I 'Saved As' (DBnumber).pl and selected save as type 'All Files'

After doing so, In game i typed #reloadpl to refresh the client/db quest file.

Is that the proper command? If so, I must have something goofy going on in the DB because the NPC will not respond.

Next idea would be is there something wrong with the script. Well, Here the script is.

*****************
sub EVENT_SAY
{
if ($text =~/Hail/i)
{
quest::say("Hello $name! Would you like me to set all your [Discs], or perhaps you are interested in learning all of your [spells]?");
quest::say ("Or maybe you are a [bard] in need of music lessons?"); #A conversation to Scribe ALL spells For Player (up to curr. level)
}
elsif($text=~/Discs/i)
{
quest::traindiscs(75, 1); #Trainsdiscs to the users CURRENT Level
}
elsif ($text =~/bard/i)
{
quest::say ("Yes, normally you would think of a bard as being an adept student of music. For some reason, these lands slow the music learning ability to such an extent that I am willing to use my magic to train their abilities. Are you [ready] to learn?");
}
elsif ($text =~/ready/i)
{
quest::say ("Listen closely as the essence of music fills your soul!");
quest::addskill(12,255);
quest::addskill(41,255);
quest::addskill(49,255);
quest::addskill(54,255);
quest::addskill(70,255);
}
elsif ($text =~/spells/i)
{
quest::say ("Good, stand where you are while I begin your lessons");
quest::scribespells(75 ,1);
}
}
*********************

I dont see anything flashing out at me as wrong, but a 2nd set of fresh eyes allways helps.

Thanks guys!

Apoc.

lerxst2112
09-03-2011, 06:50 PM
It worked for me attached to an NPC by name or ID. Perhaps you have the wrong ID? Target the NPC and type #showstats. The number next to NPCID: is what worked for me. I generally do them by name though.

Apoc.Index
09-03-2011, 07:12 PM
Ok, so I double checked the NPCID and I have it set correctly, I also did it by name and still not working.

However, I wonder if there is the possibility that due to taka normally being an instanced zone. Would useing it as a stagnent zone cause issues? I wouldnt see why it would.. but its the last thing I can think of. Next to the folder being named wrong and not the proper zone shortname.

The folder is currently named taka, the zones ID is 231 IIRC. and when #fz taka is displayed, it still shows its shortname as 'taka'. lol

I dunno! Hope I can figure this one out lol, spent the last 13 hrs populating the zone!

lerxst2112
09-03-2011, 09:04 PM
Put the file on a different NPC in a different zone and see if it works. I used one of the guards in guildlobby because it was convenient.

It will at least help you narrow down the problem.

Apoc.Index
09-03-2011, 09:32 PM
Yeah, I tried everything I can think of. And it wont work. It must be something to do with the zone its self. Insted, Im sub-Dividing the tutorial zone. A normal stagnent zone, and adding all the basic Scribe/disc/skill/greeter/and teleporter to this zone, and leaking Taka as the first 'Grind' Zone / combat zone.

I think it should resolve my problems, it just stinks that I cant add any special scripts to the named in there =( lol.

Hey, thanks for your help tho lerxst! Manny thanks bud!

Apoc.

lerxst2112
09-03-2011, 10:22 PM
I made taka a static zone, added a taka directory under quests, put an NPC in the zone, attached a quest to it, and it works fine.

That particular zone shouldn't be any different from any other zone. It just happens to be one that didn't already have a quest directory.

Apoc.Index
09-03-2011, 10:49 PM
Yeah, even after attempting a different zone, and repairing my perl install.. I cant get any quest to respond... Im baffled.

I MUST be missing something, tried just a simple hail quest/respond in PoK, nothing...
tried something in the new sub tutorial and got nothing...

This is not good lol, any ideas of where to check? Maybe re install Pearl?

lerxst2112
09-04-2011, 12:14 AM
It sure sounds like something is broken with perl. You might dig through some logs and see if there are any error that might give you a clue what's going on.

I assume that even the standard quests from SVN don't work?

Apoc.Index
09-04-2011, 01:14 AM
Yeah, nothing was working.. I just re built the DB again. I found that whe including a perl Folder, I had it as Perl and not perl, like it was in the directory. Im hopeing maybe that fixed it and with the fresh compile.

I also switched to a later version of perl and made sure it was 32bit, im running 64 bit. But It wasnt an issue before so, I must have made a mistake somewhere.

I just need to find it.

ghanja
11-28-2012, 12:01 PM
Yeah, nothing was working.. I just re built the DB again. I found that whe including a perl Folder, I had it as Perl and not perl, like it was in the directory. Im hopeing maybe that fixed it and with the fresh compile.

I also switched to a later version of perl and made sure it was 32bit, im running 64 bit. But It wasnt an issue before so, I must have made a mistake somewhere.

I just need to find it.

In my many reinstallations of EQEMU (box changes, experimentation, etc.) I found that installing Perl -after- MySQL, even if just an update to the Perl version would fubar things, likely due to botching the DBI module linkings, etc.

I can also tell you, that once or twice, I would forget to install the DBI and Stringy-IO.

I would uninstall MySQL completely, reboot. Install the Perl version you're wanting to go with (I'd go with the recommended versions), reboot. Install the DBI and Stringy-IO modules, reboot. Then reinstall MySQL and go from there.

The aforementioned out of order/updating version issues could be why you are experiencing issues. Also, there is the very first installation I ever did. I used a different version Perl on the compiling machine than the one on the machine running EQEmu. That 'broke' Perl as well, where even 'hails' were ignored.

*Edit: Holy necro reply. WTF. This showed up as new (complete with new post icon and all). Very sorry about this. Feel free to delete this post of mine.. damn :/

jia_jacky
07-11-2017, 02:30 AM
Yeah, nothing was working.. I just re built the DB again. I found that whe including a perl Folder, I had it as Perl and not perl, like it was in the directory. Im hopeing maybe that fixed it and with the fresh compile.

I also switched to a later version of perl and made sure it was 32bit, im running 64 bit. But It wasnt an issue before so, I must have made a mistake somewhere.

I just need to find it.

Hi Apoc.Index. Could you tell me how you solved this problem? I meet the same problem. All the perl scripts did not work, no any response even type "Hail". But lua scripts worked. I have ever setup the eqemu many time, using physical computer, using vmware, using windows 7 32 bit, using windows 7 64bit, using mysql 5.1 5.5 5.6 5.7, using mariadb, using perl 5.12, using perl 5.16. I even tried to use the installer, but it still did not work.

jia_jacky
07-11-2017, 02:33 AM
In my many reinstallations of EQEMU (box changes, experimentation, etc.) I found that installing Perl -after- MySQL, even if just an update to the Perl version would fubar things, likely due to botching the DBI module linkings, etc.

I can also tell you, that once or twice, I would forget to install the DBI and Stringy-IO.

I would uninstall MySQL completely, reboot. Install the Perl version you're wanting to go with (I'd go with the recommended versions), reboot. Install the DBI and Stringy-IO modules, reboot. Then reinstall MySQL and go from there.

The aforementioned out of order/updating version issues could be why you are experiencing issues. Also, there is the very first installation I ever did. I used a different version Perl on the compiling machine than the one on the machine running EQEmu. That 'broke' Perl as well, where even 'hails' were ignored.

*Edit: Holy necro reply. WTF. This showed up as new (complete with new post icon and all). Very sorry about this. Feel free to delete this post of mine.. damn :/

Hi ghanja. Could you tell me how you solved this problem?

I meet the same problem. All the perl scripts did not work, no any response even type "Hail". But lua scripts worked. I have ever setup the eqemu many time, using physical computer, using vmware, using windows 7 32 bit, using windows 7 64bit, using mysql 5.1 5.5 5.6 5.7, using mariadb, using perl 5.12, using perl 5.16. I even tried to use the installer, but it still did not work.

Could you give me some advice?

kokey98
07-11-2017, 10:32 AM
uninstall, start over.

go to wiki. read through it once before doing anything, take notes if necessary. (the installer wiki, keep it simple)

install the pre-requesites it "assumes" you have installed -- the proper release, not the most up-to-date in some cases like perl... if 32 bit you need an EXACT version, not just any. all the specifics are in the wiki. if it doesn't work, you missed something... read it again. just remember it wokrs for 1000's of other people, so it's gotta be a local problem, if one arises. (nice way of saying it's your system, not their installer)

maybe turn UAC down in win7, it's a retarded feature anyway. unload any useless real-time anti-virus nonsense running in background. essentially, make sure you don't have any programs causing problems with the install and grabbing things from the net.

from what ghanja said, you want to install perl BEFORE you install maria/mysql -- although i really don't think that matters.

jia_jacky
07-11-2017, 10:41 PM
uninstall, start over.

go to wiki. read through it once before doing anything, take notes if necessary. (the installer wiki, keep it simple)

install the pre-requesites it "assumes" you have installed -- the proper release, not the most up-to-date in some cases like perl... if 32 bit you need an EXACT version, not just any. all the specifics are in the wiki. if it doesn't work, you missed something... read it again. just remember it wokrs for 1000's of other people, so it's gotta be a local problem, if one arises. (nice way of saying it's your system, not their installer)

maybe turn UAC down in win7, it's a retarded feature anyway. unload any useless real-time anti-virus nonsense running in background. essentially, make sure you don't have any programs causing problems with the install and grabbing things from the net.

from what ghanja said, you want to install perl BEFORE you install maria/mysql -- although i really don't think that matters.

Thank you for your advice. I will try to look over the wiki.

It did not have any error log, when eqemu was running. I have check the perl scripts in the plugins and quests with "perl -c ". perl.exe works perfactly and all the scripts, dadabase, binary were the latest version . I mean that i did everything i could think of.

kokey98
07-12-2017, 11:58 AM
right click properties for perl.exe and check Version [sic] on details tab of properties. make sure it matches what the wiki says...

also, for simplicity make sure you are follwing the setup for 32-bit server. 5.12.???? can't be a guess like that. pretty sure that's what the installer provides.

jia_jacky
07-13-2017, 11:26 AM
right click properties for perl.exe and check Version [sic] on details tab of properties. make sure it matches what the wiki says...

also, for simplicity make sure you are follwing the setup for 32-bit server. 5.12.???? can't be a guess like that. pretty sure that's what the installer provides.

The version of perl.exe is same as wiki what the wiki says...

And there was another problem. Characters were not transport to PoK from tutorialb (189:0), when a character entered the gate and clicked it.

C:\Users\xxxxx>perl --version

This is perl 5, version 12, subversion 3 (v5.12.3) built for MSWin32-x86-multi-thread
(with 9 registered patches, see perl -V for more detail)

Copyright 1987-2010, Larry Wall

Binary build 1204 [294330] provided by ActiveState http://www.ActiveState.com
Built Feb 9 2011 14:38:22

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

jia_jacky
07-13-2017, 12:42 PM
world log
===============================================

[07-14-2017 :: 00:20:24] [World Server] Checking Database Conversions..
[07-14-2017 :: 00:20:27] [World Server] Loading variables..
[07-14-2017 :: 00:20:28] [World Server] Loading zones..
[07-14-2017 :: 00:20:32] [World Server] Clearing groups..
[07-14-2017 :: 00:20:32] [World Server] Clearing raids..
[07-14-2017 :: 00:20:32] [World Server] Clearing inventory snapshots..
[07-14-2017 :: 00:20:33] [World Server] Loading items..
[07-14-2017 :: 00:20:33] [World Server] Loading skill caps..
[07-14-2017 :: 00:20:33] [World Server] Loading guilds..
[07-14-2017 :: 00:20:33] [World Server] Loaded default rule set 'default'
[07-14-2017 :: 00:20:33] [World Server] Loading EQ time of day..
[07-14-2017 :: 00:20:33] [World Server] Loading launcher list..
[07-14-2017 :: 00:20:33] [World Server] Reboot zone modes OFF
[07-14-2017 :: 00:20:33] [World Server] Deleted 0 stale player corpses from database
[07-14-2017 :: 00:20:33] [World Server] Loading adventures...
[07-14-2017 :: 00:20:35] [World Server] Purging expired instances
[07-14-2017 :: 00:20:39] [World Server] Loading char create info...
[07-14-2017 :: 00:20:39] [World Server] Console (TCP) listener started.
[07-14-2017 :: 00:20:39] [World Server] Server (TCP) listener started.
[07-14-2017 :: 00:20:39] [World Server] New Launcher connection from 4ea59aef-bf99-4c84-91e1-98bf75911ba7 at 127.0.0.1:49204
[07-14-2017 :: 00:20:39] [World Server] New UCS Server connection from 7d23155f-505e-4a38-8fdd-b01057ee3040 at 127.0.0.1:49203
[07-14-2017 :: 00:20:39] [World Server] New Query Server connection from e31400e0-857b-4610-92bd-deb0445f90c4 at 127.0.0.1:49202
[07-14-2017 :: 00:20:41] [World Server] New Zone Server connection from ab6b3b28-d6b5-449f-8500-6786dfe07ba6 at 127.0.0.1:49207
[07-14-2017 :: 00:21:00] [World Server] New Zone Server connection from b9ea659a-1032-4ba0-b041-c98118e4eff7 at 127.0.0.1:49209
[07-14-2017 :: 00:21:02] [World Server] New Zone Server connection from ea3de670-b5ec-4bb6-a17b-10c615cf20b8 at 127.0.0.1:49211
[07-14-2017 :: 00:21:04] [World Server] New Zone Server connection from cca4e452-21e4-4884-abc0-cdeb59a0c319 at 127.0.0.1:49213
[07-14-2017 :: 00:21:06] [World Server] New Zone Server connection from fcc9d2e1-de52-48e0-818b-d229334319ac at 127.0.0.1:49215
[07-14-2017 :: 00:33:20] [World Server] Account Attempting to be created: 'xxxxxx' status: 20
[07-14-2017 :: 00:33:20] [World Server] Account (xxxxxx) Logging in :: LSID: 3
[07-14-2017 :: 00:35:31] [World Server] Found 'TitaniumStartZoneID' rule setting: -1
[07-14-2017 :: 00:35:31] [Status] SoF Start zone query: SELECT x, y, z, heading, start_zone, bind_id, bind_x, bind_y, bind_z FROM start_zones WHERE zone_id = 10 AND player_class = 2 AND player_deity = 215 AND player_race = 5

[07-14-2017 :: 00:35:33] [World Server] Attempting autobootup of tutorialb (189:0)
[07-14-2017 :: 00:35:51] [World Server] (Ocosebi) Zoning from character select tutorialb (Zone ID 189: Instance ID: 0)
[07-14-2017 :: 00:41:15] [World Server] Account (xxxxxx) Logging in :: LSID: 3
[07-14-2017 :: 00:42:57] [World Server] Removed Zone Server connection from fcc9d2e1-de52-48e0-818b-d229334319ac
[07-14-2017 :: 00:42:57] [World Server] Removed Zone Server connection from cca4e452-21e4-4884-abc0-cdeb59a0c319
[07-14-2017 :: 00:42:57] [World Server] Removed Zone Server connection from ab6b3b28-d6b5-449f-8500-6786dfe07ba6
[07-14-2017 :: 00:42:57] [World Server] Removed Zone Server connection from b9ea659a-1032-4ba0-b041-c98118e4eff7
[07-14-2017 :: 00:42:57] [World Server] Removed Launcher connection from 4ea59aef-bf99-4c84-91e1-98bf75911ba7
[07-14-2017 :: 00:42:57] [World Server] Removed Zone Server connection from ea3de670-b5ec-4bb6-a17b-10c615cf20b8
[07-14-2017 :: 00:42:59] [World Server] Removed Query Server connection from 7d23155f-505e-4a38-8fdd-b01057ee3040

jia_jacky
07-13-2017, 12:47 PM
zone log
===========================

[07-14-2017 :: 00:20:40] [Zone Server] CURRENT_VERSION: 1.1.3
[07-14-2017 :: 00:20:40] [Zone Server] Mapping Incoming Opcodes
[07-14-2017 :: 00:20:40] [Zone Server] Loading Variables
[07-14-2017 :: 00:20:40] [Zone Server] Loading zone names
[07-14-2017 :: 00:20:40] [Zone Server] Loading items
[07-14-2017 :: 00:20:40] [Zone Server] Loading npc faction lists
[07-14-2017 :: 00:20:40] [Zone Server] Loading loot tables
[07-14-2017 :: 00:20:40] [Zone Server] Loading skill caps
[07-14-2017 :: 00:20:40] [Zone Server] Loading spells
[07-14-2017 :: 00:20:40] [Zone Server] Loading base data
[07-14-2017 :: 00:20:40] [Zone Server] Loading guilds
[07-14-2017 :: 00:20:40] [Zone Server] Loading factions
[07-14-2017 :: 00:20:41] [Zone Server] Loading titles
[07-14-2017 :: 00:20:41] [Zone Server] Loading tributes
[07-14-2017 :: 00:20:41] [Zone Server] Loading corpse timers
[07-14-2017 :: 00:20:41] [Zone Server] Loading commands
[07-14-2017 :: 00:20:41] [Zone Server] 254 commands loaded
[07-14-2017 :: 00:20:41] [Zone Server] Loaded default rule set 'default'
[07-14-2017 :: 00:20:41] [Zone Server] Loading Perl Event Export Settings...
[07-14-2017 :: 00:20:41] [Zone Server] Loading quests
[07-14-2017 :: 00:20:41] [Quests] Tying perl output to eqemu logs
[07-14-2017 :: 00:20:41] [Quests] Creating EQEmuIO=HASH(0x1ce8c6c)
[07-14-2017 :: 00:20:41] [Quests] Creating EQEmuIO=HASH(0x1cf4c94)
[07-14-2017 :: 00:20:41] [Quests] Loading perlemb plugins.
[07-14-2017 :: 00:20:41] [Zone Server] Entering sleep mode
[07-14-2017 :: 00:20:42] [Zone Server] Starting EQ Network server on port 7000
[07-14-2017 :: 00:35:34] [Status] Booting tutorialb (189:0)
[07-14-2017 :: 00:35:38] [Status] Successfully loaded Zone Config.
[07-14-2017 :: 00:35:38] [Status] Attempting to load Map File :: 'Maps//tutorialb.map'
[07-14-2017 :: 00:35:38] [Status] Loaded V2 Map File :: 'Maps//tutorialb.map'
[07-14-2017 :: 00:35:44] [Status] Path File Header: Version 2, PathNodes 373
[07-14-2017 :: 00:35:44] [Status] Path File Maps/tutorialb.path loaded.
[07-14-2017 :: 00:35:44] [Status] Loading spawn conditions...
[07-14-2017 :: 00:35:44] [Status] Loading static zone points...
[07-14-2017 :: 00:35:44] [Status] Loading spawn groups...
[07-14-2017 :: 00:35:47] [Status] Loading spawn2 points...
[07-14-2017 :: 00:35:48] [Status] Loading player corpses...
[07-14-2017 :: 00:35:48] [Status] Loading traps...
[07-14-2017 :: 00:35:48] [Status] Loading adventure flavor text...
[07-14-2017 :: 00:35:48] [Status] Loading ground spawns...
[07-14-2017 :: 00:35:48] [Status] Loading Ground Spawns from DB...
[07-14-2017 :: 00:35:48] [Status] Loading World Objects from DB...
[07-14-2017 :: 00:35:48] [Status] Loading Objects from DB...
[07-14-2017 :: 00:35:49] [Status] Flushing old respawn timers...
[07-14-2017 :: 00:35:49] [Status] Loading doors for tutorialb ...
[07-14-2017 :: 00:35:49] [Status] Loading Doors from database...
[07-14-2017 :: 00:35:49] [Status] Loading Alternate Advancement Data...
[07-14-2017 :: 00:35:49] [Status] Loading Alternate Advancement Abilities...
[07-14-2017 :: 00:35:49] [Status] Loaded 1567 Alternate Advancement Abilities
[07-14-2017 :: 00:35:49] [Status] Loading Alternate Advancement Ability Ranks...
[07-14-2017 :: 00:35:50] [Status] Loaded 6652 Alternate Advancement Ability Ranks
[07-14-2017 :: 00:35:50] [Status] Loading Alternate Advancement Ability Rank Effects...
[07-14-2017 :: 00:35:50] [Status] Loaded Alternate Advancement Ability Rank Effects
[07-14-2017 :: 00:35:50] [Status] Loading Alternate Advancement Ability Rank Prereqs...
[07-14-2017 :: 00:35:50] [Status] Loaded Alternate Advancement Ability Rank Prereqs
[07-14-2017 :: 00:35:50] [Status] Processing Alternate Advancement Data...
[07-14-2017 :: 00:35:50] [Status] Loaded Alternate Advancement Data
[07-14-2017 :: 00:35:50] [Status] Loading Merchant Lists...
[07-14-2017 :: 00:35:51] [Status] Loading Temporary Merchant Lists...
[07-14-2017 :: 00:35:51] [Status] Loading timezone data...
[07-14-2017 :: 00:35:51] [Status] Init Finished: ZoneID = 189, Time Offset = 0
[07-14-2017 :: 00:35:51] [Normal] ---- Zone server tutorialb, listening on port:7000 ----
[07-14-2017 :: 00:35:51] [Status] Zone Bootup: tutorialb (189: 0)