Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Suggestion Box (http://www.alice.org/community/forumdisplay.php?f=26)
-   -   camera window (http://www.alice.org/community/showthread.php?t=3879)

meirs 02-23-2010 12:41 AM

[QUOTE=Dameria;17359]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...[/QUOTE]
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.

Niteshifter 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.

zonedabone 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!!!!:p)

Dameria 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!!!

jediaction 03-02-2010 04:54 PM

[QUOTE=Niteshifter;17377]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.[/QUOTE]

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


All times are GMT -5. The time now is 03:25 PM.

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