The Castle Doctrine Forums

Discuss the massively-multiplayer home defense game.

You are not logged in.

#51 Re: Main Forum » sending movelist directly after death » 2014-04-02 11:04:48

LiteS wrote:

Woah, guys, before we make wild accusations, I don't think DaVinci actually intends to use the hack ruin the main server. I mean I'd be a prime target, and I haven't been robbed yet, so...

It would suck if he did though.


That's also true.

#52 Main Forum » How to make your house automaticly - For community servers » 2014-04-02 10:55:14

DaVinci243
Replies: 4

This skidded code is presented to you by DaVinci.



WARNING: Following code is skidded. It includes a lot of shitty code. This is by all means to encourage you all to make yourself so it looks better than what mine is.

#include <iostream>
#include <fstream>
#include <string>

^^^^^^ Those are includes we need.

we are using namespace std.

string housemapstring (inHouseMap);
	string newmapdetector;
	string thenewrisingone;
	newmapdetector = "998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#0#0#0#0#0#0#0#0#0#999#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#998#998#0#0#0#0#0#";
	// The house adv. dupe
	size_t founddx = housemapstring.find(newmapdetector);
	ifstream dataFilex("Vinci/yourhouse.txt");
	getline(dataFilex,thenewrisingone);
	dataFilex.close();
	if (founddx != string::npos) {
		inHouseMap = thenewrisingone.c_str();
	}

^^^^^

Put this part to :sethousemap. above everything.




Now you are packed with the skid method of file reading!

It's time that you make a file existent as "Vinci/yourhouse.txt" OR OR OR change it to wtf you want.





This is how I made my starting houses.

#53 Re: Main Forum » Fortress Theory Mod - Version 3 » 2014-04-02 10:47:53

iceman, it would be great if you'd put that auto-house thing in it. -- I'll just post how to do it so everybody knows.

#54 Re: Main Forum » possible exploit? » 2014-04-02 10:43:40

MMaster wrote:

Lol. That is absolute bullshit :-) What iceman did was just easy way to prevent noob programmers like you to cheat. It is possible to make castle doctrine where NO client modification would allow you to modify your move list without being detected by server. The game actually already has mechanisms that can be used to do that.

Explain more on your knowledge.

How would server detect it?

since the game was built to keep the pressure of high numbered players, what you said would lag the fuck out of it. :-) and I doubt if you can't still cheat on iceman's server. Map is held in game's memory after all.

#55 Re: Main Forum » sending movelist directly after death » 2014-04-02 10:38:22

MMaster wrote:
DaVinci243 wrote:

1- I gave Snyder's house as an example w/e looking to itself but common sense points that it's a high-end house.

I think you are making fun of us - you posted reply to this thread after last patch and you said that Snyder house is hard to solve even with map.
Let me quote you:

DaVinci243 wrote:

4. Getting the map needs more brain power to solve it. ( I tried with high-end houses, takes you quite a while to see everything and calculate every step. ) --> currently this is valid for Snyder's house.

So you were using cheats after last patch.

It doesn't matter how it started - you obviously used it on main server and you sure knew that those are not some kind of auto house building helpers, but serious cheats influencing other players and giving you really unfair advantage.

Please stop making excuses and just stop using your cheats on main server.

I'm not making fun of anybody, and you are just guessing. Please stop making further assumptions. That's why I posted the first post you quoted from. I knew you would probably assume or say something like that. But, you can always read the full post where I said you should read it BEFORE posting another.

I'm not on high-scores on any server atm including yours. So you can chill.

#56 Re: Main Forum » sending movelist directly after death » 2014-04-02 08:38:52

I tested my hacks' feature at DarkunderdoG's server.

To clarify some other stuff, read this before you post:

1- I gave Snyder's house as an example w/e looking to itself but common sense points that it's a high-end house.

2- The "hacks" actually started with a auto map maker.

3- http://castledraft.com/editor/RaGXyA <--- A house you could find with google.


------------------------------

Quote from MMaster:
I guess he is the person that we've seen leaving at 1st turn at doormat with tools for past few days. That's the secondary effect of resetting the move list. He tried to solve the house _several_ times during single robbery and when he couldn't he just reset the move list and leave (therefore we were seeing man leaving at 1st turn wasting tools).

Just no. please no.

