Jump to content

How To Compile the Source code on FreeBSD


Exynox

Recommended Posts

Atm i compile on 32bit system.. i not installed a 64 Bit system.. did you have a instruction please?

compiling the game core under 64bit is differnt in many ways :

under a 64 bit means that you are compiling the src directly in a 64bit freebsd w/o jail so you have to compile the client bin in 64bit (duo to the packet size changing) . (not recommeneded any way and no one has wasted his time on it there is still a good number of 32bit user)

it is hard to compile

the game was not designed to work on a 64bit .

if i remember correctly the marco :

_WIN64
_WIN32

was not used at all

any way good luck.

  • Love 1
Link to comment
Share on other sites

My problem is that i must Buy 2 Servers. 1 for compile and 1 for play.. because i use up to 4 Channels and so i can't use more then 4?GB Ram on a 32bit Maschine ._.

That's why i need to compile on 64 Bit.. did anyone have a other soulution?

I don't wana compile on PC.. Upload Game (43MB) cost to many time

Solution :

Try by yourself. And ask for help for errors. What is that you ask someone to work for you.What do I mean by that? If you need someone to work for you pays, so you turn to your offering your services.

To help / questions post errors, problems occur when trying alone. Do not ask directly, I want that, I want that.

I've said before, try alone and i help you ...whit that.

All the best.  Ira :D

Edited by Ira™
Link to comment
Share on other sites

I don't need anyone work for me. I ask for a solution or anything like this. I try diffrent ways aggo to Compile on 64bit System. Without any help.

Then i search for soulution. But google does not give any help.. everyone just say "it is not possible" so i don't try it again (i try for about 3 Months or so). Now i must cancel 1 Server so i must find a soultion and before the server runs out i ask and test everything by my self.

i can't copy source etc to live server and test there everything. if i made a mistake i have to reset everything.. yes i have backups but i think the players are not happy if i have to install the server again... :(

I have to say thanks for the awnsers i know. I say thanks for the help. And i would NEVER say "Do this or this or this." that is not i.

 

#sry 4 bad english...

Edited by Benhero
Link to comment
Share on other sites

My problem is that i must Buy 2 Servers. 1 for compile and 1 for play.. because i use up to 4 Channels and so i can't use more then 4?GB Ram on a 32bit Maschine ._.

That's why i need to compile on 64 Bit.. did anyone have a other soulution?

I don't wana compile on PC.. Upload Game (43MB) cost to many time

this is what a wise server admin should do anyway.

- if you compile your src on 32bit system then upload it to a 64bit system , this is perfectly okey.

- if you compile your src  on 64bit with a 32bit jail (the same a virtualzation) , this is okey as well.

- compiling on 64bit directly is still not alright though -.- (i think that you already got this part from my last post)

your best solution is to make a jail on your main server --if your server is good enough-- you can link it to another IP (basicly it is the same as having 2 servers) you can have your test on it and ...etc , btw the ftp is directly linked to the main server and the jail can be directly accessed by the main machine.

i hope this information can be usefull for you , you can have more info about how to make a jail from freebsd man

man jail
  • Love 1
Link to comment
Share on other sites

Hey, first good job.
I'll do the whole thing again but in German.
And I made a script that almost everything installed)

the video then comes soon on my channel;)

 

https://www.youtube.com/watch?v=kx3J9ICDf_g  <---video!

I love the German language so much :wub:. I wish I could speak it better.

Anyway, the shell script is a nice idea, didn't thought of that. Nice job too!

haha;) love;) I had a question you can call me in skype adden?

id:mrmetin2gamer

Link to comment
Share on other sites

  • Premium

Hey, first good job.
I'll do the whole thing again but in German.
And I made a script that almost everything installed)

the video then comes soon on my channel;)

 

https://www.youtube.com/watch?v=kx3J9ICDf_g  <---video!

I love the German language so much :wub:. I wish I could speak it better.

Anyway, the shell script is a nice idea, didn't thought of that. Nice job too!

 

haha;) love;) I had a question you can call me in skype adden?

id:mrmetin2gamer

I can't use skype as I'm in a holiday and I have to keep my data plan usage as low as possible (roaming fares are quite high).

Is it working on 34k?

EDIT: ERROR  pkg2nd : Command not found.

16tqwg.jpg

