EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   6.2-DR1 Perl Working (https://www.eqemulator.org/forums/showthread.php?t=19424)

jimm0thy 09-23-2005 07:03 AM

6.2-DR1 Perl Working
 
Ive noticed alot of posts about people not being able to get zone.exe to compile with perl and still be able to attack targets.
Well I finally got it to work myself.
I did notice that when I pulled the normal CVS branch I couldnt get zone.exe or world.exe to compile at all , but I then pulled the development branch and that compiled just fine. I then logged into my own server to test it.

I was able to create a character fine , zone fine , cast buffs fine , cast damage spells on mobs fine , melee attack mobs fine , buy/sell fine , hail targets fine , log fine.

The only errors Ive found are :

ZonePerl.exe gives : Unhandeled Incomming Opcode: OP_AnnoyingZoneUnknown

Here is a link to download my compiled version.

(new compile and have tested for over an hour with no errors or crashes)

http://www.savefile.com/files.php?fid=8663812 - Final hopefully
http://hosted.filefront.com/jimm0thy - For individual files

jillmatik 09-23-2005 08:04 AM

Thanks man! Can't wait to give this a shot when I get home from work today!

J

jimm0thy 09-23-2005 08:06 AM

np , let me know if it works for you.

Dr Zauis 09-23-2005 08:57 AM

Blaah..Zoneperl is crashing while trying to enter zone. I will keep trying though..Keeping my fingers crossed..

jimm0thy 09-23-2005 09:28 AM

Hmm , I havent had any crashing problems. It could be due to the one error message I listed earlier (not really sure). Guess I'll go and try to make it crash and see what output it gives.

tallerin 09-23-2005 09:40 AM

getting the same issue with the crashing perlzone. can get to character select screen choose character,but when i hit enter world it boots the zone up then throw's a M$ error saying zoneperl has encountered an error and needs to be shut down. After this i can reloggin and the next zone window boots up fine but eventually throws a M$ error and closes out.

WildcardX 09-23-2005 09:43 AM

Awsome! Thank goodness there are people smarter than me!! I can't wait to get home and try this out!

jimm0thy 09-23-2005 10:04 AM

Ok I got it to crash for me :) here is the recent output from zoneperl.exe

[Status] Zone Shutdown: lavastorm (27)
Map header: 26977 faces, 207 nodes, 36231 facelists
Loaded map: 80931 vertices, 26977 faces
Map BB: (-562.78 -> 492.81, -805.69 -> 708.72, -131.94 -> 602.94)
Map ./Maps/halas.map loaded.
Path File ./Maps/halas.path not found.
[Status] Weather should change in 4706 seconds
[Status] Loading spawn conditions...
[Status] Loading static zone points...
[Status] Loading spawn groups...
[Status] Loading spawn2 points...
[Status] Loading player corpses...
[Status] Loading traps...
[Status] Loading ground spawns...
[Status] Loading Ground Spawns from DB...
[Status] Loading Objects from DB...
[Status] Loading Objects from DB...
[Status] Loading doors for halas ...
[Status] Done loading doors for halas ...
[Status] Loading AA information...
[Status] Loading Merchant Lists...
[Status] Loading Temporary Merchant Lists...
[Status] Successfully loaded Zone Config.
[Status] Loading timezone data...
[Status] Init Finished: ZoneID = 29, Time Offset = 0
[Status] Zone Bootup: halas (29)
Received Message SyncWorldTime
Time Broadcast Packet: EQTime [06:17 am]
[Status] 1528141 New client from ip:192.168.2.2 port:1949
[Error] Unhandled incoming opcode: OP_AnnoyingZoneUnknown (#299, eq=0x0000), siz
e: 8, Client: Bortal
0: 6F 00 00 00 40 00 00 00 | o...@...
Save took: 0
Save took: 16
Save took: 0

- and then crash.

When I did a debug it came up and hilighted

int32 GetNPCTypeID() { return npctype_id; } // rembrant, Dec. 20, 2001

now Im no programmer , so I'll fiddle around and see what I can find. But I was in game for about half hour until it crashed. (I had 5 zoneperl.exe running , and was randomly zoning around and it crashed while #repop'ing halas)

- hopefully this build will work for someone other than me , otherwise Im just gona feel stupid.

cavedude 09-23-2005 11:05 AM

OP_BecomeCorpse is missing from ./opcodes.cfg

Use the newest opcodes.cfg from CVS.

As for the crash, that looks like specific mobs are causing it to freak out. What db are you using?

jimm0thy 09-23-2005 11:38 AM

Im using the PEQ_Velious_RC1 db

tallerin 09-23-2005 12:15 PM

I know on my end i got this error

Code:

[Status] WARNING: error compiling quest file quests/thurgadina/Lorekeeper_Einar.
pl: Perl runtime error: syntax error at (eval 7859) line 67, near ".)"
syntax error at (eval 7859) line 75, near ".)"
 (reverting to default questfile)

i attempted to edit it and fixxed a few of the errors for this file but this one i can't. with the Lorekeeper_Einar.pl in the quest folder zone crashed everytime i would enter the game or try to zone. i removed the file and have not had an issue entering the world nor zoning and i bounced all over using #zone and no crashing. So either this crash is seaming to be very random now if not at all.

jimm0thy 09-23-2005 12:41 PM

That error is with the quest itself.
I have recompiled the sources and played for over an hour with no problems and reuploaded the file. Also the download link is updated to reflect these changes.

WildcardX 09-23-2005 01:03 PM

Did you forget to zip up your newly compikled EMUShareMem.dll or is the old one still ok? I know a lot of data structures that world and zone use are used in the dll from the "common" source code.

Dr Zauis 09-23-2005 01:03 PM

Quote:

Originally Posted by cavedude
OP_BecomeCorpse is missing from ./opcodes.cfg

Use the newest opcodes.cfg from CVS.

As for the crash, that looks like specific mobs are causing it to freak out. What db are you using?

I used my opcodes.cfg with all the errors in it..Came from the original release.. Working like a charm now!! Thanks!

jimm0thy 09-23-2005 01:13 PM

aw crud i did forget to put in emusharemem.dll , updated again :)

and glad to hear its working - I forgot I messed with opcodes.cfg earlier - so that may have been it.


All times are GMT -4. The time now is 08:18 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.