Post Pacific  

Go Back   Post Pacific > Search Forums
FAQ Community Calendar Today's Posts Search

Notices

Showing results 1 to 21 of 21
Search took 0.01 seconds.
Search: Posts Made By: Sindol
Forum: L2C# General 06.10.2006, 21:43
Replies: 58
Views: 59
Posted By Sindol
This is the way I think most emulators should be...

This is the way I think most emulators should be handled now in regard to scripts. Some devs, like those of RunUO have been using a similar method forever, albiet only at run time. With reflection in...
Forum: Lineage 2 General 23.03.2006, 05:01
Replies: 25
Views: 26
Posted By Sindol
Both are languages designed for concurrency,...

Both are languages designed for concurrency, fault tolerance, and microthreading/fibres (less resource intensive version of threads basically). Both languages are designed for situations where large...
Forum: Lineage 2 General 23.03.2006, 03:12
Replies: 25
Views: 26
Posted By Sindol
I'd like to see the performance of an emu written...

I'd like to see the performance of an emu written in Erlang or Stackless Python, or any of the other "microthread" or "fibre" designed languages.
I know C# offers limited "fibre" support through pin...
Forum: L2C# General 22.03.2006, 02:05
Replies: 58
Views: 59
Posted By Sindol
Not entirely true now in .Net 2.0, it depends on...

Not entirely true now in .Net 2.0, it depends on how you use the .Net thread pool.

Using ThreadPool.QueueUserWorkItem will still cause the ThreadPool to use the old .Net 1.0 and 1.1 lower level...
Forum: L2C# General 26.01.2006, 13:03
Replies: 38
Views: 39
Posted By Sindol
Nope, just been too busy workin on em to talk...

Nope, just been too busy workin on em to talk about em :)
Forum: L2C# General 20.01.2006, 14:02
Replies: 32
Views: 33
Posted By Sindol
Well I see where I went wrong, and all is good...

Well I see where I went wrong, and all is good now, great work!!!!

Just remember though, C# String.Trim doesn't remove null terminators, so you'll probably wanna change:

username = new...
Forum: L2C# General 19.01.2006, 23:33
Replies: 32
Views: 33
Posted By Sindol
Interesting, how are you going about decrypting...

Interesting, how are you going about decrypting the packet, are you using the RSAManaged class or just using the BigInteger class.

I tried both and neither method decrypted the packet so I might...
Forum: L2C# General 19.01.2006, 06:38
Replies: 32
Views: 33
Posted By Sindol
Have you decrypted the RSA in C#, share how you...

Have you decrypted the RSA in C#, share how you did it, cause I still have yet to reliably do it.
Forum: L2C# General 18.01.2006, 14:48
Replies: 6
Views: 7
Posted By Sindol
Using C# over C++ is all personal preference for...

Using C# over C++ is all personal preference for me, I've used C++ so much I just wanna try something different.

And yes C# is newer then C++, the advantages of C# is that its "managed", meaning I...
Forum: L2C# General 12.01.2006, 10:23
Replies: 32
Views: 33
Posted By Sindol
Ya thats correct forumula, the reason that the...

Ya thats correct forumula, the reason that the exponent isnt sent to the client is because 99% of the time, the exponent is either 3 or 65537 (usually this one, represented in byte[] form as 1,0,1),...
Forum: L2C# General 11.01.2006, 16:28
Replies: 32
Views: 33
Posted By Sindol
The public key has to be scrambled before being...

The public key has to be scrambled before being sent to the client.

It can be scrambled by doing the following:

1. Swap the first 4 bytes with the last 4 bytes
2. Xor first 64 bytes with last...
Forum: L2C# General 25.12.2005, 10:01
Replies: 11
Views: 12
Posted By Sindol
It won't decrypt the RSA part of the packet :) ...

It won't decrypt the RSA part of the packet :)

Windows Crypto API doesn't support unpadded RSA decryption, so you can't use any of C#'s built in methods to decrypt it. I worked around it using a...
Forum: L2C# General 24.12.2005, 18:20
Replies: 11
Views: 12
Posted By Sindol
I was all pumped to see RequestAuthLogin packet,...

I was all pumped to see RequestAuthLogin packet, but santa left me a stockin full o coal on that one!
Forum: L2C# General 21.12.2005, 06:12
Replies: 12
Views: 13
Posted By Sindol
Re:

I've been working on a C# version myself, its pretty incomplete right now as I'm working on bits and pieces, but I have a pretty much finished networking core right now which uses reusable socket and...
Forum: Lineage 2 Help 20.12.2005, 08:59
Replies: 4
Views: 5
Posted By Sindol
Re

Depends on version of L2.

The way current version of Lineage 2 works is, client requests connection from server, if the connection is granted, server sends back initiation packet, this packet...
Forum: L2C# General 06.12.2005, 06:14
Replies: 32
Views: 33
Posted By Sindol
Re

I ended up finally able to decrypt it just using the RSA decryption algorithim t = (c^d) mod m using my own power reduced modulo method.
Forum: L2C# General 06.12.2005, 06:03
Replies: 38
Views: 39
Posted By Sindol
Re

Most .NET versions of the l2 emu's have been ports from l2j, which isnt bad, its good to give props to those who pioneered it and its the fastest way, but there's alot of better ways of doing things...
Forum: L2C# General 05.12.2005, 15:37
Replies: 32
Views: 33
Posted By Sindol
Re:

Thanks for the link, unfortunately all that version does is default DecryptValue to use PKCS 1.5 padding, but it looks like I might be able to pull something useful out of the source so it may not be...
Forum: L2C# General 05.12.2005, 11:59
Replies: 32
Views: 33
Posted By Sindol
Re:

Ok, I re-added the download.

As it stands, I'm thinking about just using a ported BigInteger class with a modPow function to handle decryption but I'm not 100% certain it can handle it, or for...
Forum: L2C# General 04.12.2005, 10:05
Replies: 32
Views: 33
Posted By Sindol
[Updated]Maybe somone else can find the problem here.

Well I started porting over a new loginserver with the latest encryption in C#, can decrypt packets fine but for some reason I keep getting bad data errors when attempting to decrypt...
Forum: Lineage 2 General 29.10.2005, 11:55
Replies: 5
Views: 6
Posted By Sindol
I'm almost there ...

I'm pretty close to a solution, but I got really busy IRL, and don't have time to fiddle with it.

Anyways, here's a .zip of my login server framework if someone wants to give it a shot and mess...
Showing results 1 to 21 of 21

 
Forum Jump

All times are GMT. The time now is 15:07.