SphereCommunity
Negotiate Features - AssistUO/Razor - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Submissions (/Forum-Script-Submissions)
+--- Thread: Negotiate Features - AssistUO/Razor (/Thread-Negotiate-Features-AssistUO-Razor)

Pages: 1 2 3 4 5 6


RE: Negotiate Features - AssistUO/Razor - XuN - 09-20-2013 05:52 PM

Just for know, does this 'break' nightsight for anyone more? It's useless now using .nightsight 1 or .cast 6, I use and get statf_nightsight correctly set as always but I dont get my 'ultra-powerfull-never-ending' light :'(.
It happened after start using this script.
Now I can ONLY have nightsight when using Razor o AUO, where does it interfere exactly?


RE: Negotiate Features - AssistUO/Razor - Mordaunt - 09-20-2013 08:29 PM

Nope, nightsight works fine for me.

If you have that option set to 1 it prevents razor's filter that allows you to have perpetual daylight without the use of any spell.
If set to 0 you can toggle it on and off.
Neither of these settings prevent the casting of nightsight either by spell or by command.

Of course you can always make GMs exempt from this even so that it would not affect them at all.


RE: Negotiate Features - AssistUO/Razor - XuN - 09-20-2013 09:36 PM

I understood that, it's just that i've had this problem until I used this system, and wanted to know if this problem was relative to this script or I must do an indeep search to see what interferes with statf_nightsight Confused


RE: Negotiate Features - AssistUO/Razor - Mordaunt - 09-20-2013 10:16 PM

I don't beleive so... I double checked it when I read your post before replying


RE: Negotiate Features - AssistUO/Razor - Ben - 09-22-2013 12:04 AM

Extreme, You should change the F_HANDLER_EXTENDEDPROTOCOL function to this to prevent interference with other packets that uses 0xF0 ( SA Movement uses this one Smile )
Plus there is no need to use REF1 here since ARGO is the char that sent the packet. Also there is no need for d if doing math in an IF statement.

PHP Code:
[FUNCTION F_HANDLER_EXTENDEDPROTOCOL]
IF (<
local.num> <= 8//I think Razors packet is 8 bytes...  need confirmation
  
IF (<ARGN1> != 240)
    RETURN 
1
  
ELSEIF ((<LOCAL.3> == 255) && <ARGO.dTAG.NEGOTIATEFEATURES>)
    
ARGO.F_NEGOTIATE_FEATURES_3
  
ELSEIF ((<LOCAL.3> == 0) && <DEF.MAPUO_PARTY_ENABLED>)
    
ARGO.F_MAPUO_HANDLE_PARTY
  
ELSEIF ((<LOCAL.3> == 1) && <DEF.MAPUO_GUILD_ENABLED>)
    
ARGO.F_MAPUO_HANDLE_GUILD <dLOCAL.4>
  ENDIF
  RETURN 
1
ENDIF 



RE: Negotiate Features - AssistUO/Razor - Extreme - 09-22-2013 02:51 AM

Thanks Ben!
Code on first post is updated.


RE: Negotiate Features - AssistUO/Razor - Ben - 09-22-2013 06:55 AM

Looks like ARGO doesn't work like intended... so the update i gave you don't work properly

I'll update your post with this

[FUNCTION F_HANDLER_EXTENDEDPROTOCOL]
IF (<local.num> <= 8) //I think Razors packet is 8 bytes... need confirmation
REF1 = <LOCAL.CHAR>
IF (<ARGN1> != 240)
RETURN 1
ELSEIF ((<LOCAL.3> == 255) && <REF1.dTAG0.NEGOTIATEFEATURES>)
REF1.F_NEGOTIATE_FEATURES_3
ELSEIF ((<LOCAL.3> == 0) && <DEF.MAPUO_PARTY_ENABLED>)
REF1.F_MAPUO_HANDLE_PARTY
ELSEIF ((<LOCAL.3> == 1) && <DEF.MAPUO_GUILD_ENABLED>)
REF1.F_MAPUO_HANDLE_GUILD <dLOCAL.4>
ENDIF
RETURN 1
ENDIF


RE: Negotiate Features - AssistUO/Razor - Extreme - 09-22-2013 01:08 PM

hehe ok


RE: Negotiate Features - AssistUO/Razor - Rizz - 09-23-2013 04:59 AM

Hi everyone, i've tried the code but my client crash (using AssistUO) at the shard selection: i cannot get the characters selection.
Using normal client only, i can login but the script disconnects my char saying that i need to activate the negotiate features on my assistant.

How to fix?

EDIT: I have no problem with Razor. Could be only an AssistUO problem?


RE: Negotiate Features - AssistUO/Razor - Rizz - 09-23-2013 06:42 AM

I've tried updating AssistUO and using the last sphere night build the i get the same: Razor has no problem at all, AssistUO get a crash after the shard selection.

Does anyone tried to use AssistUO?