Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - roro4ever

Pages: [1]
1
Orion UO Client / Orion.GetLastGump or GetGump() not suit for 1.26.4 client?
« on: September 04, 2023, 10:53:46 PM »
Hello, I am a newbie for OrionUO Script. The freeshard I played recently using 1.26.4 client. I wrote some scirpt for train skill, and there are no problem.
Few days ago, I downloaded a script for trian blacksmithy skill, but it stucked at some code about gump.
So I wrote some scripts for  learn and test gump statements.

But I found  some problem, first is :  How can I get gumpobject?
For example.
Code: [Select]
function test(){
var IngotType='0x1BEF';
var gump0,gump1,gump2;
  //TextWindow.Open();
  Orion.UseType(IngotType);
  Orion.Wait('useitemdelay'); 
  gump0=Orion.GetLastGump();
  gump1=Orion.GetGump('last');
  Orion.Print('Orion.GumpCount='+Orion.GumpCount); 
  if (!(gump0 == null)) {
  Orion.Print(gump0.ID);
  Orion.InfoGump();
  Orion.Wait(500);
  }   
  else Orion.Print('No get gump0');
  if (gump1==null) Orion.Print('gump1 is null');
}

The result is :

gump0 and gump1 all are null....

why? 1.26.4 or other low version Clients can't GetGump?

2
New member introductions / Third Dismissal with UO
« on: August 25, 2023, 08:48:15 AM »
It has been more than ten years since the last time I played UO, that is, around 2008, but in fact, this is the second time I have returned to UO.

The first time I dismissed UO was in 1998, and I was deeply attracted by its painting style, content, magic, story, and degree of freedom. At that time, I was a freshman student, probably in 1998. For scripting tools, there are only tools such as uoloop that simply repeat built-in macros.

In 2008, I discovered easyuo by surprise, and wrote some scripts to realize some operations that I could not imagine before.

A few days ago, I had nothing to do, and I wanted to see what UO has developed, and I found orionUO -- which surprised me again.

So, I came to this forum to learn the knowledge of orionuo script.

Pages: [1]