The Castle Doctrine Forums

Discuss the massively-multiplayer home defense game.

You are not logged in.

#276 2014-04-15 15:19:36

iceman
Member
Registered: 2013-11-09
Posts: 687
Website

Re: Fortress Theory Mod - Version 3

Sorry v3 has taken so long, everyone- I've just been getting swamped with schoolwork, and haven't had much time to work on FT.

I do have something that I want to get your opinions on, though.  Partly because of the discussion on DaVinci's latest thread, I'm starting to question my stance on having FT be closed source.  I did it because I wanted it to be safer against potential cheaters- however, I'm starting to see that there's a lot they can do that I can't do anything about, and, more importantly, I don't think anyone who's playing FT right now (well, who used to play FT wink) is going to cheat.  Opening the source means that I won't have to wait a few days to release a latest version because I need to make the Mac and Linux builds.

So, how do you feel about me opening the source code?
P.S. Poor- I am going to try really, really hard to get your v2 Linux build up tomorrow either way wink


Fortress Theory Mod - New objects, tools, and paintings!

I keep dying of a natural cause - Stupidity
The biggest thing that Castle Doctrine has taught me is that the price of your house is proportional to the stupidity of the mistake that kills you.

Offline

#277 2014-04-15 15:23:24

Blip
Member
Registered: 2013-05-07
Posts: 505

Re: Fortress Theory Mod - Version 3

I'd be very happy with an open source build, because I use both Mac and Linux. It really won't make much of a difference security wise, but would make us end-users happier.


Current life: Not dead, but I have no clue who I am
The Life and Times of Christopher Alvin Harris
Record: 149 Paintings!

Offline

#278 2014-04-16 13:23:07

DaVinci243
Member
Registered: 2014-03-27
Posts: 72

Re: Fortress Theory Mod - Version 3

Open-source is the way to go. I'm glad my thread brough this opinion here.


noob programmer haking on open-source game.

Offline

#279 2014-04-16 18:22:52

GotABigTrap
Member
Registered: 2014-02-26
Posts: 200

Re: Fortress Theory Mod - Version 3

hehe Dickerson is dead!  I made a bad mistake just messing around.  Hilarious!  gave a 7k or so bounty.

Offline

#280 2014-04-16 19:46:43

iceman
Member
Registered: 2013-11-09
Posts: 687
Website

Re: Fortress Theory Mod - Version 3

Ok, I wasn't able to build the Linux version today.  Instead, I'll release the source code!

Here is the download link

Trap- Ha! I'm actually a bit glad to see that- logging in after a few days to see only your house there was a bit disheartening wink  I wonder Hager is going to do with his "inheritance"...


Fortress Theory Mod - New objects, tools, and paintings!

I keep dying of a natural cause - Stupidity
The biggest thing that Castle Doctrine has taught me is that the price of your house is proportional to the stupidity of the mistake that kills you.

Offline

#281 2014-04-17 18:50:32

gyuri
Member
Registered: 2013-07-09
Posts: 232

Re: Fortress Theory Mod - Version 3

Sorry guys, I finally managed to rob you and then I died in a self test. I gave you 5 saws each for repairs, I'll be back. Please try not to make your houses 2k safe too soon.

Offline

#282 2014-04-18 01:26:47

DaVinci243
Member
Registered: 2014-03-27
Posts: 72

Re: Fortress Theory Mod - Version 3

The register page asks for "Name" also. Now I wonder, is that an in-game name or is it just for the sake of logs?


noob programmer haking on open-source game.

Offline

#283 2014-04-18 07:35:54

iceman
Member
Registered: 2013-11-09
Posts: 687
Website

Re: Fortress Theory Mod - Version 3

DaVinci243 wrote:

The register page asks for "Name" also. Now I wonder, is that an in-game name or is it just for the sake of logs?

Just for logs


Fortress Theory Mod - New objects, tools, and paintings!

I keep dying of a natural cause - Stupidity
The biggest thing that Castle Doctrine has taught me is that the price of your house is proportional to the stupidity of the mistake that kills you.

