SphereCommunity
The UO Project - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: The UO Project (/Thread-The-UO-Project)

Pages: 1 2


The UO Project - nersos - 02-26-2013 01:07 PM

So at the TUP server we have a litle bug in our personal houses, we can open and close if outside, but if we are inside we cant close or open. we just can do it if we are in the midle of the door, if we are 1 tile back it says "you can't reach that". any sugestions to correct that? any help would be nice Big Grin


RE: The UO Project - RanXerox - 02-26-2013 01:36 PM

What exact version of sphereserver?

Assuming you are using a modern version... What values in the sphere.ini file do you have for the following:

// Uses the new LoS algorithm
// ADVANCEDLOS_DISABLED 0x00 // Disabled, use the old method
// ADVANCEDLOS_PLAYER 0x01 // Enabled only for players
// ADVANCEDLOS_NPC 0x02 // Enabled only for NPCs
AdvancedLos=0


RE: The UO Project - nersos - 02-26-2013 01:50 PM

Sphere Version 0.56b-Nightly [Linux] by http://www.sphereserver.com, compiled at Jan 6 2013 (00:01:20), internal build #1556

can you tell me more what is LoS?


RE: The UO Project - Mordaunt - 02-26-2013 01:59 PM

Line of Sight


RE: The UO Project - nersos - 02-26-2013 07:38 PM

its not working m8's


RE: The UO Project - Ultima One - 02-26-2013 10:28 PM

Lol...

Seems the diagonal LoS is not working when you are to the side and 1 til away of an open door, that opens away from you. it used to be fine Tongue


RE: The UO Project - Crusader - 02-26-2013 10:34 PM

[TYPEDEF T_DOOR]
ON=@DClick
IF (<SRC.DISTANCE> >= 4)
SRC.SYSMESSAGE You are too far away
ELSE
USEITEM
SRC.SYSMESSAGE You open the door
ENDIF
RETURN 1

[TYPDEF T_DOOR_UNLOCKED]
ON=@DClick
IF (<SRC.DISTANCE> >= 4)
SRC.SYSMESSAGE You are too far away
ELSE
USEITEM
SRC.SYSMESSAGE You open the door
ENDIF
RETURN 1


RE: The UO Project - Ultima One - 02-26-2013 10:38 PM

Crashes server when the door closes.


RE: The UO Project - Crusader - 02-26-2013 11:24 PM

hm sorry, i guess u should put return 0 ^^'


RE: The UO Project - Staff_Stanic - 02-27-2013 01:56 AM

Code:
[TYPEDEF T_DOOR]
ON=@DClick
IF (<SRC.DISTANCE> >= 4)
SRC.SYSMESSAGE You are too far away
return 1
ENDIF
SRC.SYSMESSAGE You open the door