You have to configure your virtual machine's network card, it seems it can't connect to the Internet at all.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

Hey, first good job.
I'll do the whole thing again but in German.
And I made a script that almost everything installed)

the video then comes soon on my channel;)

 

https://www.youtube.com/watch?v=kx3J9ICDf_g  <---video!

I love the German language so much :wub:. I wish I could speak it better.

Anyway, the shell script is a nice idea, didn't thought of that. Nice job too!

 

haha;) love;) I had a question you can call me in skype adden?

id:mrmetin2gamer

I can't use skype as I'm in a holiday and I have to keep my data plan usage as low as possible (roaming fares are quite high).

Is it working on 34k?

EDIT: ERROR  pkg2nd : Command not found.

16tqwg.jpg

You have to configure your virtual machine's network card, it seems it can't connect to the Internet at all.

Bridged adapter: Hamachi or my internet card?
 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Premium

Your internet card. Note that you may want to change your settings from within the virtual machine, using sysinstall and choosing to use a DHCP server to configure the network.

This may not work if you don't have a router.

I've quickly searched for a video tutorial to help you out:

Link to comment
Share on other sites

  • 1 month later...
  • 5 months later...

root@freebsd:~/workspace/Server # gmake all
--------------------------------------
Full Build Start
--------------------------------------
gmake -C libserverkey dep
gmake[1]: Entering directory '/root/workspace/Server/libserverkey'
touch Depend
g++  -Wall -O2 -pipe -mcpu=i686 -D_THREAD_SAFE -fno-exceptions  -MM *.cpp > Depend
g++: not found
Makefile:37: recipe for target 'dep' failed
gmake[1]: *** [dep] Error 127
gmake[1]: Leaving directory '/root/workspace/Server/libserverkey'
Makefile:60: recipe for target 'all' failed
gmake: *** [all] Error 2
root@freebsd:~/workspace/Server # cd /root/workspace/Server/game/src/
root@freebsd:~/workspace/Server/game/src # gmake
gmake: *** No rule to make target '/usr/include/c++/4.2/cstdlib', needed by 'OBJDIR/BattleArena.o'.  Stop.
root@freebsd:~/workspace/Server/game/src #
 

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...

Hi, thanks for the post, it was a great help, I was able to compile both the game and the db, but I don't know what to do next in order get a server 'to start'. I've got these questions idk if you can help me with them:

  1. Where do I get the database structure
  2. I've discovered that I can execute the files that were compiled but they seem to require additional files in order to run (What are those files and where can I get them)

Thanks in advance for your help, I'm new to this whole metin2 server world, but I know linux, I use fedora at work :D.

Link to comment
Share on other sites

  • 2 weeks later...
  • 8 months later...
  • 3 weeks later...
On 2/1/2017 at 9:54 AM, AshaMt2 said:

hello, hwo c help me ?

I changed three versions of VirtualBox and I always had the same problem, I tried with VirtualBox 4.3.20 like in this video, and I followed every step, 5 times.. 
please someone can help me ? Thanks!

Instead of using the 9.3 version, get the latest version (iso file i386 aswell). Support for dialog4ports for 9.3 is not available anymore, so you need to get the latest version

Link to comment
Share on other sites

On 01.02.2017 at 10:54 AM, AshaMt2 said:

hello, hwo can help me ?

I changed three versions of VirtualBox and I always had the same problem, I tried with VirtualBox 4.3.20 like in this video, and I followed every step, 5 times.. 
please someone can help me ? Thanks!

Capture.PNG

 

5 hours ago, InDeepTerror said:

Instead of using the 9.3 version, get the latest version (iso file i386 aswell). Support for dialog4ports for 9.3 is not available anymore, so you need to get the latest version

https://forums.freebsd.org/threads/59383/ fix

Link to comment
Share on other sites

  • 4 weeks later...

Announcements



  • Similar Content

  • Similar Content

  • Similar Content

  • Tags

  • Activity

    1. 2

      Feeding game source to LLM

    2. 0

      Target Information System

    3. 2

      Feeding game source to LLM

    4. 2

      anti exp explanation pls

    5. 2

      Feeding game source to LLM

    6. 2

      anti exp explanation pls

    7. 0

      [GR2] Positioning an object added with "Attach"

  • Recently Browsing

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

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.