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? |
All times are GMT -4. The time now is 01:51 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.