There's also some info in the Alternative Scripting Library:
/invalid_link.htmland I'd like to think the following project contains some useful code and ideas:
http://mmogtoolkit.sourceforge.netDon't hesitate to send specific questions in game.
Azelda
P.S. Gotchas I came across in my first week. Might be helpful:
- llSetTimerEvent fires way too often, especially for more than a second or so. If you want things to happen at regular intervals, consider using llGetWallclock() in combination with a frequent timerevent
- listeners are not destroyed when you change states, nor when you derez an object. Consider putting all listen commands only in state_entry of the default state
- states delay your scirpts, lose queued events and cause wierd problems. You can live without them
- instantmessage delays your scripts. Avoid like the plague
- state_entry != on_rez You probably want to make a global function Init which you call from both these events
- avatars are always physical. Some functions only work on physical (llMoveToTarget), some only work on non-physical (llSetPos)
That covers most of my first-week problems, except Scripting Philosophy which is the first post in the Alternative Scripting Library.
Just for the record, thanks to Xylor Baysklef, Ezhar Fairlight and Water Rogers for their replying to an endless stream of questions in my first week.