It is currently Thu Oct 19, 2017 4:29 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 69 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject:
PostPosted: Sun Apr 03, 2005 1:27 pm 
Offline
Defense Minister Status
User avatar

Joined: Tue Sep 17, 2002 2:54 pm
Posts: 736
Location: Kolding, Denmark
He means people who aren't fooled, because they "cheat" by looking at the text stored in the file, thus seeing that it's not possible without having to try.

Additionally, I'm not sure you can use that technique in AGS. Of course, even if you can, it's very complicated to do so. :p

_________________
Pidgeot
-----
Every error you find is the last one.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Apr 03, 2005 1:39 pm 
Offline
Knight Status

Joined: Mon Aug 02, 2004 12:12 pm
Posts: 182
Complicated? If you mean it's clumsy to enter/edit strings in the fashion I described above, I used a simple Quick Basic program that I wrote in about 30 minutes to convert an ordinary string into that series of Chr$ functions. Also, it would probably best to only obscure those strings that contain text that shouldn't be viewed when the program is finished. It might also be a good idea to include comments that tell what the string contains. Also, to me at least, there's nothing complicated about turning an executable into a self extracting compressed executable using a utility for that purpose.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Apr 03, 2005 1:44 pm 
Offline
Defense Minister Status

Joined: Tue Sep 17, 2002 11:24 pm
Posts: 640
Location: UK
Actually, in AGS the global messages and room messages are automatically encrypted, whereas strings used in the scripts are not. Thus, that april fools message could have been put in a global message to prevent it being so easy to see.

But still, maybe I should modify AGS to encrypt all strings in the game :P


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Apr 03, 2005 1:46 pm 
Offline
Forum Administrator
User avatar

Joined: Tue Sep 25, 2001 8:28 pm
Posts: 11434
Location: The Netherlands
Actually, in retro-spect, it would have been best to simply make the displayed text a sprite that gets displayed. That would have made it pretty much impossible to retrieve it by any means.

Quote:
He means people who aren't fooled, because they "cheat" by looking at the text stored in the file, thus seeing that it's not possible without having to try.


By "cheating", I think Adeyke referred to a possible motivation to start looking into the file to begin with. There's two main motivations: suspicion or just trying to see if it's possible to figure out the supposed code without needing to win the slot game for it. ;) Ironically, adventure games often encourage these kinds of practices as means of solving puzzles. And then they say FPS's give the bad example to kids. :p

Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Apr 03, 2005 8:39 pm 
Offline
Knight Status
User avatar

Joined: Wed Jan 12, 2005 1:40 am
Posts: 220
Location: Jax Beach, Florida
hey could you put the URL for the game back, i want to play even if i can't win im sooo bored :rollin

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Apr 03, 2005 8:48 pm 
Offline
Forum Administrator
User avatar

Joined: Tue Sep 25, 2001 8:28 pm
Posts: 11434
Location: The Netherlands
Sorry. It was never intended to be something playable. The thing was 1 MB in total, so I'd like to conserve bandwidth if possible.

Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Apr 03, 2005 8:54 pm 
Offline
Knight Status
User avatar

Joined: Wed Jan 12, 2005 1:40 am
Posts: 220
Location: Jax Beach, Florida
O ok...i'll go do something else then :cry

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Apr 05, 2005 9:11 pm 
Offline
Peasant Status

Joined: Fri Apr 01, 2005 1:56 am
Posts: 19
Using sprites to hide these messages still doesn't prevent anyone from just overriding the value in the memory address corresponding to the amount of rolls performed  :p


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Apr 06, 2005 6:41 am 
Offline
Forum Administrator
User avatar

Joined: Tue Sep 25, 2001 8:28 pm
Posts: 11434
Location: The Netherlands
Normal slot machines aren't about how many turns are taken, but how much the sum of those individual winnings paid off. So why would anybody want to up the total amount of turns taken?

Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Apr 07, 2005 4:04 am 
Offline
Peasant Status

