hi guys,
it appears user_variables_update/proximity_list_update is not being called.
am i doing something wrong?
please see attached code.
thanks!
proximity_list_update
proximity_list_update
- Attachments
-
- source.zip
- (3.02 KiB) Downloaded 531 times
Re: proximity_list_update
That essentially depends on the AOI.
If Player A and B are within range they will receive each other's variables.
Are you sure the players are within range? Any errors on client or server side?
Also you seem to be working with the MMO Example. I would recommend to take a closer look at the example to see how it works.
If Player A and B are within range they will receive each other's variables.
Are you sure the players are within range? Any errors on client or server side?
Also you seem to be working with the MMO Example. I would recommend to take a closer look at the example to see how it works.
Re: proximity_list_update
Thanks Lapo!
I am getting the following log warning on the server side:
Is this normal?
I am getting the following log warning on the server side:
Code: Select all
05 Mar 2014 | 12:45:13,396 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 39, Type: DEFAULT, Logged: No, IP: 127.0.0.1:55425 } on Server port: 9933 <---> 55425
05 Mar 2014 | 12:45:13,411 | WARN | com.smartfoxserver.v2.controllers.SystemController-1 | v2.controllers.SystemController | | System Request rejected: { Id: 39, Type: DEFAULT, Logged: No, IP: 127.0.0.1:55425 }, Client is not logged in.
05 Mar 2014 | 12:45:13,412 | WARN | com.smartfoxserver.v2.controllers.SystemController-1 | v2.controllers.SystemController | | System Request rejected: { Id: 39, Type: DEFAULT, Logged: No, IP: 127.0.0.1:55425 }, Client is not logged in.
05 Mar 2014 | 12:45:13,452 | WARN | com.smartfoxserver.v2.controllers.SystemController-1 | v2.controllers.SystemController | | System Request rejected: { Id: 39, Type: DEFAULT, Logged: No, IP: 127.0.0.1:55425 }, Client is not logged in.
05 Mar 2014 | 12:45:13,455 | INFO | pool-1-thread-1 | v2.api.SFSApi | | User login: { Zone: LoginServer }, ( User Name: dhageuk, Id: 37, Priv: 0, Sess: 127.0.0.1:55425 ) , Type: Unity
05 Mar 2014 | 12:45:13,686 | INFO | com.smartfoxserver.v2.controllers.SystemController-1 | entities.managers.SFSRoomManager | | Room created: { Zone: LoginServer }, [ MMORoom: MMORoom, Id: 20, Group: default, AOI: (25.0, 1.0, 25.0) ]
05 Mar 2014 | 12:45:13,687 | INFO | com.smartfoxserver.v2.controllers.SystemController-1 | v2.api.SFSApi | | Room joined: [ MMORoom: MMORoom, Id: 20, Group: default, AOI: (25.0, 1.0, 25.0) ], { Zone: LoginServer }, ( User Name: dhageuk, Id: 37, Priv: 0, Sess: 127.0.0.1:55425 ) , asSpect: false
Is this normal?
Re: proximity_list_update
There are a number of rejected requests at the top.
This means that your client is sending requests before having logged in successfully. You should fix that problem, otherwise your client logic might not work as expected.
Thanks
This means that your client is sending requests before having logged in successfully. You should fix that problem, otherwise your client logic might not work as expected.
Thanks
Who is online
Users browsing this forum: No registered users and 61 guests