onCreateDFN in global scripts borken?
Posted: Fri Jan 29, 2010 12:40 am
using UOX3 0.98-4.0d
Issues first encountered with 4.011 client, now testing with 5.0.9.1
Like mentioned in this thread:
viewtopic.php?t=1842
I do this:
removing the onCreateTile part and and restarting the server:
spinning wheels still wont spinning once started.
removing onCreateDFN part and restarting the server:
spinning wheels work correctly again.
therefor... well, you get the picture.
Issues first encountered with 4.011 client, now testing with 5.0.9.1
Like mentioned in this thread:
viewtopic.php?t=1842
I do this:
All of a sudden spinning wheels wont stop spinning after they have been started.Xuri wrote:Another work-around:
Put the following in a .js file and set it up as a global script (by giving it script ID = 0 in jse_fileassociations.scp):This will set all new objects created to non-decayable. Not ideal, but at least the items should longer vanish on you. :/Code: Select all
function onCreateDFN( objMade, objType ) { if( objType == 0 ) objMade.decayable = 0; } function onCreateTile( objMade, objType ) { if( objType == 0 ) objMade.decayable = 0; }
removing the onCreateTile part and and restarting the server:
spinning wheels still wont spinning once started.
removing onCreateDFN part and restarting the server:
spinning wheels work correctly again.
therefor... well, you get the picture.