Author Topic: Interesting  (Read 42009 times)

0 Members and 1 Guest are viewing this topic.

Offline cascaTopic starter

  • Jr. Member
  • **
  • Posts: 27
  • Activity:
    0%
  • Reputation Power: 0
  • casca has no influence.
  • Respect: +8
  • Referrals: 0
    • View Profile
Interesting
« on: September 20, 2009, 06:54:21 AM »
+2
I'm very interested in this project... I wonder if that packet sniffer he built can detect hidden items/people :P

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13310
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +3089
  • Referrals: 34
    • View Profile
    • ScriptUO
Re: Interesting
« Reply #1 on: September 20, 2009, 05:45:15 PM »
+2
Great historical summary.  Thanks for sharing that!
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Masscre

  • Gran Master Jester !!
  • Scripthack
  • *
  • Posts: 4615
  • Activity:
    0%
  • Reputation Power: 55
  • Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!
  • Gender: Male
  • Air Guitar Commander !!
  • Respect: +390
  • Referrals: 1
    • View Profile
Re: Interesting
« Reply #2 on: September 20, 2009, 05:48:52 PM »
+2
Did i miss something?  I am really confused now i think !? This also sounds like the old enigma project that i worked with back in the late 90's.

Offline Artaxerxes

  • Moderator
  • *****
  • Posts: 27
  • Activity:
    0%
  • Reputation Power: 0
  • Artaxerxes has no influence.
  • Gender: Male
  • Respect: +18
  • Referrals: 0
    • View Profile
    • UOAI
Re: Interesting
« Reply #3 on: September 21, 2009, 12:14:00 AM »
+2
Did i miss something?  I am really confused now i think !? This also sounds like the old enigma project that i worked with back in the late 90's.
I think you might have missed the other two threads in this UOAI Corner? (http://www.scriptuo.com/index.php?topic=2693.0 & http://www.scriptuo.com/index.php?topic=2689.msg20364#msg20364 )
(though enigma code might have been more interesting? :D)

I'm very interested in this project... I wonder if that packet sniffer he built can detect hidden items/people :P

Well, i think not. If with hidden you mean the result of the hiding skill or invisibility spell or anything like that... than the server actually removes these items/mobiles from all client's screens and doesn't send a packet about them anymore until they are revealed. On the other hand you can detect a mobile being removed from your screen, for which the reason might be hiden (though you would have to analyze other packets to determine the actual reason)
If hidden just means invisible because something is blocking any sight to it, than yes, it can be detected; not only packet based.

Greetz,
Artaxerxes
Developer at www.UOAI.be

Offline cascaTopic starter

  • Jr. Member
  • **
  • Posts: 27
  • Activity:
    0%
  • Reputation Power: 0
  • casca has no influence.
  • Respect: +8
  • Referrals: 0
    • View Profile
Re: Interesting
« Reply #4 on: September 21, 2009, 08:17:28 PM »
+2
Quote
Well, i think not. If with hidden you mean the result of the hiding skill or invisibility spell or anything like that... than the server actually removes these items/mobiles from all client's screens and doesn't send a packet about them anymore until they are revealed. On the other hand you can detect a mobile being removed from your screen, for which the reason might be hiden (though you would have to analyze other packets to determine the actual reason)
If hidden just means invisible because something is blocking any sight to it, than yes, it can be detected; not only packet based.

Thanks for the reply :)  Yes by hidden I mean invis/hiding/stealth.  I seem to remember something called "the all seeing eye" or something like that back in the day that allowed you to see hidden people in another RPG (microsoft's one I dont' remember the name off hand but it was big at the time).

If it's removed... then what happens when someone uses detect hidden or tracking?  Does it populate the info at that time for EVERYONE or just the client using those skills?... Also if you are using the skill tracking or detect hidden for instance... does it bring the data into the stream at that point or does it wait for a successful roll?  Just curious, but is sounds like perhaps if played with there might be an opportunity.

Offline Artaxerxes

  • Moderator
  • *****
  • Posts: 27
  • Activity:
    0%
  • Reputation Power: 0
  • Artaxerxes has no influence.
  • Gender: Male
  • Respect: +18
  • Referrals: 0
    • View Profile
    • UOAI
Re: Interesting
« Reply #5 on: September 22, 2009, 01:44:01 AM »
+2
If it's removed... then what happens when someone uses detect hidden or tracking?  Does it populate the info at that time for EVERYONE or just the client using those skills?... Also if you are using the skill tracking or detect hidden for instance... does it bring the data into the stream at that point or does it wait for a successful roll?  Just curious, but is sounds like perhaps if played with there might be an opportunity.

