SRL Archive - Reflection Development

R_ReturnItem


CX gamer

2011-01-04 19:23:45

The current ItemNameArray only lists tradable items. I bothered to upload a list that includes the untradable ones, up untill 19649. The use of ItemIDArray is omitted as all of these are in order. Here is the pastbin;
http://pastebin.com/aJ6zydNw
Ofcourse this slows the script down, but adds more functionality on the other hand. What do you guys think? :)

Bad Boy JH

2011-01-04 20:53:04

could we have it with two lists, ie there is a tradeable boolean in ReturnItemName which if True, has a shorter list, (the current list) and if False returns this longer list… that would offer the longer list and still offer speed.

TomTuff

2011-01-04 23:38:08

From: Bad Boy JH
could we have it with two lists, ie there is a tradeable boolean in ReturnItemName which if True, has a shorter list, (the current list) and if False returns this longer list… that would offer the longer list and still offer speed.


if false, just return the list of untradables, which is shorter and faster.

Bad Boy JH

2011-01-05 01:52:16

one or the other, point being add a boolean which changes which list we use..

pyroryan

2011-01-05 02:52:29

We have a longer list of IDs, which has been on SVN ever since November 2010. I'm guessing the project was abandoned or something.