Wednesday, January 27, 2010

On Mars, orange juice and quantum mechanics (again).

Hey Folks,

It's been a while since we've talked about anything other than finding bugs and new versions, so here goes what I would say is my first post of 2010.

Life as a Borg-Daddy is good, baby Borg is growing steadily fast. Maybe he will soon replace me on MyProxy's development.

I have recently joined the Blue Mars development initiative, but got a bit disappointed I must say.
Even though I've always liked the game Crysis, and did create some maps on the Crytek Sandbox for my own enjoyment, I don't think it is going to be a viable solution for an online meeting place like Second Life.
Visually is amazing, and I think Crytek has one of the best game engines so far. Dazzling playable graphics, but they lack dynamic content download, so if you want to visit a place (city), you must download the entire place first, meaning that, if someone creates a new building on that place, you will have to download the entire place again, which may be a 90 to 400 MB download.
Also, all the avatars look almost the same. All the guys look like the dude from High School Musical, lol. No way I will be wandering around looking like him.
So, I think it is not even closer yet to what we would expect.
If you guys are thinking about giving it a try, I would say, just save your bandwidth for something else. Maybe in two years from now, if they manage to survive.

Recently I've started using a new viewer, called Orange Thirsty. It is released by a group of people (I believe) called the "Orange Thirsty Pioneers", who kindly provided with a copy to test out and play with.
I would use their own words to describe it: "Thirsty is a sort of 'unlocked' Emerald with some additional features and improvements, nothing more, nothing less"; I loved this description, especially the "nothing more, nothing less" part, which clearly states that this is a simple, effective, no-nonsense viewer. Don't expect any fancy crazy features on this one. It is though a good replacement for the regular Emerald, and I plan to be using it from now on. Especially because it works fine with MyProxy.
I don't know what is their idea for distributing the viewer, but please visit their blog and support their project, I promise it is worth the effort.

Hope you're all enjoying your RLs as happily as you're enjoing your SLs, don't let it turn the way around, there's a beautiful world out there.

Cheers,
The Borg.

PS.: leaving quantum mechanics to some other post (again)

