What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] RockPaperScissors - "Uncheatable"

[Release] RockPaperScissors - "Uncheatable"
Author: Message:
Deco
Full Member
***


Posts: 188
Reputation: 4
42 / Male / Flag
Joined: Aug 2006
O.P. [Release] RockPaperScissors - "Uncheatable"
As for requested in this thread.

Script isn't pretty. You'll see lots of messages going back and forth but it works. It's more of an example on how to make games without one side being able to cheat.

Feel free to change just give me some credit.

To play both people must have the script running.

Just open a chat with someone that has the script and type:

Start RPS: <your choice>

e.g. Start RPS: rock

Remember to type with that caption.. (RPS not rps) and the choice type in lower cases..

Have fun.

ps: I'm sure someone out there can make this script cleaner and quicker (like Cookie). I used some code from the IMoffline script and maybe from others that I don't remember. Sorry and thanks.

.plsc File Attachment: RPS.plsc (5.86 KB)
This file has been downloaded 297 time(s).

This post was edited on 12-12-2006 at 08:14 PM by Deco.
12-11-2006 11:57 PM
Profile E-Mail PM Web Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
RE: [Release] RockPaperScisor - "Uncheatable"
why dont you use the command? :(

code:
function OnGetScriptCommands(){
var ScriptCommands = "<ScriptCommands>";
ScriptCommands+="<Command>";
ScriptCommands+="<Name>RPS</Name>";
ScriptCommands+="<Description>Play Rock Paper Scissors</Description>";
ScriptCommands+="</Command>";
ScriptCommands+="</ScriptCommands>";
return ScriptCommands;
}


and with that.. make a dialog with 3 buttons .. [rock]  [paper] [sisors] (spelling error i know :P) whoops need to test first lol

This post was edited on 12-12-2006 at 12:13 AM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
12-12-2006 12:07 AM
Profile PM Web Find Quote Report
Deco
Full Member
***


Posts: 188
Reputation: 4
42 / Male / Flag
Joined: Aug 2006
O.P. RE: [Release] RockPaperScisor - "Uncheatable"
I'm sure someone can add that. I just wanted to get something out so people could mess with it.

I did add a dialog with buttons if someone starts the game with you.. so you just click do 'respond'.

Maybe tomorrow I'll add menu ;)

Thanks
12-12-2006 12:10 AM
Profile E-Mail PM Web Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
RE: [Release] RockPaperScisor - "Uncheatable"
i've added the script commands to you script .. here it is

.plsc File Attachment: Rock Paper Scissors.plsc (6.06 KB)
This file has been downloaded 191 time(s).
[quote]
Ultimatess6
: What a noob mod
12-12-2006 12:20 AM
Profile PM Web Find Quote Report
AmbulanceX
Junior Member
**

Avatar
[ rip the jacker ]

Posts: 79
35 / Male / –
Joined: Jul 2006
RE: [Release] RockPaperScisor - "Uncheatable"
screen shot if u can?
Bulimic rainbows vomit what?, Burn Piano Island Burn!
12-12-2006 04:57 PM
Profile PM Web Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: [Release] RockPaperScisor - "Uncheatable"
What makes it "Uncheatable"?
The only way i could think of is the server side solution i suggested in that thread.
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
12-12-2006 05:03 PM
Profile E-Mail PM Web Find Quote Report
Jesus
Scripting Contest Winner
****

Avatar
Koffie, my cat ;)

Posts: 623
Reputation: 15
38 / Male / Flag
Joined: Jul 2005
RE: RE: [Release] RockPaperScisor - "Uncheatable"
quote:
Originally posted by John Anderton
What makes it "Uncheatable"?
The only way i could think of is the server side solution i suggested in that thread.

it uses md5 encryption to check if someone tries to cheat.
look through the code, you'll see.
12-12-2006 05:37 PM
Profile PM Find Quote Report
creepy675298
Junior Member
**


Posts: 26
Joined: Sep 2006
RE: [Release] RockPaperScisor - "Uncheatable"
Dude, you spelt it "scisor"

Make it "scissors" please?
12-12-2006 06:17 PM
Profile E-Mail PM Find Quote Report
Deco
Full Member
***


Posts: 188
Reputation: 4
42 / Male / Flag
Joined: Aug 2006
O.P. RE: [Release] RockPaperScisor - "Uncheatable"
Lol sorry I'm not english native :)

Answering "John Anderton" ... what the script does is send the choice encrypted.. then after the other guy sends his choice.. the script sends the password to decrypt the original choice.. so the second player can only see first player's choice after he sent his own choice. Thus you can't cheat because you can't see the other person's choice before you send your own.. and by the time you send your own both of you know who won.. so if you change anything the other guy will be able to tell you cheated.

Have fun
12-12-2006 06:36 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On