I've done everything according to the FPS tutorial and made myself an extension. When i try to call a function from unity i get this in the logs.
Code: Select all
03:41:44,103 ERROR [com.smartfoxserver.v2.controllers.ExtensionController-1] controllers.ExtensionController -
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: java.lang.NullPointerException
Message: *** Null ***
Description: Error while handling client request in extension: { Ext: SwitchPoker, Type: JAVA, Lev: ROOM, { Zone: SimpleChat }, [ Room: Mircea game, Id: 3, Group: game, isGame: true ] }
Extension Cmd: chip
+--- --- ---+
Stack Trace:
+--- --- ---+
ludis.corePoker.Table.AddChips(Table.java:110)
ludis.corePoker.Table.processUpdateChipCount(Table.java:104)
ludis.handlers.UpdateChipCountHandler.handleClientRequest(UpdateChipCountHandler.java:12)
com.smartfoxserver.v2.extensions.SFSExtension.handleClientRequest(SFSExtension.java:192)
com.smartfoxserver.v2.controllers.ExtensionController.processRequest(ExtensionController.java:137)
com.smartfoxserver.bitswarm.controllers.AbstractController.run(AbstractController.java:96)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
java.lang.Thread.run(Thread.java:680)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
I have no idea what am i doing wrong so please somebody help.