Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-16-2019, 08:02 PM
strugglegenerator's Avatar
strugglegenerator
Hill Giant
 
Join Date: May 2012
Location: Minnesota
Posts: 231
Question eqemu_server error

I noticed today that I started getting this error on my EQ server:


The server still boots up fine. I opened up eqemu_server.pl and went to line 891, which looks like this:


I tried removing that last elsif on line 891 but I still get the error. I also tried adding a right curly bracket but no luck either. How can I fix this error?
Reply With Quote
  #2  
Old 10-16-2019, 08:53 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Looks like your file got corrupted somehow: https://github.com/EQEmu/Server/blob...server.pl#L887

You should be able to replace the contents of your file with that in the link.


EDIT: I've seen self-updates leave a blank file before..not sure why.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #3  
Old 10-17-2019, 07:37 AM
strugglegenerator's Avatar
strugglegenerator
Hill Giant
 
Join Date: May 2012
Location: Minnesota
Posts: 231
Default

Thanks Uleat.

If I replace the contents of my eqemu_server.pl file with the contents of the file from your github link, is there any chance my server will become corrupt?

Right now, even with that weird error on line 891, the server runs just fine.

I don't want to make this worse and my knowledge about the eqemu_server.pl is non-existent.
Reply With Quote
  #4  
Old 10-17-2019, 11:49 AM
FievelMousey
Hill Giant
 
Join Date: Jan 2004
Posts: 140
Default

No it wont do ANYTHING your server that file just is a UTILITY
Reply With Quote
  #5  
Old 10-17-2019, 09:16 PM
strugglegenerator's Avatar
strugglegenerator
Hill Giant
 
Join Date: May 2012
Location: Minnesota
Posts: 231
Question

That file from Github has 2700 lines and looks drastically different than the one I have. Mine only has 891 lines.

What exactly is the utility even doing, since I'm not noticing anything wrong with my server at all. Should I even bother updating the eqemu_server.pl or can I safely ignore it?

I think I'm just not understanding at all what it's even there for =p
Reply With Quote
  #6  
Old 10-17-2019, 09:37 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Every time that you start your server, that file gets invoked to check for updates.

It's suppose to have a self-update feature that checks for file changes..but, if your file is corrupt/incomplete, it could be missing that part of it.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #7  
Old 10-17-2019, 10:04 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,333
Default

Quote:
Originally Posted by strugglegenerator View Post

I think I'm just not understanding at all what it's even there for =p
Delete the file, your server should download a new one when it starts up. The one you have is buggered. 2700+ lines is the correct one. It helps keep your DB up to date, but you can ALSO run that file (in a dos cmd) perl eqemu_server.pl and it will bring up a menu with all sorts of options you can choose from.
__________________
Hanging out at Antonica.World
Reply With Quote
  #8  
Old 10-18-2019, 06:33 AM
strugglegenerator's Avatar
strugglegenerator
Hill Giant
 
Join Date: May 2012
Location: Minnesota
Posts: 231
Question

Thank you for the help everyone. Deleting the file completely and running my server allowed it to automatically download a new, non-corrupt version and I am no longer getting any errors.

As for the dos command, I am using Windows 7 and I typed cmd, it pulled up the cmd window and I typed:

perl eqemu_server.pl

...but it didn't pull up a menu with all sorts of options. Am I using incorrect syntax?
Reply With Quote
  #9  
Old 10-18-2019, 08:59 AM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,333
Default

I'm assuming you were running that command in the same folder where the file is (server folder), but when perl was installed, it would usually put an entry in the system path variables so the perl command can be found from any folder on your computer.
__________________
Hanging out at Antonica.World
Reply With Quote
  #10  
Old 10-18-2019, 09:12 AM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,333
Default

This is what you see under normal circumstances:

__________________
Hanging out at Antonica.World
Reply With Quote
  #11  
Old 10-18-2019, 09:21 AM
strugglegenerator's Avatar
strugglegenerator
Hill Giant
 
Join Date: May 2012
Location: Minnesota
Posts: 231
Default

Thank you Huppy. The screenshot was very helpful. It shows commands I have no desire to use, so I will not pursue this any further. Thank you!
Reply With Quote
  #12  
Old 10-18-2019, 09:27 AM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,333
Default

Sure, no problem. But those menus have sub menus, (just one example), grabbing updated binaries for your server in the future, when they are released. Your preferences, but the option is there if you need it.
__________________
Hanging out at Antonica.World
Reply With Quote
  #13  
Old 10-18-2019, 09:34 AM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,333
Default

By the way, (this is for anyone, who may encounter this), if you see an error like this when running that script :
D:\eqemuTest>perl eqemu_server.pl
[Update] No script update necessary...
invalid character encountered while parsing JSON string, at character offset 182
4 (before "\x{1}BOX TEST ...") at eqemu_server.pl line 1312


That error was caused, because of "special characters" I had in the server long name in the eqemu_config.json file.

EDIT: Guess I should add something. Considering that script is auto-run everytime you start your server, (checking for updates), I never saw that error in the world console window while running server. I didn't see it until I manually ran the script from cmd prompt. (script halted). So I am assuming everytime one starts their server up with special characters in the name, it's not really checking for updates, but the server still starts and runs.
__________________
Hanging out at Antonica.World
Reply With Quote
Reply

Tags
eqemu_server.pl

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:06 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3