Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

TLTP is working :)

Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
02-08-2006 01:22
notecard name "a"
CODE

T/-99
cWelcome to Fairland InWorld Information Server !
T/0/ /8401F/0.8/<.1,.1,-0.1>/<.9,.9,.0>
T/1/U!home/8421F/9d65115e-0cb7-75e8-d738-4c32355969df/1.0/<.2,.77,.0>/<.8,.88,.1>
T/2/ /8601F/<0,0,0>/1.0/<.1,.7475,.0>/<.9,.7525,.1>
U/home


notecard name "home"
CODE

T/3/U!test/6421F/a9e75d84-5073-9cb7-10a9-1ca68ef5c7ba/1.0/<.064,.064,.01>/<.22,.64,.2>
T/4/ /186401F/0.0/<.01,.01,.01>/<.5,.6,.25>/Click for the test page./<0,0,0>/1.0
1/5/U!TLTP Browser v0.3/6421F/0f0780a0-89c4-742a-ef28-26405a41cf85/1.0/<.064,.064,.01>/<.22,.44,.2>
1/6/ /186401F/0.0/<.01,.01,.01>/<.5,.4,.25>/Click for the latest TLTP Browser./<0,0,0>/1.0


notecard name "test"
remove the dash to enable the line.
CODE

-l/somesound/1.0
T/3/ /28021F/53a2f406-4895-1d13-d541-d2e3b86bc19c/<.2,.3,.1>/<.8,.7,.1>/3/2/4/0/0/8
D/4/6
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
02-08-2006 02:16
ToDo List:
  1. Write a lightweight script engine
    1. Issues:
      1. handling LL functions eats alot of memory
      2. memory
      3. speed


  2. Figure out interface and write code for handling and taking controls (keys)
    1. framework for this is already been done all thats left is to figure out how the interface works.
    2. i was thinking having URLs setup so that they could listen for specific events, like a key being pressed down or up or being held down.

  3. test permissions script
  4. test XyTextMod
  5. write better documentation
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
02-08-2006 02:27
Great work, Strife ! I like the new browser code, much cleaner :)

... but the permissions handler you posted is a copy of the browser itself ? The TLML page is borked ?
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
02-08-2006 02:28
Must have hit "F5" on the wrong scite window.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
02-08-2006 03:57
0.11, 0.41 and 0.51 are all bug fix releases. Recycling wasn't as important as i first thought considering most attributes already can be easily defaulted.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Zodiakos Absolute
With a a dash of lemon.
Join date: 6 Jun 2005
Posts: 282
02-08-2006 14:11
After having the pleasure to test this out a bit, I can honestly say that this is a huge deal. The possible uses for this already are quite staggering. I'm just trying to figure out what I should do first with it!
Lallander Parvenu
Registered User
Join date: 21 Apr 2005
Posts: 45
02-08-2006 19:22
Im just trying to figure out how to make pages for it :P

How the heck do you get prim type working?

And has anyone else been able to get sound working from it? While attached to the hud?
Zodiakos Absolute
With a a dash of lemon.
Join date: 6 Jun 2005
Posts: 282
02-09-2006 06:31
Does anyone have an example font texture that would work with the XyMod commands? Or an example of how they would work?
Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
02-09-2006 16:43
How do you build the browser?

