Unused (old) JS Functions?

Need help with your JScripts? Got questions concerning the DFNs? Come forward, step inside :)
Post Reply
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Unused (old) JS Functions?

Post 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. ;)
Scott
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post 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
-= Ho Eyo He Hum =-
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

Well no great outcry of support here for these, so they'll dissapear in the next release. ;)
Scott
Post Reply