My guess: Tracking info is built server-side and only sent to the client actually doing the tracking. Detect hidden is probably similar. Also only on succesfull tracking/detect hidden it will send you that info, not earlier.
I didn't check any of this; i would have to delve into the runuo code or watch the packet stream a little closer to give a definite answer; but i know what it looks like client-side:  Items can be flagged hidden internally in the uo client; but even then they are still visible: you see them like you see yourself if you are hidden: grayed or something like that. If an item is completely invisible on the client it simply has been removed, so the server isn't sending updates on it anymore. So if other client's would be getting updates on the mobile being tracked; they would at least see a mobile flagged hidden (grayed type), which they don't.
« Last Edit: September 22, 2009, 01:46:24 AM by Artaxerxes »
Developer at www.UOAI.be

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13310
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +3089
  • Referrals: 34
    • View Profile
    • ScriptUO
Re: Interesting
« Reply #6 on: September 22, 2009, 10:26:03 AM »
+2
It makes sense why EasyUO has has a "hideitem" command, but no "showitem".
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Masscre

  • Gran Master Jester !!
  • Scripthack
  • *
  • Posts: 4615
  • Activity:
    0%
  • Reputation Power: 55
  • Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!
  • Gender: Male
  • Air Guitar Commander !!
  • Respect: +390
  • Referrals: 1
    • View Profile
Re: Interesting
« Reply #7 on: September 22, 2009, 11:15:13 AM »
+2
It makes sense why EasyUO has has a "hideitem" command, but no "showitem".

But in the same cheffe has always steered away from hacks and things that alter the play stype of the game.

Offline Artaxerxes

  • Moderator
  • *****
  • Posts: 27
  • Activity:
    0%
  • Reputation Power: 0
  • Artaxerxes has no influence.
  • Gender: Male
  • Respect: +18
  • Referrals: 0
    • View Profile
    • UOAI
Re: Interesting
« Reply #8 on: September 22, 2009, 11:49:51 PM »
+2
It makes sense why EasyUO has has a "hideitem" command, but no "showitem".

But in the same cheffe has always steered away from hacks and things that alter the play stype of the game.

It's possible to write both hide/show item i think; depends a little on how the euo hideitem works though whether it can be shown again. But this kind of 'hiding' is ofc a different one than the invisibility casca is talking about... if a mobile is hidden server side; than even euo wouldn't be able to show it; cause it doesn't know about the item, only the server.

Cheffe did always steer away from hacks and things like that; but i personally do not agree with that choice. I can understand this choice in the sense that he would not want easyuo to be considered as a cheating tool, but rather as a nice macroing tool. I think however that it's not the responsibility of the script tool (or library in my case) developer to limit functionality to funtionality that can't be abused; but it's in the first place the responsibility of the user to not abuse it. I can also think of very little cheating tools, more powerful than current euo scripts,  that could be implemented for UO. Even if a showitem would be present (i've f.e. thought about a creatable item class in UOAI, where "Item customitem=new Item(ID, type, ...) " would work, i can see very little tools that could abuse this: an item would only be visible to the current player. The only thing i can think of would be a scam: someone selling a non-existant item to someone else which was shown on the other the scammed player's client. That would however require the scammer to get a program running on the scammed player's computer; and if you ask me the real issue here would then be the scammer gaining the scammed player's trust rather than UOAI being able to show an item on a player's client.
I can also see many avantages to showing items and gumps and being able to modify things on the client: f.e. with a more powerfull UOAI it would be possible to create a "player-event" system; where every player joining the event would have to have the event's UOAI tool present on it's computer. This tool could then do things like limiting a player's movement to a certain arena, showing special items on all player's in the event (weapons, etc. things related to the event), displaying gumps that track scores, etc... basically an event-p2p system without having to run the world server. It's just an idea... not really going to implement this (current UOAI is not powerfull/stable enough anyway)... but i personally wouldn't consider tools like that an exploit, but you are allowed to disagree! :D
Developer at www.UOAI.be

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +786
  • Referrals: 1
    • View Profile
Re: Interesting
« Reply #9 on: September 23, 2009, 04:35:31 AM »
+2
I have to agree Artaxerxes .. I think it would be extremely useful to be able define my own player seen gumps and such. This could possibly replace external menus. 

I was playing or rather trying to play you your dll last night couldnt get delphi to load it up .. any pointers on that would be appreaciated. The installation of c# on my system is borked.  So before I wipe the entire system clean (much needed) throught id give delphi a go.
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13310
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +3089
  • Referrals: 34
    • View Profile
    • ScriptUO
