[Linux Lobby] AFLobby Beta 3.9.7 - Page 20

[Linux Lobby] AFLobby Beta 3.9.7

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

owned that is an svn build? Using the very latest unitsync source?

Could someone see about compiling it again or checking owneds version exports correctly?
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post by own3d »

SVN from yesterday about 12pm I believe. Did you want a tagged release?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

nah, tho I remember somebody had a similair issue and found thye were forgetting something small, cant remember exactly what but it was in this thread somewhere.
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post by own3d »

I think I may have found it by pure chance, the unitsync.so in the trunk/game/ directory is different to the trunk/omni directory. I hosted the one from the omni directory since that was the one which was used for unity lobby. Here is the unitsync from trunk/game
http://www.ashu39.dsl.pipex.com/unitsync_new.tar.gz
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Nope, this doesn't work either:

Code: Select all

Exception in thread "Timer-4" java.lang.UnsatisfiedLinkError: aflobby.CUnitSyncJNIBindings.Init(ZI)I
        at aflobby.CUnitSyncJNIBindings.Init(Native Method)
        at aflobby.CSync.Setup(CSync.java:76)
        at aflobby.LoginTask.run(JLoginPanel.java:20)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post by own3d »

I dont understand I even saw messages relating to java in compile, I am pritty sure I have the Java SDK and all spring's dependencies.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I've fixed the issue wiht images and url -> hyperlink.

Meltrax provided me with a regex to fix images but it broke urls and we were somewhat stuck. Then a while later I realized all I had todo was t = t.replaceAll ("=\">","=\""); and now it works perfectly.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

http://spring.clan-sy.com/phpbb/viewtop ... 301#170301

look at the posts following that. It might help with the java unitsync issue your having owned with compilation.
Sylfurd
Posts: 6
Joined: 05 Feb 2007, 01:50

Post by Sylfurd »

Hi, I've got some issues and would like anyone's help :)

I'm runnong AFlobby on Ubuntu and it seems that I've missed somethings !
When I'm trying to host a game, I only have NanoBlob in the mods list, it detects no IA, and I have no pictures of the maps !

Do anyone know what is my problem ?

Thanks a lot for any help :)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Ah, I havent implemented I support although I have attempted to mess around with unitsync in order to list AIs.

As for minimaps, there isnt a minimap viewer for the battlewindow it only shows the minimap of the current map. Once beta 1 is released which is really how long it takes for someone to get a working build of svn java unitsync plus a day, I'll work on beta 2.

For beta 2 I plan

Starting box editing
chat highlighting
some internal changes
AI support
basic spring settings panel

Hopefully the release cycle for beta 2 should be much shorter especially since theres no need for unitsync changes after this change.

As for nanoblobz only, I assume you took the GPL content? XTA/BA etc is nonGPL.
Sylfurd
Posts: 6
Joined: 05 Feb 2007, 01:50

Post by Sylfurd »

Thanx a lot for these answers :-)

I'm now can't wait the beta 2 :P

And you're right for the mods :-)
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

Once beta 1 is released which is really how long it takes for someone to get a working build of svn java unitsync plus a day, I'll work on beta 2.
Why don´t you do it?
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post by own3d »

TBH I have no idea how I am supposed to link libraries with scons recompiling the whole svn didnt seem to help, I have sun java 6 sdk, jre and all of spring's dependencies. Kloot how did you manage it?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I've never compiled hello world under linux, nevermind spring or unitsync.

Of my two linux machines one has a wifi pci card it doesnt support and a 300 watt PSU that needs upgrading badly, and the others a 400Mhz laptop.
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

I can try to compile it under Linux, but I need to know where the source is???
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

spring svn
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

I download the svn from here: https://taspring.clan-sy.com/svn/spring/trunk/
Than scons configure, scons make , all done. I have only one unitsync.so file. Is this the right one?

Edit:
This could be the problem:
Checking for Java... not found
Guessing Java include path... /usr/include/java
But I have installed Java.
I will fix it.

Edit02:
Checked Java:
Installed: 1.5 and sdk
Do I need Java 1.6?
Last edited by Agon on 05 Jun 2007, 17:21, edited 1 time in total.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

The JDK != JRE

You need the java development kit v1.6 from sun.
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

Okay will install it.
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Well as far as I can see, nothing much here.

Code: Select all

[Loaded aflobby.JChannelView$42 from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.JChannelView$44 from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.JPlayer from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.JChannelView$40 from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.CBattleInfo from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.JChannelView$41 from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.CBattleWindow from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.CBattleTask from file:/usr/share/games/spring/aflobby.jar]
[Loaded javax.swing.JColorChooser from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded aflobby.CBattleTableModel$battle_comp from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.JChannelView$36 from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.CUserCommandHandler$1 from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.LMain$RViewTask from file:/usr/share/games/spring/aflobby.jar]
[Loaded sun.java2d.loops.GraphicsPrimitive$GeneralBinaryOp from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded sun.java2d.loops.MaskBlit$General from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
f:/j league, ca, unknown
[Loaded aflobby.CChannel from file:/usr/share/games/spring/aflobby.jar]
[Loaded javax.swing.DebugGraphics from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded javax.swing.DebugGraphicsInfo from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded aflobby.CChannel$6 from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.CChannel$7 from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.CChannel$ComboBoxRenderer from file:/usr/share/games/spring/aflobby.jar]
[Loaded java.awt.image.ImageFilter from shared objects file]
[Loaded java.awt.image.ReplicateScaleFilter from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded java.awt.image.FilteredImageSource from shared objects file]
[Loaded sun.awt.image.ImageDecoder$1 from shared objects file]
[Loaded aflobby.CChannel$8 from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.CChannel$9 from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.CChannel$10 from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.CChannel$11 from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.CChannel$12 from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.CChannel$13 from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.CChannel$14 from file:/usr/share/games/spring/aflobby.jar]
[Loaded aflobby.JChannelView$35 from file:/usr/share/games/spring/aflobby.jar]
Post Reply

Return to “Linux”