The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Negotiate Features - AssistUO/Razor
Author Message
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #21
RE: Negotiate Features - AssistUO/Razor
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?
09-20-2013 05:52 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #22
RE: Negotiate Features - AssistUO/Razor
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.

[Image: 2nis46r.jpg]
09-20-2013 08:29 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #23
RE: Negotiate Features - AssistUO/Razor
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
09-20-2013 09:36 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #24
RE: Negotiate Features - AssistUO/Razor
I don't beleive so... I double checked it when I read your post before replying

[Image: 2nis46r.jpg]
09-20-2013 10:16 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #25
RE: Negotiate Features - AssistUO/Razor
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 

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
09-22-2013 12:04 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #26
RE: Negotiate Features - AssistUO/Razor
Thanks Ben!
Code on first post is updated.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
09-22-2013 02:51 AM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #27
RE: Negotiate Features - AssistUO/Razor
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

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
09-22-2013 06:55 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #28
RE: Negotiate Features - AssistUO/Razor
hehe ok

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
09-22-2013 01:08 PM
Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #29
RE: Negotiate Features - AssistUO/Razor
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?
(This post was last modified: 09-23-2013 06:24 AM by Rizz.)
09-23-2013 04:59 AM
Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #30
RE: Negotiate Features - AssistUO/Razor
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?
09-23-2013 06:42 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)