Re: Interesting
« Reply #10 on: September 23, 2009, 09:47:24 AM »
+2
Try out SharpDevelop, EN.  Don't even bother with VStudio.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +786
  • Referrals: 1
    • View Profile
Re: Interesting
« Reply #11 on: September 23, 2009, 10:56:32 AM »
+2
Try out SharpDevelop, EN.  Don't even bother with VStudio.

Thanks downloading it now.. but i really should wipe my system so much bloat in it at this point.
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline Masscre

  • Gran Master Jester !!
  • Scripthack
  • *
  • Posts: 4615
  • Activity:
    0%
  • Reputation Power: 55
  • Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!
  • Gender: Male
  • Air Guitar Commander !!
  • Respect: +390
  • Referrals: 1
    • View Profile
Re: Interesting
« Reply #12 on: September 23, 2009, 12:36:29 PM »
+2
Dont wipe it just dust it out a little.  A good fart always helps with bloat also.  Seriously though when you say wipe are you thinking of erasing and reinstalling everything?  If this is your thought I made a nice fix for this.  I format and reinstall my os and basics.  Then get all my utilities that i need to get it working the way i want including AV and UO.  Then with Acronis true image I back up my drive the way it is not the os but the drive and when I get a problem i just do a restore.  This restore usually takes be about 15-20 mins to get everything back on the hard drive and i am back in business.  Also Acronis runs under linux so the restore program can be done from (booted from) cd/dvd and then load the image and you are good to go.

Offline Artaxerxes

  • Moderator
  • *****
  • Posts: 27
  • Activity:
    0%
  • Reputation Power: 0
  • Artaxerxes has no influence.
  • Gender: Male
  • Respect: +18
  • Referrals: 0
    • View Profile
    • UOAI
Re: Interesting
« Reply #13 on: September 23, 2009, 01:02:29 PM »
+2
I was playing or rather trying to play you your dll last night couldnt get delphi to load it up .. any pointers on that would be appreaciated. The installation of c# on my system is borked.  So before I wipe the entire system clean (much needed) throught id give delphi a go.

From Delphi you'll have to create an instance of the COM components directly. I know little Delphi right now, srry, but i guess it will involve importing "CoCreateInstance" from Ole32.dll and creating an instance of the UOAI class from there using the UOAI class and interface GUIDs (See the UOAI.h in the COM libraries sourcecode for those GUIDs). I tried to google for an example of using COM components from Delphi; didn't find anything suitable yet, except maybe the client part at: http://www.delphi3000.com/articles/article_3439.asp?SK=. Note that you will need "CoCreateInstance" rather than "CoGetObject" I think, GetObject only works for a COM server exposing one active object.

I will provide documentation for different languages on how to use the COM library eventually. Currently i'm focusing on getting the next stable .NET library version online, since most users are using UOAI from .NET right. This next library should be far more stable and easier to use, so once this is launched i'm hoping to find more time to focus on documentation and the next COM library.
But even with documentation, from some languages the COM library is really easy to use (scripting languages like vbscript, javascript, LUA; also visual basic, C++ (though right now a suitable header for this is lacking), ...) but from other languages like directly from C or i'm guessing also Delphi; there will always be some points at which care is required; and therefore a simple dll might have been easier to use than a COM library.

Edit: it seems there must be easier ways from Delphi to use COM objects too; though i know too little on Delphi right now to help you along... the ComObj and ActiveX units (http://delphi.wikia.com/wiki/Category:ComObj_Unit will provide anything you need... you'll need to get Delphi to either create an instance of the UOAI class using it's easyname/progid ("UOAI.UOAI") or using it's GUID (see UOAI.h). Next will be to get Delphi either making calls through IDispatch (activex method calls... i'm not sure how this is done in delphi) or by somehow providing an interface definition for the UOAI objects so that delphi can call the interfaces directly. I'm not sure if any of that makes... :)

Dupport for Delphi will be an issue when i eventually get to writing decent documentation for the COM library; that is after i finish the next .NET library; write documentation for it; and maybe even after finishing the next COM library... Let me know however if you figure out how to use it yourself, that would save me some time :).

Let's, however, not turn the UOAI corner into a support forum!

Artaxerxes,
« Last Edit: September 23, 2009, 01:28:45 PM by Artaxerxes »
Developer at www.UOAI.be

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +786
  • Referrals: 1
    • View Profile
Re: Interesting
« Reply #14 on: September 23, 2009, 06:21:55 PM »
+2
Artaxerxes I think ive got the Delphi setup worked out.  Its actually pretty easy i was barking up all the wrong trees last night.  Once i have it fully worked out ill send you the details on your site.  ;D

So far got it loaded and it launching new clients.. yet to test rest of functionaily. :-\
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Tags: