Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 03:35

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

Advertisement



[Release] LadyLuck in Prize room request for leaving

Discussion on [Release] LadyLuck in Prize room request for leaving within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2008
Posts: 91
Received Thanks: 31
[Release] LadyLuck in Prize room request for leaving

Hi guys as i saw gad release his LudyLuck i try it but something missing u cant leave once in.

Here a full code for lady luck but for the prize box its not done yet

Credit will go to Gad for case 923:// ladyLuck

Here a full LadyLuck

Go to Handler search for NPCTalk then look for

HTML Code:
						else
						{
							Text("Please see your trainer NPC, I can only train ninjas! Get lost.", CSocket);
							Link("Okay, sorry.", 255, CSocket);
							End(CSocket);
						}
						break;
then below it add this:

HTML Code:
                case 923:// LadyLuck
                    {
                        if (LinkBack == 0)
                        {
                            Text("Would you like to test your luck for great prizes?\nFor only 27 cps, you can pick any box you like and keep what is inside!", CSocket);
                            Text("You have chances to win over 500,000,000 silvers and 2 soc items!\nIf you are over level 70 you can try your luck.", CSocket);
                            Link("Sure here ya are.", 1, CSocket);
                            Link("No Thanks!", 255, CSocket);
                            End(CSocket);
                        }
                        else if (LinkBack == 1)
                        {
                            if (CSocket.Client.CPs >= 27)
                            {
                                Teleport(700, 50, 50, 0, CSocket);
                                CPs(-27, CSocket);
                            }
                            else
                            {
                                Text("I'm sorry you do not have the required CPs.", CSocket);
                                Link("Okay, I will be back when I have 27 CPs.", 255, CSocket);
                                End(CSocket);
                            }
                        }
                        break;
                    }
                case 924:// LadyLuck
                    {
                        if (LinkBack == 0)
                        {
                            Text("Would you like to leave this place!", CSocket);
                            Link("Ya send me out Pls.", 1, CSocket);
                            Link("Wait!Let me see your face first.", 255, CSocket);
                            End(CSocket);
                        }
                        else if (LinkBack == 1)
                        {
                            Teleport(1002, 439, 390, 0, CSocket);
                        }
                        break;
                    }

There u are its done.

Oh Ya I a new learner of C# so if anyone can guide me I would be happy and appreciated



xXVamXx is offline  
Thanks
2 Users
Old 05/30/2009, 14:19   #2
 
elite*gold: 0
Join Date: May 2009
Posts: 18
Received Thanks: 2
good work


mohamedaaa is offline  
Old 06/02/2009, 21:58   #3
 
elite*gold: 0
Join Date: Oct 2006
Posts: 64
Received Thanks: 4
Gives many error when i hit f5
ScamBolterII is offline  
Old 06/02/2009, 23:59   #4
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,141
erm, with my lotto release you leave the room once you pick a box; to avoid people wasting CPs..


Zeroxelli is offline  
Old 06/03/2009, 00:03   #5
 
elite*gold: 0
Join Date: Dec 2006
Posts: 683
Received Thanks: 237
Quote:
Originally Posted by Zeroxelli View Post
erm, with my lotto release you leave the room once you pick a box; to avoid people wasting CPs..
Same, and i made the other lady luck remove the person if he hasnt clicked a box and readd the 27 cps.
scottdavey is offline  
Old 06/03/2009, 00:33   #6
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,141
@scottdavey; Yeah, now if only people read our code before they used it? Or at least tested fully before posting problems


Zeroxelli is offline  
Reply



« [Release]Simple Npc to get back to guild arena | [Release] Learn How To Code C# »

Similar Threads
[Release] Update Your Family Prize.
01/26/2013 - EO PServer Guides & Releases - 14 Replies
hello all!! Now i give you all my script to update family prize.. For Standard Server! English Version INSERT INTO `cq_action` VALUES ('9130030', '9130031', '9130032', '0508', '0', '2 0 50'); INSERT INTO `cq_action` VALUES ('9130031', '9130033', '0000', '0502', '729256', ''); INSERT INTO `cq_action` VALUES ('9130033', '9130034', '0000', '0501', '813001', '20 20'); INSERT INTO `cq_action` VALUES ('9130034', '9130035', '0000', '0501', '810007', '20 20');
[RELEASE] Npc Sell Prize - GoldCup
08/19/2010 - CO2 PServer Guides & Releases - 18 Replies
Code for add Prize : http://www.elitepvpers.com/forum/co2-pserver-guides -releases/386516-release-goldprize-silverprize-bro nze-price-5165-a.html I do not know what to do .. #region Npc Prize case 51200: { if (Control == 0) { GC.AddSend(Packets.NPCSay("Hello, I sell the prize :)")); ...
[Tiny Release]CPs in LadyLuck boxes(Better gear = more cps)
11/15/2009 - CO2 PServer Guides & Releases - 2 Replies
This a tiny release taht everyone should be possible to make. I thought i would release it anyway. Here it is. BTW. is for LOTF. NPC Talk (this is mine, but you dont have to use it lol, cause is already in LOTF): if (CurrentNPC < 506 && CurrentNPC > 499) { SendPacket(General.MyPackets.NPCSay("You sure you will choose this box?")); ...
[RELEASE]LadyLuck CoEmu!!
05/29/2009 - CO2 PServer Guides & Releases - 6 Replies
ladyluck coords are map 1036 x212 y188 , u also can add in code the lvl 70 req if (CSocket.Client.Level >= 70) here also guild keeper: press thanks if i helped u!!
[Request]lottery prize revealer.
10/23/2008 - CO2 Programming - 2 Replies
ok i was wondering if someone can make a bot of some sort that can determin what ur going to get nxt on the lottery if u went and played lottery. it should b able to say what your going to get from that box when u put ur mouse or cursor on top it. well pm me if anyone got a clue on how to make it:confused: i need this bot!!! lol so that it can make lottery easier:D



All times are GMT +2. The time now is 03:35.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 33E6kMtxYa7dApCFzrS3Jb7U3NrVvo8nsK
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

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