|
You last visited: Today at 03:07
Advertisement
[REQUEST]FortuneTeller
Discussion on [REQUEST]FortuneTeller within the CO2 Private Server forum part of the Conquer Online 2 category.
04/29/2010, 10:48
|
#1
|
elite*gold: 0
Join Date: Apr 2010
Posts: 109
Received Thanks: 55
|
[REQUEST]FortuneTeller
I know my fortuneteller (scissor, rock & papergame) is released for the 5165 source, but anybody got it?
|
|
|
04/30/2010, 14:02
|
#2
|
elite*gold: 0
Join Date: May 2006
Posts: 297
Received Thanks: 58
|
4 u
#region Gamble
case 470000:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Hey there, Want to do a little CrankCo gambling?"));
GC.AddSend(Packets.NPCLink("What kind of gambling?", 1));
GC.AddSend(Packets.NPCLink("No sorry, Im not gonna gamble with you!", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
GC.AddSend(Packets.NPCSay("You give me 5000 cps and we play rock, paper, scissors, if you win I will give you double back, if you loose I keep your cps"));
GC.AddSend(Packets.NPCLink("Thats a good deal, lets go.", 2));
GC.AddSend(Packets.NPCLink("Sorry I don't want to.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 2)
{
if (GC.MyChar.CPs >= 5000)
{
GC.AddSend(Packets.NPCSay("I see you have enough cps, are you still sure."));
GC.AddSend(Packets.NPCLink("Yeah I'm sure, lets play.", 3));
GC.AddSend(Packets.NPCLink("I have changed my mind.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 3)
{
GC.MyChar.CPs -= 5000;
Random FT = new Random();
int Nr = FT.Next(1, 18);
if (Nr == 1) //Scissor vs scissor
{
GC.MyChar.CPs += 5000;
GC.LocalMessage(2005, "You got Scissor, Gambler also got Scissor. No one wins.");
}
if (Nr == 2) //Scissor vs rock
{
GC.MyChar.CPs -= 5000;
GC.LocalMessage(2005, "You got Scissor, Gambler got Rock. Gambler wins.");
}
if (Nr == 3) //Scissor vs paper
{
GC.MyChar.CPs += 10000;
GC.LocalMessage(2005, "You got Scissor, Gambler got Paper. You win.");
}
if (Nr == 4) //Rock vs scissor
{
GC.MyChar.CPs += 10000;
GC.LocalMessage(2005, "You got Rock, Gambler got Scissor. You win.");
}
if (Nr == 5) //Rock vs rock
{
GC.MyChar.CPs += 5000;
GC.LocalMessage(2005, "You got Rock, Gambler also got Rock. No one wins.");
}
if (Nr == 6) //Rock vs paper
{
GC.MyChar.CPs -= 5000;
GC.LocalMessage(2005, "You got Rock, Gambler got Paper. Gambler wins.");
}
if (Nr == 7) //Paper vs scissor
{
GC.MyChar.CPs -= 5000;
GC.LocalMessage(2005, "You got Paper, Gambler got Scissor. Gambler wins.");
}
if (Nr == 8) //Paper vs rock
{
GC.MyChar.CPs += 10000;
GC.LocalMessage(2005, "You got Paper, Gambler got Rock. You win.");
}
if (Nr == 9) //Paper vs paper
{
GC.MyChar.CPs += 5000;
GC.LocalMessage(2005, "You got Paper, Gambler also got Paper. No one wins.");
}
if (Nr == 10) //Scissor vs scissor
{
GC.MyChar.CPs += 5000;
GC.LocalMessage(2005, "You got Scissor, Gambler also got Scissor. No one wins.");
}
if (Nr == 11) //Scissor vs rock
{
GC.MyChar.CPs -= 5000;
GC.LocalMessage(2005, "You got Scissor, Gambler got Rock. Gambler wins.");
}
if (Nr == 12) //Scissor vs paper
{
GC.MyChar.CPs -= 5000;
GC.LocalMessage(2005, "You got paper, Gambler got Scissor. You Lose.");
}
if (Nr == 13) //Rock vs scissor
{
GC.MyChar.CPs -= 5000;
GC.LocalMessage(2005, "You got scissor, Gambler got Rock. You Lose.");
}
if (Nr == 14) //Rock vs rock
{
GC.MyChar.CPs += 5000;
GC.LocalMessage(2005, "You got Rock, Gambler also got Rock. No one wins.");
}
if (Nr == 15) //Rock vs paper
{
GC.MyChar.CPs -= 5000;
GC.LocalMessage(2005, "You got Rock, Gambler got paper. Gambler Win.");
}
if (Nr == 16) //Paper vs scissor
{
GC.MyChar.CPs -= 5000;
GC.LocalMessage(2005, "You got Paper, Gambler got Scissor. Gambler Win.");
}
if (Nr == 17) //Paper vs rock
{
GC.MyChar.CPs -= 5000;
GC.LocalMessage(2005, "You got Rock, Gambler got Paper. You Lose.");
}
if (Nr == 18) //Paper vs paper
{
GC.MyChar.CPs += 5000;
GC.LocalMessage(2005, "You got Paper, Gambler also got Paper. No one wins.");
}
}
break;
}
#endregion
|
|
|
04/30/2010, 19:49
|
#3
|
elite*gold: 0
Join Date: Apr 2010
Posts: 109
Received Thanks: 55
|
Thanks
|
|
|
05/01/2010, 00:45
|
#4
|
elite*gold: 0
Join Date: May 2006
Posts: 297
Received Thanks: 58
|
Np  ...
did modify it some with myself  ..
Have fun  (thanks for *Thanks*)
|
|
|
05/01/2010, 01:32
|
#5
|
elite*gold: 0
Join Date: Apr 2010
Posts: 109
Received Thanks: 55
|
I really didnt need it, just want to see if there was any changes.
|
|
|
05/02/2010, 01:27
|
#6
|
elite*gold: 0
Join Date: Mar 2010
Posts: 133
Received Thanks: 22
|
Quote:
Originally Posted by ©Hyperlink
I know my fortuneteller (scissor, rock & papergame) is released for the 5165 source, but anybody got it?
|
Really? You couldn't create this yourself? You've just lost a lot of respect from me.. thought you were something more..
|
|
|
05/02/2010, 03:04
|
#7
|
elite*gold: 0
Join Date: Apr 2010
Posts: 109
Received Thanks: 55
|
Quote:
Originally Posted by herekorvac
Really? You couldn't create this yourself? You've just lost a lot of respect from me.. thought you were something more..
|
cuz i dont know the setup for the 5165 source, since i dont have it.
dats why i asked.
I already created it once for 5017, but i dont know the changes for cosed, dats why.

peace out.
|
|
|
05/02/2010, 15:55
|
#8
|
elite*gold: 0
Join Date: Mar 2010
Posts: 133
Received Thanks: 22
|
Quote:
Originally Posted by ©Hyperlink
cuz i dont know the setup for the 5165 source, since i dont have it.
dats why i asked.
I already created it once for 5017, but i dont know the changes for cosed, dats why.

peace out.
|
Well if "dats" why, then thats just failure.. btw your A++ program doesn't have a .exe in it to even start it.
|
|
|
05/03/2010, 00:41
|
#9
|
elite*gold: 0
Join Date: Apr 2010
Posts: 109
Received Thanks: 55
|
Quote:
Originally Posted by herekorvac
Well if "dats" why, then thats just failure.. btw your A++ program doesn't have a .exe in it to even start it.
|
the program is not mine.
just advertise for friend, so dont complain to me.
Read my Private message for the other thing.
Close this thread, enough spam.
|
|
|
05/03/2010, 06:09
|
#10
|
elite*gold: 0
Join Date: May 2010
Posts: 122
Received Thanks: 24
|
this is the exactly fortuneteller.
Code:
#region Gamble
case 47:
{
if (Control == 0)
{
GC.Send(Packets.NPCSay("Hey there, Want to do a little gambling?"));
GC.Send(Packets.NPCLink("What kind of gambling?", 1));
GC.Send(Packets.NPCLink("No sorry, Im not gonna gamble", 255));
GC.Send(Packets.NPCSetFace(N.Avatar));
GC.Send(Packets.NPCFinish());
}
else if (Control == 1)
{
GC.Send(Packets.NPCSay("You give me 10000 cps and we play rock, paper, scissors, if you win I will give you double back, if you loose I keep your cps"));
GC.Send(Packets.NPCLink("Thats a good deal, lets go.", 2));
GC.Send(Packets.NPCLink("Sorry I don't want to.", 255));
GC.Send(Packets.NPCSetFace(N.Avatar));
GC.Send(Packets.NPCFinish());
}
if (Control == 2)
{
if (GC.MyChar.CPs >= 10000)
{
GC.Send(Packets.NPCSay("I see you have enough cps, are you still sure."));
GC.Send(Packets.NPCLink("Yeah I'm sure, lets play.", 3));
GC.Send(Packets.NPCLink("I have changed my mind.", 255));
GC.Send(Packets.NPCSetFace(N.Avatar));
GC.Send(Packets.NPCFinish());
}
}
else if (Control == 3)
{
GC.MyChar.CPs -= 10000;
Random FT = new Random();
int Nr = FT.Next(1, 9);
if (Nr == 1) //Scissor vs scissor
{
GC.MyChar.CPs += 20000;
GC.SayLocal(2005, "You got Scissor, Gambler also got Scissor. No one wins.");
}
if (Nr == 2) //Scissor vs rock
{
GC.SayLocal(2005, "You got Scissor, Gambler got Rock. Gambler wins.");
}
if (Nr == 3) //Scissor vs paper
{
GC.MyChar.CPs += 20000;
GC.SayLocal(2005, "You got Scissor, Gambler got Paper. You win.");
}
if (Nr == 4) //Rock vs scissor
{
GC.MyChar.CPs += 20000;
GC.SayLocal(2005, "You got Rock, Gambler got Scissor. You win.");
}
if (Nr == 5) //Rock vs rock
{
GC.MyChar.CPs += 10000;
GC.SayLocal(2005, "You got Rock, Gambler also got Rock. No one wins.");
}
if (Nr == 6) //Rock vs paper
{
GC.SayLocal(2005, "You got Rock, Gambler got Paper. Gambler wins.");
}
if (Nr == 7) //Paper vs scissor
{
GC.SayLocal(2005, "You got Paper, Gambler got Scissor. Gambler wins.");
}
if (Nr == 8) //Paper vs rock
{
GC.MyChar.CPs += 20000;
GC.SayLocal(2005, "You got Paper, Gambler got Rock. You win.");
}
if (Nr == 9) //Paper vs paper
{
GC.MyChar.CPs += 10000;
GC.SayLocal(2005, "You got Paper, Gambler also got Paper. No one wins.");
}
}
break;
}
#endregion
|
|
|
05/03/2010, 07:12
|
#11
|
elite*gold: 106
Join Date: Oct 2006
Posts: 6,047
Received Thanks: 1,165
|
#Closed
|
|
|
All times are GMT +1. The time now is 03:08.
|
|