Hail is broken!!
Whenever i hail someone on my server it never works. I look in my quests folder and find different people who have quests and when i go back into the game and hail them it doesnt work. For example here is a quest:
sub EVENT_SAY { if($text=~/hail/i){ quest::say("Hello. Nice day, isn't it? It would be nicer if I didnt have to spend it killing these disgusting rodents that have infested town. Hey, I have an idea! How about you go kill some of them for me and collect four of their whiskers? I will reward you, of course."); } } sub EVENT_ITEM { if(plugin::check_handin(\%itemcount, 13071 => 4)){ quest::say("Here are you coins as promised. Have a nice day. I wish I could."); quest::faction(212,5); quest::faction(8,5); quest::givecash(1,1,1,0); } } and when i hail him in the game nothing happens.Ive tried hailing many npc's with quests but the same thing happens, nothing. my plugins is in my eqemu folder and not my quest folder and ive searched and searched for answers but none work. Ive tried using angelox's database and project eq but the same thing still nothing. could someone please help me!! |
are the names of your files in the 'Firstname_Lastname' format?
|
Perl scripts are setup in the following format: questdirectory/zoneshortname/npcid.qst
Depending on your database those npc ids may be different, I would make sure that the ID's that are in the database are the same as the id on the quest file. |
They are in the format quest\zonename\npc's first_lastname. Its weird because im doing everything right but the stupid hail button doesnt work.
|
I am looking in the source code for embparser.cpp
(Mean't to use .pl up above by the way) I see quests/zone/npcid.pl but there is also a naming version as well fnw implemented with quests/zone/npcname To get naming version you need the QUEST_SCRIPTS_BYNAME define in features.h to be on (looks like its on by default in 0.7.0 release). It looks like the names have to be the same as the database minus any numbers, il tell you the top two line of this code says ( line 498 ): //Father Nitwit's naming hack. //untested on windows... So you get to find out I guess :) But, it by default checks for npcid.pl as well before it even searches for npcname.pl |
Lmao I decided to peak at the code myself...and its a joke.
Code:
char tmpname[64]; or how about Code:
filename = "quests/"; or hey here is some really great code Code:
tmpname[0] = 0; You know back in the day we had a project leader that would inspect changes like this. Wtf not tested on windows?! Whats that bs? It compiles SHIP IT! If your going to write code just for nix fork the project and release the code as "nix compile". My oh my how eqemu has degraded. I almost hate saying this, but where is hogie when ya need him. |
Im still confused. What should i do to get the hail button to work?
|
Quote:
If they do not, then you have a problem with your Perl install. If Perl is not working, then your quests will not work. This only means you didn't follow instructions on install, and need to read again. what name did you give to the NPC that's related to the perl file? It seems to me, you want to do too much, too soon. If you are not familiar with Perl or MySql, you need to start by learning some of that first. What database are you using? |
nope none of my quests work. I named the perl file after the npcs name firstname_lastname format. Ill try re-installing perl and see if that will work. I tried using your database and peq database. ill re-install perl right now.
|
I re-installed pearl but it still doesnt work. I noticed that the .pl files changed into like a ghecko thing. Before that they had a notepad icon. I thought that had fixed it but when i started my server and logged in the hail button still didnt work. Whats wrong with my server, i dont see any other people with this problem. Is it just me?
|
Maybe you should paste all the output from the zone bootup here so people can get an idea of what your server is doing.
|
alright here is my zone.
Code:
[Debug] Starting Log: logs/eqemu_debug_zone_5064.log Code:
<?xml version="1.0"> |
Do you mean you have perl installed and it doesn't work for EqEmu, or it doesn't work at all?
here's a test: Can you run a command window , type in "perl" and hit enter key , what happens? do you get a "perl is not reconized ... (etc)" error? In that same command window, type in PATH and hit enter - do you see something like "C:\Perl\bin" in there? If Perl is not in the path, then you need to re-install and make sure you select that option. also try and change the path and install to "C:\Perl\bin", as that is how it originally was with EqEmu. |
When i typed that in nothing happens it just goes to the next line and doesnt say anything. I tried re-installing perl, the quest still dont work and when i type those commands in on the command prompt nothing happens, no errors or anything. Is this just me?
|
when testing perl setup, type perl --version
that should display a bunch of text which basically verifies perl is present and available. Next, What version of the emulator are you using? Are you using the downloaded binaries or did you compile it yourself? |
Quote:
|
here is what it says when i type in PATH.
Code:
Microsoft(R) Windows DOS |
It all looks OK, appears you are not un-installing Perl before re-install, but that shouldn't matter.
Are you using default install directory for Eqemu? "C:\EQEMU" , with Quests in "C:\EQEMU\QUESTS". |
yep the quests are as follows c\EQEmu\Quests. what could be wrong with my hail button? why wont it work??
|
What should i do??
|
Your biggest problem is , your not searching for the answers; you're waiting for us to search for you.
I don't know what happened with your install, but i can assure you you didn't follow instructions and left something out , or did something wrong (during install). As to what it was, there are many reasons, you have to figure for yourself. here is a forum search for "perl doesn't work"; http://eqemulator.net/forums/search.php?searchid=490793 You need to look for your answers, this way you'll get faster response. |
Ive looked everywhere. I checked the forums. I looked at wiki I searched in google. I even uninstalled everything! and re-installed it only to get the same problem. could someone please help me? Why is my server acting like this. im so confused!!!. Could someone please help me?
|
perl --version
outputs what? |
More to the point, you have not said what version of the emulator you are trying to use or whether you are running the binary or compiling yourself.
|
im using 7.0-992, also what do you mean by compiling you mean when i click on start.bat or what? im using perl 5.8.8.820.and by outputs you mean?
|
Quote:
You have to make sure that you select to search all packages though. If you do not choose to look at all packages, you will find one package easy, one will come up not exactly as it says it should be, and the other will be no where to be found. RULES: None of the packages needed are preinstalled, and they WILL have the same name as what is reference in the wiki guide and in the PDF guide. If you are having trouble witht that version, use this link to download a older versoin of Perl that has the command line interface for installing perl packages. http://www.activestate.com/store/download_file.aspx?binGUID=5f03b75f-2bf0-4380-99b2-d55cff4bc233 To use this, install as normal, making sure to select adding to Windows PATH, and then open up the command prompt and type in perl. Once its up and your able to enter commands type Code:
Install "Package Name" This may be completly useless post, but I have seen roughly four users have issues with perl becuase of the new GUI's stupid package managment feautres, but I still recommend using it as it works when used properly and it is a newer up-to-date version. |
Not that this has a thing to do with the original post... but when I made my server, I didn't feel like installing everything completely. So I picked out perl58.dll, threw it into the server exe folder, and quests work.
Not sure what else I am missing, since I haven't fully tested all aspects. I just hate the fact you have to install all these packages to get one thing to work. And I keep remembering a rumor that perl was no longer needed - but I think that was bogus ;) |
Here's my two cents worth (coming from someone going through the process of setting up a new server.)
Are your quests and maps in the correct directories? I made the simple mistake of extracting the files into a sub directories in the folders, and had the identical symptoms. I could not hail or interact in any way with the NPC's. |
wow, kind of amazing to see devn00b and image posting here
i dont come here like...ever anymore. forums are dead and i dont recognize anyone that is posting here. in regards to your problem... i just skimmed through this briefly so sorry if you already tried this (too much to read) but did you try the npcid.pl method like image suggested? thats how i always did it and btw, shouldnt this be in the quest Q&A section? does this forum still have moderators? haha |
Hi everyone,
i have exactly the same problem with Hail and Quests. Nothing of both workds. After searching a bit i checked the log folder and found following: Code:
[09.19. - 20:15:12] Starting Log: logs/eqemu_quest_zone_0724.log What exactly does the logfile try to tell me? :confused: Thanks for any help Nasyr |
Quote:
thought it was NPCNAME.pl? or NPCID.pl (if you want a specific spawn to do it) Least thats how I have mine setup... |
My guess is that your perl install on the server is borked.
|
Hmm tried several Versions of Perl now. Also droped and reinstalled all tables. Nothing helped so far. Perl seems to work fine as "perl --version" works.
PATH is set too... |
ok got it fixed, should have followed the PDF-Tutorial instead the html one :)
|
spaces
Please make sure you leave 2 blank lines after the code in your quests, it will make it so the quests work.
If this doesn't work... then at least i tried ;) PS. i miss playing EQ classic with the tons of players liek live used to have :( |
Quote:
|
All times are GMT -4. The time now is 10:36 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.