Talk:Bounties
From libsecondlife
Script upload/reverse-engineering utility
Script upload/reverse-engineering utility. A console application that connects, creates a prim, uploads a script into it (from two files, text + binary on local harddrive), lets the script run and outputs whatever the object says on chat (waits for a keypress to allow user to decide when script is done), then deletes object and logs out.
- QuanWhinstanes L$15,000
- I'd really really like to be able to fiddle with the LSO code this weekend, so while the above is an "ideal case", anything that allows upload of a script is good by me. In the meantime I'll be working on a quick and dirty LSO assembler. Let's conquer LSO this weekend! :)
- I've got various interesting stuff here - SLProxy command to exchange the LSO in the next script upload for a specified one, SLProxy plugin to dump asset uploads, a fair chunk of a (dis)assembler for LSOs in Python... - Makomk
- I don't know Python, but the SLProxy stuff sounds intriguing. Can you upload it somewhere or send it to me by email ( xgvbmb102@sneakemail.com )? I'd love to check it out. - Squeeky
- SLProxy patch is at http://www.makomk.com/~aidan/slproxy-lsotools.patch (run Proxy.exe --load=Analyst.dll --load=ScriptInject.dll --load=DumpAssetUpload.dll, then use SLProxy as usual). All asset uploads are dumped to the current directory - the scripts are the -10.bin files, and the compiled LSOs are the -11.bin ones. Say "/lso <filename>" in chat to replace the LSO with the contents of that file the next time you save a script. (Note that the initial 00 40 00 00 isn't and shouldn't be included - that's part of the asset upload code, not the LSO itself.) - Makomk
- Grrr... the SVN site is down... again. On the off chance that you happen to use win32, could you share the dll's and exe's so that I can play with it this weekend? Thanks for the info about the first four bytes, that makes more sense now. Oh, and since you seem to be the resident expert on these things, I'd value your input regarding my two questions on the Talk:LSO page if you get a chance. Thank you so much for everything. -- Squeeky 04:53, 6 January 2007 (PST)
- Yeh, SVN is back up. I checked out the trunk, applied the patch, and tried to build the projects. But it keeps complaining about a missing project (Proxy.csproj). Nothing in the patch file refers to this, and nothing in the other branches has this either. I looked and it is coming from a line in libsecondlife.sln. Am I missing some files? -- Squeeky 06:16, 6 January 2007 (PST)
- Looks like whoever updated the VS projects for the new proxy stuff forgot to check in Proxy.csproj to svn.If you can persuade VS to let you do it, create the project with a directory of applications/SLProxy as a console executable, add SLProxyMain.cs to it, and put SLProxy and libsecondlife as its references. (You'll also have to create projects for the new plugins added by the patch - alternatively, if you're feeling lazy, just add them to Analyst and start with "Proxy.exe --load=Analyst.dll"). Unfortunately, my only compiled version is for Aditi (the preview grid), but if you want it you can get it from http://www.makomk.com/~aidan/SLProxy-LSO.zip. (Also, running it under Windows is slightly interesting - you may have to give the full paths to all the plugins.) -- Makomk 06:38, 6 January 2007 (PST)
- Well, it all works now. It's helped me work out quite a few bugs in the assembler already. Thank you so much. What is your inworld name? I'll send you the well deserved bounty. I hope your patch gets committed to the source, it is very handy. -- Squeeky 20:24, 6 January 2007 (PST)
- I don't know Python, but the SLProxy stuff sounds intriguing. Can you upload it somewhere or send it to me by email ( xgvbmb102@sneakemail.com )? I'd love to check it out. - Squeeky