Joined: Fri Apr 01, 2005 1:56 am
Posts: 19
Because that's exactly what triggered the message (and the code) showing up in this case.  Of course, I initially tried overriding the address containing the amount of dinars. But changing it to 15,000 didn't do anything. Changing it to higher than 15,000 just crashed the program with an index out of bounds exception. Then I tried changing it to 14,999 and gambling with 1 dinar each time, which failed every time, of course.
I then thought maybe there was something in the program checking the amount of rolls (since it shouldn't really be possible to get to 15,000 in 2 rolls). So I changed the amount of spins to a really really high number (10,000+ or so) and this actually made the message and code (which was 04 01 05 by the way) appear.

What I'm saying is, character "encryption" and/or hiding using sprites (as suggested on this thread) never prevents people from doing evil stuff. When you go down to a low enough level, all a computer is is a stupid entity storing numbers in little frames. It's a piece of cake to get to this information and change it.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Apr 07, 2005 7:40 am 
Offline
Knight Status
User avatar

Joined: Fri Jan 30, 2004 9:44 pm
Posts: 386
Location: Realm of Amber
It may never prevent this but it can certainly make it a lot harder. I'm sure not everybody here could have duplicated what you did (because otherwise, they would have)

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Apr 07, 2005 6:27 pm 
Offline
Defense Minister Status

Joined: Tue Sep 17, 2002 11:24 pm
Posts: 640
Location: UK
Exactly, there's a certain amount of reasonable effort that you go to with these things.

Perhaps 30% of people playing the game would be clever enough to load the exe into notepad or a hex editor to read the text, so that's probably worth protecting against.

However, I would guess that about 0.001% of people playing the game would have the skills and know-how to load it up into a debugger and find the right memory address for the data that they were after.

In the end, if someone with the skills is determined to hack software, it's impossible to stop them. Firms spend millions on copy-protecting their software, yet it always gets cracked.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Apr 07, 2005 6:35 pm 
Offline
Royal Servant Status
User avatar

Joined: Mon Aug 02, 2004 5:11 am
Posts: 108
I don't know.  I was able to use Artmoney, which is easier than using notepad or a hex editor, to find the spin counter and the score.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Apr 08, 2005 7:32 am 
Offline
Saurus Salesman
User avatar

Joined: Tue Sep 03, 2002 3:18 pm
Posts: 3880
Location: South Africa (Bloemfontein)
Ok. I think the point is... why bother going overboard with a April Fools joke.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Apr 08, 2005 12:06 pm 
Offline
Honorary AGD
User avatar

Joined: Fri Sep 13, 2002 1:19 am
Posts: 5362
Location: US of A
Gronagor wrote:
Ok. I think the point is... why bother going overboard with a April Fools joke.

I seriously hope you were trying to be funny, mister SSS. :p


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Apr 08, 2005 12:37 pm 
Offline
Saurus Salesman
User avatar

Joined: Tue Sep 03, 2002 3:18 pm
Posts: 3880
Location: South Africa (Bloemfontein)
What? SSS was a joke??? Nobody ever tells me anything!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Apr 08, 2005 12:56 pm 
Offline
The Enigma
User avatar

Joined: Thu Jan 02, 2003 1:00 am
Posts: 2601
Location: UK
Oh yeah, Gronagor SSS was an extended prank. ;) We forgot to tell you about the big meeting we had.

_________________
Sweeping Sir James
-----------------
http://www.infamous-adventures.com


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Apr 08, 2005 1:05 pm 
Offline
Royal Vizier Status
User avatar

Joined: Mon Sep 08, 2003 3:37 am
Posts: 2298
Location: Central New York
So long, and thanks for all the fish!


Bt

_________________
You've got to be crazy; you gotta have a real need.  You gotta sleep on your toes, and when you're on the street, you got to be able to pick out the easy meat with your eyes closed.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Apr 08, 2005 1:42 pm 
Offline
Royal Vizier Status

Joined: Sat Aug 28, 2004 11:08 pm
Posts: 1614
Gronagor>  :lol


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 69 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group