Deploying room module problem

All Union Platform questions, comments, feature requests, and bug reports.

Deploying room module problem

Postby Pall » Sun 28 Sep 2014 07:21

Hi, I have some trouble with adding room module to my server.
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.
Pall
 
Posts: 1
Joined: Sun 28 Sep 2014 06:40

Return to Union Platform

Online

Users browsing this forum: No registered users and 9 guests