Alice Community  

Go Back   Alice Community > Alice 2 > Suggestion Box

Reply
 
Thread Tools Display Modes
Old
meirs
Senior Member
 
meirs's Avatar
 
Status: Offline
Posts: 64
Join Date: Dec 2009
Location: Universe
Default 02-23-2010, 12:41 AM

Quote:
Originally Posted by Dameria View Post
And there would be absolutely no way (or almost no way) for them to change the code within it? If so then this is exactly what we need for the jython scripting that is being planned in order to prevent cheating...
That I cannot assure, since it is possible to extract the world file from the executable package, and then open it with normal Mama IDE. If that will be an important issue, I'll make it as an RFE (request for enhancement) for the next version.


Mama is an Alice On Steroids with YouTube uploader, 3d object creator, tutorial editor, and standalone support:
http://www.eytam.com/mama
   
Reply With Quote
Old
Niteshifter
Guest
 
Status:
Posts: n/a
Default 02-23-2010, 01:01 AM

Right now, I don't think you can stop people from accessing the code to cheat in games, but what you can do in Jython is obfuscate* the code so that it's not worth it to the people who just go in to cheat the game.

*The main problem with this though is the person doing the code has to have a lot of experience in the string manipulation side of the language as well as Alice also has it's limitations with Jython as well, although it isn't all that much.

You could also use this obfuscated code to send in a useless method to check if the game had been modified or not (if the method was sent, then do nothing, else, the game was modified), but once again, it uses a lot of experience with string manipulation.
   
Reply With Quote
Old
zonedabone
Senior Member
 
zonedabone's Avatar
 
Status: Offline
Posts: 577
Join Date: Nov 2008
Location: In the interwebs
Default 03-01-2010, 08:06 PM

Possibly, if the game runs with an online server, the server can verify things, and sort of run each game. THis would of course require accounts to be stroed online. (OOH!!!!)


'Apple Macintosh' - An anagram of 'Complaints Heap'

M.A.C.I.N.T.O.S.H. - Machine Always Crashes, If Not, The Operating System Hangs.

You're *such* a mac person.
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 976
Join Date: Sep 2009
Location: United States
Default 03-01-2010, 08:12 PM

Can you just store vital variables like health, ammo, speed, and such within the online server, and then call it into the world as you make the methods? This might not be possible, and even if it was it might slow down the worlds considerably, but I don't know, maybe its worth a shot.

Well anyway lets stop talking about anti-cheating until we can actually get a working online game done through the servers first!!!


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 03-02-2010, 04:54 PM

Quote:
Originally Posted by Niteshifter View Post
Right now, I don't think you can stop people from accessing the code to cheat in games, but what you can do in Jython is obfuscate* the code so that it's not worth it to the people who just go in to cheat the game.

*The main problem with this though is the person doing the code has to have a lot of experience in the string manipulation side of the language as well as Alice also has it's limitations with Jython as well, although it isn't all that much.

You could also use this obfuscated code to send in a useless method to check if the game had been modified or not (if the method was sent, then do nothing, else, the game was modified), but once again, it uses a lot of experience with string manipulation.
The whole game would have to be in jython code. King Gamer, did you make that sample 2 player game yet that can run on two different alices with moving objects? Oh yah, where is the post that has the type in a text and it pops up on the other alice, i want that again


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.