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.
Ergebnis 1 bis 11 von 11

Hybrid-Darstellung

  1. #1
    Registriert seit
    08.05.2015
    Beiträge
    5

    Shell commands execution via script

    Hello,
    I'm new in lua lotro scripting. I want to make a plugin that periodically (e.g. every 3 seconds) sends "/loc" command into chat for arrow refreshing in waypoint plugin.
    I'm not sure if periodicity function calling is possible, but command execution from script must be possible due to Lotro API documantation. Please, can someone help me with such easy script?

  2. #2
    Registriert seit
    02.06.2011
    Beiträge
    391
    Zitat Zitat von yowelin Beitrag anzeigen
    Hello,
    I'm new in lua lotro scripting. I want to make a plugin that periodically (e.g. every 3 seconds) sends "/loc" command into chat for arrow refreshing in waypoint plugin.
    I'm not sure if periodicity function calling is possible, but command execution from script must be possible due to Lotro API documantation. Please, can someone help me with such easy script?
    This is impossible. The waypoint plugin does not have this built-in exactly because it is impossible. In short, to send something in chat you need to press a button or click the mouse every single time. You cannot have a program just send it automatically. (Those programs that do outside LOTRO are simulating you pressing that button rather than skipping the need to do it.,

  3. #3
    Registriert seit
    08.05.2015
    Beiträge
    5
    Zitat Zitat von Hyos Beitrag anzeigen
    You cannot have a program just send it automatically.
    I suppose using external programs is restricted by licence agreement, and using of them can lead to ban from developers?

  4. #4
    Registriert seit
    03.06.2011
    Beiträge
    1.314

  5. #5
    Registriert seit
    02.06.2011
    Beiträge
    391
    Zitat Zitat von yowelin Beitrag anzeigen
    I suppose using external programs is restricted by licence agreement, and using of them can lead to ban from developers?
    Regardless of legality or not, you would risk this external input interfering with your own input. Imagine an external program sends "/+l+o+c+enter" every few seconds to LOTRO - whenever you happen to press a button between the "/" and the "l" you will put a character into the chat rather than execute a skill... unless you are exclusively using the mouse to play.

  6. #6
    Registriert seit
    08.05.2015
    Beiträge
    5
    Zitat Zitat von Hyos Beitrag anzeigen
    will put a character into the chat rather than execute a skill
    There is an option to use macros that presses some button on a keyboard every e.g. 100 ms, all what you need to use this macros is put an alias shortcut on that button. For example, I put an alias (/loc) shortcut on "Shift+3" quickslot and just call shift+3 pressing from external program. And this auto-pressing works even during game-play with pressing other buttons. But it must be illegal.

  7. #7
    Registriert seit
    02.06.2011
    Beiträge
    391
    Zitat Zitat von yowelin Beitrag anzeigen
    There is an option to use macros that presses some button on a keyboard every e.g. 100 ms, all what you need to use this macros is put an alias shortcut on that button. For example, I put an alias (/loc) shortcut on "Shift+3" quickslot and just call shift+3 pressing from external program. And this auto-pressing works even during game-play with pressing other buttons. But it must be illegal.
    So for doing that kind of macro you need no external software: https://lotro-wiki.com/index.php/Alias
    You create a quickbar icon and shortcut for an ingame shell command. so you can click it or press the ingame keybind.

    If you want to automate so your alias and trigger is pressed every 3s that is potentially not legal, but I claim still impossible to do without messing with you trying to control the game normally at the same time.

 

 

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