Search results

  1. IPoint3D vs Mobile interface in Movement.cs (difference between RunUO and ServUO).

    I'm trying to understand the differences in the movement implementations between RunUO and ServUO. One thing I have noticed, is that ServUO replaced the Mobile object which was passed to CheckMovement() by a IPoint3D. It is then checked in a lot of places whether this can be casted back to...
  2. Can I change the supported C# version of the RunUO script compiler?

    I was trying to write a script that uses generic local functions, which is a C# 7.3 feature. I also tried to use Math.Clamp() at some point. Neither seems to be possible out of the box in RunUO (might also apply to ServUO)? Is there a simple fix for this? Edit: Editing the .cproj file in the...
  3. GetItemsInBounds(), IEnumerable and CheckMovement()

    (what I write here is based off of the RunUO 2.5 source code, but I suspect everything works essentially the same in ServUO). I have been trying to understand how Item fetches are done, and encountered the various incarnations of the "GetItemsInBounds" / "GetItemsInRange" methods (in Map.cs and...
  4. Optimizing the sector size?

    I've been looking into the file Movement.cs (RunUO 2.6 but the changes to ServUO are superficial it seems) with the aim of making CheckMovement() faster and I suspect that the number of items per sector plays a role. I found out that there is a variable "SectorSize" which is hardcoded to "16" in...
  5. Summary of tiledata settings

    Can someone please point me to a page with a comprehensive summary of what all of the seetings in tiledata.mul do? I mean some of them are obvious, like "impassable", but others like "foliage" or "liquid" are less clear. And even for the ones with a rather clear intuitive meaning, it would be...
  6. Collision detection in UO

    I was designing a building recently, and I wanted to make some tight stairs. I noticed something odd about how UO tests whether a passage is blocked or not: Let's say I place an impassable object at coordinate x=0, z=20. Then I place a stair object which rises in positive x-direction at x=1...
  7. Question about getting old client versions

    I've been trying to obtain client 7.0.23.1 (the latest one that uses classic .mul files) and noticed that most resources only distribute the .exe file. Specifically there are some GitHub servers, which contain large collections clients, but only the .exe in each case. Obviously, this is not...
  8. Quesion about mul files and new clients

    I just dug up an old shard project I was working on like ten years ago, with custom maps and the like, and intended to load the mul files into the most recent client. I then noticed that the naming of the .mul files has changed drastically. Most notably, there no longer seems to be any mapX.mul...
  9. Question regarding CPU usage of ServUO and RunUO

    Hi everyone. I was recently writing some RunUO/ServUO AI scripts for (nothing fancy, some simple Animal behavior) and this made me wonder about issues related to CPU usage in RunUO/ServUO. I am currently developing on a Intel Core i5 3570K (4 Cores at 3,4 GHz, no hyperthreading) machine with 16...

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back