I've followed the tutorial step by step, but it doesn't works...
I've wrote a simple empty module implementing required interface, saved it in '\union\modules\net\user1\union\example\roommodule' as java.
Then i've tried to add module from flash client:
- Code: Select all
readyModule.addModule('net.user1.union.example.roommodule.RoomReadyModule', ModuleType.CLASS);
but.. When I'm sending module as parameter to createRoom() - creation of a room fails...
And when, I change module indtifier to any other script from "roommodule" folder - it works.
Even if scripts inside the files are identical.
I thought that modules must be listed in union.xml - but there are no any modules from '\union\modules\net\user1\union\example\roommodule'.
I mean the modules list is totaly empty... and it is a list of server modules - not the thing I'm searching.. Am I right?
In log.txt:
java.lang.ClassNotFoundException: net.user1.union.example.roommodule.RoomReadyModule
What am I doing wrong? Please help...
PS: sorry for my english.