What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Can anyone creat this game

Pages: (3): « First « 1 [ 2 ] 3 » Last »
Can anyone creat this game
Author: Message:
The Brain
Junior Member
**

Avatar

Posts: 49
Reputation: 1
– / Male / Flag
Joined: Jan 2003
RE: Can anyone creat this game
This isn't at all finished yet, but it's somewhat functional, and proves that this concept can work. Both participants need the script, and all commands have to be sent via the Plus menu in the conversation window. But it works.

I haven't specifically tested this yet, but I am pretty sure it will break if you try and have more than one game going at once. Anyway, enjoy for now, i'll let you know when it's finished

.plsc File Attachment: RPS.plsc (2.12 KB)
This file has been downloaded 253 time(s).
12-11-2006 05:06 AM
Profile PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Can anyone creat this game
It doesn't solve the cheating problem....

It is easy to alter the script slightly to make it cheat and let you always win.

This post was edited on 12-11-2006 at 11:30 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
12-11-2006 05:19 AM
Profile PM Find Quote Report
The Brain
Junior Member
**

Avatar

Posts: 49
Reputation: 1
– / Male / Flag
Joined: Jan 2003
RE: Can anyone creat this game
If anyone is lame enough to alter the script so they can win every time, then good on them for it. I hope they are proud of their l33t hax0r skillz.

Seriously, that's just stupid. For the rest of us, who want to have a fair game of RPS, I hope you enjoy this.

And yes, I plan to make it more user friendly, with commands and stuff, rather than this whole Menu thing. I'm not going to stop working on it, just because Cookie doesn't like it.
12-11-2006 05:44 AM
Profile PM Web Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: Can anyone creat this game
IMO you would be better off making a script for the likes of Connect 4 as it doesn't require having the messages show at the same time and is still easy-ish to make.
[Image: markee.png]
12-11-2006 05:45 AM
Profile PM Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: Can anyone creat this game
Ok. What about something like this.
Me and cookie are in a convo.
I click the rps script and select R (say)
Cookie, (who does have the script) is asked for his choice.
These choices are pulsed online and the script sends a confirmation of the person's choice (if needed 8-))
The result is pulsed back to both of us (and we can see a toast) but my client says out the result in the chat.

What this is doing is,
A) Taking results
B) Online verification as to whom sent the data ie the rps game was between me and cookie so the results come back to us.
C) Both of us get the results as a toast so we know who won without any cheating. Even if i edit my script (ie the script on my client), cookie is still getting the same result so i can't cheat :)

What do you say cookie? ;) I could make this but just not before the end of the scripting contest since i have my exams :) Maybe after them unless someone else is working on the script (in which case there are a few ideas for checking that which game is between which 2 people :P)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
12-11-2006 07:46 AM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: Can anyone creat this game
quote:
Originally posted by The Brain
If anyone is lame enough to alter the script so they can win every time, then good on them for it. I hope they are proud of their l33t hax0r skillz.
hehehe, good point though... but still :p

quote:
Originally posted by The Brain
I'm not going to stop working on it, just because Cookie doesn't like it.
Where did I say I didn't liked it???

I never said anything remotely about my personal preferences about this script. All I said where objective observations about the programming aspect of making such a script in general...

seriously, what's up lately with reading stuff which isn't there? :-/


quote:
Originally posted by John Anderton
Ok. What about something like this.
Me and cookie are in a convo.
I click the rps script and select R (say)
Cookie, (who does have the script) is asked for his choice.
These choices are pulsed online and the script sends a confirmation of the person's choice (if needed 8-))
The result is pulsed back to both of us (and we can see a toast) but my client says out the result in the chat.

What this is doing is,
A) Taking results
B) Online verification as to whom sent the data ie the rps game was between me and cookie so the results come back to us.
C) Both of us get the results as a toast so we know who won without any cheating. Even if i edit my script (ie the script on my client), cookie is still getting the same result so i can't cheat :)

What do you say cookie? ;) I could make this but just not before the end of the scripting contest since i have my exams :) Maybe after them unless someone else is working on the script (in which case there are a few ideas for checking that which game is between which 2 people :P)

It would work since this uses a 3rd party.
eg: a php script (or whatever) on a server. Or even a third contact for that matter (a bot?) which recieves the input from all players.

Thus, all it takes is a very small server side script which takes the input from all the players before it gives back the results. And thus before any of the players can see the otherone's choice.

This method should be used for all similar games where players need to give some input and where the winner is decided upon that input. Any other method will be cheatable.

This post was edited on 12-11-2006 at 11:40 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
12-11-2006 11:40 AM
Profile PM Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: Can anyone creat this game
quote:
Originally posted by CookieRevised
eg: a php script (or whatever) on a server. Or even a third contact for that matter (a bot?) which recieves the input from all players.
cbf to make abot so ill make a php soon. I hope no one minds if it comes around christmas cause my exams dont leave me much time to work :)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
12-11-2006 03:00 PM
Profile E-Mail PM Web Find Quote Report
Deco
Full Member
***


Posts: 188
Reputation: 4
42 / Male / Flag
Joined: Aug 2006
RE: Can anyone creat this game
Ok let me clear this up....

The end point is that in a two player only version of any game using scripts will be open to cheating because at some point either personA will have to send their choice before PersonB sends his choice and by doing that PersonA will be transmitting a packet to personB and thus PersonB could sniff that packet and read the info even though it doesnt show in his chat window yet.

What you could do would be:

Person A chooses Rock and encrypts a package with MD5 containing "password1Rock" and sends it to Person B

B acks A's packet

B sends A a packet with md5 encryption containing "password2Paper"

A acks B's Packet

B sends A a packet with his password
A decypts B's first message and outputs his result

A sends B a packet with his password
B decrypts A's first message and outputs his result

If results are different someone cheated. (and if you didn't cheat, the other guy did so you should go play with someone else)

If results are equal A and B declare the winner for this round.

How can you cheat that Cookie?

Have fun!
12-11-2006 05:20 PM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: Can anyone creat this game
quote:
Originally posted by Deco
Ok let me clear this up....

The end point is that in a two player only version of any game using scripts will be open to cheating because at some point either personA will have to send their choice before PersonB sends his choice and by doing that PersonA will be transmitting a packet to personB and thus PersonB could sniff that packet and read the info even though it doesnt show in his chat window yet.

What you could do would be:

Person A chooses Rock and encrypts a package with MD5 containing "password1Rock" and sends it to Person B

B acks A's packet

B sends A a packet with md5 encryption containing "password2Paper"

A acks B's Packet

B sends A a packet with his password
A decypts B's first message and outputs his result

A sends B a packet with his password
B decrypts A's first message and outputs his result

If results are different someone cheated. (and if you didn't cheat, the other guy did so you should go play with someone else)

If results are equal A and B declare the winner for this round.

How can you cheat that Cookie?

Have fun!
yep, indeed workable... without a third party...

Never thought of encrypting...

(Y)

But you don't need to bring packet sniffing into this though. Contact A can (and will) send a plain message to contact B and vice versa, which can (and will) be catched by the script's events.

This post was edited on 12-11-2006 at 08:08 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
12-11-2006 08:06 PM
Profile PM Find Quote Report
Deco
Full Member
***


Posts: 188
Reputation: 4
42 / Male / Flag
Joined: Aug 2006
RE: Can anyone creat this game
I'm in the middle of making it :)

Post it as soon as it's ready!
12-11-2006 09:02 PM
Profile E-Mail PM Web Find Quote Report
Pages: (3): « First « 1 [ 2 ] 3 » Last »
« 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