Search found 14 matches

by aakash447
30 Jan 2020, 10:39
Forum: Server Side Extension Development
Topic: how some method are called without object in java and without static
Replies: 2
Views: 7587

Re: how some method are called without object in java and without static

Ya , the method was accessed due to the chain of extends.
Thank You
by aakash447
29 Jan 2020, 12:23
Forum: Server Side Extension Development
Topic: how some method are called without object in java and without static
Replies: 2
Views: 7587

how some method are called without object in java and without static

public class TeenPattiGameThread extends TeenPattiGameLogic implements Runnable { if ((!gameStatus.isGameStarted()) && (gameExtn.getParentRoom().getPlayersList().size() < gameStatus.getMinPlayers())) { --> removeGhostUser(nextGamePlayers, players, spectatorsWithSeat, spectators, waitingList...
by aakash447
24 Jan 2020, 07:50
Forum: Server Side Extension Development
Topic: How can references in java can call it's call methods.
Replies: 1
Views: 6561

How can references in java can call it's call methods.

In tris game example in smart fox server2x. I have seen public class TrisExtension extends SFSExtension { private TrisGameBoard gameBoard; and this reference is even accessing TrisGameBoard method reset void startGame() { if (gameStarted) throw new IllegalStateException("Game is already started...
by aakash447
18 Jan 2020, 10:33
Forum: Server Side Extension Development
Topic: IZoneManager class not found in com.smartfoxserver.v2.entities.managers package
Replies: 4
Views: 9217

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
by aakash447
17 Jan 2020, 10:21
Forum: Server Side Extension Development
Topic: IZoneManager class not found in com.smartfoxserver.v2.entities.managers package
Replies: 4
Views: 9217

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

The statement Zone zoneByName = SmartFoxServer.getInstance().getZoneManager().getZoneByName("firstZone"); is working but when i traced it i saw that method signature of getZoneManager() public com.smartfoxserver.v2.entities.managers.IZoneManager getZoneManager() but entities.managers has n...
by aakash447
16 Jan 2020, 00:33
Forum: SFS2X Questions
Topic: can I Do client side coding in java also ?
Replies: 3
Views: 9115

Re: can I Do client side coding in java also ?

I think platform is Unity , AND I am using SFS2X , and Backend work is in Java
by aakash447
15 Jan 2020, 13:16
Forum: SFS2X Questions
Topic: can I Do client side coding in java also ?
Replies: 3
Views: 9115

can I Do client side coding in java also ?

can it be done in (netbeans,eclipse) or is it that client side coding can be only done in ActionScript.
If it so which ide for action script and will it be done on two computer or two ide one for client side and server side
by aakash447
13 Jan 2020, 04:19
Forum: SFS2X Questions
Topic: Illegal access for handler class
Replies: 2
Views: 8156

Re: Illegal access for handler class

Thank you sir it's working now by applying public
by aakash447
10 Jan 2020, 14:11
Forum: SFS2X Questions
Topic: Illegal access for handler class
Replies: 2
Views: 8156

Illegal access for handler class

package roomcreatepzextension; import com.smartfoxserver.v2.core.SFSEventType; import com.smartfoxserver.v2.extensions.SFSExtension; public class RoomCreatePzExtension extends SFSExtension { @Override public void init() { trace("initialization method started...---------------------------------...
by aakash447
09 Jan 2020, 10:57
Forum: SFS2X Questions
Topic: How is getApi() method is called without any object.
Replies: 1
Views: 7267

How is getApi() method is called without any object.

it's method signature is Protected ISFS getApi()
by aakash447
08 Jan 2020, 10:09
Forum: Server Side Extension Development
Topic: Extension boot error The provided path is not a directory: extensions/MyFirstExtension
Replies: 5
Views: 9973

Re: Extension boot error The provided path is not a directory: extensions/MyFirstExtension

No , my 2 zones have different extension i have said i have removed that extension and now i am using new extensions in my zones but still
first day extension is showing in logs
by aakash447
08 Jan 2020, 09:46
Forum: Server Side Extension Development
Topic: Extension boot error The provided path is not a directory: extensions/MyFirstExtension
Replies: 5
Views: 9973

Re: Extension boot error The provided path is not a directory: extensions/MyFirstExtension

there is no extension named MyFirstExtension
may be it would be my first project . but i have deleted that project 4 to 5 days ago.

I have deleted all the folders under extension in sfs but it still show MyFirstExtension
by aakash447
08 Jan 2020, 07:43
Forum: Server Side Extension Development
Topic: Extension boot error The provided path is not a directory: extensions/MyFirstExtension
Replies: 5
Views: 9973

Extension boot error The provided path is not a directory: extensions/MyFirstExtension

There is no MyFirstExtension folder in extension in sfs2x but its still showing that Exception: com.smartfoxserver.v2.exceptions.SFSException Message: Extension creation failure: MyFirstExtension - Extension boot error. The provided path is not a directory: extensions/MyFirstExtension Description: T...

Go to advanced search