Offline

#284 2014-04-18 09:25:33

poor
Member
Registered: 2014-03-23
Posts: 113

Re: Fortress Theory Mod - Version 3

Okay, it builds fine on Linux after removing all the .o files.

cd Downloads/FortressTheory_Source
rm ./*/*/*.o ./*/*/*/*.o ./*/*/*/*/*.o
./runToBuild

However, when I try to run the game, it says "Bad transition signature in gameElements".


"Safety" is relative
Current life: None; I'm quite dead.

Offline

#285 2014-04-18 09:54:17

DaVinci243
Member
Registered: 2014-03-27
Posts: 72

Re: Fortress Theory Mod - Version 3

poor wrote:

Okay, it builds fine on Linux after removing all the .o files.

cd Downloads/FortressTheory_Source
rm ./*/*/*.o ./*/*/*/*.o ./*/*/*/*/*.o
./runToBuild

However, when I try to run the game, it says "Bad transition signature in gameElements".

Try changing gameElements with the closed source's?


noob programmer haking on open-source game.

Offline

#286 2014-04-18 10:29:42

poor
Member
Registered: 2014-03-23
Posts: 113

Re: Fortress Theory Mod - Version 3

Replaced the gameElements folder with the one from the binaries.

Now it says "Bad object signature in gameElements/houseObjects/mouse".


"Safety" is relative
Current life: None; I'm quite dead.

Offline

#287 2014-04-18 10:54:32

DaVinci243
Member
Registered: 2014-03-27
Posts: 72

Re: Fortress Theory Mod - Version 3

poor wrote:

Replaced the gameElements folder with the one from the binaries.

Now it says "Bad object signature in gameElements/houseObjects/mouse".

delete dat.


noob programmer haking on open-source game.

Offline

#288 2014-04-18 11:25:55

poor
Member
Registered: 2014-03-23
Posts: 113

Re: Fortress Theory Mod - Version 3

What? I guess it's worth a try...

...and back to "Bad transition signature"...

The only things different from the regular game are the gameElements and the secret, right?

edit: and obviously the signatures for the gameElements

Last edited by poor (2014-04-18 11:40:46)


"Safety" is relative
Current life: None; I'm quite dead.

Offline

#289 2014-04-18 11:32:15

DaVinci243
Member
Registered: 2014-03-27
Posts: 72

Re: Fortress Theory Mod - Version 3

poor wrote:

What? I guess it's worth a try...

...and back to "Bad transition signature"...

The only things different from the regular game are the gameElements and the secret, right?

Probably signatures etc are changed too.

It would be the best to wait for iceman.


noob programmer haking on open-source game.

Offline

#290 2014-04-18 20:04:42

iceman
Member
Registered: 2013-11-09
Posts: 687
Website

Re: Fortress Theory Mod - Version 3

Sorry about that- I updated the signatures, and I tried to get rid of all of the .o object files.  Here's the new Link:
https://sourceforge.net/projects/fortresstheory/files/FortressTheory_v2_Source.zip/download

If that doesn't work, try this one:
Backup Link

In the future, if the signatures aren't working, you'll have to edit the keys in houseObjects, tools, and transitions.

In a side note, I just managed to no-tool every house in FT on my first try!


Fortress Theory Mod - New objects, tools, and paintings!

I keep dying of a natural cause - Stupidity
The biggest thing that Castle Doctrine has taught me is that the price of your house is proportional to the stupidity of the mistake that kills you.

Offline

#291 2014-04-19 00:13:34

DaVinci243
Member
Registered: 2014-03-27
Posts: 72

Re: Fortress Theory Mod - Version 3

iceman wrote:

Sorry about that- I updated the signatures, and I tried to get rid of all of the .o object files.  Here's the new Link:
https://sourceforge.net/projects/fortresstheory/files/FortressTheory_v2_Source.zip/download

If that doesn't work, try this one:
Backup Link

In the future, if the signatures aren't working, you'll have to edit the keys in houseObjects, tools, and transitions.

