Page 1 of 1

Unused (old) JS Functions?

Posted: Mon Jul 26, 2004 4:24 pm
by giwo
I came across a couple seemingly-unused JS functions, but wanted to ensure they actually are not being used and/or do not have a purpose.

ItembySerial()
CharbySerial()

edit: Note that we already have CalcItemFromSer() and CalcCharFromSer() that both accept serials and return objects.

These two seem to accept a string and return an object

AddItem()
AddNPC()

These two are much like CreateDFNItem(), CreateBaseItem() and SpawnNPC(), but with less functionality

If anyone does use them, feel free to respond and let me know so I won't delete them, on the other hand, if you know they are obsolete, speak up so I can remove them. ;)

Posted: Mon Jul 26, 2004 4:28 pm
by Xuri
Well, I for one haven't been using those. And if we've got other functions which do the same (and more) - I vote to call them redundant ;P

Posted: Tue Jul 27, 2004 4:15 pm
by giwo
Well no great outcry of support here for these, so they'll dissapear in the next release. ;)