[HELP]Offline TG

06/30/2009 11:23 Arcotemple:)#1
at the end of EmmeTheCoder's offline tg code theres there

if (MyChar.Blessed)
{
MyChar.MyClient.SendPacket(General.MyPackets.Vital ((long)MyChar.UID, 8, HowLongYourCharacterIsBlessed));
}

what do i put in place of the HowLongYourCharacterIsBlessed part

one more question

When i build a solution all that stuff than try to open COServerProject, Norton Internet Security will come up saying COServerProject is attempting to connect to a DNS Server.
then options to allow or deny it.

how can i stop that from popping up and just allow it all the time
06/30/2009 11:33 tanelipe#2
You put the amount of seconds you have left. So one minute would mean that you put 60 there.
06/30/2009 11:35 Arcotemple:)#3
Quote:
Originally Posted by tanelipe View Post
You put the amount of seconds you have left. So one minute would mean that you put 60 there.

alright thanks tane!

Charr.OfflineTG = Convert.ToBoolean(DR["OfflineTG"]);
Charr.LogoutTime = (uint)DR["LogoutTime"];

im also getting something worng with this
i have that where is supposed to be
but im getting an error

System.InvalidCastException: Specified cast is not valid.
at COServer_Project.DataBase.GetCharInfo(Character Charr, String UserName) in C:\Documents and Settings\Anthony\My Documents\Source\bwco\COServerProject\DataBase.cs: line 1510

thats the error im getting whenever someone logs in
06/30/2009 14:47 Arcotemple:)#4
now with that error that i posted whenever people login they are invisible
06/30/2009 16:16 damianpesta#5
Quote:
Originally Posted by Arcotemple:) View Post
now with that error that i posted whenever people login they are invisible
MySql table is done wrong? Well thats the problem i Faced when I was using LOTF.

#edit line 1510 in database.cs is done wrong , Cant help you since I have no vs or lotf on my comp so just try few diffrent things Gonna work for sure.
06/30/2009 16:23 _Emme_#6
I already told you on the private message. The variables is set wrong.
06/30/2009 16:51 Pete1990#7
Emme THing some how gives u speed so dont use it lol