In a side note, I just managed to no-tool every house in FT on my first try!

Are you still accepting paintings? I'd like to submit one.


noob programmer haking on open-source game.

Offline

#292 2014-04-19 08:51:48

poor
Member
Registered: 2014-03-23
Posts: 113

Re: Fortress Theory Mod - Version 3

Still not working for me.

The only thing I can think of is it being a line-ending issue.


"Safety" is relative
Current life: None; I'm quite dead.

Offline

#293 2014-04-19 09:15:57

poor
Member
Registered: 2014-03-23
Posts: 113

Re: Fortress Theory Mod - Version 3

Okay, just downloaded the Mac build and copied the gameElements folder out of that. Somehow magically works now. roll Now to find where I put my download code...


"Safety" is relative
Current life: None; I'm quite dead.

Offline

#294 2014-04-19 09:20:58

DaVinci243
Member
Registered: 2014-03-27
Posts: 72

Re: Fortress Theory Mod - Version 3

poor, tell me your name & I'll give you a money boost maybe. ( If you get it to work )


noob programmer haking on open-source game.

Offline

#295 2014-04-19 09:24:08

poor
Member
Registered: 2014-03-23
Posts: 113

Re: Fortress Theory Mod - Version 3

I don't know it, and I have chills on all three other houses right now.


"Safety" is relative
Current life: None; I'm quite dead.

Offline

#296 2014-04-19 10:32:07

iceman
Member
Registered: 2013-11-09
Posts: 687
Website

Re: Fortress Theory Mod - Version 3

poor wrote:

Still not working for me.

The only thing I can think of is it being a line-ending issue.

poor wrote:

Okay, just downloaded the Mac build and copied the gameElements folder out of that. Somehow magically works now. roll Now to find where I put my download code...

Hmmm... that's really weird.  I was able to run it with that gameElements folder fine... I think?  Was it giving the same "Bad ... signatures" error?  Anyways, glad you're able to play now!

poor wrote:

I don't know it, and I have chills on all three other houses right now.

You can look at the Online Neighborhood Viewer (link on the OP as well), and just find out your name like that.


Fortress Theory Mod - New objects, tools, and paintings!

I keep dying of a natural cause - Stupidity
The biggest thing that Castle Doctrine has taught me is that the price of your house is proportional to the stupidity of the mistake that kills you.

Offline

#297 2014-04-19 12:40:27

DaVinci243
Member
Registered: 2014-03-27
Posts: 72

Re: Fortress Theory Mod - Version 3

12f741f96de38c359327011681d5d5b3.png

Source won't build.


noob programmer haking on open-source game.

Offline

#298 2014-04-19 13:11:55

iceman
Member
Registered: 2013-11-09
Posts: 687
Website

Re: Fortress Theory Mod - Version 3

hmmmm.... I tried building the source I uploaded, and it's not working for me either (although it's giving a different error).  Davinci, you can at least play the Windows version, correct?  Is anyone not able to play now?  I'm getting close to releasing v3, so I'm thinking about just waiting until I release that code instead of trying to fix v2 source code (since I know the current code is working fine).


Fortress Theory Mod - New objects, tools, and paintings!

I keep dying of a natural cause - Stupidity
The biggest thing that Castle Doctrine has taught me is that the price of your house is proportional to the stupidity of the mistake that kills you.

Offline

#299 2014-04-19 14:12:36

DaVinci243
Member
Registered: 2014-03-27
Posts: 72

Re: Fortress Theory Mod - Version 3

OK. I can play v2 now. I've been destroying the economy by robbing everybody & destroying the money rofl


noob programmer haking on open-source game.

Offline

#300 2014-04-19 14:46:56

gyuri
Member
Registered: 2013-07-09
Posts: 232

Re: Fortress Theory Mod - Version 3

Yeah that's fun. Did that a couple of times in the last days and then died selftesting in my unbreakable fortress.

Offline

Board footer

Powered by FluxBB 1.5.8