Author Topic: Open Source FOnline: 2238  (Read 78695 times)

Offline AHS-9

  • Administrator
  • AHS-9, the Great And Terrible
Open Source FOnline: 2238
« on: July 02, 2013, 12:31:23 pm »
As promised a few days ago, we are releasing the source code of FOnline: 2238 with some additional tools.

The source code is a snapshot of the game code and content from the time shortly before we closed the server (some changes introduced during the final days were reverted). The access to the original repository used for the development of FOnline: 2238 in the past, with all the revisions up to this point, will stay closed.

Server and related tools
https://github.com/rotators/fo2238

Client + Mapper
http://fo2238.fodev.net/source/FOnline2238.client+mapper.zip

More tools (with sources)
https://github.com/rotators/tools
https://github.com/rotators/WitchLord
https://github.com/wipe2238/FOUpdaterEx
https://github.com/whine/vtdb

Alternative Download (those files will stay as they are, any further changes on github won't be included)
http://fo2238.fodev.net/source/

Autogenerated documentation (using Doxygen) (the Reference section is the most interesting there)
http://fo2238.fodev.net/source/docs/

For those who cannot wait to run your own server and look around from a whole new perspective, we prepared a short tutorial which should help you with the first steps as an authenticated character in the game world. Have fun!
« Last Edit: December 08, 2013, 04:46:58 pm by Wipe »

Re: Open Source FOnline: 2238
« Reply #1 on: July 02, 2013, 09:07:31 pm »
Awesome!!! Thanks a ton rotators, it is very much appreciated! 

For some reason whenever I launch the server, it creates this dump :(.
http://pastie.org/8104293

Offline Atom

  • Rotator
Re: Open Source FOnline: 2238
« Reply #2 on: July 02, 2013, 09:13:54 pm »
For some reason whenever I launch the server, it creates this dump :(.
http://pastie.org/8104293

This is presumably because of unconfigured SQL connection (see Sql* fields in the main server config file). SQL is used for logging of various ingame events.
I have disabled SQL usage (and thus logging of those events) in the last commit, everything should be working now.

Re: Open Source FOnline: 2238
« Reply #3 on: July 02, 2013, 09:16:00 pm »
Awesome, thanks for the help Atom. 

Checking out the last commit now :).

Re: Open Source FOnline: 2238
« Reply #4 on: July 02, 2013, 09:59:18 pm »
Thanks for this, really nice.

Re: Open Source FOnline: 2238
« Reply #5 on: July 02, 2013, 10:04:01 pm »
Hmm, Now I'm having a problem with the client (For some reason the old client is doing it too)





http://pastie.org/8104488

Pretty much that over and over; log was too long for pastie.  Any help is appreciated :).

Offline wladimiiir

  • Rotator
  • Independent FOnline developer
Re: Open Source FOnline: 2238
« Reply #6 on: July 02, 2013, 10:11:50 pm »
  • Did you change port to 2238 on client (or maybe you changed it in FOnlineServer.cfg)?
  • Do you have master.dat and critter.dat in client directory?

Re: Open Source FOnline: 2238
« Reply #7 on: July 02, 2013, 10:12:23 pm »
  • Did you change port to 2238 on client (or maybe you changed it in FOnlineServer.cfg)?
  • Do you have master.dat and critter.dat in client directory?
Address is localhost and port is 4000

Dats are in the right location and the client is reading them.


Found it out, FOnlineServer.cfg was set to listen on port 2238, changed it to 4000 and it works :).
« Last Edit: July 02, 2013, 10:14:56 pm by Spiritwind »

Offline JovankaB

  • Rotator
  • JovankaB
Re: Open Source FOnline: 2238
« Reply #8 on: July 02, 2013, 10:38:45 pm »
Yea, client never had port configured properly. 2238 as open source continues this tradition :P

Re: Open Source FOnline: 2238
« Reply #9 on: July 02, 2013, 11:20:13 pm »
Omg, I'm so excited. Can't wait to study all the scripts and code  ;D ;D . Thanks for sharing your work with us.
« Last Edit: July 02, 2013, 11:52:31 pm by raynor009 »

Offline BenKain

  • Independent Developer
Re: Open Source FOnline: 2238
« Reply #10 on: July 03, 2013, 05:27:48 am »
Thanks guys!

Offline JovankaB

  • Rotator
  • JovankaB
Re: Open Source FOnline: 2238
« Reply #11 on: July 03, 2013, 06:59:00 am »
Some client files were missing. You can re-download client+mapper package if you don't see some graphics.
« Last Edit: July 03, 2013, 07:01:05 am by b__B »

Re: Open Source FOnline: 2238
« Reply #12 on: July 03, 2013, 09:37:16 am »
Please give an example of a file GetAccess.cfg

Offline Wipe

  • Rotator
  • Random is god
Re: Open Source FOnline: 2238
« Reply #13 on: July 03, 2013, 09:54:06 am »
Please give an example of a file GetAccess.cfg
For those who cannot wait to run your own server and look around from a whole new perspective, we prepared a short tutorial which should help you with the first steps as an authenticated character in the game world. Have fun!
Games are meant to be created, not played...

Offline JovankaB

  • Rotator
  • JovankaB
Re: Open Source FOnline: 2238
« Reply #14 on: July 03, 2013, 10:16:10 am »
Please give an example of a file GetAccess.cfg


Code: [Select]
[JovankaB]
Access=admin
Password=ilovepiratecats

[PariaH]
Access=moder
Password=whyimonlymoder