A fix for LiF "create a world" local server can't be accesed

General discussion about Life is Feudal MMO and Life is Feudal: Your Own, The main section and backbone of the forums.

Timmiej93
 
Posts: 8
Joined: 28 Oct 2014, 20:57

A fix for LiF "create a world" local server can't be accesed

Post by Timmiej93 » 28 Oct 2014, 21:16

Hi guys,

So I had some problems with the "create a world" part a while ago. When I clicked start on my created server (which I had been playing for a while) the loading screen would come up, but it could never connect to the local server. When tabbing out, I also noticed the server wasn't running (the DOS window that's open when you're playing LiF).

Now, I've tried pretty much every single option that has been suggested. reinstalling all kinds of things, deleting folders, checking integrity in steam, reinstalling the entire game, nothing worked. Then I accidentally stumbled upon a small topic [This one] which was a little bit more complicated. After trying though, it worked for me. I was totally stoked, happy as hell. But I realized some people wouldn't be able to do this themselves, so I've written up a simple batch file that will do everything for you by asking you simple questions and inputs. It even gives you the option to create a simpler batch file, which you only have to click once. This will make the process even easier.

Now, the file itself.
You can get it here: [Click]. Please select the latest version for the best experience. Also, please DO check everything you download for viruses. I know I uploaded a safe file, but nobody knows what happens to it on the way.

PS. If you're having problems downloading the file in Google Chrome, go to your downloads section (CTRL + J). There is an option t restore the file there (if Chrome gave you an error about a 'possibly dangerous' file. Chrome does this for all batch files, because they run in the command prompt.


The file should explain itself, no worries there.
This method does require an extra download though, which can be found here: [Click]. Again, check everything for viruses.
Just follow the instructions I wrote in the batch file, then you should have no problems.

Thank you for reading, and good luck. Hopefully this will help you play LiF once again.

PS. To all the mods, if one of you can try out the files and verify they're virus free and the batch file doesn't do any crazy things, that would be great.

Kind regards,
Tim
Last edited by Timmiej93 on 31 Oct 2014, 15:52, edited 2 times in total.

User avatar
Vamyan
 
Posts: 198
Joined: 23 Oct 2014, 22:29

Re: A fix for LiF "create a world" local server can't be acc

Post by Vamyan » 29 Oct 2014, 05:03

omg my eyes are bleeding, all the @.

Ever heard of putting an "@echo off" at the top of your batch files? :good:

Also, when running commands that don't necessarily need to have their output seen by the end user, you can always redirect the standard output and standard error to NUL with >NUL 2>NUL

Protips!

I can't vouch for the myisamchk.exe utility, but it seems legit. Thanks for helping the community with this!


Veovisx
 
Posts: 3
Joined: 25 Oct 2014, 04:06

Re: A fix for LiF "create a world" local server can't be acc

Post by Veovisx » 29 Oct 2014, 20:36

not working

'myisamchk.exe' is not recognized as an internal or external command; operable program or batch file


Timmiej93
 
Posts: 8
Joined: 28 Oct 2014, 20:57

Re: A fix for LiF "create a world" local server can't be acc

Post by Timmiej93 » 29 Oct 2014, 20:59

Vamyan wrote:omg my eyes are bleeding, all the @.

Ever heard of putting an "@echo off" at the top of your batch files? :good:

Also, when running commands that don't necessarily need to have their output seen by the end user, you can always redirect the standard output and standard error to NUL with >NUL 2>NUL

Protips!

I can't vouch for the myisamchk.exe utility, but it seems legit. Thanks for helping the community with this!


Hi Vamyan

Well yes, I have heard of the @echo off, but I didn't know what it does. I'm in no way an experienced "batch file writer", this is the first batch file I ever made to be used in a serious matter. In my opinion though, it's about the end the user can see. But thank you for pointing it out, I might be able to use it later on.

Also, I thought about hiding those messages, but some users might want to see it. As said, the file provided only has to be used once, after that a simpler batch file can be created, which does everything automatically.


Veovisx wrote:not working

'myisamchk.exe' is not recognized as an internal or external command; operable program or batch file


Hello Veovisx.

A little bit more information about where this error is happening could be useful. Remember, if you don't provide us with information, we can't help you.

Also, be sure to have this batch file and the myisamchk.exe file in the same location, preferably the LIF folder you created on your desktop.

Please post a more detailed response about the error you're getting, so we can help you.

Tim


Veovisx
 
Posts: 3
Joined: 25 Oct 2014, 04:06

Re: A fix for LiF "create a world" local server can't be acc

Post by Veovisx » 29 Oct 2014, 22:38

Veovisx wrote:not working

'myisamchk.exe' is not recognized as an internal or external command; operable program or batch file



I'm perfectly capable of following the directions that were given and putting things in the proper folder, it just spewed out that "error" when your batch file tried to run myisamchk.exe