19 comments:

  1. Hey great piece of software and does exactly what you say it does (makes a change :) ).

    Only thing is I cant get a single Animation command to do anything - play an anim by uuid, download one (just says requesting asset) or do anything if I load and start the AO. - I am being thick? - in any case - many thanks for your great work :)

    ReplyDelete
  2. Hi Paul,

    I have noticed that some people is having problems with animations. Especially if they're running out of a slow connection.
    I have added the danger.ao set of overrides to the distribution as a test.
    They're girl animations however, sorry.
    But if you want to run the test you can do like this:

    1 - Go to an empty land. Choose some land to sell or rent, so it will have no prims or anything on it.
    2 - Crank your graphics settings all the way down, and set your drawing distance to 24m.
    3 - Remove ALL your attachments, especially anyting that would be consuming CPU by running a script.
    4 - Load the danger.ao file with the command: /override load danger.ao
    5 - Start the embedded AO module with the command: /ao start

    You avatar should start playing the AO within a couple seconds.

    If it works, then you can try downloading things from that place.
    Remember, if you download animations, images or sounds, you will not be able to upload them again to SecondLife, as LL requires you to pay for that upload.

    Give it a try and let me know how it goes.

    Cheers,
    The Borg.

    ReplyDelete
  3. Tried it before but re-tried following your instructions word for word - it SAYS..
    /override load danger.ao
    4 overrides read from danger.ao.
    /ao start
    AO has been activated.
    ...but nothing happens even after 5 minutes.
    I just have an anim I made that I want to try on OS - BVH file was lost in a crash.

    Regards!

    ReplyDelete
  4. Hi I run into troubles. I used the offical emerald to use ur proxy with one of my avatars. and now I can not use the proxy with another viewer neither with another avi.
    How can I solve this?

    ReplyDelete
  5. Hi Paul,
    You should be able to te-upload the anims you download from SL into OS.
    Just notice that the downloaded animation is not a BVH file, but the internal SL binary format.
    People have reported success on loading an animation on OS.
    Animations, imagens and sound though cannot be loaded on SL, as they must be paid for to upload.

    Cheers,
    The Borg.

    ReplyDelete
  6. Hi Diana,

    Unfortunately there is no way for me to help you without a clear description of the problem.
    I need to know exactly what you're trying to do, step by step, and what kind of error or behavior you are experiencing as a result.
    Other than that I won't have a clue of what is going on.
    Steps to reproduce is the key for me to help.
    Please check also the older posts of the blog as there are a lot of cases that have been solved, maybe you're running into one of them.

    Cheers,
    The Borg.

    ReplyDelete
  7. Hi Mockba
    There is no error I could post, the viewer just not using the Proxy if I use another Avatar name or another viewer.
    Let me try to describe it this way.
    All viewers I have, work fine standalone with all my avis.


    Second Life Open Source [Emerald Viewer] 1.23.5.1101
    In this viewer is now the 127.0.0.1 in the Grid Box + it works fine. thx
    with just one avi name. If I try it with another avi name, nothing happens
    just no connect - no login.

    If I put the proxy-URL to one of the followed viewers nothing happens.
    No error nothing. Just no connect to the proxy.
    Neillife 2.2 / 1.23.4 (439)
    Imprudence 1.2.1/ SL 1.22.11 (0)

    I have a 6 MBit DSL on a DualCore 2,5 GHz with 3327 MB RAM. Using a NVIDIA 8500 GT (512 MB) with OpenGL 2.1.2.
    Diana

    ReplyDelete
  8. Hi Diana,

    Try tris:
    Remove any extra command parameter you may have added to the viewer's shortcut (Emerald). Then open the viewer and press "Ctrl-Shift-G".
    A small text field will appear to the right of the "Login" button, usually with the word "Agni" on it.
    Just replace that word with "127.0.0.1:8080" (all without the "'s) and it should work.
    If it still refuses to connect to the proxy, please do this:

    1 - Check if there is still another hidden (broken) copy of MyProxy running. Close it, forcefully if necessary.

    2 - Open the command line and run the command "netstat -an". There will be some "listening" entries, if you see the number 8080 on any of them, then there's another application using the same port. Just find waht it is and close it.

    From the previous posts you will see many tips about reducing graphics and drawing distance, which should improve MyProxy capacity of importing stuff.

    Hope it helps,
    The Borg.

    ReplyDelete
  9. hi mockba
    just gave it a try.
    netstat -an
    only watched after (127.0.0.1)
    ports
    lokal / remote
    1027 / 50300
    1160 / 0
    1161 / 1161
    1162 / 1163
    1163 / 1162
    1660 / 1659
    1671 / 1670
    8080 / 0
    10501 / 1699
    50300 / 1027
    123 / *
    1191 / *

    while proxy on with no viewer started

    ReplyDelete
  10. okay works all fine now
    thx...but not with the offical emerald viewer. thx for the hint just to overwrite.

    ReplyDelete
  11. Have fun!

    Hope you enjoy it.

    Cheers,
    The Borg.

    ReplyDelete
  12. Me again!
    Installed 2.18 and sl client on a new pc. logged in looking like a noob and went to a linden sea sim. did the anim download said requesting anim and nothing happened. did override load and ao on and said ok - nothing. everything else works.
    Any ideas?
    Paul

    ReplyDelete
  13. Hi Paul,

    Now you got me scratching my head.
    This should have worked for you... it works for me here all the time, and in fact I've been trying to break it without success.
    I will run some more tests tonight and see if I can come up with something. Maybe a debug version that would allow you to collect some data for me troubleshoot.

    In the meantime, when you say "everything else works", what exactly works? everything? are you able to /save and /load stuff, like shapes and skins? Please share your experience ...

    Cheers,
    The Borg.

    ReplyDelete
  14. Hi Paul,

    I just ran the following test using the regular emerald viewer:

    1. Teleported to Magdala 59/45/2 using a zeroed (no attachments or anything) avatar.
    2. Went to Advanced->Rendering->Info Displays and selected Avatar-Rendering-Cost to make sure my avatar had a rendering cost of 1.
    3. Went to Edit->Preferences->Graphics and made sure everything was minimum.
    4. Went to Edit->Preferences->Network and made sure Maximum-Bandwidth was at 8000.
    5. Executed the download of an animation and played it also. Follows the output of the console:

    /download animation b3bf85a1-7d6b-e6c4-ae04-3e7a5db8f88e test.anim
    Asset requested.
    Transfer accepted.
    ...............
    Asset downloaded.
    Saving Asset file...
    Done.

    /anim b3bf85a1-7d6b-e6c4-ae04-3e7a5db8f88e start
    Anim b3bf85a1-7d6b-e6c4-ae04-3e7a5db8f88e, True.
    /anim b3bf85a1-7d6b-e6c4-ae04-3e7a5db8f88e stop
    Anim b3bf85a1-7d6b-e6c4-ae04-3e7a5db8f88e, False.

    My result is that I've got the file, and also saw my avatar play the animation, then stop it.
    Please try the exact same.
    You should have the same results, otherwise there is some other factor that we still haven't found that can be causing the issue.
    It can be something like internet slowness (remember, MyProxy can't retransmit packets), loss of sync between the viewer and the server (this happens inside LibOpenMetaverse code, I can't fix it) or some other factor that causes the packet transmission to fail.
    I hope we will stumble upon this "unknown factor" sooner or later, and then have it fixed.

    Please keep researching too.

    Cheers,
    The Borg.

    ReplyDelete
  15. Success and some info....
    I logged in noobly (I had arc of 1 anyway) and did your download line for the hell of it! ... and it worked :) - Tried my anim - nothing. Went back to yours - nothing. Tried a fp one I had - nothing. Then remembered that someone flew over not long after a I rezzed. logged out and shut down proxy and then went somewhere else. (just as I did before) - all went fine and downloaded again and again. My take on this is that once that download queue gets hit it stalls no matter what you do after that so restart all is essential. Was using 2.18 and std sl client. Hope this info helps :) and.... THANK YOU :)

    ReplyDelete
  16. Yes Paul ... I think you're right.
    I have been suspecting of the packet number tracking code for a while now.
    The thing is: as we are a proxy, the viewer talks to us, and we talk to the server ... so the (LibOpenMV's) code must keep track of the packets exchanged with the viewer, and the packets exchanged with the server.
    If you don't inject any packet into the stream, then the correlation is 1:1, one to one, which means that if you got 20 packets from the viewer, you sent 20 packets to the server and vice-versa.
    The thing is, when you inject packets to cause a download to happen, for example, you are sending to the server packets that were not sent by the viewer, and receiving from the server (and intercepting) packets that the viewer will never see.
    This creates a difference (a delta) on the amount (and numbering) of packets seen/sent by each side.
    The LibOpenMV code on which MyProxy is based (presumably) takes good care of dealing with this delta, but I think that is a packet get loose, that's it, the queue gets out of sync and hell breaks loose.
    Bad news is that it happens inside the LibOpenMV's code, so I can't fix it.
    That's why I always recommend that people do all their "shopping" after a clean reload, and after minimizing the chances that something will cause a packet loss and disrupt the queue.
    I think it works fine for me just because I have a fast connection and I follow those steps naturally, withou even thinking about it.
    I hope it works fine for you most often now.

    Cheers,
    The Borg.

    ReplyDelete
  17. Hi...
    me wondering how I do download animations anyway. What means when I get an error like "Transfer rejected. Error: -2".
    And how do I upload anis thru the proxy I saved before?
    many questions...and I still try ;)
    but Magdala is nice...;)))))

    ReplyDelete
  18. Hi Diana,

    You are asking on the right post.
    Please look a few comments up where I showed Paul about a test I did.
    You can do the same test I did and it should work for you too.
    You must keep in mind that:
    1 - MyProxy downloads the animation based on its UUID, not its name, so you must know the UUID of the animation you want.
    2 - The downloaded animation asset is on SL internal format, not BVH format, so you cannot open that animation for editing.
    3 - To upload back an animation you have to pay L$10 to LLabs, so you cannot upload it back from MyProxy, the grid server will not let you do that.

    So right now, downloading of animations is only useful if you want to transfer that exact animation to some free grid like OpenSim.

    Transfer rejected error usually means that you have requested an asset (animation on this case) that doesn't exist. Please check the UUID syntax to make sure that it matches the animation you want to download.

    When you get some error, try cutting and pasting here the output from the console showing the command you sent and the error you got. That will help me find out what the issue may be.

    Cheers,
    The Borg.

    ReplyDelete
  19. Hi Mockba,

    Just a suggestion: maybe what you're looking for can be found here /indra/llcharacter/llbvhloader.cpp and http://wiki.secondlife.com/wiki/Internal_Animation_Format.

    Orange Thirsty Pioneers

    ReplyDelete