[Release] PK Points

07/02/2009 04:55 n0mansland#31
Why doesnt this require a timer lol?
07/02/2009 05:00 lostsolder05#32
Quote:
Originally Posted by n0mansland View Post
Why doesnt this require a timer lol?
if you had a global thread, you could just use a datetime?
same for a global timer, you'd have to use 1 for it, but everything inside of it can be datetimes

example of a global timer:
public static void GlobalTimer(object Sender, ElapsedEventArgs Args)
{
try
{
DateTimes Inside
}
catch (Exception e)
{
Console.WriteLine(e.ToString());
Console.WriteLine("Global Timer Failure!");
return;
}

example of a global thread:
public static void GlobalThread()
{
while(true)
{
try
{
if (DateTime.Now > GlobalThread.LastCheck.AddMilliseconds(20))
{
GlobalThread.LastCheck = DateTime.Now;
foreach (blabla)
{
DateTimes Here
}
catch (Exception e)
{
Console.WriteLine(e.ToString());
Console.WriteLine("Global Thread Failure!");
return;
}
Thread.Sleep(1);
}
07/02/2009 06:51 darkmanx1#33
Quote:
Originally Posted by danielachraf View Post
Learn coding .... see the error list ..
Replace { with }
Tryed that didnt work for me.
07/02/2009 07:16 n0mansland#34
Try this delete the { then after the pkp code add a } and see if it works
07/02/2009 07:50 darkmanx1#35
Quote:
Originally Posted by n0mansland View Post
Try this delete the { then after the pkp code add a } and see if it works

i think i fail i cant insert this or wuxing oven without mad errors i did get jewlersun and tailsmans but my glory and thunder gems turn to pheniox and fury gems when you socket them xD


also did shoping mall and well idk think thats about it


PROBLEM SOLVED simple the code above what i was adding was slihtly different from his so i changed mine to match his deleted 2 } and it dropped right in THX for the help everyone