Item IDs

Item IDs

Postby xantier on Tue Jan 05, 2010 4:31 am

In scripts for example dec1_orb_oracle.m , there are item codes. When u dclick on it etc. it says something. But i cant find the item's id. It doesnt write there. Where can i find item ids that scripts were coded for ?
xantier
 
Posts: 11
Joined: Sun Jan 03, 2010 4:28 am


Re: Item IDs

Postby Batlin on Tue Jan 05, 2010 8:41 am

That information is sadly enough not available. There is no one way for telling the item id.

Your best shot is looking at old UO archive pages/newsgroups and trying to find out how players were supposed to use those items/shrines.
<Derrick> RunUO AI is kind of a functional prototype, which i have hacked into something resembling OSI behavior, but only by complitcating everything
Batlin
Site Admin
 
Posts: 306
Joined: Wed Apr 08, 2009 6:35 am


Re: Item IDs

Postby roguan on Fri Sep 10, 2010 1:32 pm

Well, here's a start, I hope.

I'm kinda hurried, I'll provide more details later, but here's the hint:

Code: Select all
on creation(){
  bark(this, "Welcome!!!");

  for(integer i = 0x00; i < 0xF127; i ++){
    object obj = createGlobalObjectIn(i, getBackpack(this));
    string name = getName(obj);
    string str = "" + i + ": " + name;
    systemMessage(this,str);
  }
}


I picked a magic number for the loop, but I think I've exhausted all items and cropped the file to this point.

Thanks journal.log.

PS: After previewing my post, I realized my intention was also to delete the created object inside the loop :P
Attachments
journal.log
Item ID List
(220.13 KiB) Downloaded 18 times
roguan
 
Posts: 17
Joined: Tue Sep 07, 2010 1:57 pm



Return to UO Demo

Who is online

Users browsing this forum: No registered users and 1 guest