EOSERV Forum > EO Server Building > help with eoserv connection
Page: << 1 >>
help with eoserv connection
Author Message
Post #203123 help with eoserv connection

[ERR] Client caused an exception and was closed: 127.0.0.1.
[ERR] Runtime Error: Failed to upload file

cant get game to work I missing something needed but don't know what

all I did was download eosev 7.0 webcp4 install sql through link in webcp4 folder an download eo zipped is there anything I need to correct this error


[   ] Redirecting errors to 'error.log'...
[   ] Timers set at < 1 ms resolution
[   ] Connecting to database (SQLite: database.sdb)...
[   ] 715 items loaded.
[   ] 389 npc types loaded.
[   ] 31 spells loaded.
[   ] 8 classes loaded.
[   ] 1/278 maps loaded.
[   ] 0/124 quests loaded.
[   ] Listening on 0.0.0.0:8078 (0/300 connections)
[   ] Database info:
[   ]   Accounts:   0
[   ]   Characters: 0 (0 staff)
[   ]   Guilds:     0
[   ] There are no admin characters!
[   ] The next character created will be given HGM status!
[   ] New connection from 127.0.0.1 (1/300 connections)
[   ] New account:
[   ] playko has been given HGM admin status!
[   ] New character: playko
[ERR] Client caused an exception and was closed: 127.0.0.1.
[ERR] Runtime Error: Failed to upload file

6 years, 51 weeks ago
Post #203124 Re: help with eoserv connection

Did you change your spawn location in your configuration for new players??

Theirs 2 things that could have caused the issue.

1. PUB files.  Ensure their in their correct location.  (This appears to be correct as it's loading into the server properly based on your snippet of the console output).
2. The client could be pulling an invalid map file.  Most likely the map id is not there.

I think it's most-likely issue 2.  By default EOSERV tries to spawn on MAP ID 192.  You only have 1 map loaded which I assume is 00001.emf.

The client asks the server to send map 000192.emf, the server attempts to send an invalid file, causing a crash.

See https://pastebin.com/Qc7Gbamw.

6 years, 51 weeks ago
Post #203125 Re: help with eoserv connection

According to Sausage, from: https://eoserv.net/forum/topic/20986

"First, make sure your maps are named correctly, and there's no gaps between 00001 and your highest numbered map (you'd get a bunch of warnings on startup if maps were missing). They should be named like this (make sure viewing of file extensions are enabled...):

  • data/maps/00001.emf
  • data/maps/00002.emf
  • etc...

Secondly, take a look at the following options in config/misc.ini, and make sure they're set to maps that actually exist (the "database default" is map 192 if you didn't change it):

## StartMap, StartX, StartY (number)
# Map+location new characters start on (0 to use database default)
StartMap = 0
StartX = 0
StartY = 0

## JailMap, JailX, JailY (number)
# Map+location players are sent when jailed
JailMap = 76
JailX = 6
JailY = 5

If you change the StartMap you'll have to manually modify your character's position in the database as well, or delete it and make a new one. Alternatively, add map a map numbered 192 to your server.

If none of those help, there's some kind of permissions problem (running the server as a different user, or you're locking the map files while EOSERV is running somehow)."



---
stay tuned.
6 years, 51 weeks ago
Post #203126 Re: help with eoserv connection

Just wanted to confirm what the others have said really, the error isn't a crash it's just the server disconnecting you because your clients requested a file that doesn't exist.

As said above you've probably not got map 192 in there so it's booting you out.

6 years, 51 weeks ago
Post #203127 Re: help with eoserv connection

thanks ill give that a try

I got it thanks I had to do the start location an delete my acc an recreate acc an it works sweet thanks.


6 years, 51 weeks ago
Page: << 1 >>

EOSERV Forum > EO Server Building > help with eoserv connection