I set up one with a bunch of cubes with the renderer script in them. While I tested it while not attached to hud, it grabbed the cubes and rejigged them to make the fairland page, but when I attached it, it didn't look right at all :( The backgrounds didn't even show up :(
Upshaw Underhill
Techno-Hobbit
Join date: 13 Mar 2003
Posts: 293
02-09-2006 22:23
This is awesome work Jesrad, et al... however, I'm currently browsing the forums on Callum Linden's Gecko on a Prim renderer uBrowser ... which... erm... renders this into the "Mostly Harmless" category... doesn't it?

L8r,
UU
P.S. Be sure to choose Type: Flag and turn it around... mirror image webpages... whoa.
.ni epyt nac uoy tahT
_____________________
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
02-10-2006 01:13
From: Yumi Murakami
How do you build the browser?

I set up one with a bunch of cubes with the renderer script in them. While I tested it while not attached to hud, it grabbed the cubes and rejigged them to make the fairland page, but when I attached it, it didn't look right at all :( The backgrounds didn't even show up :(

You did everything correctly, but the browser object will probably have to be rotated and moved on your HUD so the prims show the right way ;) I put my own on the lower left corner of the screen, rotated at (Euler, degrees)<0, 90, 90>.

[Edit]
UU, can your browser receive a whole SL build inworld, complete wih the scripts inside ? ;) TLTP isn't meant to be HTML-on-a-prim, it solves slightly different problems (and it's entirely inside SL).
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
Zodiakos Absolute
With a a dash of lemon.
Join date: 6 Jun 2005
Posts: 282
02-10-2006 07:54
From what I've seen, TLTP and uBrowser solve completely different problems (and could even be technically combined later on). There are no external controls for making avatars play animations, or sound, or receive objects, or a host of other things. In fact, the ONLY real external control right now is showing a location on the map (which you can then teleport to, although that requires an extra, internal click). TLTP solves most of these problems. In the future, I assume that when/if uBrowser is implemented as HTML on a prim, that will be turned into a valid TLML command (and make TLTP a whole lot spiffier).
Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
02-10-2006 08:58
Any chance of making this full 3D too?

It would just be such fun to have a TLTP server in the middle of a town square. If you want a new house, just connect your house's TLTP client to the server and have it download a new one. :)

Also, it would be nice if the user could "trust" a server, after which the server could initiate connections directly rather than just asking the user if they want to connect. That way, you could sit in your TLTP vehicle and have the interface come right up, rather than having to connect to it as well.
Zodiakos Absolute
With a a dash of lemon.
Join date: 6 Jun 2005
Posts: 282
02-10-2006 11:15
From: Yumi Murakami
Any chance of making this full 3D too?

It would just be such fun to have a TLTP server in the middle of a town square. If you want a new house, just connect your house's TLTP client to the server and have it download a new one. :)

Also, it would be nice if the user could "trust" a server, after which the server could initiate connections directly rather than just asking the user if they want to connect. That way, you could sit in your TLTP vehicle and have the interface come right up, rather than having to connect to it as well.


You can already make it 3D if you want, from what I've seen. I didn't even think of that use for it, but if you had the heart to type out all those commands by hand (or use a script to report locations and sizes, and enter those into a notecard formated as TLML commands), it should work like you want.

The protocols for TLTP and TLML are open-source and available on the wiki at www.secondlife.com/badgeo/. There's nothing preventing anyone from making a completely different browser and/or server for doing these types of things, although one should probably follow the specifications as closely as possible. It would totally be possible to make a special TLTP browser that specifically logged into your car's server. There's already a specification for adding 'extentions', I think, on the wiki.

The only problem at the moment is that the example sources are not TOTALLY complete, because the project is kinda in a state of flux as the creators implement all the parts and come up with new ideas. So I wouldn't go creating custom servers and stuff yet.
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
02-10-2006 13:20
From: Yumi Murakami
Any chance of making this full 3D too?

It's 3D already :) Strife even put support for prim torture in TLML ! Basically, you could turn the browser into virtually any SL object, remotely, using a TLML description of the object. With some little additional work and browser plugin it can also send over the scripts in the correct places.
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
02-10-2006 18:15
The Lists with ETA
  1. Bugs
    1. 0.5x - XyMod is broken, it's on the list to be fixed it's a high priority

  2. Mini Projects
    1. 0.5x - Example plugin, color selector control

  3. Features to come
    1. 0.6 - Trusted sources
    2. 0.6 - Dragging
    3. 1.x - Mini Script VM
    4. 1.0 - Windows
    5. 1.0 - Instances