I'll go try again in a little while but as your programming up to that point seemed sound, I'd check the link to the myisamchk.exe that you list in your post not the batch file, unless they link to the same file.


Balax
 
Posts: 40
Joined: 30 Sep 2014, 11:03
Location: Norway

Re: A fix for LiF "create a world" local server can't be acc

Post by Balax » 30 Oct 2014, 06:59

This is how to do it.

- Download myisamchk.exe.
- put in in the sql-folder where proc.myi is.
- type in myisamchk.exe proc.myi -c
- then myisamchk.exe proc.myi -r

done.

To those who want help to find the sql-folder to execute the file,
and have steam and LIF installed the usual location, do this:

- Run cmd and get a "text-window".
- type in cd\
- type in cd progra~2
- cd steam
- cd steamapps
- cd common
- cd life*.
- cd daemon
- cd mariadb
- cd data
- cd mysql
- myisamchk.exe proc.myi -c
- myisamchk.exe proc.myi -r

This should be doable.


Timmiej93
 
Posts: 8
Joined: 28 Oct 2014, 20:57

Re: A fix for LiF "create a world" local server can't be acc

Post by Timmiej93 » 30 Oct 2014, 18:12

Veovisx wrote:
Veovisx wrote:not working

'myisamchk.exe' is not recognized as an internal or external command; operable program or batch file



I'm perfectly capable of following the directions that were given and putting things in the proper folder, it just spewed out that "error" when your batch file tried to run myisamchk.exe

I'll go try again in a little while but as your programming up to that point seemed sound, I'd check the link to the myisamchk.exe that you list in your post not the batch file, unless they link to the same file.


I trust you are Veovisx, but we're all just people, everybody can make a mistake right? :)
It might be, this is just a random thought, that you might have to run the batch file as an administrator (or give something administrator rights). I wouldn't have found this error myself, since I have full administrator rights on everything I do on my pc.

About checking the link, I'm not 100% sure what you mean. I checked the link to the myisamchk.exe file and the batch file, for me both links works like they should.

Please let me know how things work out for you.



Balax wrote:This is how to do it.

- Download myisamchk.exe.
- put in in the sql-folder where proc.myi is.
- type in myisamchk.exe proc.myi -c
- then myisamchk.exe proc.myi -r

done.

To those who want help to find the sql-folder to execute the file,
and have steam and LIF installed the usual location, do this:

- Run cmd and get a "text-window".
- type in cd\
- type in cd progra~2
- cd steam
- cd steamapps
- cd common
- cd life*.
- cd daemon
- cd mariadb
- cd data
- cd mysql
- myisamchk.exe proc.myi -c
- myisamchk.exe proc.myi -r

This should be doable.


Hi Balax,

I partially agree with you. You are indeed doing the correct things, but there are a few things that are not necessarily correct for everyone.
For instance, this approach only works when you have the game (and steam) installed on the default location. Also, people might not be experienced enough in CMD to understand everything at once, and might give up, which is exactly the reason why I've written up this batch file. This makes it possible for anybody to repair their LiF install.


Balax
 
Posts: 40
Joined: 30 Sep 2014, 11:03
Location: Norway

Re: A fix for LiF "create a world" local server can't be acc

Post by Balax » 30 Oct 2014, 18:48

man, what is there to partyly agree with?

I wrote in an alternative way of doing the same thing as you.
I clearly wrote that this were for those who had installed it in the common steam-directory. I didn't adress my post to anyone else, as they wouldn't find it helpful.

But I can see where you are coming from having some of the responses you got in mind, when you posted this to help people.

That aside, if you have a more clear way of putting it, or an easier way, I'd be happy to hear from you, 'cause I do get some requests for tutoring/helping out like this from time to time. And some of those knows much less than anyone here.

Peace.


Veovisx
 
Posts: 3
Joined: 25 Oct 2014, 04:06

Re: A fix for LiF "create a world" local server can't be acc

Post by Veovisx » 30 Oct 2014, 23:16

oh it was run as adminstrator, that was the first thing I thought about, when it happend and the first thing I did to try and make it work.


Timmiej93
 
Posts: 8
Joined: 28 Oct 2014, 20:57

Re: A fix for LiF "create a world" local server can't be acc

Post by Timmiej93 » 31 Oct 2014, 12:04

Balax wrote:man, what is there to partyly agree with?

I wrote in an alternative way of doing the same thing as you.
I clearly wrote that this were for those who had installed it in the common steam-directory. I didn't adress my post to anyone else, as they wouldn't find it helpful.

But I can see where you are coming from having some of the responses you got in mind, when you posted this to help people.

That aside, if you have a more clear way of putting it, or an easier way, I'd be happy to hear from you, 'cause I do get some requests for tutoring/helping out like this from time to time. And some of those knows much less than anyone here.

