Wir haben festgestellt, dass Euer Browser keine Cookies akzeptiert. Bitte erlaubt die Verwendung von Cookies in den Optionen Eures Browsers, um eine optimale Funktion dieser Webseite zu gewährleisten.
Seite 1 von 2 1 2 LetzteLetzte
Ergebnis 1 bis 25 von 40
  1. #1
    Narrel ist offline The Lord of the Rings Online Team
    Turbine, Inc.
    Registriert seit
    30.03.2007
    Beiträge
    53

    Lightbulb Documentation and examples updated!

    Both the API documentation and the script examples zips have successfully been uploaded! We apologize for the delay. As always, if you have any questions or comments about the current API, please post in the Current API Issues and Discussions sub-forum and we will get you the answers you need as soon as we can. Now that everything is updated, here is a quick set of Lua patch notes for what changed with this week's update. Enjoy!

    -Nar

    API Additions:

    -Started to expose attributes for player type, classes, and races. Examples:

    • GetAttributes, GetClassAttributes, GetRaceAttributes.
    • GetFocus, GetAttunement, GetFervor, GetRampage
    • GetStance
    • etc.; check the updated documentation for the full function set


    -Added a ClearItems function to list boxes
    -Added an initial implementation of a TreeView control
    -Added Engine.GetCallStack for getting the Lua call stack for debugging purposes

    API Fixes/changes:

    -Fixed a bug where the changed event for CheckBoxes did not fire when clicking on the check image itself
    -Fixed a bug where ScrollBars not properly positioning themselves when the minimum value was not 0
    -Fixed a bug where using Quickslots in a ListBox would cause the client to crash when plugins were unloaded
    -Fixed a bug in PluginData where the first save operation would fail
    -The local player can no longer be accessed via “Turbine.Gameplay.LocalPlaye r()” and instead must now be accessed via “Turbine.Gameplay.LocalPlaye r.GetInstance()”
    -Windows now start as invisible by default; you must explicitly call “SetVisible(true)” on them after creating them if you want them to be immediately visible
    Geändert von Narrel (19.10.2011 um 16:24 Uhr)

  2. #2
    Registriert seit
    28.04.2007
    Beiträge
    390

    Re: Documentation and examples updated!

    oooh, and I found a lot of that stuff last night!

    "GetFocus, GetAttunement, GetFervor, GetRampage
    GetStance"

    There goes my head start!

    Is anyone else seeing the OLD documentation when they download the above link? Is it linked correctly?
    Geändert von NuclearTonic (30.11.2010 um 18:42 Uhr)
    "Shepherds of the Forest" -- RIP

  3. #3
    Registriert seit
    01.04.2007
    Beiträge
    8

    Re: Documentation and examples updated!

    yes those links are still linking to the old documentation and plugins

  4. #4
    Registriert seit
    25.03.2007
    Beiträge
    1.167

    Re: Documentation and examples updated!

    Sadly, it looks as though something went awry. I too am getting a .7z file with all of the files inside it dated 9/30/2010 and exactly matching the old docs.

    Somehow, the new documentation didn't actually make it.
    Geändert von Garan (30.11.2010 um 18:56 Uhr)

  5. #5
    Registriert seit
    15.12.2007
    Ort
    Seattle, WA
    Beiträge
    7.599

    Re: Documentation and examples updated!

    Yeah, looks like the same thing for the example code as well.....

    TheOneBag is broken on extract.
    Maley Oakensage, Captain of Elendilmir

    Alas Elendilmir, may you *jingle jangle* forever in the Forgotten West

  6. #6
    Registriert seit
    23.03.2007
    Beiträge
    10

    Re: Documentation and examples updated!

    Zitat Zitat von Garan Beitrag anzeigen
    Sadly, it looks as though something went awry. I too am getting a .7z file with all of the files inside it dated 9/30/2010 and exactly matching the old docs.

    Somehow, the new documentation didn't actually make it.
    I'm seeing the same thing

  7. #7
    Narrel ist offline The Lord of the Rings Online Team
    Turbine, Inc.
    Registriert seit
    30.03.2007
    Beiträge
    53

    Re: Documentation and examples updated!

    Hmmm... looks like there may have been a caching problem on our content server. I'll chat with the web folks and see what the deal is. Sorry about that, guys.

  8. #8
    Registriert seit
    21.04.2007
    Beiträge
    49

    Re: Documentation and examples updated!

    WooHoo! API documentation is updated...
    So are plugins! Just the OP for the download links. They are the correct ones now
    Thanks Narrel!
    [charsig=http://lotrosigs.level3.turbine.com/0a20b00000018a788/01005/signature.png]undefined[/charsig]

  9. #9
    Narrel ist offline The Lord of the Rings Online Team
    Turbine, Inc.
    Registriert seit
    30.03.2007
    Beiträge
    53

    Re: Documentation and examples updated!

    Zitat Zitat von Hazado Beitrag anzeigen
    WooHoo! API documentation is updated...
    So are plugins! Just the OP for the download links. They are the correct ones now
    Thanks Narrel!
    Excellent! I was hesitant to make a post until I tried it from outside the building this evening to be super sure we got the cache refreshed but since you're able to get it, I think we're in business =). You're very welcome! Sorry it took so long to get it out there for real. If anyone else has any other issues with downloading the updated docs and examples, let us know. Thanks!

    -Narrel

  10. #10
    Registriert seit
    15.12.2007
    Ort
    Seattle, WA
    Beiträge
    7.599

    Re: Documentation and examples updated!

    Still seeing the older version of TheOneBag in the example scripts. Frustrating too..... I'm having difficulty getting the older version to work correctly after the November 2010 update....
    Maley Oakensage, Captain of Elendilmir

    Alas Elendilmir, may you *jingle jangle* forever in the Forgotten West

  11. #11
    Registriert seit
    17.02.2007
    Ort
    Toronto, Ontario, Canada
    Beiträge
    290

    Re: Documentation and examples updated!

    Sadly, the new Turbine files also broke my TravelWindow plugin.

    Some of it has been easy to fix, but I am currently stuck trying to figure out what is causing:

    ...he Lord of the Rings Online\Plugins\Turbine\Type.lu a:220: Invaild member function call.
    [CENTER][charsig=http://lotrosigs.level3.turbine.com/042030000000004b6/01007/signature.png]Dhor[/charsig][/CENTER]

    [CENTER][URL="http://forums.lotro.com/showthread.php?354626-Plugin-Travel-Window&p=4957038#post4957038"]Travel Window Plugin[/URL][/CENTER]

    [CENTER][URL="http://forums.lotro.com/showthread.php?401438-Plugin-HunterFocus"]Hunter Focus Plugin[/URL][/CENTER]

  12. #12
    Narrel ist offline The Lord of the Rings Online Team
    Turbine, Inc.
    Registriert seit
    30.03.2007
    Beiträge
    53

    Re: Documentation and examples updated!

    Zitat Zitat von Almagnus1 Beitrag anzeigen
    Still seeing the older version of TheOneBag in the example scripts. Frustrating too..... I'm having difficulty getting the older version to work correctly after the November 2010 update....
    What specific issues are you having with TheOneBag after downloading the current examples zips? We'll try to figure out what the deal is from there. It could be another caching problem or could be a problem with the uploaded files themselves.

    Zitat Zitat von D.H1cks Beitrag anzeigen
    Sadly, the new Turbine files also broke my TravelWindow plugin.

    Some of it has been easy to fix, but I am currently stuck trying to figure out what is causing:

    ...he Lord of the Rings Online\Plugins\Turbine\Type.lu a:220: Invaild member function call.
    Not really sure on that one. I'll take a look and see what's up.

  13. #13
    Registriert seit
    15.12.2007
    Ort
    Seattle, WA
    Beiträge
    7.599

    Re: Documentation and examples updated!

    Zitat Zitat von Narrel Beitrag anzeigen
    What specific issues are you having with TheOneBag after downloading the current examples zips? We'll try to figure out what the deal is from there. It could be another caching problem or could be a problem with the uploaded files themselves.
    Aside from the Player.GetInstance() bug, it seems like some of the events relating to the inventory aren't firing correctly, causing TheOneBag to not behave correctly. Most of the stuff I've done was figuring out which events are being fired, to attempt to determine where the bug(s?) are. Notes are at http://forums.lotro.com/showthread.p...-Plugins-Issue.

    I'm guessing that there's some interaction between the player inventory and the character panel that's not firing events correctly.
    Maley Oakensage, Captain of Elendilmir

    Alas Elendilmir, may you *jingle jangle* forever in the Forgotten West

  14. #14
    Registriert seit
    17.02.2007
    Ort
    Toronto, Ontario, Canada
    Beiträge
    290

    Re: Documentation and examples updated!

    Zitat Zitat von Narrel Beitrag anzeigen
    Zitat Zitat von D.H1cks Beitrag anzeigen
    Sadly, the new Turbine files also broke my TravelWindow plugin.

    Some of it has been easy to fix, but I am currently stuck trying to figure out what is causing:

    ...he Lord of the Rings Online\Plugins\Turbine\Type.lu a:220: Invaild member function call.
    Not really sure on that one. I'll take a look and see what's up.
    I started a thread in the issues and discussion forum about my problem. For now I have a work around.
    [CENTER][charsig=http://lotrosigs.level3.turbine.com/042030000000004b6/01007/signature.png]Dhor[/charsig][/CENTER]

    [CENTER][URL="http://forums.lotro.com/showthread.php?354626-Plugin-Travel-Window&p=4957038#post4957038"]Travel Window Plugin[/URL][/CENTER]

    [CENTER][URL="http://forums.lotro.com/showthread.php?401438-Plugin-HunterFocus"]Hunter Focus Plugin[/URL][/CENTER]

  15. #15
    Registriert seit
    16.01.2007
    Ort
    DFW, TX
    Beiträge
    132

    Re: Documentation and examples updated!

    Man I wish we'd had a heads up this was coming. The modification to the location of Class.lua has broken every plugin user out there who downloads the new "Example Scripts" archive (which actually isn't just Example scripts but contains the Turbine folder which is needed to run any plugin).

    Sorry, I'm a little frustrated with this as it was not available for testing prior to being pushed on Live. Literally every plugin is broken. A few days or a week would have been really nice. We could have patched up plugins that aren't currently being worked on anymore as well as seen to our own since in most cases it's simply importing "Turbine" in addition to "Turbine.Utils" (we have to keep Turbine.Utils around to support those who have not upgraded).

    [Edit: Turns out we can't keep Turbine.Utils around since it doesn't exist in the new package. Ah well, upgrade or die!!!]
    [Edit2: Turns out you can keep it by using pcall(import, 'Turbine.Utils')]

    As a developer, I realize sometimes things need to be pushed without warning. I sincerely hope this type of release cycle is not the norm and we'll be given an opportunity to test these types of drops in the future.

    I have all the respect in the world for you guys in getting this great API out to us, I just ask for a little heads up.

    I'd also strongly encourage changing the link from "example scripts" to be something which indicates you actually need it to run any plugins out there.

    Now back to patching all the plugins I use.

    Frell
    Geändert von Biabo (01.12.2010 um 23:28 Uhr) Grund: found out more info... again
    [center][url=http://www.thirstytravelersinn.com/][charsig=http://lotrosigs.level3.turbine.com/0420800000003ba01/signature.png]Frello[/charsig][/url][/center]

  16. #16
    Registriert seit
    05.04.2007
    Beiträge
    22

    Re: Documentation and examples updated!

    Zitat Zitat von Almagnus1 Beitrag anzeigen
    Aside from the Player.GetInstance() bug, it seems like some of the events relating to the inventory aren't firing correctly, causing TheOneBag to not behave correctly. Most of the stuff I've done was figuring out which events are being fired, to attempt to determine where the bug(s?) are. Notes are at http://forums.lotro.com/showthread.p...-Plugins-Issue.

    I'm guessing that there's some interaction between the player inventory and the character panel that's not firing events correctly.
    There are definitely bugs in current Player.GetInstance() implementation:
    Most importantly GetBackpack() : GetItem doesn't get updated properly when items are moved from & to bags inventory, like when item is equiped or drag & droped from character screen or vault.
    There is also seem to be improper event firing when items are moved in, into or out of inventory - DragDrop event also generates not only ItemMoved, but also ItemRemoved & ItemAdded events, which I think cases ItemMoved to send args.OldIndex with empty item.
    Also Turbine.UI.Lotro.ItemControl no longer has :SetParent method for some reason.
    The above misbehavior makes item management plugins to malfunction for most external (character, vault, shortcut) to internal (bags) manipulations.
    We really need some kind of fix or workaround for this issue.
    [charsig=http://lotrosigs.level3.turbine.com/0720600000000ca87/01001/signature.png]undefined[/charsig]

  17. #17
    Narrel ist offline The Lord of the Rings Online Team
    Turbine, Inc.
    Registriert seit
    30.03.2007
    Beiträge
    53

    Re: Documentation and examples updated!

    Zitat Zitat von Almagnus1 Beitrag anzeigen
    Aside from the Player.GetInstance() bug, it seems like some of the events relating to the inventory aren't firing correctly, causing TheOneBag to not behave correctly. Most of the stuff I've done was figuring out which events are being fired, to attempt to determine where the bug(s?) are. Notes are at http://forums.lotro.com/showthread.p...-Plugins-Issue.

    I'm guessing that there's some interaction between the player inventory and the character panel that's not firing events correctly.
    Unfortunately, the character panel <--> inventory messages do appear to have been broken with the update. We are looking into what caused that now.

  18. #18
    Registriert seit
    15.12.2007
    Ort
    Seattle, WA
    Beiträge
    7.599

    Re: Documentation and examples updated!

    **crosses fingers**

    Hopefully this is something easy to fix. Keep us posted =)
    Maley Oakensage, Captain of Elendilmir

    Alas Elendilmir, may you *jingle jangle* forever in the Forgotten West

  19. #19
    Registriert seit
    27.02.2009
    Beiträge
    19

    Re: Documentation and examples updated!

    Could this problem be causing these too?

    ...Rings Online\Plugins\DigitalUtopia\P alantir\Main.lua:42: attempt to call field 'LocalPlayer' (a table value)
    ...Rings Online\Plugins\OrendarPlugins\ BuffBars\EffectManager.lua:12: attempt to call field 'LocalPlayer' (a table value)
    [charsig=http://lotrosigs.level3.turbine.com/012030000001884ab/01007/signature.png]undefined[/charsig]

  20. #20
    Registriert seit
    15.12.2007
    Ort
    Seattle, WA
    Beiträge
    7.599

    Re: Documentation and examples updated!

    Zitat Zitat von nicholasp Beitrag anzeigen
    Could this problem be causing these too?

    ...Rings Online\Plugins\DigitalUtopia\P alantir\Main.lua:42: attempt to call field 'LocalPlayer' (a table value)
    ...Rings Online\Plugins\OrendarPlugins\ BuffBars\EffectManager.lua:12: attempt to call field 'LocalPlayer' (a table value)
    Have you updated both plugins since the patch?
    Maley Oakensage, Captain of Elendilmir

    Alas Elendilmir, may you *jingle jangle* forever in the Forgotten West

  21. #21
    Registriert seit
    26.04.2007
    Ort
    Tuscaloosa, AL
    Beiträge
    36

    Re: Documentation and examples updated!

    Yeah i hacked all the plugins to accomdate EU and US players.

  22. #22
    Registriert seit
    07.04.2007
    Ort
    Sunny SoCal, USA
    Beiträge
    6.381

    Re: Documentation and examples updated!

    I don't understand LUA scripting; the jargon is a complete foreign language to me. I can figure out from the discussion here that you guys realize that something is not quite working in the new download.

    In the meanwhile, what can I do to make my plugins work? Only one out of like, half a dozen of them actually work. I don't have access to the old download, AVG killed my computer and I had to reinstall everything. Is there a place I can get the old working documentation thing, the one that worked? Or is there something I can do to the files in my plugins to make them work again?

    Thanks.
    [CENTER][IMG]http://i40.tinypic.com/dgoqrr.jpg[/IMG]
    RIP ELENDILMIR • Jingle Jangle[B]
    Landroval[/B]: [SIZE=1]LAERLIN ([URL="http://tinyurl.com/laerlin"]Bio + Drawings[/URL]) • LAERWEN • OLORIEL • AETHELIND ([URL="http://tinyurl.com/aethelind"]Bio + Drawing[/URL]) • NETHAEL[/SIZE][/CENTER]
    [CENTER][URL="http://tinyurl.com/mnwbbbq"]Make LOTRO Housing Fun & Profitable![/URL] • [URL="http://tinyurl.com/m33b8be"]New Dye Color Suggestions![/URL][/CENTER]

  23. #23
    Registriert seit
    15.12.2007
    Ort
    Seattle, WA
    Beiträge
    7.599

    Re: Documentation and examples updated!

    You can check http://www.lotrointerface.com for updates to some of your plugins. There's probably other sites.

    There's two main issues with Lua Plugins:
    1) Some of Turbine's hooks in the game for us Lua coders to attach our plugins to aren't working correctly.
    2) What this thread is focused on, some of the updates to the Turbine coding examples aren't working correcly

    Keep in mind that Lua Plugins are a Beta feature to LotRO - that means that it's still being developed (on both sides), so while what's going on is frustrating, it's something to be expected.
    Maley Oakensage, Captain of Elendilmir

    Alas Elendilmir, may you *jingle jangle* forever in the Forgotten West

  24. #24
    Registriert seit
    18.09.2010
    Ort
    Forums
    Beiträge
    59

    Re: Documentation and examples updated!

    Zitat Zitat von nicholasp Beitrag anzeigen
    Could this problem be causing these too?

    ...Rings Online\Plugins\DigitalUtopia\P alantir\Main.lua:42: attempt to call field 'LocalPlayer' (a table value)
    ...Rings Online\Plugins\OrendarPlugins\ BuffBars\EffectManager.lua:12: attempt to call field 'LocalPlayer' (a table value)
    I found the fix to that error is to add

    .GetInstance

    after any call for .LocalPlayer

  25. #25
    Registriert seit
    01.01.2008
    Ort
    Reality
    Beiträge
    214

    Re: Documentation and examples updated!

    When I try to access the links in the OP, I get whole screens of this:

    7z��'��N�"e�����$��������t ;���� ����Z�s[�}� �ւK�CN�K���m�1:��_��zp)�x܇ "2�fe��G=���w�=6�F��
    [MZ�@�D1۷T��Qr��$l� i��7���qE�_�s���o���D�$"�+��� xop=�5;H�v ���Y�B3���K�P4�z,w�*%K���@� �^��n;��痓�b�/+��T��8��Ru��(�3o���o�BϬ �C��
    j,8��t�p� ��S�u~ą����6]:���9�ѢZ.@�}Adˁ2������L`�xШ9 Qg�/���Ǽ����(7�Oxu�@��[�ܾ��,B��CX���b#X�X�4> �T�jKx$$c`�����Ӏ�ǂe���ϝ׶�_L` 7~lq���6X�}�uN�G�#��4����  1��-�p`�k_�܀��KH1�ee��iw���녫� ܄�v��gբ�f j�(��J��W����l��5��IM9)Qv �}O)y���S��]K�gխS�uh�A0)�1.tω
    �4�h�X#.�3�/�o���$��*1�fn�B���0#��1~��i � *�M����7A����ؖP�4��� �A
    �D�0�o�����m���O[�8���}��Bn�#��D�b��{�ċ$rlB��! �HNIV����'r�f����Ȑ`9HA>u�Ɩ� #��7�K�[n���J4
    C�6�'@�d�*F#���� Q���=�~��g��
    ������䝩����=G%�zֶ� J�b]荵�zQ��s�q��w�d´,�ψn:C:S�(*(*6 ������
    ; �mX��AWK,\�M8�g��<դM��9�#� ��}������&Y��T�аc8��� %0-^W���<����r1b~��N����:���� D�Tu(�J!V~�~Aț�|Q�,�򁈱� ?
    J���Ev��[j(�\;`c�UQ���V��Ӑ�k�^^�f C[�t-K�nd��b:v,Ҳ���%��j?}�j�y� ��#>��ɘ��)N�9��-�ygJ;��9�h��7:��!N��n� ��ip`m
    bP��Ĕ�9g��X��� �����`! TD5�%f%�}28��BO݆ �1�\�x.�q�3W�#��z��|k��4�d �&{&��D�wn�"��� V��a���l�[Mw�Sn�~'��K�X��b��'Q�C��� ) 7��ï��|y2�7۳~Xg��%Vq� �򿎺�qh>�o)B:l>����$c�� b��[�M���Үo�-�N�S��,N�J��1c0|�Jy�pc�Q�LO?J �+�EOn��cS�# �»U����q�Z�`B��3'���d l �2�0�ϴD}�D��k�k� �@Čl�1)���9F)׈��U�����yΉs �Da��X�������)�[="n8�7o�d*IZ�?�Znٍ�}�(u�D�ա �&��B�f%S5�-�8�v�Qz�!�17��0�=���O��ݩ�{7�j d����<��j鈀�us<��(@�!>Ζ8�i� ,���˶# �/G�M%<�rD�
    �W�[��p��ꝣXZ���uL����]�O.���+�r��8�0�# t�дIM� D�'�]_&d���گZ��

    Nice, eh?
    �D�/1o���R�{4��i�7����?��h8�� D�՗+�y�3:�n�-V22����|'5�T�ɥI�k�5���j�^� w

 

 
Seite 1 von 2 1 2 LetzteLetzte

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  

Diese Formular-Sitzung ist abgelaufen. Du musst die Seite neu laden.

Neu laden