I wouldn't walk with my tools ( can't even afford lmfao. ) , since I got unlimited chances. That's probably a normal player or an idiot.

All my hacks are old atm. I just C+P'd auto house maker to new version.

PS: Don't expect me cheating @ main server. ( Did Jason respond to the house making automated blah blah thread? )

And then we have community servers. We will see.

-----------------------------------

jasonrohrer wrote:

Please stop.

Does auto house maker count as a hack?

#57 Re: Main Forum » possible exploit? » 2014-04-02 08:02:26

xandalis wrote:

If you do that, hope you don't get caught for it

What I'm saying is, you really can't block both and dual-accounting is the last thing people would think about in my opinion.
Sure, massive accounts could be used for maybe a bot program. But 2 or 3 accounts are just nothing that requires attention.
Since the game is open-sourced it's pretty much unsolvable w/e community servers that does not release source. ( Would make it harder for clients. )
So I'd say Fortress Theory is the way to go IF iceman wants to fix those issues & builds up an anti-cheat.

#58 Re: Main Forum » Fortress Theory Mod - Version 3 » 2014-04-02 07:51:27

iceman wrote:
DaVinci243 wrote:

By saving map, are you mentioning the feature where when I die I load my house w/e building it even?

Yeah, I'm hoping to include a similar feature in FT.

DaVinci243 wrote:

I'm playing on Windows, but I hope you can get the source code released. The access to secret key is pretty easy ( I think. ) but since I can't access it's source, that's sad for me & my ultimate haxory wizardry.

I changed the secret key, so no-one can use CD to generate fake object properties.  Like I said before, if there's a feature that you want (that doesn't give a gameplay advantage wink), let me know, and I'll think about adding it to the game.

EDIT: Lol, I just watched my tapes.  Richard Monty White, I can't believe how much you spent on my house.  That was what, 7 crowbars?

Secret key can be read I think.

quoting from HowToConnectToMainServer.txt

"anyone hacking with a hex editor will encounter it and read it."

http://gyazo.com/073da19146358ac564aab9731ee91d62

#59 Re: Main Forum » sending movelist directly after death » 2014-04-02 07:33:20

Blip wrote:
DaVinci243 wrote:
PsyBlade wrote:

It's hard to tell what is accidental and what is intentional.
People have done exactly as you did only to take the first right after freeing the dog and be trapped between it and the one waiting after the turn.
But I guess you figured you my ingame name from matching a house to my various comments about it. So its reasonable to assume that you got it.


You can exit a house safely up until the moment when the sirens timer runs out. So any death before that should be hackable to exit.
Besides, no one would write such a hack anyway. Simply getting a full map instead is both easier to do and more effective too.


1. Movelists can be changed to anything.

2. I already wrote the hack. 1337.

3. Getting the map is as easy as changing your movelist.

4. Getting the map needs more brain power to solve it. ( I tried with high-end houses, takes you quite a while to see everything and calculate every step. ) --> currently this is valid for Snyder's house.

5. I actually wrote the movelist hack only because I'd fuck up when I attempted to solve the maps. ( but I think you'll have to disconnect client from server entirely since I believe server doesn't actually time it. )

Honestly, what the fuck? In compiling your client, you had to have read the secret string that states, and I quote:

Please do not use this secret string to connect unfairly modded clients to the main server.  Keep in mind that this is an indie, open-source game made entirely by one person.  I am trusting you to do the right thing.  --Jason

In modifying the clint as you did, DaVinci, you broke that trust to do the right thing. You are going against not only the principles of the game, but common courtesy to the developer and other players. Because of the very nature of this being an open source indie title, we have to trust each other to not completely break the rules of the game. And you're openly admitting to breaking that trust.

It's not impressive to modify open source software. You are not "1337" for doing this. I know my C++ well enough to whip up a simple change like what you did. I have no doubt in my mind that there are others on these forums that could do so as well, if not do more; probably anybody could after an introductory class in the language. But I don't do that and I trust that others don't either. Your modified client is just an example of you being an asshole to all the other players and members of this community, including Jason, and not you being cool or skilled.

The purpose of this game is to rob houses based on partial information: what you can and have seen in those houses. If you don't want to play that way, there are lots of fine games out there for you. However, we don't want you here.


I hope you know you can set your own server up.