Peace.



I partially agree with you because you say: "This is how to do it". Yes it is, but not for everyone. Therefore, I partially agree with you.

About the easier way to do it, the easiest way to do it is downloading and executing the batch file I wrote up. It might not be some fancy program with a nice looking GUI, but it does what it needs to do, in an easy way.

I do still appreciate your effort though, them more information there is about such problems, the better people can understand how to fix it.



Veovisx wrote:oh it was run as adminstrator, that was the first thing I thought about, when it happend and the first thing I did to try and make it work.



Hmm, I kinda hoped that would be it. Can you please describe which steps you have to take to recreate this error? That way I might be able to find an error in the file.


Zhalls
Alpha Tester
 
Posts: 89
Joined: 14 Mar 2014, 19:30

Re: A fix for LiF "create a world" local server can't be acc

Post by Zhalls » 31 Oct 2014, 12:13

This is a neat discussion. Thanks for the thread.


Brandybo
 
Posts: 1
Joined: 01 Nov 2014, 01:01

Re: A fix for LiF "create a world" local server can't be acc

Post by Brandybo » 01 Nov 2014, 01:04

you are a god or at least a cool cat .. thank you so much .. what pain in my ass it was to make new worlds yuck all that xp i lost in crafts to start over again.
any who .. you the man

want you to know i created an account on this forum just so i could
THANK YOU!!!!


Uncle_pirog
 
Posts: 2
Joined: 01 Nov 2014, 11:02

Re: A fix for LiF "create a world" local server can't be acc

Post by Uncle_pirog » 05 Nov 2014, 11:27

Excellent work


Timmiej93
 
Posts: 8
Joined: 28 Oct 2014, 20:57

Re: A fix for LiF "create a world" local server can't be acc

Post by Timmiej93 » 05 Nov 2014, 17:42

Thank you very much Brandybo and Uncle_pirog, I'm glad I was able to help. That's what it's all about on the forums, helping each other :)

Tim

User avatar
GECTOR
True Believer
 
Posts: 4
Joined: 15 Nov 2014, 13:27

Re: A fix for LiF "create a world" local server can't be acc

Post by GECTOR » 16 Nov 2014, 09:47

i pay for game 30 eur and i still need to be programer to make my game runing, i see that this problem is not for one person

i pay money not for thinking how to make game working i pay money for playing the game


Timmiej93
 
Posts: 8
Joined: 28 Oct 2014, 20:57

Re: A fix for LiF "create a world" local server can't be acc

Post by Timmiej93 » 25 Nov 2014, 14:39

Hi GECTOR,

First of all, this is not the right topic to show your emotions about the game. This topic is meant for people who have this exact problem, for which there is a very easy fix available in the first post of this topic.

Second of all, this game is in an alpha state, which means it is still under development. This has been clearly stated to you while you were buying the game, so you can absolutely not deny you did not know this. You can not expect a full, completed game when it still is in an alpha state.

Please contribute to the forums by trying to fix your game and sharing your solution. If this does not interest you, please ask the developers for a refund.

Tim



Zeed45
 
Posts: 2
Joined: 09 Oct 2014, 00:30

Re: A fix for LiF "create a world" local server can't be acc

Post by Zeed45 » 27 Nov 2014, 02:39

Timmiej93

I'm in for the first time in weeks. Had to find a public server but it was slow at patch updates.

Thanks for making this easy for me, greatly appreciated.

Zeed


Grynn
 
Posts: 4
Joined: 23 Sep 2014, 01:56

Re: A fix for LiF "create a world" local server can't be acc

Post by Grynn » 27 Nov 2014, 03:10

the bat file doesn't work for me, get a message saying that the file is invalid or something, copies no files. Getting the can't access local server

EDIT*

Ok the bat file didn't work for me because the dos shell doesn't like spaces in long chain file structures Ex. E:\program files (x86)\steam\steamapps\common\life is feudal your own etc.
But it is fine with them one by one so I did it manually and got all the expected and desired results. But when I try to create a local server I get CR_INTERNAL_DB_ERROR in the game and this
Spoiler


in the server window any ideas? If its useful do you know of a way I can dump the whole of the server output into a txt file? this is a fresh install by the way, uninstall through steam then reinstalled


Timmiej93
 
Posts: 8
Joined: 28 Oct 2014, 20:57

Re: A fix for LiF "create a world" local server can't be acc

Post by Timmiej93 » 04 Dec 2014, 14:40

Hi Grynn,

AFAIK the file doesn't really mind spaces, my LIF location has quite some as well. I'm afraid there's something else wrong with your game, which I can't help you with, sorry.

Tim


Olblach
 
Posts: 27
Joined: 11 Nov 2014, 18:41

Re: A fix for LiF "create a world" local server can't be acc

