Hi,
This new extension system is really great!
But I have a little problem with it.
I made an extension that makes it keeps track of users (who they challenged for a game of chess,who canceled a challenge, who maybe left the game already, and so on).
The problem is, it doesn't work on a Linux server, I created the ext.as file under winXP, and it was working great on smartfox for winXP.
I have added this to the config.xml
<Zone name="CHESS">
<Rooms>
<Room name="lobby" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" />
<Room name="garden" maxUsers="50" isPrivate="false" isTemp="false" />
</Rooms>
<Extensions>
<extension name="challList" className="challList.as" type="script" />
</Extensions>
</Zone>
And the extension also show up in the adminTool.swf
Is this due to the fact that windows writes ext.as files in a way the linux-smartfox server doesn't understand, or is there something else going on I don't know about?
Paco
AS extension works under WINXP, not under LINUX
Problem fixed
I got it working now,
I opened the uploaded ext.as file with the winscp text editor and re-saved it.
I qeuss my windows actionscript (SePY) editor writes its files in an un-reconizeble way for linux
I'll be releasing my chess-demo game in 2006, I'll post a new message whenn i'm finished
I opened the uploaded ext.as file with the winscp text editor and re-saved it.
I qeuss my windows actionscript (SePY) editor writes its files in an un-reconizeble way for linux
I'll be releasing my chess-demo game in 2006, I'll post a new message whenn i'm finished
Hi paco,
yep maybe the problem was with the text format or encoding.
For example if you save using UTF-8 some editors (SePY is one) will ad the so called "BOM" at the very beginning.
You can read more about this here >> http://en.wikipedia.org/wiki/Byte_Order_Mark
The BOM is not recognized by the extension parser, so it's better to avoid it.
Great! Let us know when it's ready
yep maybe the problem was with the text format or encoding.
For example if you save using UTF-8 some editors (SePY is one) will ad the so called "BOM" at the very beginning.
You can read more about this here >> http://en.wikipedia.org/wiki/Byte_Order_Mark
The BOM is not recognized by the extension parser, so it's better to avoid it.
I'll be releasing my chess-demo game in 2006, I'll post a new message whenn i'm finished
Great! Let us know when it's ready
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 52 guests