[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/prime_links.php on line 121: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/prime_links.php on line 122: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4712: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3842)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4714: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3842)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4715: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3842)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4716: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3842)
JoinUO Forums • View topic - Open source crypt.dll
Page 1 of 2

Open source crypt.dll

PostPosted: Thu Apr 12, 2012 1:35 pm
by xenoglyph
Any interest? I'll probably be doing my own version of Razor's crypt.dll.

Features:
gets raw packets from server or sends raw packets to client
C++
fast
IPC is via memory mapped files (one for output from client, one for input to client)
thread signaling is via semaphores (real signaling, not for (;;) loops hammering the CPU checking for work to be done)
thread safety via mutexes
I'll probably add in EUO style macros later (circletrans,pathfind,etc.) as I have all that code written from a previous project

IPC code is written and tested.

I won't be adding in client decryption because I already have all the code for that in managed code, and my options will be exposed to managed code, so it makes sense to keep that side of the process patching over there.

The only downside is this is the first C++ code I've ever written, so it might look a little strange...but it will be organized.

Re: Open source crypt.dll

PostPosted: Thu Apr 12, 2012 3:25 pm
by Derrick
Very interested. Have thought a lot about this myself over the years.

I do agree that it should be a streamlined .dll. I don't think there's any need to do anything in C++ that could otherwise be done on the managed side. I.e., keep it maintainable :)

VC++?

Keep us posted!

Re: Open source crypt.dll

PostPosted: Fri Apr 13, 2012 2:15 pm
by Batlin
Will you be doing this in C++.Net or "normal" C++?

Sounds interesting either way.

Re: Open source crypt.dll

PostPosted: Sat Apr 14, 2012 2:39 am
by Derrick
I was really pleased with the development of UO:98 that was done in C++.Net, and the migration of Batlin's UO Demo DLL code from Borland to Visual C++ was virtually painless. The benefit of doing it in C++.Net is the ease of talking to it from managed code ()

Re: Open source crypt.dll

PostPosted: Sun Apr 15, 2012 6:28 am
by xenoglyph
=D

Re: Open source crypt.dll

PostPosted: Sun Apr 15, 2012 8:02 pm
by Batlin

Re: Open source crypt.dll

PostPosted: Fri Apr 20, 2012 10:16 am
by xenoglyph
!

Re: Open source crypt.dll

PostPosted: Thu Apr 26, 2012 10:36 am
by xenoglyph
I'm just going to stop talking about it until I make up my mind =D
I keep redesigning the thing, but I'll end up with something decent. At least it's a proper self-injecting DLL now with an empty DllMain.

Things will be slow for a little bit as I'm in the middle of reorganizing my businesses.

Re: Open source crypt.dll

PostPosted: Thu Apr 26, 2012 8:40 pm
by Derrick
Thanks for the update. I'd love to have time to be more involved. Soon though I hope.

Re: Open source crypt.dll

PostPosted: Sun May 06, 2012 1:26 pm
by xenoglyph