|
||
|
|
#1 (permalink) |
|
Forum Expert
Join Date: May 2005
Location: Canada
Age: 24
Posts: 508
|
I've been looking at the SDK recently....looks interesting though I must admit I'm still not very familiar with it.
I've had an idea for a program suggested to me and I'd like to see about how to get started on it. The program would be a packet video recorder/player. (Like Razor's functionality...which is just fantastic). I would use razor, but I run an rp server and we "hide" the numbers from the players. As well as many other things. Razor is just not what I need but I love the idea of the packet videos. I was wondering if it would be possible using this SDK to create a program capable of accomplishing this. (Not looking for handouts really....I just A) don't know if it's possible with the SDK and B) am not entirely certain on how to get started) Any and all advice would be appreciated. Thanks.
__________________
A sense of community is the lifeblood of RunUO. http://www.runuo.com/forums/announcements/67400-something-all-you-chew.html Satire, man's greatest weapon (Flame Wars!) The darkness is patient and in the end it always wins...but even the smallest light can overcome the blackest shadow. |
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: May 2005
Location: Canada
Age: 24
Posts: 508
|
Ah that's an excellent idea. Thanks for the info both of ya!
__________________
A sense of community is the lifeblood of RunUO. http://www.runuo.com/forums/showthread.php?t=67400 Satire, man's greatest weapon (Flame Wars!) The darkness is patient and in the end it always wins...but even the smallest light can overcome the blackest shadow. |
|
|
|
|
|
#6 (permalink) |
|
Forum Expert
Join Date: May 2005
Location: Canada
Age: 24
Posts: 508
|
Ah thanks so much for that link. Do you know where I can find more information on what exactly this is for/why it was created?
Though I must admit there is a lot of good code in here. Thanks again!
__________________
A sense of community is the lifeblood of RunUO. http://www.runuo.com/forums/showthread.php?t=67400 Satire, man's greatest weapon (Flame Wars!) The darkness is patient and in the end it always wins...but even the smallest light can overcome the blackest shadow. |
|
|
|
|
|
#7 (permalink) |
|
Forum Expert
Join Date: May 2005
Location: Canada
Age: 24
Posts: 508
|
From what I gather (good chance I'm wrong..I've never done network programming before gah!), but it seems that the SpyUO code is more concerned about recording incoming packets to the client, whereas UONetwork is more about server/client communication.
To record packet videos in a razor fasihon....I only need to detect and record to some sort of file....the packets coming IN to the client correct? Then I need to read these packets back in and send them to the client to "play" the video correct?
__________________
A sense of community is the lifeblood of RunUO. http://www.runuo.com/forums/showthread.php?t=67400 Satire, man's greatest weapon (Flame Wars!) The darkness is patient and in the end it always wins...but even the smallest light can overcome the blackest shadow. |
|
|
|
|
|
#9 (permalink) | |
|
Forum Expert
Join Date: May 2005
Location: Canada
Age: 24
Posts: 508
|
Quote:
I am doing this for shards (I'll release this thing when it's stable enough) that razor is not appropriate for. I run a roleplay server for instance...which all of razor's functionality really does not mesh with my shard. But if I can pull this little application off, it will allow for users/staff alike to easily record and playback videos. Great for shard tutorials, or what I will mostly use it for.....storyline videos ;D (Or recording quests and such).
__________________
A sense of community is the lifeblood of RunUO. http://www.runuo.com/forums/showthread.php?t=67400 Satire, man's greatest weapon (Flame Wars!) The darkness is patient and in the end it always wins...but even the smallest light can overcome the blackest shadow. |
|
|
|
|
|
|
#10 (permalink) |
|
Forum Expert
Join Date: Oct 2006
Age: 22
Posts: 268
|
You're probably going to want to learn some c++ so you can inject a C++ DLL into the client. The C++ DLL will the hook the socket functions in the client which will allow you to view all the data as it is sent/received.
Doing what you want in the best way is quite hard. I am able to do all of the above but I'd rather not share the code right now. I might think about creating a standalone recorder/viewer after I finish some work on my current project. |
|
|
|
|
|
#11 (permalink) | |
|
Forum Expert
Join Date: May 2005
Location: Canada
Age: 24
Posts: 508
|
Quote:
__________________
A sense of community is the lifeblood of RunUO. http://www.runuo.com/forums/showthread.php?t=67400 Satire, man's greatest weapon (Flame Wars!) The darkness is patient and in the end it always wins...but even the smallest light can overcome the blackest shadow. |
|
|
|
|
|
|
#12 (permalink) |
|
Forum Expert
Join Date: May 2005
Location: Canada
Age: 24
Posts: 508
|
I just had a bit of spare time and was reading up on some of this stuff.....
I am curious....would this be something that could help towards a project such as the one I suggested here? HookAPI source code - The Code Project - System
__________________
A sense of community is the lifeblood of RunUO. http://www.runuo.com/forums/showthread.php?t=67400 Satire, man's greatest weapon (Flame Wars!) The darkness is patient and in the end it always wins...but even the smallest light can overcome the blackest shadow. |
|
|
|
|
|
#13 (permalink) |
|
Newbie
Join Date: Feb 2007
Posts: 69
|
I suspect it would be a start, I mean somebody already said you would have to commuicate with the client, which is something the SDK can't do ( although you can talk to the client in a limited way ).
The code would have to be in C++ for many reasons, mainly due C# not even having the ability to do what you need to do, since you cannot access memory ( method do not even exist ). |
|
|
|
|
|
#14 (permalink) |
|
Forum Expert
Join Date: Nov 2003
Location: Illinois, USA
Age: 21
Posts: 2,911
|
You can read and write to processes memory through the the APIs windows makes available. So even though the methods dont exist in .net, you can still use them, although it is difficult.
__________________
Useful links (Use them or die in a fire!!!): Ultimate Little Guide, C# Tutorials & Docs, RunUO Basic Scripts, Run UO How to..., Configure server for connections, Scripting for Dummies, Common Problem Solutions, FAQ Forum, RunUO Wiki, Basic Generics, Xml Tutorial |
|
|
|
|
|
#15 (permalink) | |
|
Newbie
Join Date: Feb 2007
Posts: 69
|
Quote:
|
|
|
|
|
|
|
#17 (permalink) | |
|
Newbie
Join Date: Feb 2007
Posts: 69
|
Quote:
Perhaps I could have been more clear, perhaps I said exactly what I should have said, my statement still holds some truth to it. Why you want me to explain something I don't have an answer for, only that I know how to import C++ dll's into a C# project, considering I have done it for many years now. You seem to have a problem with something I have said, can I ask what that was exactly? |
|
|
|
|
|
|
#18 (permalink) |
|
Forum Expert
Join Date: May 2005
Location: Canada
Age: 24
Posts: 508
|
Gentlemen no offense, but please do not hijack this thread.....I don't want those who are interested in perhaps doing something about this project or helping me to get lost in a sea of programmer vs programmer action. I respect and thank you all for your answers, but if you develop "beef" with eachother please take it to private messages. Thanks kindly.
__________________
A sense of community is the lifeblood of RunUO. http://www.runuo.com/forums/showthread.php?t=67400 Satire, man's greatest weapon (Flame Wars!) The darkness is patient and in the end it always wins...but even the smallest light can overcome the blackest shadow. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|