Jump to content

All about game's source


Go to solution Solved by Dimmi,

Recommended Posts

Hello guys,

Can somebody give me a list of game's source guides, I mean, how to upload it to server, how to compile it, how to remplace your last game and db with the new one.

I'm new to this FreeBSD, I'm good at C++ and I wanna develop my server with this language. 

I searched around some forums, but nothing found...

Thanks for any help!

Kind regards,

Dimmi!

Link to comment
Share on other sites

  • Former Staff

Ok, so first download this

Kraizy.tgz

 

This file contains all the branches

p2YPc.png

 

Some say mainline_released is the best for game/db, others say is mainline.

As for the client use novaline, or you can use other source codes given by some members.

 

Next, if your FreeBSD ain't prepered for compiling source follow these steps.

You may use FreeBSD 9.2 or grater.

Hello guys today i'm gonna show u how to compile the source in freebsd.

 

First of all you need and dns or a dedicated server because in hamachi server we can not use the fetch command

 

We will install Gmake,Makedepend,Svn(subversion),Devil,G++

 

1)gmake:

cd /usr/ports/devel/gmake && make install clean
2)makedepend:

 

cd /usr/ports/devel/makedepend && make install clean
 

3)svn:

 

cd /usr/ports/devel/subversion && make install clean
 

4)devil:

 

cd /usr/ports/graphics/devil && make install clean
5)G++:

cd /usr/ports/lang/gcc48/ && make install clean
NOTE: if you have already installed some of this step just skip the step and follow the other

 

Then you do this:

    From libdevil/ copy all .a files into /usr/lib

    From libgame/From lib copy the From libgame.a file into /usr/lib

    From libhackshield/From lib copy the From libanticpxsvr.a file into /usr/lib

    From liblua/From lib copy the .a files into /usr/lib

    From libpoly/ copy the .o files into /usr/lib

    From libserverkey/ copy the .o files into /usr/lib

    From libthecore/From lib copy the From libthecore.a files into /usr/lib

 

After copying the files into the /usr/lib do this:

 

go to Extern folder of the novaline and open the include folder and copy everything into /usr/include

go to Extern/Lib folder of the novaline branch and copy everything from there to /usr/lib

go to Extern folder of the novaline branch and drag the cryptopp and openssl folders into /usr/include

 

After all that you can follow this thread.

 

Watch the video from 9th minute.

 

 

If you don't want to have all this work download FreeBSD 9.2 with source code and you're ready 2go.

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

I finally finished port's installing and I got those errors:

gmake[1]: Leaving directory '/usr/src/Server/game/src'
gmake -C game/src clean
gmake[1]: Entering directory '/usr/src/Server/game/src'
gmake[1]: Leaving directory '/usr/src/Server/game/src'
gmake -C game/src limit_time
gmake[1]: Entering directory '/usr/src/Server/game/src'
update limit time
gmake[1]: python: Command not found
Makefile:123: recipe for target 'limit_time' failed
gmake[1]: *** [limit_time] Error 127
gmake[1]: Leaving directory '/usr/src/Server/game/src'
Makefile:60: recipe for target 'all' failed
gmake: *** [all] Error 2

I follow step by step the tutorial. Only the source & extern folders which was uploaded to /usr/src, no to /root.

Link to comment
Share on other sites

Better install it via portstree instead of packages. This way you can make sure everything works with your system (and even build your own faster versions if you have a more recent version of your compiler than the package was build with)

 

portsnap fetch extract

(if you don't have a portsnap)

 

portsnap fetch update

(if you have a portsnap and want to update it)

 

 

cd /usr/ports/lang/python && make install clean

 

Should do the job. Make sure you've got internet connection. Otherwise download python and do it yourself :)

  • Love 1
Link to comment
Share on other sites

  • Solution

It works now, thanks to all for your help! Thanks to all!

 

BEST ANSWERS (that's because you was two)

Ok, so first download this
Kraizy.tgz
 
This file contains all the branches
p2YPc.png
 
Some say mainline_released is the best for game/db, others say is mainline.
As for the client use novaline, or you can use other source codes given by some members.
 
Next, if your FreeBSD ain't prepered for compiling source follow these steps.
You may use FreeBSD 9.2 or grater.

Hello guys today i'm gonna show u how to compile the source in freebsd.
 
First of all you need and dns or a dedicated server because in hamachi server we can not use the fetch command
 
We will install Gmake,Makedepend,Svn(subversion),Devil,G++
 
1)gmake:


 



3)svn:


 



4)devil:


 



NOTE: if you have already installed some of this step just skip the step and follow the other

 


Then you do this:


    From libdevil/ copy all .a files into /usr/lib


    From libgame/From lib copy the From libgame.a file into /usr/lib


    From libhackshield/From lib copy the From libanticpxsvr.a file into /usr/lib


    From liblua/From lib copy the .a files into /usr/lib


    From libpoly/ copy the .o files into /usr/lib


    From libserverkey/ copy the .o files into /usr/lib


    From libthecore/From lib copy the From libthecore.a files into /usr/lib


 


After copying the files into the /usr/lib do this:


 


go to Extern folder of the novaline and open the include folder and copy everything into /usr/include


go to Extern/Lib folder of the novaline branch and copy everything from there to /usr/lib


go to Extern folder of the novaline branch and drag the cryptopp and openssl folders into /usr/include

 


 
After all that you can follow this thread.

 
Watch the video from 9th minute.
 
 
If you don't want to have all this work download FreeBSD 9.2 with source code and you're ready 2go.

 

 

Better install it via portstree instead of packages. This way you can make sure everything works with your system (and even build your own faster versions if you have a more recent version of your compiler than the package was build with)

 

portsnap fetch extract

(if you don't have a portsnap)

 

portsnap fetch update

(if you have a portsnap and want to update it)

 

 

cd /usr/ports/lang/python && make install clean

 

Should do the job. Make sure you've got internet connection. Otherwise download python and do it yourself  :)

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 1

      UI types and attributes

    2. 0

      ImperiaWorld2 - SpeedServer - Opening 03/05/2024 - NewSchool - New Graphics M2 1.0.4b Terrain depth - International

    3. 2

      Very strange bug, when creating new char

    4. 6

      Voooxy aka m2core.tech scammer

    5. 117

      Ulthar SF V2 (TMP4 Base)

  • 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.