Search found 20870 matches

by Lapo
22 Jan 2020, 14:34
Forum: SFS2X Questions
Topic: Servlet Manager error #2035
Replies: 3
Views: 18

Re: Servlet Manager error #2035

Sorry, my bad. For some reason, I was thinking of Tomcat's servlet manager, while you were referring to the AdminTool's module :)
It seems your installation is broken and the module is missing.
I would probably recommend to re-download the installer and perform a fresh install.

Thanks
by Lapo
22 Jan 2020, 09:38
Forum: SFS2X Questions
Topic: What event gets called once a player disconnects ?
Replies: 9
Views: 712

Re: What event gets called once a player disconnects ?

Please check the official examples we provide. In particular see the SimpleMMOWorld example which shows how to handle new players entering the AoI and exiting players leaving it. The disconnected player is definitely passed in the PROXIMITY_LIST_UPDATE event among the removed users. If there's any p...
by Lapo
22 Jan 2020, 08:35
Forum: SFS2X Questions
Topic: Tomcat InitCrypto only affecting some users
Replies: 5
Views: 59

Re: Tomcat InitCrypto only affecting some users

If my supposition is correct (some clients are too slow during connection/login) then you have no control over that delay because it is dependent on the client's network conditions.

The solution I suggested (increase session timeout) simply makes the server more tolerant to such delay.
by Lapo
21 Jan 2020, 16:08
Forum: SFS2X Questions
Topic: Tomcat InitCrypto only affecting some users
Replies: 5
Views: 59

Re: Tomcat InitCrypto only affecting some users

Yes, it sounds like the client session dies before the cryptography exchange is completed. The client session is the socket connection established between client and SFS2X, before a login is performed. By default the client is allowed to remain in this state for ~20 seconds before it's kicked out. T...
by Lapo
21 Jan 2020, 15:44
Forum: SFS2X Questions
Topic: ROOM_VARIABLES_UPDATE continuously updates (how to stop)?
Replies: 4
Views: 14

Re: ROOM_VARIABLES_UPDATE continuously updates (how to stop)?

Hi,
it depends on what you mean by continuously. There's a limit of requests per second you can send to the server and connected clients. If you push it too hard you may overwhelm the client with packets to receive.

What update rate are you using?

Thanks
by Lapo
21 Jan 2020, 15:41
Forum: SFS2X Questions
Topic: Servlet Manager error #2035
Replies: 3
Views: 18

Re: Servlet Manager error #2035

Hi, I am not sure what you mean by errors 2035 and 2036... these are not HTTP error codes. Even if you're launching the manager from the Flash Admin Tool you should see a new tab being opened in the browser. If you want to reach the Tomcat's manager directly you just need to point to http://localhos...
by Lapo
21 Jan 2020, 15:35
Forum: SFS2X Questions
Topic: 2.13 to 2.14 Servlet Migration not working
Replies: 1
Views: 14

Re: 2.13 to 2.14 Servlet Migration not working

Hi, Tomcat and Jetty implement the servlet specifications by Java, though Jetty is probably a little less strict in its implementation. The fact that your web app shows in Tomcat's manager as running seems like a good sign. Maybe it's a mapping issue. Can I see the web.xml file deployed in the war f...
by Lapo
20 Jan 2020, 08:14
Forum: SFS2X Questions
Topic: Pass Message to RoomExtension from ZoneExtension
Replies: 1
Views: 16

Re: Pass Message to RoomExtension from ZoneExtension

Hi,
KrinalDhaduk wrote:Is there any way I can pass any message or trigger any event from zone extension to all the room-extensions in that zone?

yes via the handleInternalMessage() method.
See the documentation:
http://docs2x.smartfoxserver.com/Extens ... a/overview
Extension interoperability section

Cheers
by Lapo
20 Jan 2020, 08:12
Forum: SFS2X Questions
Topic: Tomcat InitCrypto only affecting some users
Replies: 5
Views: 59

Re: Tomcat InitCrypto only affecting some users

Hi, these are different errors, with different context. It would help to see the full stack trace, but anyways they represent different connection/login issues. As regards Tomcat, I am not sure why it should be the problem. For example the " Server side session not found for id " is a clie...
by Lapo
18 Jan 2020, 17:07
Forum: Server Side Extension Development
Topic: IZoneManager class not found in com.smartfoxserver.v2.entities.managers package
Replies: 4
Views: 165

Re: IZoneManager class not found in com.smartfoxserver.v2.entities.managers package

I have seen IZoneManager class in jar file after extracting it. So why this class is not showing in documentation Not al classes are documented. Otherwise the doc would be 5x larger and it would be overwhelming to sift through dozens of internal classes that the Extension developer doesn't need to ...
by Lapo
18 Jan 2020, 17:03
Forum: SFS2X Questions
Topic: Tomcat Error
Replies: 7
Views: 200

Re: Tomcat Error

Hi,
kesereine wrote:The problem still persists even when I install it in fresh folder.

I would recommend downloading the installer again as we've fixed this a few days ago.
https://smartfoxserver.com/download#p=installer

Let us know
by Lapo
17 Jan 2020, 15:12
Forum: Server Side Extension Development
Topic: IZoneManager class not found in com.smartfoxserver.v2.entities.managers package
Replies: 4
Views: 165

Re: IZoneManager class not found in com.smartfoxserver.v2.entities.managers package

Hi, but entities.managers has no class IZoneManager An interface with that name exists under that package. and even Zone Interface and SFSZone class has no method getZoneByName() so how this statement is working As per your own example getZoneByName() is a method of the IZoneManager interface. Cheers
by Lapo
16 Jan 2020, 16:04
Forum: SFS2X Questions
Topic: Proximity Manager really big
Replies: 8
Views: 141

Re: Proximity Manager really big

In order to investigate this we would need to see the server logs: ideally the last 1-2 days before the server was restarted. Also we would need to see you server side code to better understand what you're doing. If you're running a commercial license, you can send us the material by zipping it and ...
by Lapo
16 Jan 2020, 11:20
Forum: SFS2X Questions
Topic: Proximity Manager really big
Replies: 8
Views: 141

Re: Proximity Manager really big

I went back to the top of the original post and noticed this code snippet that you posted. list = mroom.getProximityList(u); if(list!=null) { list.add(u);// I think prox list doesn't include self, and we have coded everything to assume self is included } Can you explain what you're trying to accompl...
by Lapo
16 Jan 2020, 11:14
Forum: SFS2X Questions
Topic: NPC user event
Replies: 2
Views: 23

Re: NPC user event

Hi, Can we send event like real user send event? If your NPCs are managed externally, yes. Otherwise no, not really, because NPCs are server side only. Assuming your NPCs are server-side, instead of sending an event why not calling the NPC logic directly? There is one timer for game start. When it's...

Go to advanced search