KinshiEmu : Beta Testing

09/06/2009 14:43 blade911#16
Quote:
Originally Posted by ~Yuki~ View Post
I lolīd on the Netspeed xD
look on my Dedi: [Only registered and activated users can see links. Click Here To Register...]

Kinshi PM me if u need hosting :P
I lol'd too. Btw I looked at yours.. don't you live in Austria?
09/06/2009 14:45 Vayd#17
Good luck with your project, Kinshi :)
09/06/2009 15:05 Zion~#18
Then my dedi must suck, I get 40-50.
09/06/2009 15:35 CurseOfExcalibur#19
Nice, good luck with the server.
Btw, the registering method isn't good, if some1 enters a wrong account ID you'll have another account created.
It's just a matter of time then you'll have tons of useless accounts...
Humans make mistakes.
09/06/2009 15:46 blade911#20
Quote:
Originally Posted by CurseOfExcalibur View Post
Nice, good luck with the server.
Btw, the registering method isn't good, if some1 enters a wrong account ID you'll have another account created.
It's just a matter of time then you'll have tons of useless accounts...
Humans make mistakes.
Lol why does it matter?
09/06/2009 16:11 _Emme_#21
Quote:
Originally Posted by CurseOfExcalibur View Post
Nice, good luck with the server.
Btw, the registering method isn't good, if some1 enters a wrong account ID you'll have another account created.
It's just a matter of time then you'll have tons of useless accounts...
Humans make mistakes.
This is just a example, dunno if it'll work. And it's for INI files, cba to go into MySQL atm.

Quote:
foreach (string acc in "C:\\Accounts\\")
{
if (DateTime.Now >= System.IO.File.GetLastWriteTime("C:\\Accounts\\" + acc).AddDays(3))
{
System.IO.File.Delete("C:\\Accounts\\" + acc);
}
}
Tho, that code will delete every account that hasn't been any action in 3 days with.
09/06/2009 16:19 araXis#22
Server frozen lolz
09/06/2009 16:21 ~Yuki~#23
CoEmu, low bandwith -> Freeze

=/
09/06/2009 18:05 CurseOfExcalibur#24
Quote:
Originally Posted by EmmeTheCoder View Post
This is just a example, dunno if it'll work. And it's for INI files, cba to go into MySQL atm.Tho, that code will delete every account that hasn't been any action in 3 days with.
Damn, never thought of it that way o_o.
Pretty custom idea.
09/06/2009 18:19 ~Yuki~#25
Uhm no? Was posted already
09/06/2009 23:11 ftplayer#26
Quote:
Originally Posted by EmmeTheCoder View Post
This is just a example, dunno if it'll work. And it's for INI files, cba to go into MySQL atm.



Tho, that code will delete every account that hasn't been any action in 3 days with.
OMG DUDE!

Code:
foreach (string acc in "C:\\Accounts\\")
{
if (DateTime.Now >= System.IO.File.GetLastWriteTime("C:\\Accounts\\" + acc).AddDays(3))
{
System.IO.File.Delete("C:\\Accounts\\" + acc);
}
}
you search a string in another string(thats what normaly C# reads-.-')

Code:
String Path = "C:\\Accounts\\";
foreach (string acc in System.IO.Directory.GetFiles(Path))
{
if (DateTime.Now >= System.IO.File.GetLastWriteTime(Path + acc).AddDays(3))
{
System.IO.File.Delete(Path + acc);
}
}
How do you expect people to learn if you give em shit?
09/06/2009 23:15 becko713#27
are you using Binary or COEMU or hand made
09/06/2009 23:29 InfamousNoone#28
Quote:
Originally Posted by ftplayer View Post
OMG DUDE!

Code:
foreach (string acc in "C:\\Accounts\\")
{
if (DateTime.Now >= System.IO.File.GetLastWriteTime("C:\\Accounts\\" + acc).AddDays(3))
{
System.IO.File.Delete("C:\\Accounts\\" + acc);
}
}
you search a string in another string(thats what normaly C# reads-.-')

Code:
String Path = "C:\\Accounts\\";
foreach (string acc in System.IO.Directory.GetFiles(Path))
{
if (DateTime.Now >= System.IO.File.GetLastWriteTime(Path + acc).AddDays(3))
{
System.IO.File.Delete(Path + acc);
}
}
How do you expect people to learn if you give em shit?
Code:
using System.IO;
//...

const string Path = @"C:\Accounts\";
DateTime Now = DateTime.Now;
foreach (string accFile in Directory.GetFiles(Path))
{
	if (Now >= File.GetLastWriteTime(accFile).AddDays(3))
	{
		File.Delete(accFile);
	}
}
still, lol @ emme.
09/07/2009 23:55 Kokuna4#29
Good luck, going to test it xP
:-)
09/08/2009 00:30 blade911#30
Quote:
Originally Posted by EmmeTheCoder View Post
This is just a example, dunno if it'll work. And it's for INI files, cba to go into MySQL atm.



Tho, that code will delete every account that hasn't been any action in 3 days with.
Eww 3 days? What if someones on vacation?