Register for your free account! | Forgot your password?

You last visited: Today at 13:27

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[ReRelease]Scissor,Rock & Paper Game

Discussion on [ReRelease]Scissor,Rock & Paper Game within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Closed Thread
 
Old   #1
 
©Hyperlink's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 109
Received Thanks: 55
[ReRelease]Scissor,Rock & Paper Game

Okay im back to E.pvp.
Well, i will repost my old npc for lotf 5017.
Wich also include it for the:

There is 33,33% Chance to win.

NPC Talk:
Code:
if (CurrentNPC == 28944) //Fortuneteller
                            {
                                SendPacket(General.MyPackets.NPCSay("Hey there, Want to make a little gambling?"));
                                SendPacket(General.MyPackets.NPCLink("What kind of gambling?", 1));
                                SendPacket(General.MyPackets.NPCLink("No sorry, im not gonna gamble", 255));
                                SendPacket(General.MyPackets.NPCSetFace(30));
                                SendPacket(General.MyPackets.NPCFinish());
                            }
NPC Control:
Code:
 if (CurrentNPC == 28944) //Fortuneteller
                              {        
                                if (Control == 1)
                                {
                                    SendPacket(General.MyPackets.NPCSay("You give me 10000CP's and we make scissor,rock and paper, if you win i give you double back,if you loose I keep your cps"));
                                    SendPacket(General.MyPackets.NPCLink("Thats a good deal, lets go.", 2));
                                    SendPacket(General.MyPackets.NPCLink("Sorry i don't want to.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                if (Control == 2)
                                {
                                    if (MyChar.CPs >= 10000)
                                    {
                                    SendPacket(General.MyPackets.NPCSay("I see you have enough CP's, are you stills sure."));
                                    SendPacket(General.MyPackets.NPCLink("Yeah im sure, lets go.", 3));
                                    SendPacket(General.MyPackets.NPCLink("I have changed my mind.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                              }
                                if (Control == 3)
                                    {
                                        MyChar.CPs -= 10000;
                                        SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
                                        Random FT = new Random();
                                        int Nr = FT.Next(1, 9);
                                        if (Nr == 1) //Scissor vs scissor
                                        {
                                        MyChar.CPs += 10000;
                                        SendPacket(General.MyPackets.Vital((long)MyChar.UID, 30, MyChar.CPs));
                                        SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "You got Scissor, Fortuneteller also got Scissor. No one wins.", 2000));
                                        }
                                        if (Nr == 2) //Scissor vs rock
                                        {
                                        SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "You got Scissor, Fortuneteller got Rock. Fortuneteller wins.", 2000));
                                        }
                                        if (Nr == 3) //Scissor vs paper
                                        {
                                        MyChar.CPs += 20000;
                                        SendPacket(General.MyPackets.Vital((long)MyChar.UID, 30, MyChar.CPs));
                                        SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "You got Scissor, Fortuneteller got Paper. You win.", 2000));
                                        }
                                        if (Nr == 4) //Rock vs scissor
                                        {
                                        MyChar.CPs += 20000;
                                        SendPacket(General.MyPackets.Vital((long)MyChar.UID, 30, MyChar.CPs));
                                        SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "You got Rock, Fortuneteller got Scissor. You win.", 2000));
                                        }
                                        if (Nr == 5) //Rock vs rock
                                        {
                                        MyChar.CPs += 10000;
                                        SendPacket(General.MyPackets.Vital((long)MyChar.UID, 30, MyChar.CPs));
                                        SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "You got Rock, Fortuneteller also got Rock. No one wins.", 2000));
                                        }
                                        if (Nr == 6) //Rock vs paper
                                        {
                                        SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "You got Rock, Fortuneteller got Paper. Fortuneteller wins.", 2000));
                                        }
                                        if (Nr == 7) //Paper vs scissor
                                        {
                                        SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "You got Paper, Fortuneteller got Scissor. Fortuneteller wins.", 2000));
                                        }
                                        if (Nr == 8) //Paper vs rock
                                        {
                                        MyChar.CPs += 20000;
                                        SendPacket(General.MyPackets.Vital((long)MyChar.UID, 30, MyChar.CPs));
                                        SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "You got Paper, Fortuneteller got Rock. You win.", 2000));
                                        }
                                        if (Nr == 9) //Paper vs paper
                                        {
                                        MyChar.CPs += 10000;
                                        SendPacket(General.MyPackets.Vital((long)MyChar.UID, 30, MyChar.CPs));
                                        SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "You got Paper, Fortuneteller also got Paper. No one wins.", 2000));
                                        }
                                }
                            }
