evemuproject / evemu_server

MAIN SERVER DEVELOPMENT
http://www.evemu.org
148 stars 103 forks source link

Agents, Missions and Creating Characters #140

Closed rykeon990 closed 8 years ago

rykeon990 commented 8 years ago

I just installed the server, I got everything set up smoothly but now I get a Segmentation fault upon character creation which causes the client and server to crash. The client reboots and I restart the server and am able to load the station after that. I then get a looping exception in the server terminal window when trying to contact an agent. Any thoughts?

Setup: OS: Debian 8 MySQL 5.5 Client: Windows

VizanArkonin commented 8 years ago

Segfault is probably caused by server's attempt to create image in non-existent folder. Go to the server folder (where you have bin and etc folders) and create image_cache folder. Inside image_cache folder create following folders: Character, Alliance, Corporation, InventoryType, Render (last 2 are not neccessarily needed right now, so you can pass them if you want to). Thus, character portraits will go to - figures - Character folder.

As for agent - can you pastebin the fragment of that looping exception and link it here, please? Can't say from a hip what's wrong with it.

Cheers!

rykeon990 commented 8 years ago

Thanks for the reply,

Those folders were created correctly, however I was running the server as root, so the API port was blocked when the server dropped root privileges. I changed the API port so it was > 1024 an it works now running as a user, no crashing after character creation. I got that from here: http://stackoverflow.com/questions/20825496/linux-denies-permission-on-socket-bind-using-boost-asio

Paste bin: http://pastebin.com/h2YUPAWP

I may be missing some database files, I tried my best to install with the wiki being down so I may have missed one somewhere and that could be causing an issue

comet0 commented 8 years ago

Whoops my bad, probably a race condition, on my system the API server binds before dropping root privileges. Could drop in a few seconds sleep before dropping privileges. On 2 Feb 2016 22:06, rykeon990 notifications@github.com wrote:Thanks for the reply,

Those folders were created correctly, however I was running the server as root, so the API port was blocked when the server dropped root privileges. I changed the API port so it was > 1024 an it works now. I got that from here: http://stackoverflow.com/questions/20825496/linux-denies-permission-on-socket-bind-using-boost-asio

Paste bin:

—Reply to this email directly or view it on GitHub.

zhyrohaad commented 8 years ago

agents are not coded. no one is working on them that i know of.