VenceremoS Posted April 29, 2015 Share Posted April 29, 2015 (edited) Hey guys I need help in global chat SOLVED Where is error ? The debugscript didn't show error.I gave permission to this script.I have this script(same name) on my other server Edited April 29, 2015 by Guest Link to comment
WhoAmI Posted April 29, 2015 Share Posted April 29, 2015 Did you add it to ACL.xml? <group name="OutRPCGroup"> <acl name="OutRPC" /> <object name="resource.examplechat" /> </group> <acl name="OutRPC"> <right name="function.callRemote" access="true" /> </acl> <group name="InRPCGroup"> <acl name="InRPC" /> <object name="user.http_guest" /> </group> <acl name="InRPC"> <right name="resource.examplechat.http" access="true" /> </acl> Whre examplechat is your resource name. Link to comment
WhoAmI Posted April 29, 2015 Share Posted April 29, 2015 If doesn't work change playerChatCallback function to function playerChatCallback(info, n) outputChatBox ( info .. " " .. n ) end And tell me what it tells on chat box. Also, are there any errors in /debugscript 3? Link to comment
VenceremoS Posted April 29, 2015 Author Share Posted April 29, 2015 debugscript didn't show any error but it said error too Link to comment
WhoAmI Posted April 29, 2015 Share Posted April 29, 2015 Copy my code again and tell me what it outputs now. Link to comment
VenceremoS Posted April 29, 2015 Author Share Posted April 29, 2015 it is showing this Link to comment
WhoAmI Posted April 29, 2015 Share Posted April 29, 2015 That's strange. 401 error is 401 UnauthorizedSimilar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided. The response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource. See Basic access authentication and Digest access authentication. It means that call was valid, but server that you are calling to, didn't respond. Are you sure that you are giving correct HTTP port? Give me your server's IPs. Link to comment
VenceremoS Posted April 29, 2015 Author Share Posted April 29, 2015 5.62.126.147:13800 - FDD server 5.62.126.208:10800 - DD Server Can you make it for me ? Link to comment
VenceremoS Posted April 29, 2015 Author Share Posted April 29, 2015 13805 - FDD server 10805 - DD Server Link to comment
WhoAmI Posted April 29, 2015 Share Posted April 29, 2015 Well, ports are opened, so that is strange. In both server have you added permission in ACL to this resource? Link to comment
VenceremoS Posted April 29, 2015 Author Share Posted April 29, 2015 It fixed.Ty WhoAmI Link to comment
VenceremoS Posted April 29, 2015 Author Share Posted April 29, 2015 How did you fix it? :D:D I wrote wrong script name to acl Link to comment
VenceremoS Posted April 29, 2015 Author Share Posted April 29, 2015 Haha. Good job. Thank you. Topic can be deleted Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now