viewtopic.php?t=4790;
but I got no answer and I really need to resolve the problem, so I'm posting it as a new topic .
I'm using version 1.6.5, and I'm trying to join a Room using this code
trace("9:112 "+zone+" "+ _global.myName)
this.joinRoom("GameLobby", "")
I get
9:112 h2db MARIANA
SmartFoxError: requested room to join does not exist!
The room is properly (I think) defined in the config file, here's the zone definition:
- <Zone name="h2db" customLogin="true">
<AutoReloadExtensions>true</AutoReloadExtensions>
- <Rooms>
<Room name="GameLobby" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" />
</Rooms>
- <DatabaseManager active="true">
<Driver>org.h2.Driver</Driver>
<ConnectionString>jdbc:h2:tcp://localhost:9009/mandagames</ConnectionString>
<UserName>sa</UserName>
<Password />
- <TestSQL>
- <![CDATA[ SELECT COUNT(*) FROM users
]]>
</TestSQL>
<MaxActive>10</MaxActive>
<MaxIdle>10</MaxIdle>
<OnExhaustedPool>fail</OnExhaustedPool>
<BlockTime>5000</BlockTime>
</DatabaseManager>
- <Extensions>
<extension name="mandaLogin" className="mandaLogin.as" type="script" />
</Extensions>
</Zone>
Do you have any idea what I am doing wrong?
Thank you
Mariana