The original thread is so long away, but here is the rerelease.
I won't release much for 5017 more, since im not working at any sources or servers. Just trying to help out peoples.
Thanks
Hope is still useful for those that still use 5017.
©Hyperlink is offline  
Old 05/05/2010, 12:33   #2
 
elite*gold: 0
Join Date: May 2006
Posts: 297
Received Thanks: 58
uhhm lol...
did u get it from me, to re-release it "^^"
pintser is offline  
Old 05/05/2010, 23:07   #3
 
elite*gold: 0
Join Date: Mar 2010
Posts: 133
Received Thanks: 22
It is kind of sad you still do your npcs THIS way for LOTF 5017...Even though you SAY you are a C# coder and a C++ coder...
herekorvac is offline  
Old 05/06/2010, 00:07   #4
 
TheGuyWithTheCodes's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 122
Received Thanks: 24
this npc is like a half year old.
and pintser, he was the first that made it.
TheGuyWithTheCodes is offline  
Old 05/06/2010, 17:44   #5
 
elite*gold: 0
Join Date: May 2006
Posts: 297
Received Thanks: 58
Quote:
Originally Posted by TheGuyWithTheCodes View Post
this npc is like a half year old.
and pintser, he was the first that made it.
lol, dont mea that...
he started a thread named:
fortuneTeller..
Request:

some 1 has the Gamble npc etc etc...
Then i prelied hinm with my gamble npc..
and now, he re-release xd...
(i dont mind, was just joking )
pintser is offline  
Old 05/11/2010, 07:18   #6
 
Huseby's Avatar
 
elite*gold: 106
Join Date: Oct 2006
Posts: 6,047
Received Thanks: 1,165
Dont rerelease stuffs,

#Closed
Huseby is offline  
Closed Thread


Similar Threads Similar Threads
Rock Paper Scissors Bot Request
02/15/2010 - GW Bots - 3 Replies
Would it be possible for someone to make a bot that automatically plays rock paper scissors for lunar tokens?
[RELEASE]Fortuneteller(Scissor,rock & paper game)(AWSOME AND FUN)ALL NEED THIS :)!!!!
11/22/2009 - CO2 PServer Guides & Releases - 25 Replies
TESTED AND IT WORK Hello there :) This is for LOTF. Here is the Fortuneteller NPC with the scissor, rock and paper game. We need some fun NPC right? Also you can loose or win. Thats great huh? Is build up like real scissor, rock and paper game. Where you have:
Rock, paper, scissors.
11/21/2007 - Off Topic - 7 Replies
Originally posted by Clyps. "Ok, I understand that Scissors can beat Paper, and I get how Rock can beat Scissors, but there's no fucking way Paper can beat Rock. Paper is supposed to magically wrap around Rock leaving it immobile? Why the hell cant paper do this to scissors? Screw scissors, why can't paper do this to people?" "Why isn't notebook paper constantly suffocating students while they take notes in class? I'll tell you why, because paper can't beat anybody, a rock would tear that...
1-Day; Halloween/Rock,Paper,Scissors
11/03/2005 - Guild Wars - 3 Replies
If King Thorn ask's you which weapon you would choose to defeat him's, always choose Scissors, I was taking the Event at 13 and 16 O'Clock and he always had Paper. This only counts for today, cuz tomorrow theres no halloween anymore.



All times are GMT +1. The time now is 13:27.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.