citizenfx / fivem

The source code for the Cfx.re modification frameworks, such as FiveM, RedM and LibertyM, as well as FXServer.
https://cfx.re/
3.48k stars 2.06k forks source link

Can't build the server #29

Closed MockbaTheBorg closed 7 years ago

MockbaTheBorg commented 7 years ago

Hi All,

I have tried to build the client and finally managed to. However I don't see the the server inside. Is the server a separate repository?

Thanks, Mockba the Borg

IzioDev commented 7 years ago

Europium's help : premake5 vs2017 --game=server

MockbaTheBorg commented 7 years ago

Thanks Izio38, it seemed to work. But it built a server which is different though. It created a FXServer.exe, not a CitizenMP.Server.exe (which we download from the website).

It this a different server? How can I build the CitizenMP.Server.exe?

Thanks a lot!

Povers commented 7 years ago

FXServer.exe is the new incoming server version.

IzioDev commented 7 years ago

I know there is a way to build the old builds, but I don't know how, maybe an elements could tell you that :)

MockbaTheBorg commented 7 years ago

Oh ok ... so I guess it can't be used yet? Is there a way for me to build the current server?

blattersturm commented 7 years ago

Oh ok ... so I guess it can't be used yet?

It can, though? See Running FXServer on the wiki, and the build scripts in code/tools/ci/.

Is there a way for me to build the current server?

No. And it's also hard to see why you would want to.

MockbaTheBorg commented 7 years ago

Just wanted to be able to build from source the same things I download pre-built. The server wiki helped though. I will try it tonight, and contribute if I am able to.

Thanks all!!!

ghost commented 7 years ago

Yes there is a way and people are just idiots :

premake5.exe vs2017 --game=server 

will generate you the fxserver project.