VenceremoS Posted April 29, 2015 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
WhoAmI Posted April 29, 2015 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.
WhoAmI Posted April 29, 2015 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?
VenceremoS Posted April 29, 2015 Author Posted April 29, 2015 debugscript didn't show any error but it said error too
WhoAmI Posted April 29, 2015 Posted April 29, 2015 Copy my code again and tell me what it outputs now.
WhoAmI Posted April 29, 2015 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.
VenceremoS Posted April 29, 2015 Author Posted April 29, 2015 5.62.126.147:13800 - FDD server 5.62.126.208:10800 - DD Server Can you make it for me ?
WhoAmI Posted April 29, 2015 Posted April 29, 2015 Well, ports are opened, so that is strange. In both server have you added permission in ACL to this resource?
VenceremoS Posted April 29, 2015 Author Posted April 29, 2015 How did you fix it? :D:D I wrote wrong script name to acl
VenceremoS Posted April 29, 2015 Author Posted April 29, 2015 Haha. Good job. Thank you. Topic can be deleted
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