November 23, 2008, 02:06:25 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: You can now show us where you live by placing a pin on the Google map in your profile.
Home
Forum
Chat
links
PLAY NOW!
Help
Search
Calendar
Members
Login
Register
FIBS Board backgammon forum
>
Forum
>
FIBS Client software
>
Other Fibsclients
>
pre-alpha release
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: pre-alpha release (Read 2224 times)
0 Members and 1 Guest are viewing this topic.
burper
Intermediate
Offline
Posts: 836
pre-alpha release
«
on:
May 08, 2004, 05:46:20 PM »
The pre-alpha version of Fibs Companion has been released, along with it's API documentation. There are some known issues, which is why this is pre-alpha, but I don't think it's a long way from being stable. Note that the minimal testing that it has had has only occurred with telnet and javafibs on only Windows ME and Solaris 8.
If you try it and notice anything weird with it, feel free to post it in this thread. Experiences from other platforms especially valuable.
To get the release, go to its' development site:
http://sourceforge.net/projects/fibscompanion
and scroll down to the "Latest File Releases" section, in which you will see the "fibscompanion" package. Click on that and you will see a page that contains both the companion itself, and the api doc as a zip file.
Have fun with it, and let me know what issues you have with the installation and/or running of it, by posting HERE.
Logged
FIBS Board backgammon forum
pre-alpha release
«
on:
May 08, 2004, 05:46:20 PM »
Logged
klic
Gold members
Beginner
Offline
Posts: 67
pre-alpha release
«
Reply #1 on:
May 08, 2004, 07:16:32 PM »
Ok, just started it and connected JavaFIBS via the Companion to FIBS. Will see what happens
BTW, you might to add a script for *nix based machines (I'm running it right now on Linux)
fc.sh:
----vvvvv
#!/bin/sh
java -jar -Djava.security.manager -Djava.security.policy=security.policy ./fibscompanion.jar
----^^^^^^
Which is two lines, really.
Logged
MadMatt
Casual player
Offline
Posts: 266
pre-alpha release
«
Reply #2 on:
May 08, 2004, 07:16:49 PM »
Alright, I played with it a bit, nice start there burper.
A couple of glitches:
1. If you want to get it running on Windows, change the fc.bat file to the following line:
java -jar -Djava.security.manager -Djava.security.policy=security.policy fibscompanion.jar
2. If there is no
logs
folder in the folder you unpacked the companion to, create one yourself. This is a glitch with WinZip and other Windows zip archivers, they ignore empty directories.
3. After you do that, run (double-click) on the fc.bat file and wait for the companion to load.
4. Configure your client to connect to localhost, port 4321 instead of fibs.com 4321. For example, in JavaFIBS, select Server from the Preferences menu and enter
localhost
under host and
4321
under Port.
5. Have your client connect.
6. The only working plugin so far is RepAlert . It shows the reputations of inviting players. To bring it up, right-click (on Windows) on the FIBS Companion graphic and select Connection->RepAlert. There's a minor bug with it that shows a redundant RepBot timeout line after the reputation.
7. The entire thing seems to hang after a couple of minutes. This is possibly due to some Thread dead-lock. (see below)
8. The menu doesn't appear in the right position if you move the Companion window (it still keeps appearing at the Companion window's default position).
«
Last Edit: May 08, 2004, 07:33:59 PM by MadMatt
»
Logged
MadMatt
----------
TourneyBot Website
MadMatt
Casual player
Offline
Posts: 266
pre-alpha release
«
Reply #3 on:
May 08, 2004, 07:18:54 PM »
These exceptions occure after the thing hangs:
java.lang.Error: Interrupted attempt to aquire write lock
at javax.swing.text.AbstractDocument.writeLock(Unknown Source)
at javax.swing.text.AbstractDocument.insertString(Unknown Source)
at javax.swing.text.PlainDocument.insertString(Unknown Source)
at javax.swing.JTextArea.append(Unknown Source)
at net.sf.fibscompanion.Config.log(Config.java:296)
at net.sf.fibscompanion.Config$GUIHandler.publish(Config.java:1765)
at java.util.logging.Logger.log(Unknown Source)
at java.util.logging.Logger.doLog(Unknown Source)
at java.util.logging.Logger.log(Unknown Source)
at java.util.logging.Logger.info(Unknown Source)
at net.sf.fibscompanion.StreamController.run(StreamController.java:130)
java.net.SocketException: Socket operation on nonsocket: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.DataInputStream.read(Unknown Source)
at net.sf.fibscompanion.StreamController$StreamReader.run(StreamController.java:449)
at java.lang.Thread.run(Unknown Source)
java.net.SocketException: Socket operation on nonsocket: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at java.io.PushbackInputStream.read(Unknown Source)
at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at net.sf.fibscompanion.StreamController$StreamReader.run(StreamController.java:457)
at java.lang.Thread.run(Unknown Source)
java.lang.Error: Interrupted attempt to aquire write lock
at javax.swing.text.AbstractDocument.writeLock(Unknown Source)
at javax.swing.text.AbstractDocument.insertString(Unknown Source)
at javax.swing.text.PlainDocument.insertString(Unknown Source)
at javax.swing.JTextArea.append(Unknown Source)
at net.sf.fibscompanion.Config.log(Config.java:296)
at net.sf.fibscompanion.Config$GUIHandler.publish(Config.java:1765)
at java.util.logging.Logger.log(Unknown Source)
at java.util.logging.Logger.doLog(Unknown Source)
at java.util.logging.Logger.log(Unknown Source)
at java.util.logging.Logger.info(Unknown Source)
at net.sf.fibscompanion.StreamController.run(StreamController.java:233)
java.net.SocketException: Socket operation on nonsocket: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at java.io.PushbackInputStream.read(Unknown Source)
at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at net.sf.fibscompanion.StreamController$StreamReader.run(StreamController.java:457)
at java.lang.Thread.run(Unknown Source)
java.net.SocketException: Socket operation on nonsocket: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.DataInputStream.read(Unknown Source)
at net.sf.fibscompanion.StreamController$StreamReader.run(StreamController.java:449)
at java.lang.Thread.run(Unknown Source)
Logged
MadMatt
----------
TourneyBot Website
klic
Gold members
Beginner
Offline
Posts: 67
pre-alpha release
«
Reply #4 on:
May 08, 2004, 07:31:08 PM »
Here it's still running, but when I click on Choose for the logfile location, I get a (abbreviated)
java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
at java.security.AccessControlContext.checkPermissio
n(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at javax.swing.filechooser.FileSystemView.getHomeDir
ectory(Unknown Source)
at javax.swing.plaf.metal.MetalFileChooserUI.install
Components(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserUI.install
UI(Unknown Source)
at javax.swing.plaf.metal.MetalFileChooserUI.install
UI(Unknown Source)
at javax.swing.JComponent.setUI(Unknown Source)
at javax.swing.JFileChooser.updateUI(Unknown Source)
at javax.swing.JFileChooser.setup(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at net.sf.fibscompanion.Config.logDirChoose(Config.java:1461)
Logged
MadMatt
Casual player
Offline
Posts: 266
pre-alpha release
«
Reply #5 on:
May 08, 2004, 07:37:43 PM »
Quote
Here it's still running, but when I click on Choose for the logfile location, I get a (abbreviated)
java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
at java.security.AccessControlContext.checkPermissio
n(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at javax.swing.filechooser.FileSystemView.getHomeDir
ectory(Unknown Source)
at javax.swing.plaf.metal.MetalFileChooserUI.install
Components(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserUI.install
UI(Unknown Source)
at javax.swing.plaf.metal.MetalFileChooserUI.install
UI(Unknown Source)
at javax.swing.JComponent.setUI(Unknown Source)
at javax.swing.JFileChooser.updateUI(Unknown Source)
at javax.swing.JFileChooser.setup(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at net.sf.fibscompanion.Config.logDirChoose(Config.java:1461)
Are you sure you didn't choose a location where you don't have write privileges to?
Logged
MadMatt
----------
TourneyBot Website
burper
Intermediate
Offline
Posts: 836
pre-alpha release
«
Reply #6 on:
May 08, 2004, 07:39:28 PM »
Quote
Ok, just started it and connected JavaFIBS via the Companion to FIBS. Will see what happens
BTW, you might to add a script for *nix based machines (I'm running it right now on Linux)
fc.sh:
----vvvvv
#!/bin/sh
java -jar -Djava.security.manager -Djava.security.policy=security.policy ./fibscompanion.jar
----^^^^^^
Which is two lines, really.
Thanks, done. it will appear in next release
Logged
burper
Intermediate
Offline
Posts: 836
pre-alpha release
«
Reply #7 on:
May 08, 2004, 07:41:02 PM »
Quote
Quote
Here it's still running, but when I click on Choose for the logfile location, I get a (abbreviated)
java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
at java.security.AccessControlContext.checkPermissio
n(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at javax.swing.filechooser.FileSystemView.getHomeDir
ectory(Unknown Source)
at javax.swing.plaf.metal.MetalFileChooserUI.install
Components(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserUI.install
UI(Unknown Source)
at javax.swing.plaf.metal.MetalFileChooserUI.install
UI(Unknown Source)
at javax.swing.JComponent.setUI(Unknown Source)
at javax.swing.JFileChooser.updateUI(Unknown Source)
at javax.swing.JFileChooser.setup(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at net.sf.fibscompanion.Config.logDirChoose(Config.java:1461)
Are you sure you didn't choose a location where you don't have write privileges to?
I think this one is fixed also. some unzippers don't unpack empty directories, like the log dir is. i put a placeholder file in there to get around the problem. Thanks for the report and the compliment Mat!
Logged
klic
Gold members
Beginner
Offline
Posts: 67
pre-alpha release
«
Reply #8 on:
May 08, 2004, 07:45:26 PM »
Quote
Quote
java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
at java.security.AccessControlContext.checkPermissio
n(Unknown Source)
...
Are you sure you didn't choose a location where you don't have write privileges to?
Not in the beginning. But note it says "user.home read", which is my $HOME-dir and definitely readable/writeable by me. I did some further testing, as I noticed it's saying .../log (3 dots). Tried it with ./log and even /tmp, but it always gives me this error. Probably some problem with the security.manager. It does create and fill logfiles, though.
And it is still running, half an hour now.
Logged
Tomawaky
Intermediate
Offline
Gender:
Posts: 701
pre-alpha release
«
Reply #9 on:
May 08, 2004, 11:59:12 PM »
Tested but Introduce many lag for me
Logged
Tomawaky
"I feel good da da da da da da da.........i knew that i would now........."
burper
Intermediate
Offline
Posts: 836
pre-alpha release
«
Reply #10 on:
May 09, 2004, 01:19:55 AM »
It would be helpful if you could include the kind of machine you are running it on Tomawaky. Are there any clues at all why it is so laggy? How laggy is it? What version of java are you running on?
Did it start off okay and get worst over time, or was it slow right away?
Were you using the repalert plugin at all?
«
Last Edit: May 09, 2004, 01:38:56 AM by burper
»
Logged
Tomawaky
Intermediate
Offline
Gender:
Posts: 701
pre-alpha release
«
Reply #11 on:
May 09, 2004, 09:10:34 AM »
W2K SP4
Pentium3
128Mo
Java 1.3.0_02
Clues : I think my PC is at the edge for Java Application which need ressource. Maybe JavaFibs + Companion is too much.
I will try with another client
It's slow right away and have got 3 deconnections yesterday !
Logged
Tomawaky
"I feel good da da da da da da da.........i knew that i would now........."
burper
Intermediate
Offline
Posts: 836
pre-alpha release
«
Reply #12 on:
May 09, 2004, 01:32:54 PM »
You should have got a popup at startup time informing you that 1.4 is required, and then be prevented from starting up. Hmmmm.
Try upgrading to 1.4+ and see what happens.
Another thing I have seen is that the connection loop starts spinning, creating one new bufferedReader after another. Look for repeated occurances of this in the system log.. That would account for lag, but usually doesn't happen right away.
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
FIBSBoard general
-----------------------------
=> Announcements
=> General Chit Chat
=> Pictures & Links
=> Feedback & Questions
-----------------------------
Backgammon
-----------------------------
=> News & events
=> Backgammon
=> Backgammon problems
=> Improving your backgammon skills
=> Using backgammon software
=> Money play
-----------------------------
First Internet Backgammon Server
-----------------------------
=> F.I.B.S. general support
=> Droppers
=> Gathering of Fibsters
-----------------------------
FIBS Client software
-----------------------------
=> 3DFibs
=> CocoaFibs
=> C4 Fibs
=> DelFibs
=> JavaFibs
=> RealFibs
=> Other Fibsclients
-----------------------------
Leagues and tournaments
-----------------------------
=> Fibsleagammon
=> Team Leagues
=> Fibs-O-Nacci
=> Inter-Nation Tournament
=> FIBS postcard tournaments.
=> Other Tournaments
-----------------------------
Bots & other tech stuff
-----------------------------
=> TourneyBot
=> TourneyStatsBot
=> RepBot
=> Other bots & tech stuff.
-----------------------------
Other BG servers
-----------------------------
=> BGroom
=> Gammon Empire
=> Play65
Cheap Electricity
-
Credit Cards
-
Mobile Phones
-
Credit Cards
Terms & Conditions
|
Privacy policy
Loading...