ScriptUO

Scripting Resources & Utilities => Stealth Client => Topic started by: PierreDole on July 24, 2017, 04:09:01 AM

Title: [C#] Incorrect PID!
Post by: PierreDole on July 24, 2017, 04:09:01 AM
Hi there,
I trying out Stealth and allmost everything is good. The connection to the Char works, the client starts, but everytime I try to run a script a dialog pops up with the message "Incorrect PID!". I really dont know whats wrong. My script is almost empty.
Anyone has an idea?

Code: PHP
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10.  
  11. using ScriptDotNet;
  12. using ScriptAPI;
  13.  
  14. namespace UOMacro
  15. {
  16.     public partial class Form1 : Form
  17.     {
  18.         public Form1()
  19.         {
  20.  
  21.             InitializeComponent();
  22.  
  23.  
  24.             Stealth.Script_ClientPrint("Test String");
  25.            
  26.         }
  27.     }
  28. }
  29.