PDA

View Full Version : Problem getting quests to start out of default.


Charmy
05-10-2004, 09:48 AM
Hi been having some issues making a quest work properly with just a single mob, if i put the quest under the global quests folder as default.pl the quest works fine, but i don't want every mob on the server giving out the same quest.

i tried putting the quest in the correct single mob format i.e.


./quests/arena/157953.pl


however the mob doesn't respond when its in this file, any idea why it won't work, and also any info on where i can find the source for a peral enabled zone.exe so i can add my own little bits of code to it before its compiled, thanks much for reading my post =)

incase its a problem with my quest here is the innital part of it that starts out the quest this isn't he whole quest.

157953.pl

sub EVENT_SAY
{
if ($text=~ /Hail/i){quest::say("Hello $name, I am the Arcane Lore Keeper, it is my job to travel the world searching for the true Arcane Powers, and then teaching those who wish to learn it, the powers that i find. Do you wish to [learn] of what powers i have found?");}
if ($text=~ /learn/i){quest::say("Very good, you must first prove to me that you are powerful enough to handle the powers which i will teach you, are you [willing] to possibly sacrifice your life in trying to prove to me that you are worthy?");}
if ($text=~ /willing/i){quest::emote("Looks you up and down, and nods"); quest::say("Your first task will be to slay a minion of my enemy, if you bring me his head as proof then i will continue with your training. you will find him living in the lost city of vesker, beware, i know not where he resides there but he will not be easily reached."); quest::spawn(x,x,x,x,x,x);}
}

smogo
05-10-2004, 10:52 AM
Checkout this post :
http://www.eqemulator.net/forums/viewtopic.php?t=13866&start=0&postdays=0&postorder=asc&highlight=default+quest+zone

Charmy
05-10-2004, 11:17 AM
thanks, but i don't have the source for a peral enabled zone.exe and the source that i can find on this site doesn't have the peral built in as far as i know, might you know where to get a peral enabled zone.exe source?

animepimp
05-10-2004, 02:53 PM
The source for Perl Enabled and regular is downloaded from the exact same source, you jsut change it slightly as mentioned in the how to set up perl tutorial and then compile it.

Charmy
05-10-2004, 04:31 PM
okies =) thanks

Charmy
05-10-2004, 04:37 PM
i can't find any thing that tells me what to edit in source files to make zone.exe peral enabled i looked through all of the peral setup stuff, and i can't find anything!!! =( might you have a link or maybe some simple instructions as to what i need to do, i feel like such a newb for asking but i guess thats all i am right now =)

sandy
05-10-2004, 11:51 PM
http://www.eqemulator.net/forums/viewtopic.php?t=12827

Charmy
05-11-2004, 05:58 AM
zone.exe output.

--------------------Configuration: Zone - Win32 Release with perl--------------------
Compiling...
attack.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
beacon.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
client.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
client_process.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
command.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
doors.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
entity.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
EQEMuError.cpp
faction.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
forage.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
groups.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
hate_list.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
loottables.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
Map.cpp
mob.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
MobAI.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
net.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
npc.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
Object.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
parser.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
petitions.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
PlayerCorpse.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
spawn2.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
spawngroup.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\spawngroup.cpp(38) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\spawngroup.cpp(38) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\spawngroup.cpp(38) : fatal error C1017: invalid integer constant expression
spells.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
worldserver.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
zone.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
zonedbasync.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\Zone\mob.h(802) : fatal error C1017: invalid integer constant expression
classes.cpp
crc32.cpp
database.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\common\../zone/mob.h(802) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\common\../zone/mob.h(802) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\common\../zone/mob.h(802) : fatal error C1017: invalid integer constant expression
dbasync.cpp
dbcore.cpp
DBMemLeak.cpp
debug.cpp
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\common\debug.cpp(35) : error C2021: expected exponent value, not 'M'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\common\debug.cpp(35) : error C2059: syntax error : 'bad suffix on number'
C:\Documents and Settings\Default\Desktop\EQEMu-05-08-2004\common\debug.cpp(35) : fatal error C1017: invalid integer constant expression
EMuShareMem.cpp
EQNetwork.cpp
eqtime.cpp
guilds.cpp
Item.cpp
md5.cpp
misc.cpp
MiscFunctions.cpp
moremath.cpp
Mutex.cpp
packet_dump.cpp
packet_dump_file.cpp
packet_functions.cpp
races.cpp
serverinfo.cpp
TCPConnection.cpp
timer.cpp
embparser.cpp
embperl.cpp
Error executing cl.exe.

Zone.exe - 84 error(s), 0 warning(s)


Just a hunch but it would seem somthing is wrong with mob.h source, i had no issues till i configured the project to use perl, any ideas? much appriciated.

Charmy
05-11-2004, 06:25 AM
Fixed. Mistyped a Variable, hehe that will do it =(