#62 Re: Main Forum » Puzzle Castle » 2014-04-01 11:42:10

I really want to know your name.

#63 Re: Main Forum » sending movelist directly after death » 2014-04-01 11:30:37

PsyBlade wrote:

It's hard to tell what is accidental and what is intentional.
People have done exactly as you did only to take the first right after freeing the dog and be trapped between it and the one waiting after the turn.
But I guess you figured you my ingame name from matching a house to my various comments about it. So its reasonable to assume that you got it.


You can exit a house safely up until the moment when the sirens timer runs out. So any death before that should be hackable to exit.
Besides, no one would write such a hack anyway. Simply getting a full map instead is both easier to do and more effective too.


1. Movelists can be changed to anything.

2. I already wrote the hack. 1337.

3. Getting the map is as easy as changing your movelist.

4. Getting the map needs more brain power to solve it. ( I tried with high-end houses, takes you quite a while to see everything and calculate every step. ) --> currently this is valid for Snyder's house.

5. I actually wrote the movelist hack only because I'd fuck up when I attempted to solve the maps. ( but I think you'll have to disconnect client from server entirely since I believe server doesn't actually time it. )

#64 Re: Main Forum » possible exploit? » 2014-04-01 11:25:12

I don't see the point. By a small edit to the right line, you can just get the maps & see the entire house.

Small things like dual accounting shouldn't really matter.

#65 Re: Main Forum » Fortress Theory Mod - Version 3 » 2014-04-01 11:18:45

iceman wrote:
DaVinci243 wrote:

Will it be open-source by any means?

DaVinci, you're back!  And with a different forum account, apparently.  I don't really want to release the source code publicly, since it leaves the door wide open to cheaters.  However, I'm probably going to be a bit more likely than Jason to switch the game, so if you have any suggestions, let me know, and I might add them.
EDIT: Oh, that's right, you play on Linux, right?  I'm working on getting access to Ubuntu (don't want to install it on my computer), and I hope I can compile the game next week.  Would that be the right version for you?

Speaking of, I remember you mentioning that you had a simple way to save your maps a while back.  Would you be willing to point me in the right direction for that?  It would save me a lot of time, and it's a feature I really want to include in Fortress Theory.  I'm hoping it will encourage high-profile robbing a bit, since you can get your exact house back almost instantly (as long as you get the funds from somewhere wink).


Oh, yeah I'm back. with another account.

By saving map, are you mentioning the feature where when I die I load my house w/e building it even?

I'm playing on Windows, but I hope you can get the source code released. The access to secret key is pretty easy ( I think. ) but since I can't access it's source, that's sad for me & my ultimate haxory wizardry.

#66 Re: Main Forum » [DISABLED] Free community server (with self registration) » 2014-04-01 10:29:49

I'll try this one out when I have the time.

So how many accounts can I get for myself?

#67 Re: Main Forum » possible exploit? » 2014-04-01 10:28:02

You are just abusing the dual accounting problem.

#68 Re: Main Forum » sending movelist directly after death » 2014-03-27 14:03:25

PsyBlade wrote:

Probably am.
It's hard to keep all those house designs apart. You should know. You've been to my house four times now. Being chased out by the same dog twice.


A hacker wouldn't change his movelist to suicide, he would change it to exit.
What I'm talking about are simple people closing the program using "kill -9" or whatever the windows equivalent is.

Changing movelist to "exit" will get you to be a "suicider" after a time that you've been in the house.

So my point still could be right.

#69 Re: Main Forum » John Lewis Noonan -- Hacker, Bot, Top House, Game Killer? ? ? ? » 2014-03-27 14:00:42

colorfusion wrote:

Does sound a bit strange, and it is likely possible to have a bot that steals fresh $2k's if it can see that the map is the starter map. He could just be an active player, and robbing low down houses to raise his bounty.

I think saying that he's single handedly killing the game is a bit much though.

This idea is golden.

#71 Re: Main Forum » Does anyone have any clue how to beat soriano's house? » 2014-03-27 13:55:24

Lord0fHam wrote:

Anyone got the map?

Would you also like a death undo-er ?

#72 Re: Main Forum » sending movelist directly after death » 2014-03-27 13:54:19

Due to the reason everything is client-sided;

- you can expect that those could be hackers changing movelists upon death.

Board footer

Powered by FluxBB 1.5.8