My guess is that the TripleA you're running is not the absolute latest, because of the absence of the other messages that would be there if the code were newer. (Before Veqryn's fix, the other mac retrieval methods failed silently, because they were grabbing the wrong portion of the output from getmac.exe, ifconfig.exe, etc.)
So now you have two options: Download the latest TripleA source code and build the project yourself, or wait for U-Boat to build it for you... (Thanks again, U-Boat!) |
Veqryn gave me the latest source code, and that is what I compiled that last post from. (http://www.mediafire.com/?fm9fyxcf0z4ezmt)
Corsair if you want to learn how to compile it, I can help you, but it shouldn't matter who does it. I don't think the problem is with the ANT compiler. |
Administrator
|
hold the phone,
lol the source i gave uboat last fixed ONE of the two problems it turns out there was another problem, which I fixed last night so, give me a little bit and I'll upload the source AGAIN with the fixes for BOTH problems in it (sorry for all of this uboat and corsair... glad you are patient with us)
Please contribute to the TripleA 2013 donation drive:
http://tripleadev.1671093.n2.nabble.com/2013-TripleA-Donation-Drive-tp7583455.html |
Administrator
|
In reply to this post by U-boat
uploaded the source again, to the same location. please delete the previous zip you downloaded, and delete any source files you have, then redownload and try macRelease again.
uboat, can you please do a mac release on this new source zip for me please? even though the version number is the same, some of the actual files are different (fixing some bugs and fixing the error that corsair is having). you may want to delete the old source files first, so that they don't get mixed up http://sourceforge.net/projects/tripleamaps/files/TripleA/prerelease/triplea_1_3_1_0_source_code_only.zip/download Corsair, after he finishes uploading, could you please try out the new version and see if you can connect to the lobby? thanks, veqryn
Please contribute to the TripleA 2013 donation drive:
http://tripleadev.1671093.n2.nabble.com/2013-TripleA-Donation-Drive-tp7583455.html |
Ok, I'll get on it.
|
Proh gress
corsair
|
not what i was hoping for:
new error msg: Your Java is out of date! Your Java is out of date! java.lang.IllegalArgumentException: You have an invalid MAC address! (Or your Java is out of date, Or TripleA simply can't find your mac address) at games.strategy.net.MacFinder.GetHashedMacAddress(MacFinder.java:39) at games.strategy.engine.lobby.client.login.LobbyLogin.login(LobbyLogin.java:82) at games.strategy.engine.lobby.client.login.LobbyLogin.loginToServer(LobbyLogin.java:66) at games.strategy.engine.lobby.client.login.LobbyLogin.login(LobbyLogin.java:57) at games.strategy.engine.framework.startup.ui.MetaSetupPanel.connectToLobby(MetaSetupPanel.java:235) at games.strategy.engine.framework.startup.ui.MetaSetupPanel.access$100(MetaSetupPanel.java:42) at games.strategy.engine.framework.startup.ui.MetaSetupPanel$5.actionPerformed(MetaSetupPanel.java:145) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:5583) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5348) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4050) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3885) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) at java.awt.Container.dispatchEventImpl(Container.java:2054) at java.awt.Window.dispatchEventImpl(Window.java:1791) at java.awt.Component.dispatchEvent(Component.java:3885) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
corsair
|
CORSAIR! GEEZE! Making me work over time on this compile!
![]() Anyways, the whole "java out of date" kinda hints at something, but I just can't put my finger on it. |
Administrator
|
In reply to this post by corsair
ok, that new message is good because it means the mac finder is working correctly now, and is skipping over things that you can't run,
However, it also means that the mac finder is not able to find your mac address so, i don't have a mac, but can you tell me what command you run on the console in order to find your mac address? can you give me the exact command, then also copy and paste the results here (or email them to me if you are privacy concerned) i'll update the mac finder to use these new commands if all the other commands don't work thanks guys, sorry for the pain, veqryn edit: does "ifconfig" need any permissions to run? corsair, can you try running the new version uboat uploaded as root, and see if that works? thx
Please contribute to the TripleA 2013 donation drive:
http://tripleadev.1671093.n2.nabble.com/2013-TripleA-Donation-Drive-tp7583455.html |
Administrator
|
In reply to this post by U-boat
Ok, I added more ways to find the mac address of your computer. Though, corsair, please post what COMMAND LINE method you can use on your computer to get the mac address, and also POST the results of that command (you can simply replace your actual mac address with X's or something if you wish).
Round 4, Veqryn & Wisc: 0 Steve Jobs: 4 Fight! uploaded the source again, to the same location. please delete the previous zip you downloaded, and delete any source files you have, then redownload and try macRelease again. uboat, can you please do a mac release on this new source zip for me please? even though the version number is the same, some of the actual files are different (fixing some bugs and fixing the error that corsair is having). you may want to delete the old source files first, so that they don't get mixed up http://sourceforge.net/projects/tripleamaps/files/TripleA/prerelease/triplea_1_3_1_0_source_code_only.zip/download Corsair, after he finishes uploading, could you please try out the new version and see if you can connect to the lobby? thank you uboat!, veqryn
Please contribute to the TripleA 2013 donation drive:
http://tripleadev.1671093.n2.nabble.com/2013-TripleA-Donation-Drive-tp7583455.html |
Okay, the change looks pretty good, except that adding that zero to the front will ruin any macs that don't have the 0's stripped off: (Also, why not add two?)
if (rawMac != null) { rawMac = "0" + rawMac; //there could be other zeros mid-mac.... rawMac = rawMac.substring(0, Math.min(17, rawMac.length())); //We always limit the mac length to 17, so if you add a zero to one with a full mac, the end of the mac will be cut off... (Which, actually, is OK, sort of, because we don't need the entire mac...) String mac = rawMac.replace(":", "."); if(isMacValid(mac)) return mac; } |
In reply to this post by corsair
Oh, also corsair, did this message pop up, or did you have to open the console yourself?
If the first is what happened, we should update the code so it doesn't pop up messages unless no mac is found, otherwise corsair, for example, will get a message each time he logs on that says "Your Java is out of date!". |
Administrator
|
the message goes to the consol, but will not pop up UNTIL a bigger exception is thrown
the "your mac is invalid message" will cause the consol to pop up the "your java is out of data" will NOT cause the consol to pop up Also, if you look at the code a little closer, I ONLY check for a missing Zero AFTER I check the first mac. so, if the mac is not good, we try adding a zero and seeing if it is good why not 2 zeros? why not 6 zeros? there are potentially up to 11 zeros that we could add, depending. However the only people who need this are running Solaris and SunOS's, and I doubt many server admins are playing TripleA on their server via command line. This is also the reason I didn't bother to make checks for FreeBSD and HPUX (or Haiku, etc.), as those OS's are not going to be used to play triplea. Lets see what corsair's command line is to get his mac address, and what his mac address looks like, before we bother any more on this one. I really think the latest patch will solve the macFinder issue. (Though we still need to solve the java 5 - java 6 problem). thx, veq
Please contribute to the TripleA 2013 donation drive:
http://tripleadev.1671093.n2.nabble.com/2013-TripleA-Donation-Drive-tp7583455.html |
"ifconfig" is the command or "ifconfig en0". Beyond that I am not sure what your asking. You want to know the MAC addresses of my computers?
corsair
|
So exactly what version are we on? And, what do we need to do to get corsair online?
|
In reply to this post by corsair
Corsair, I think what Veqryn was trying to ask is what command you enter when you want to see your MAC address(ifconfig/ifconfig en0) and what is displayed after you enter that command. (of course, with your actual mac addresses replaced with X's or something)
This way, we can see exactly what differs in the output you get that makes it difficult for TripleA to read through it and find your mac address. After seeing why it wasn't working, we then just update the code so it's able to understand the kind of output you get. |
When joining a game from the lobby the following error shows... Game never loads... Able to converse via chat with players from their game lobby.
![]() MAC Error (Version 1.3.1 Downloaded off the Site): java.io.InvalidClassException: games.strategy.triplea.attatchments.UnitAttachment; local class incompatible: stream classdesc serialVersionUID = -7288078621938866183, local class serialVersionUID = 1709290496930936104 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at java.util.HashMap.readObject(HashMap.java:1030) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at java.util.HashMap.readObject(HashMap.java:1029) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at java.util.ArrayList.readObject(ArrayList.java:593) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at java.util.HashMap.readObject(HashMap.java:1029) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at games.strategy.engine.framework.GameDataManager.loadGame(GameDataManager.java:69) at games.strategy.engine.framework.GameDataManager.loadGame(GameDataManager.java:57) at games.strategy.engine.framework.startup.mc.ClientModel.startGameInNewThread(ClientModel.java:357) at games.strategy.engine.framework.startup.mc.ClientModel.access$800(ClientModel.java:64) at games.strategy.engine.framework.startup.mc.ClientModel$4.run(ClientModel.java:330) at java.lang.Thread.run(Thread.java:680) |
ifconfig:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 stf0: flags=0<> mtu 1280 en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether ---------------- media: autoselect status: inactive supported media: autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,hw-loopback> 10baseT/UTP <full-duplex,flow-control> 100baseTX <half-duplex> 100baseTX <full-duplex> 100baseTX <full-duplex,hw-loopback> 100baseTX <full-duplex,flow-control> 1000baseT <full-duplex> 1000baseT <full-duplex,hw-loopback> 1000baseT <full-duplex,flow-control> none en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet6 fe80::219:e3ff:fe06:4857%en1 prefixlen 64 scopeid 0x5 inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 ether ---------------- media: autoselect status: active supported media: autoselect wlt1: flags=41<UP,RUNNING> mtu 1500 fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 2030 lladdr ---------------- media: autoselect <full-duplex> status: inactive supported media: autoselect <full-duplex> en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 inet6 ----------------en2 prefixlen 64 scopeid 0x8 inet ---------------- netmask 0xffffff00 broadcast 10.37.129.255 ether ---------------- media: autoselect status: active supported media: autoselect en3: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 inet6 ---------------- prefixlen 64 scopeid 0x9 inet ---------------- netmask 0xffffff00 broadcast 10.211.55.255 ether ---------------- media: autoselect status: active supported media: autoselect
corsair
|
Administrator
|
Wisconsin and I have taken the time and went back through all the code to make sure TripleA is compatible with the old Java 5. It was a pain, especially for wisconsin and his setting's menu.
Also, i fixed the classes to look for 'ether ', so this means this new version should work for you corsair. I uploaded the source again, to the same location. please delete the previous zip you downloaded, and delete any source files you have, then redownload and try macRelease again. uboat, can you please do a mac release on this new source zip for me please? even though the version number is the same, some of the actual files are different (fixing some bugs and fixing the error that corsair is having). you may want to delete the old source files first, so that they don't get mixed up http://sourceforge.net/projects/tripleamaps/files/TripleA/prerelease/triplea_1_3_1_0_source_code_only.zip/download Corsair, after he finishes uploading, could you please try out the new version and see if you can connect to the lobby? thank you uboat!, veqryn edit: please test this asap corsair, as i really want to release a stable (cus i found another bug, in combat, that is affecting a lot of people, that i have fixed now).
Please contribute to the TripleA 2013 donation drive:
http://tripleadev.1671093.n2.nabble.com/2013-TripleA-Donation-Drive-tp7583455.html |
Free forum by Nabble | Edit this page |