Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 09:22

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

Advertisement



[help]problem with heavenblessing

Discussion on [help]problem with heavenblessing within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
coreymills's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
[help]problem with heavenblessing

if (MyChar.BlessEnd != "")
{
string[] BlessEndSplit = MyChar.BlessEnd.Split('~');
string[] i = BlessEndSplit;

string Day = i[0];
string Month = i[1];
string Year = i[2];

string Hour = i[3];
string Min = i[4];
string Sec = i[5];
string AMPM = i[6];

string DayMonthYear = Day + "/" + Month + "/" + Year;
string HourMinSec = Hour + ":" + Min + ":" + Sec;

MyChar.BlessEnd = Convert.ToDateTime(DayMonthYear + " " + HourMinSec);

MyChar.Blessed = true;

SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "Heaven's Blessing will end on " + MyChar.BlessEnd.DayOfWeek + "(" + MyChar.BlessEnd + ")", 2011));
SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "Heaven's Blessing will end on " + MyChar.BlessEnd.DayOfWeek + "(" + MyChar.BlessEnd + ")", 2005));

if (MyChar.PrayStone == 1)
MyChar.MyClient.SendPacket(General.MyPackets.Vital (MyChar.UID, 18, (3 * 24 * 60 * 60)));
if (MyChar.PrayStone == 2)
MyChar.MyClient.SendPacket(General.MyPackets.Vital (MyChar.UID, 18, (7 * 24 * 60 * 60)));
if (MyChar.PrayStone == 3)
MyChar.MyClient.SendPacket(General.MyPackets.Vital (MyChar.UID, 18, (30 * 24 * 60 * 60)));

the ones that are bold and underlined are the wat the error is talkin about

Error 1 'COServer_Project.Character' does not contain a definition for 'BlessEnd' and no extension method 'BlessEnd' accepting a first argument of type 'COServer_Project.Character' could be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\Owner\My Documents\My Received Files\corey\Source Pack\CoV2\CoV2\CoV2\Client.cs 14110 52 COServerProject

Fied the PrayStone Error

i tryed using public DateTime BlessEnd; but didnt work

could someone help please
coreymills is offline  
Reply


Similar Threads Similar Threads
[Problem] Problem with server starting - cannot find quest index for PaxHeader
12/22/2009 - Metin2 Private Server - 1 Replies
Hello! I have this same problem as here when i'm starting my server: http://www.elitepvpers.com/forum/metin2-pserver-di scussions-questions/307143-metin2-serverfiles-ques t-index-fehler.html But I didn't know the answer.. how to repair this? Greetings
[Question] code for HeavenBlessing??
12/10/2008 - CO2 Private Server - 2 Replies
hi someone have the code or a link for HeavenBlessing`??
[Release] HeavenBlessing benefits!
11/20/2008 - CO2 PServer Guides & Releases - 30 Replies
Hello there homies. As I said,I will release a bunch today,I dunno if I got the time,well I scratched this together. This is what you need: Heavenblessing ( Im using kinshis, I think he released it somewhere ) Exppot ( Mine ) You can get my exppot guide here: http://www.elitepvpers.com/forum/co2-pserver-discu ssions-questions/178706-exppot-real-way.html



All times are GMT +1. The time now is 09:22.


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.