SphereCommunity
Hide helm - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Hide helm (/Thread-Hide-helm)

Pages: 1 2


Hide helm - an0n!m0use - 04-05-2017 08:36 PM

Hi, guys!

How you fix that problem ?

[Image: da36d3af9a35.png]

And i have client 6.0.1.10
When i attack enemy with some weapon or magic ... i have face to enemy every time ...
With old client i dont have that problem ... how disable FACE to enemy ...


RE: Hide helm - darksun84 - 04-05-2017 09:22 PM

In the sphere.ini disable this flag:
COMBAT_FACECOMBAT

For the helmet above the shroud, i think it's handled by the client, so you can't do much about that.


RE: Hide helm - zottolo - 04-05-2017 09:29 PM

it's the first time i've seen an helmet upon the shroud, is it in the proper layer?


RE: Hide helm - an0n!m0use - 04-06-2017 08:34 PM

(04-05-2017 09:22 PM)darksun84 Wrote:  In the sphere.ini disable this flag:
COMBAT_FACECOMBAT
Thx Smile
Quote:For the helmet above the shroud, i think it's handled by the client, so you can't do much about that.
I try hide helm with script ... but it's not solution for me ... i need hide like a dead shroud ...
PHP Code:
[TYPEDEF t_item_shroud]
On=@Equip    
    SRC
.FINDLAYER(6).TAG.DispID = <SRC.FINDLAYER(6).DispID>
    
SRC.FINDLAYER(6).Dispid i_memory
    SRC
.FINDLAYER(6).REMOVEFROMVIEW
    
On
=@UnEquip
    SRC
.FINDLAYER(6).DispiD = <SRC.FINDLAYER(6).TAG.DispID>
    
SRC.FINDLAYER(6).TAG0.DispID
    SRC
.FINDLAYER(6).UPDATE 

Maybe some ideas ? Rolleyes

Quote:it's the first time i've seen an helmet upon the shroud, is it in the proper layer?
LAYER = 22
ANIMATION = 970


[Image: 80dd7ff59989.png]


RE: Hide helm - Coruja - 04-07-2017 07:40 AM

this is handled on client-side, some wearable items hide specific layers behind it on paperdoll, and some others items doesn't hide any layer

try change your death shroud ID 025ee to 02684, maybe this will fix it


RE: Hide helm - an0n!m0use - 04-08-2017 12:31 AM

(04-07-2017 07:40 AM)Coruja Wrote:  try change your death shroud ID 025ee to 02684, maybe this will fix it
When equip ... i fink it's with animation problem ... how to fix ? I can't find that animation ... using number - 732

[Image: e3860f4e8622.png]


RE: Hide helm - Catalan_mistral - 04-08-2017 07:07 AM

out of curiousity have you tried a different client?,


RE: Hide helm - pointhz - 04-10-2017 06:24 AM

Set this to your donator robe script:

ON=@EQUIP

IF (<CONT.FINDLAYER.LAYER_HAIR.UID>)
CONT.FINDLAYER.LAYER_HAIR.ATTR = (<CONT.FINDLAYER.LAYER_HAIR.ATTR> | ATTR_INVIS)
CONT.FINDLAYER.LAYER_HAIR.REMOVEFROMVIEW
ENDIF

IF (<CONT.FINDLAYER.LAYER_HELM.UID>)
CONT.FINDLAYER.LAYER_HELM.ATTR = (<CONT.FINDLAYER.LAYER_HELM.ATTR> | ATTR_INVIS)
CONT.FINDLAYER.LAYER_HELM.REMOVEFROMVIEW
ENDIF

ON=@UNEQUIP
IF (<CONT.FINDLAYER.LAYER_HAIR.UID>)
CONT.FINDLAYER.LAYER_HAIR.ATTR = (<CONT.FINDLAYER.LAYER_HAIR.ATTR> & ~ ATTR_INVIS)
CONT.FINDLAYER.LAYER_HAIR.UPDATE
ENDIF

IF (<CONT.FINDLAYER.LAYER_HELM.UID>)
CONT.FINDLAYER.LAYER_HELM.ATTR = (<CONT.FINDLAYER.LAYER_HELM.ATTR> & ~ ATTR_INVIS)
CONT.FINDLAYER.LAYER_HELM.UPDATE
ENDIF


RE: Hide helm - an0n!m0use - 04-10-2017 07:17 AM

(04-08-2017 07:07 AM)Catalan_mistral Wrote:  out of curiousity have you tried a different client?,
Yes Sad

(04-10-2017 06:24 AM)pointhz Wrote:  Set this to your donator robe script:
....
Again that problem ... when i drink invis potion and move ... client update and i see my helmet ...

[Image: f50d40964270.png]


RE: Hide helm - an0n!m0use - 04-11-2017 10:02 PM

And second problem. What this mean?

PHP Code:
14:49:DEBUG:__ thread (5056__ |  # | _____ function _____________ | ticks passed from previous function start ______
14:49:DEBUG:>>         5056     |  NetworkManager::processAllInput | +
14
:49:DEBUG:>>         5056     |  |   NetworkInput::processInput | +15 
14
:49:DEBUG:>>         5056     |  |    NetworkInput::processData | +
14
:49:DEBUG:>>         5056     |  |    NetworkInput::processData | +
14
:49:DEBUG:>>         5056     |  NetworkInput::processGameClientData | +
14
:49:DEBUG:>>         5056     |  PacketMovementReq::onReceive | +
14
:49:DEBUG:>>         5056     |  PacketMovementReq::doMovement | +
14
:49:DEBUG:>>         5056     |  |       CClient::Event_Walking | +
14
:49:DEBUG:>>         5056     |  |         CChar::CanMoveWalkTo | +<-- exception catch point (below is guessed and could be incorrect!)
14:49:DEBUG:>>         5056     |  |    CChar::CheckValidMove_New | +
14
:49:DEBUG:>>         5056     10 |   CWorld::GetHeightPoint_New | +16 
14
:49:DEBUG:>>         5056     11 |     CItemBase::GetItemHeight | +
14
:49:DEBUG:>>         5056     12 CItemBase::GetItemHeightFlags | +
14
:49:CRITICAL:"Access Violation" (0x127cc6), in CChar::CanMoveWalkTo() #1 "Check Valid Move"