PDA

View Full Version : help please /beg on


Sakrateri
06-20-2004, 12:41 AM
If someone could help me out i would be most appriciative , when I boot five zones it says Loading embedded perl but it never says Loading perlemb plugins. I have plugin.pl in my eqemu folder and default .pl in my quest folder along with some quests , there are no errors and i can get into world fine but no quests are working , anyone have any ideas ? this is the output of zones [Status] CURRENT_ZONE_VERSION: EQEMu 0.5.7-DR6
[Status] Loading Variables
[Status] Loading zone names
[Status] Loading items
[Status] EMuShareMem loaded
[Status] Loading npcs
[Status] Loading npc faction lists
[Status] Loading loot tables
[Status] Loading doors
[Status] FileLoadSPDat() Loading spells from ./spells_us.txt
[Status] FileLoadSPDat() spells loaded: 5021
[Status] Loading guilds
[Status] Loading factions
[Status] Loading corpse timers
[Status] Loading what ever is left
[Status] Loading commands
[Status] 165 commands loaded
[Status] Loading embedded perl
[Status] Entering sleep mode
Connected to worldserver: 192.168.1.100:9000


i just dont get it :(

animepimp
06-20-2004, 02:26 AM
This usually happens when you have syntax errors in your quest files. I guess post them here so we can see what might be wrong, or you can search this forum, theres an old thread that has a program that executes perl quests outside the server for testing and it'll tell you if you have errors.

Sakrateri
06-20-2004, 10:01 PM
Well, for now I am only using sample quests others have wrote to get this thing going , once I have it running right then I am going to attempt to write my own , But one thing , when open the command promp and type perl -c defalt , to check it says no such file found , says this on any quest i try to check , do i have to have a copy of the .pl file somewhere in a perl file also or just in my eqemu file??

KhaN
06-20-2004, 10:26 PM
Dumb question but, do you compiled DR6 correctly, i mean, do you added "EMBPERL_PLUGIN" before compiling ?
I dont know if its possible to compile without this ...

Sakrateri
06-20-2004, 10:36 PM
acually I got a precompiled one from here http://www.eqemulator.net/forums/viewtopic.php?t=13265&sid=6811ae9b997f2df6278cb22e9caad1f3

I dont know much about compiling , just got visual studio.net and trying to learn it, mabey the one i got is compiled wrong? when i debugged it with visual.net this is what I got out ,,,,,,,

'Zone.exe': Loaded 'C:\Documents and Settings\Administrator\Desktop\EQEMU5.7DR6\Zone.ex e', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\wsock32.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\Perl\bin\perl58.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.0.0_x-ww_1382d70a\comctl32.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\mswsock.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\dnsapi.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\winrnr.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\rasadhlp.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\lsp.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\MFC42.DLL', No symbols loaded.
'Zone.exe': Loaded 'C:\WINDOWS\system32\wshtcpip.dll', No symbols loaded.
The thread 'Win32 Thread' (0xe00) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x788) has exited with code 0 (0x0).
The program '[2436] Zone.exe: Native' has exited with code 0 (0x0).


it shows C:\Perl\bin\perl58.dll being loaded .

Also it is telling me to set " Job" to soulbinder , where exactly do i do that ?? I have mysqlfront and see no variable for job

Sakrateri
06-21-2004, 10:45 PM
Well, can anyone direct me to where I could get a compiled zone that has EMBPERL_PLUGIN allready , I know how to make quests and have many i want to try but this zone compiling is driving me nuts :( Actually a precompiled 5.6 one with perl enabled and EMBPERL_PLUGIN would be best , as I have many quests for that version ready and my server is really running good with alot of hand made mobs , I just need to get quests now , thanks so much for yalls time .

Sakrateri
06-22-2004, 12:25 PM
Ok, i have almost got it compiled but for one error, can someone Pleeeeeeasssee help me , this is the compile output , Compiling...
embxs.cpp
embperl.cpp
embparser.cpp
timer.cpp
serverinfo.cpp
races.cpp
packet_functions.cpp
packet_dump_file.cpp
packet_dump.cpp
moremath.cpp
misc.cpp
md5.cpp
guilds.cpp
eqtime.cpp
debug.cpp
dbcore.cpp
dbasync.cpp
database.cpp
crc32.cpp
classes.cpp
TCPConnection.cpp
Mutex.cpp
MiscFunctions.cpp
Item.cpp
EQNetwork.cpp
EMuShareMem.cpp
DBMemLeak.cpp
zonedbasync.cpp
zone.cpp
worldserver.cpp
spells.cpp
spawngroup.cpp
spawn2.cpp
petitions.cpp
parser.cpp
npc.cpp
net.cpp
mob.cpp
loottables.cpp
hate_list.cpp
groups.cpp
forage.cpp
faction.cpp
entity.cpp
doors.cpp
command.cpp
client_process.cpp
client.cpp
beacon.cpp
attack.cpp
PlayerCorpse.cpp
Object.cpp
MobAI.cpp
Map.cpp
EQEMuError.cpp
Linking...
LINK : fatal error LNK1181: cannot open input file 'c:\perl\lib\core.obj'

Any ideas ??

Virus11
06-22-2004, 01:55 PM
Follow the instructions on how to set up perl in this post:
http://www.eqemulator.net/forums/viewtopic.php?t=15328

It looks like to me that you did not set the perl compile method up correctly.

Sakrateri
06-22-2004, 08:11 PM
I am using Visual Studio .NET Enterprise Architect 2003 and I read that article and tried to compile it exactly like that and every time the same thing

cofruben
06-23-2004, 10:31 PM
for compiling with perl:

Right now by default perl is not enabled when you compile. You will need to define EMBPERL for perl quests, and/or EMBPERL_PLUGIN for perl plugins (remember plugins require IO::Scalers)

To create another build configuration with perl support in VC++6
open the server (or zone) project
menu-- build,configurations
select zone-win32-Release and press add
set the configuration name to Relase with Perl
set copy configuration from zone-win32-Release
menu-- build,set active configuration
select zone-win32-Relase with Perl
menu-- Project, settings
Select c/c++ tab
with the category pulldown reading General add ,EMBPERL,EMBPERL_PLUGIN to the end of the Preprocessor defines
Change category to Preprocessor and put c:\perl\lib\core in the Additional include Directories
select the link tab
change the category to input and put c:\perl\lib\core in the Additional library path
Close window
menu-- project, add to project, files
select zone\embparser.cpp make sure it has insert into: zone selected
do the same for embperl.cpp embparser.h and embperl.h

Now you can build a zone.exe with or without perl support. It will put the zone.exe with perl in a sub directory of the zone source. This is how I set it up so that it worked. If there is a "proper" way please let me know.

If compiled with perl quest, all quests must be in perl format. the *.qst files will not be read!

use that in your project.zone should say:

[Status] Loading embedded perl
[Status] Loading perlemb plugins.

Good luck.

sianyde
06-28-2004, 12:09 PM
Disregard