_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
02-11-2006 15:01
I'm posting a script that generates TLML code for the prims of a build on the Wiki, making pages will be much easier now ;)
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
Lallander Parvenu
Registered User
Join date: 21 Apr 2005
Posts: 45
02-11-2006 19:56
Coolness, I'm going to go play with this right now. :)

Edit: Very spiffy, but it isnt possible for it to generate location is it? Or do you just do that with a linkset? Either way, being able to get the rest of the info automatically will save me ages upon ages of time.

Update: It seems to work fine if you build the page completely, then use edit linked part to put the script into each prim. I tried making a sphere about .5 meters above the root prim and it failed to rez. Is there something wrong with the way this script generates the hex code? Oh and also are | and / interchangeable? The script outputs everything seperated by |

And lastly for reference here is the code it generated for the sphere.

T/2/ /4301007/0/<0.50000, 0.50000, 0.50000>/<0.00000, 0.00000, 1.00000>/3/0/<0.000000, 1.000000, 0.000000>/0.000000/<0.000000, 0.000000, 0.000000>/<0.000000, 1.000000, 0.000000>
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
02-11-2006 21:49
I'm currently working to totaly revamp the "TLML Exporter" there are a number of errors in it that i'm fixing, one of them being the hex is wrong.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Lallander Parvenu
Registered User
Join date: 21 Apr 2005
Posts: 45
02-12-2006 07:14
I have a feeling that this is what will make the TLTP, TLML system really take off.

Just tried it out and here's the new code it generated.

T|2|url|506420F|5748decc-f629-461c-9a36-a35a221fe21f|1|<.5,.5,.5>|<0,0,1>|<1,1,1>|1|3||<0,1,0>|||<0,1,0>

Seems odd to have a UUID in there, should just be a plain white sphere, but its working now. Yay

Edit: I have found one problem so far, it doesnt seem to handle prims with multiple textures correctly. Instead of just producing one line it is producing 2 and causing errors.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
02-12-2006 15:30
I haven't had any problems with multi textured prims. You will find version 0.11 on the wiki. It *should* work without any flaws.

The script produces multiple lines when it cannot keep all the data on one. both chat and notecards are limited to 255 characters per line.

If you could send me a full perm prim that gives you problems it would help in tracing the problem down.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Lallander Parvenu
Registered User
Join date: 21 Apr 2005
Posts: 45
02-12-2006 18:05
No need, the latest version fixed whatever was going wrong.

I'll keep you all posted if I find anything not working right.
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
02-14-2006 02:23
We're about to rework TLML entirely in v0.6. I suggest waiting for this release before starting to make servers ;) It should take a couple days.
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
02-14-2006 04:28
The main goal of 0.6 is to cleanup the masking system. While hunting down a what i thought was a script bug i came across a weakness in the masking system that hadn't been crossed my mind during the early development phase. Different prim shapes have different numbers of faces. When a prim is converted from shape to another the faces don't alway map the way we expect. The design flaw: BITprim_type*'s are at the far end of the bit mask, next to last to be executed, but they determine how many prim faces. 0.6 corrects this and the issue of running out of bits.

The solution won't effect the code base too drastically, it will just result in some rearranging of commands. The only scripts that will be effected are TLML Rendering & TLML Generation (it was the generation script that pointed this flaw out to me).

In 0.6 recycling is the default for all values, this alleviates the need for a recycling mask. In pre 0.6 recycling was not default, resulting in some weird side effects.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Upshaw Underhill
Techno-Hobbit
Join date: 13 Mar 2003
Posts: 293
02-14-2006 22:03
From: Jesrad Seraph

[Edit]
UU, can your browser receive a whole SL build inworld, complete wih the scripts inside ? ;) TLTP isn't meant to be HTML-on-a-prim, it solves slightly different problems (and it's entirely inside SL).


No, it cant. And I shouldn't have said that in the first place... it *is* for a completely different purpose... and they will undoubtedly make an excellent companion for one another soon :)
(I was just having way to much fun browsing the forums with uBrowser.)

L8r,
UU
_____________________
1 2 3