Getting errors when i try to launch server
Its saying something about error loading items common/memory_mapped_file line 130, no logs appeared for the errors, this happens when I launch world
|
Did you run shared_memory.exe and let it finish before starting world?
|
Quote:
Getting the same error when running shared_memory, says line 61 in memory_mapped_file.cpp |
Then you need to run it from a batch file so it doesn't close.
create a file that has these 3 lines in it: Code:
@echo off double click it to run it let's see what the error says |
Quote:
Eqemu exception (shared memory) in ..\common\memory_mapped_file.cpp at line 61 could not open a file for this shared memory segment |
You have a directory called Shared in that directory, right?
|
Quote:
base_data items faction loot_drop loot_table skill_caps and spells |
Delete all those files. Let's see what happens when you run test.bat again
|
Quote:
|
Are the files back?
|
Quote:
|
are any of them zero length?
|
Quote:
imma try switching database once i get my meds today and see if it works, if it does its an error with my db and ill have a lot of work to do :( |
The only thing that has me baffled is how is it creating the files without *telling* you that it is creating them (in shared_memory.exe)
|
You might have a NULL in your database where there shouldn't be one.
What were you doing before you blew it up. |
Quote:
I get an error when shared memory runs but it blinks out before you can see it and restarts on its own. I posted it earlier in the thread it was about not being able to open a shared memory file. It errored on the Items table. For some reason it restarts after that and runs through until base data. My friend whos running the exact same database as me on x64 says he cant get it working on 32 bit either, so im wondering if its not my database after all |
Since this is a 2012 db..has you sourced in all of the updates since?
|
Quote:
or could it be a memory issue with the server like would i have to edit anything in the source to make it work with extra items and spells? |
Resourced my database, no files are appearing in the shared folder and im getting this error from world
nevermind, still getting the same error as before, cannot open shared memory file for this file segment |
Ok after i removed all the extra junk from the folder im just getting this error when I launch world after shared memory.
http://s14.postimg.org/o1z45j4pd/eq_errors2.jpg |
If there aren't any files in the shared directory it does no good to try and run world, it will fail as you've seen.
Make sure you have a logs directory in your server directory, delete all files from the shared directory, then run shared_memory from a command prompt so you can see everything it outputs. Then, look in the logs directory to see if it wrote anything there. Post the contents of the shared folder and any text it printed or wrote to a log file. |
Quote:
http://s16.postimg.org/8xggmcdol/eq_errors.jpg HOWEVER if I run my whole server I get this error on world im guessing however thats cause the items arent loaded right, i get the same error using the PEQ database as mine so that shouldnt be it http://s24.postimg.org/4fugy9pn9/eq_errors2.jpg |
The line in the source that error is pointing at is does that mean the name of the memory file in shared is wrong?
Code:
if(file == INVALID_HANDLE_VALUE) { |
did you copy eqtime.cfg into your server folder from the source?
|
Quote:
|
Quote:
|
Quote:
|
Re-run cmake and post a screenie of the output there, si vous plais.
(You don't need to make changes..I'm just curious what is being found.) |
Quote:
http://s27.postimg.org/gpjgiiws3/cmake2.jpg |
Also if anyone could do me this favor, compile the 32bit server with vc++ 2013 and send me the exes maybe this is a problem with VC++ 2010
|
Quote:
|
those are built with 2013? they are not valid win 32 applications, u sure u did 32bit
yeah u might wanna recheck em, im on xp and its saying not a valid win 32 application thanks for tryin tho unless maybe you just uploaded the wrong ones i dunno |
Yes, I'm sure. Now that you mention XP, I'm thinking they aren't backwards compatible on an XP machine. I'll build one on an XP machine for you to try if you want. Clarified the build on GIT.
EDIT: Hmm, or maybe not. I forgot I dumped my XP virtual machine... |
|
Ah, I wonder if Express doesn't allow it. I'll toy around with it.
|
yeah i dont think u can use 2013 on xp i tried, oh well no biggy ill just wait to work on my server till next month when i get more ram, also if anyone has ddr 2 2gb or bigger sticks for sale lemme know haha i hate to spend 50-60 bucks on 2gb
|
Although those instructions refer to 2012 even though they are marked as for 2013, I do have the 120xp and 110xp toolsets available in my 2013 express installation. That may be because I also have 2012 installed, but worth a shot.
I don't believe your issues are related to 32-bit or XP, since the shared memory error relates to not being able to create the file. I suspect your working directory or the permissions of the shared directory are the issue. I tried to eliminate the working directory as a problem by asking you to run it from the command prompt but you didn't, so I gave up. |
Quote:
|
The screenshot you posted showed it being run from explorer. Running it from a command prompt after you cd to the directory ensures the working directory is correct, where running it from a batch file wouldn't. It also ensures that any output from the program would remain in the window for you to copy/paste.
I would delete the shared and logs directories, empty the trash if you use the recycle bin, then reboot. After that, from a command prompt navigate to the server directory, create both the shared and logs directories using mkdir, then run shared_memory again. There should be output both in the command prompt window as well as a log file in the logs directory. |
Quote:
|
All times are GMT -4. The time now is 04:32 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.