|
||
|
|||||||
| LearnUO Team Irro\'s Team of LearnUO and their Documentation for RunUO |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Lurker
Join Date: Jan 2008
Posts: 2
|
Hi guys,
I’d like to build a robot client that mimic a PvP situation. In other words, “my dreams” I would like to create an independent program that is able to handle a combat situation with a human. I’m familiar with the UO combat system, C#, and advanced AI techniques but unfortunately I have no idea on how the low level communication is handled. I found few information by looking at this post: Protocol Documentation I believe that you have already created few wrap classes in order to speed-up the serialization/deserialization stuff. I already give a look on the PacketHandlers.cs and Packets.cs classes but probably you use more high level classes that provide a more usable abstraction. Let me go strict to the point…. I was wondering if you could give me a “guideline” on how to read the code that you are building. In particular I’m looking for information on: <how to log into a server> <how to send a msg to the server> <how to parse a reply> <which classes your server-side AI use> //I’d like to have a look on the work that has been already carried out I’m also interested in any other information, like examples, test classes etc., that you believe that could be useful and you would like to share! :-) Thx in advance for your cooperation Dr.Zero |
|
|
|
|
|
#3 (permalink) |
|
Lurker
Join Date: Jan 2008
Posts: 2
|
Thx for the suggestion Ravon,
but I’m not looking for build “the ultimate macro for PvP”. My goal is more close to build “the ultimate brain for NPC”. I’m familiar with reinforcement learning, neural network, expert systems and fuzzy logic and I would like to integrate such stuff into an AI of an NPC. By the way, in order to test my AI, I would like to have a “fear ground". Therefore I would like to create a separate program that have the same possibilities of a Player. Considering that many of the library that I use for the AI techniques are written in C++, C# and Java I believe that I could profit of part of the work that you already did without restart from screech. In addition, if I succeed in building such AI, I believe that, by working together it could be integrated into the RunUO engine in order to provide a “realySmartBrain” to NPCs. -Zero P.S: Probably in a server only 3-4 npc could be equipped with such brain because these techniques are very CPU consuming. |
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: Dec 2005
Location: Elk Grove Village, IL
Posts: 336
|
Dr. Zero,
I've seen EasyUO macros that will pretty much do what you are describing. Fighting, healing, chasing down an opponent.. pretty much do everything it needs to do in a PvP situation and you don't even need to touch the keyboard or mouse. |
|
|
|
|
|
#7 (permalink) |
|
Master of the Internet
|
Server-side implementation is useless unless you're banned from real shards :P
I suggest taking the route of an 'assistant' program similar to Razor that can read memory and inject packets into the client's data stream. You say you know C#, but C++ would give you much more control and much more speed for stuff like that.
__________________
the runuo community has lost sight |
|
|
|
|
|
#8 (permalink) |
|
Forum Expert
Join Date: Jun 2004
Age: 47
Posts: 775
|
I think he's asking on how to go about coding an NPC that'll be like a PvP opponent, though I guess that would then technically be PvM? The current AIs, EAs included are really not capable of such sophistication to be a really viable at PvP, you find their weakness and it's basically just rinse and repeat. Maybe he can take a look at the M5 code an adapt that?
![]()
__________________
If you PM me and ask me to write scripts for you I will add you to my ignore list. Please don't add me to your friends list, I have enough friends. Thx |
|
|
|
|
|
#10 (permalink) | |
|
Forum Expert
Join Date: Jun 2004
Age: 47
Posts: 775
|
Quote:
![]()
__________________
If you PM me and ask me to write scripts for you I will add you to my ignore list. Please don't add me to your friends list, I have enough friends. Thx |
|
|
|
|
|
|
#11 (permalink) |
|
Newbie
Join Date: Nov 2007
Age: 22
Posts: 63
|
I think the idea of a bot used for PvP is a bad idea, but it is really easy to make and if this guy know all that about AI but can't code a simple network what does he really want to do with it.
Also, can EasyUO even get the min/max health and other stats (poisoned, ect.) from other mobiles? |
|
|
|
|
|
#12 (permalink) | |
|
Forum Expert
Join Date: Jun 2004
Age: 47
Posts: 775
|
Quote:
![]()
__________________
If you PM me and ask me to write scripts for you I will add you to my ignore list. Please don't add me to your friends list, I have enough friends. Thx |
|
|
|
|
|
|
#13 (permalink) |
|
Master of the Internet
|
Well, back on the official topic, there are certain RunUO devs who have experimented with this sort of thing in the past and I will say it's possible to write some very complicated PvP bot AI.
I don't, however, think the OP is capable of pulling this off.
__________________
the runuo community has lost sight |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|