Jump to content
  • 0

Official Windows Server Build (Git): Loading network library (net_d.dll) failed


googleyf

Question

The actual error message is on the screen-shot:
http://prntscr.com/e7hjeq

I forked current release from git to my local machine.
Then I've run everything by "Build instruction" from readme.md.
create-projects.bat was working only with regular rights - it returned "System cannot find path specified" error when running with admin rights.
I compiled this thing using Visual Studio 2015 Build Tools (with Win 8.1 SDK). As I have x64 Win I used "VS2015 x64 Native Tools Command Line" shell. After compilation it returned 792 warnings and no errors.
Also I've created a .bat file for final steps:
" utils\premake5.exe install_data
utils\premake5.exe install_resources
pause"

Can anyone suggest how to resolve this issue?

Link to comment

15 answers to this question

Recommended Posts

  • 0
  • MTA Anti-Cheat Team

Use the server net module from official installer of the revision your build is based on, and rename it if needed.

Net isn't open source so you'll have to do it that way, AFAIK (i aint that experienced with building stuff, just try it)

Edited by Dutchman101
Link to comment
  • 0
8 minutes ago, Dutchman101 said:

Use the server net module from official installer of the revision your build is based on, and rename it if needed.

Net isn't open source so you'll have to do it that way, AFAIK (i aint that experienced with building stuff, just try it)

Tnx, I'll report the result

17 minutes ago, Dutchman101 said:

Use the server net module from official installer of the revision your build is based on, and rename it if needed.

Net isn't open source so you'll have to do it that way, AFAIK (i aint that experienced with building stuff, just try it)

So I took net.dll from "server" folder of the installation version and renamed it to net_d.dll. Then I moved it to x64 folder from the previous error message. 
Now I get slightly different error message:
http://prntscr.com/e7htck

Link to comment
  • 0
  • MTA Team

I've just checked and the x64 server is missing some post build commands.

You can do these manually by copying pthread_d.dll to pthread.dll and libcurl_d.dll to libcurl.dll in the server\x64 directory

  • Like 1
Link to comment
  • 0
23 hours ago, ccw said:

I've just checked and the x64 server is missing some post build commands.

You can do these manually by copying pthread_d.dll to pthread.dll and libcurl_d.dll to libcurl.dll in the server\x64 directory

Thank you ccw - your advice helped!
I've copied those two files and renamed them as you told. Server starts now :)

But now the other problem showed up - client doesn't see this server in Local list.
Client only can "see" the server when you press the "info" button. But "Join" is not working anyways - it shows the "It is not possible to connect this time" msg. Maybe it's because of config props but I haven't found the reason by now..

P.S. Client sees the x64 server from the link provided by ccw above (https://nightly.multitheftauto.com/mtasa_x64-1.5.3-rc-11179-20170206.exe) and the one which came with the installer.

Link to comment
  • 0
10 hours ago, ccw said:

Ok, the problem has been fixed in the net module. Get it by running:


utils\premake5.exe install_data

 

So, what I've done:
- removed Build and Bin folders from mtasa-blue directory
- synced with mtasa-blue (Git)
- rebuilt the server
- rerun 

utils\premake5.exe install_data

and 

utils\premake5.exe install_resources

- repeated all the steps suggested in this dialog above

What I get:
- error msg from here

On 2/11/2017 at 21:58, googleyf said:

Tnx, I'll report the result

So I took net.dll from "server" folder of the installation version and renamed it to net_d.dll. Then I moved it to x64 folder from the previous error message. 
Now I get slightly different error message:
http://prntscr.com/e7htck


Maybe I did smth wrong?

Link to comment
  • 0
  • MTA Team
4 hours ago, googleyf said:

- repeated all the steps suggested in this dialog above

What did you do here exactly. No other steps should be necessary now.

Check Bin\server\x64\net_d.dll and Bin\server\x64\net.dll are 1,728,512 bytes

Run utils\premake5.exe compose_files, zip up InstallFiles and upload to https://upload.mtasa.com/

Link to comment
  • 0

Sorry for late response :ph34r:

 

On 2/14/2017 at 13:22, ccw said:

What did you do here exactly. No other steps should be necessary now.

So, I rebuilt a server, took and renamed net.dll file to net_d.dll and put it to ...\mtasa-blu\Bin\server\x64. Then I copied pthread_d.dll and libcurl_d.dll and renamed them to pthread.dll and libcurl.dll accordingly.
 

On 2/14/2017 at 13:22, ccw said:

Check Bin\server\x64\net_d.dll and Bin\server\x64\net.dll are 1,728,512 bytes

My files have 1.30MB size.

 

On 2/14/2017 at 13:22, ccw said:

Run utils\premake5.exe compose_files, zip up InstallFiles and upload to https://upload.mtasa.com/

Done

Link to comment
  • 0
  • MTA Team
2 hours ago, googleyf said:

So, I rebuilt a server, took and renamed net.dll file to net_d.dll and put it to ...\mtasa-blu\Bin\server\x64. Then I copied pthread_d.dll and libcurl_d.dll and renamed them to pthread.dll and libcurl.dll accordingly.

Ok, there should be no need to do those steps now as the repo has been updated

2 hours ago, googleyf said:

Run utils\premake5.exe compose_files, zip up InstallFiles and upload to https://upload.mtasa.com/

Thanks. The problem is server\x64\net.dll is actually 32 bit (you can see this with Right-click->Properties->Details - File description should be 'Multi Theft Auto Module x64')

Try these steps:

1) Update source from git repo

2) Double-click on win-install-data.bat and check that no errors are reported

3) Check server\x64\net.dll is 1.64MB

 

Link to comment
  • 0
On 2/16/2017 at 20:40, ccw said:

Try these steps:

1) Update source from git repo

2) Double-click on win-install-data.bat and check that no errors are reported

3) Check server\x64\net.dll is 1.64MB

Ok, so I've rebuilt the server using win-...bat executables. The build process ended up with 5 errors and a couple of warnings, don't remember exactly the description.
I've checked - server\x64\net.dll is 1.64MB.
The server starts but I can't see it in the client (Multi Theft Auto.exe 1.10739.0.0).
Server logs show no errors.

Link to comment
  • 0
  • MTA Team

You should be able to see the the server with the client you built in Bin\

If you mean you can't see the server with the official MTA built client, then that is because MTASA_VERSION_TYPE has to be set to VERSION_TYPE_RELEASE in Serve\version.h

Link to comment
  • 0
On 3/2/2017 at 05:14, ccw said:

You should be able to see the the server with the client you built in Bin\

If you mean you can't see the server with the official MTA built client, then that is because MTASA_VERSION_TYPE has to be set to VERSION_TYPE_RELEASE in Serve\version.h

Ok, so I've changed MTASA_VERSION_TYPE to VERSION_TYPE_RELEASE in Serve\version.h and rebuilt the server using win-...bat executables - now it shows me this:
http://prntscr.com/et1bwj

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...