[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)
Open source crypt.dll | JoinUO Forums

Open source crypt.dll


Posts: 36
Joined: Thu Apr 05, 2012 2:46 am
PostPosted: Thu Apr 12, 2012 1:35 pm
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.

Site Admin
Posts: 455
Joined: Tue Jun 17, 2008 2:33 pm
PostPosted: Thu Apr 12, 2012 3:25 pm
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!

Site Admin
Posts: 372
Joined: Wed Apr 08, 2009 6:35 am
PostPosted: Fri Apr 13, 2012 2:15 pm
Will you be doing this in C++.Net or "normal" C++?

Sounds interesting either way.
<Derrick> RunUO AI is kind of a functional prototype, which i have hacked into something resembling OSI behavior, but only by complitcating everything

Site Admin
Posts: 455
Joined: Tue Jun 17, 2008 2:33 pm
PostPosted: Sat Apr 14, 2012 2:39 am
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 ()

Posts: 36
Joined: Thu Apr 05, 2012 2:46 am
PostPosted: Sun Apr 15, 2012 6:28 am
=D
Last edited by xenoglyph on Sat Apr 28, 2012 2:19 am, edited 2 times in total.

Site Admin
Posts: 372
Joined: Wed Apr 08, 2009 6:35 am
PostPosted: Sun Apr 15, 2012 8:02 pm
<Derrick> RunUO AI is kind of a functional prototype, which i have hacked into something resembling OSI behavior, but only by complitcating everything

Posts: 36
Joined: Thu Apr 05, 2012 2:46 am
PostPosted: Fri Apr 20, 2012 10:16 am
!
Last edited by xenoglyph on Sat Apr 28, 2012 2:19 am, edited 1 time in total.

Posts: 36
Joined: Thu Apr 05, 2012 2:46 am
PostPosted: Thu Apr 26, 2012 10:36 am
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.
Last edited by xenoglyph on Sat Apr 28, 2012 2:22 am, edited 1 time in total.

Site Admin
Posts: 455
Joined: Tue Jun 17, 2008 2:33 pm
PostPosted: Thu Apr 26, 2012 8:40 pm
Thanks for the update. I'd love to have time to be more involved. Soon though I hope.

Posts: 36
Joined: Thu Apr 05, 2012 2:46 am
PostPosted: Sun May 06, 2012 1:26 pm
please see:
viewtopic.php?f=28&t=1152
Last edited by xenoglyph on Sat May 12, 2012 8:52 am, edited 1 time in total.
Next

Return to UO Client

Who is online

Users browsing this forum: No registered users and 3 guests

cron