Merix

Initiate
Hi,

Actually in RunUo/Servuo the player have the possibility to cast/hit with bow over statics items, that the player can't walk through .
Examples:
acdn.discordapp.com_attachments_110970849628000256_399542346619813888_unknown.png acdn.discordapp.com_attachments_110970849628000256_399542790587154445_unknown.png

I'm working to try changes de LoS code for make the player can't cast/hit through this obstacles (like in Sphereserver, if you have some item that you can't move in the path you can't cast/hit) and for now i can not find the solution.


If someone can help or know how to do it.

Regards
 
Take a look at ItemFixes.cs There are various other tiles that have their server-side flags altered for different behaviour.

All you have to do is do the same for the static ID's you want to prevent LOS - The TileFlag to add is NoShoot.
 

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 150 Online
    • 273 Peak
  • UO Eventine
    Custom (Classic)
    • Players
    • 85 Online
    • 137 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 84 Online
    • 190 Peak
  • Insane UO
    Endless Journey
    • Players
    • 69 Online
    • 105 Peak
  • UO: New Renaissance
    Custom (Classic)
    • Players
    • 27 Online
    • 85 Peak
  • Pandora
    Custom (Modern)
    • Players
    • 21 Online
    • 32 Peak
  • CALYPSO
    Custom (Modern)
    • Players
    • 19 Online
    • 30 Peak
  • Arth
    Custom (Modern)
    • Players
    • 19 Online
    • 34 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 18 Online
    • 48 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 17 Online
    • 172 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back