Post by Olblach » 05 Dec 2014, 02:06

Grynn wrote:the bat file doesn't work for me,


Ok try this:

cd to

<YourSteamPath>\SteamApps\common\Life is Feudal Your Own\daemon\mariadb\bin

then you need to copy a file named myisamchk.exe there

You can find it in the official mariadb distribution

then from this directory mariadb\bin you type this command:

myisamchk -r ..\data\mysql\proc.MYI

You don't need to type any space from there. You can also put this line in a file named fixme.bat or whatever then cd to the bin directory and launch it.

Or if you want to fix the spaces issues just enclose the path between ", like this:

CD "<YourSteamPath>\SteamApps\common\Life is Feudal Your Own\daemon\mariadb\bin"

There are more than one way to fix this issue, as long as it's caused by the proc.


OldCanuck
 
Posts: 4
Joined: 05 Dec 2014, 03:05

Re: A fix for LiF "create a world" local server can't be acc

Post by OldCanuck » 05 Dec 2014, 03:11

Your batch file works fine, but I can't get the myisamchk.exe file to open. I run a 64bit Win 8.1 machine with Steam on the D drive. Diagnostics say the program is incompatible, and win 7 and vista emulators don't work. I cannot find a version of myisamchk.exe that is designed for a win 8 machine. Do you have any advice? I am 200 hours into the game and would hate to start over.


Olblach
 
Posts: 27
Joined: 11 Nov 2014, 18:41

Re: A fix for LiF "create a world" local server can't be acc

Post by Olblach » 05 Dec 2014, 13:49

OldCanuck wrote: I cannot find a version of myisamchk.exe that is designed for a win 8 machine. Do you have any advice?


Look here

open the package in some temp directory then copy only myisamcheck.exe to the Lif mariadb bin directory.


OldCanuck
 
Posts: 4
Joined: 05 Dec 2014, 03:05

Re: A fix for LiF "create a world" local server can't be acc

Post by OldCanuck » 05 Dec 2014, 18:46

Thanks, but no luck. I downloaded Mariadb-10.0.15-win64.zip, unzipped the myisamchk.exe file, but still get the "this is not a recognized program" message.


Olblach
 
Posts: 27
Joined: 11 Nov 2014, 18:41

Re: A fix for LiF "create a world" local server can't be acc

Post by Olblach » 05 Dec 2014, 20:44

Press Windows+X from the Desktop you should get a console window then cd all the way to the directory where myisamchk is located and see if it runs, looks like another space error.


OldCanuck
 
Posts: 4
Joined: 05 Dec 2014, 03:05

Re: A fix for LiF "create a world" local server can't be acc

Post by OldCanuck » 05 Dec 2014, 21:31

Thanks for your help. I did a full reinstall and now it works.


Olblach
 
Posts: 27
Joined: 11 Nov 2014, 18:41

Re: A fix for LiF "create a world" local server can't be acc

Post by Olblach » 06 Dec 2014, 01:40

Ok, it was probably an issue with spaces:

c:\program files\myprog.exe

needs to be enclosed with "

"c:\program files\myprog.exe"

If it happens again just enclose the commands with double quotes.


Timmiej93
 
Posts: 8
Joined: 28 Oct 2014, 20:57

Re: A fix for LiF "create a world" local server can't be acc

Post by Timmiej93 » 10 Dec 2014, 19:36

OldCanuck wrote:Your batch file works fine, but I can't get the myisamchk.exe file to open. I run a 64bit Win 8.1 machine with Steam on the D drive. Diagnostics say the program is incompatible, and win 7 and vista emulators don't work. I cannot find a version of myisamchk.exe that is designed for a win 8 machine. Do you have any advice? I am 200 hours into the game and would hate to start over.


Hi OldCanuck,

I also run a 64bit Win 8.1 machine, with steam also located on the D drive, so I can confirm this should not be a problem.

I'm glad you got it fixed though.

Tim


Krafty
 
Posts: 1
Joined: 23 Dec 2014, 05:06

Re: A fix for LiF "create a world" local server can't be acc

Post by Krafty » 23 Dec 2014, 08:51

Thanks for the fix. Had just started playing and found i couldn't run my own server (after first day). works very nice and the walk-through was great.


Rithious
 
Posts: 1
Joined: 25 Dec 2014, 16:54

Re: A fix for LiF "create a world" local server can't be acc

Post by Rithious » 25 Dec 2014, 16:59

So I have tried all of this. Have all the files in the right place proced all the right stuff and it still does not work. I get stuck on the loading server screen in game and when i log out it has a pup up window over my server saying that an unexpected error has occurred and windows is closing the program. Sometimes it does not even do that, it just closes it with no warning. I tried re-installing the game as well and still nothing. Any other ways to fix this problem or am I just s**t out of luck on $30 ?

Return to General Discussion