Joined: 07 Feb 2006 Posts: 97 Location: Pittsburgh, Pennsylvania
Posted: Wed Feb 07, 2007 9:45 am Post subject:
That function was removed with POL 97. It is up to you to remove obsolete and depreciated functions. POL Module Updater will not take care of that for you.
core-changes.txt wrote:
Removed : Removed depreciated UO.EM Function MoveCharacterToLocation(). Use
MoveObjectToLocation() now.
And would it not be useful for this program, if it's gotta go digging through files anyway, if it were to first dig through the module files to find what functions DO exist, so that one does not need to maintain some separate list, when there's a convenient list already made? It seems terribly redundant for a program to need a manual list to be made when there's one already there.
Author
Message
Yukiko
Joined: 02 Feb 2006 Posts: 1080 Location: Southern Central USA
Posted: Wed Feb 07, 2007 6:19 pm Post subject:
Barbeirosa what you are asking for would be a difficult thing.
Let me paint you a picture:
Sam writes a new function for his coolStuffformyshard.inc file. The new function is MoveCharacterToLocation. He writes this because he wants one to replace the old one deprecated by POL 0.97 changes. Now your new and improved version of Danielle's updater reports every call to Sam's new function as a non-valid call.
Oh and by the way there is already a neat little program that reports deprecated and undefined function calls, you'll find it right there in the scripts directory graciously provided by the POL developers. It's named eCompile.
Author
Message
Danielle
Joined: 07 Feb 2006 Posts: 97 Location: Pittsburgh, Pennsylvania
Posted: Wed Feb 07, 2007 7:50 pm Post subject:
Heh, first you poke fun at me for using the wrong terminoloy.. then you ask me to write a new feature in my program for you?
Regardless of your "tactics", I have to agree with Yukiko. The most I would consider doing is perhaps giving a quick pop-up during the update process saying such-and-such script is using an deprecated function. I don't however, have any plans to add such a feature in the near future.
Author
Message
MontuZ Distro Developer
Joined: 10 Feb 2006 Posts: 286 Location: Myrtle Beach, South Carolina
Posted: Fri Dec 28, 2007 6:39 am Post subject:
Just got done using it a few days ago, it's extremely handy and a lot faster than doing it by hand. Thanks for that, lol.
Anyway, I had 1 problem with it, after it had finished and I went to compile all my scripts and noticed that it doesn't append the modules at the top of the file, like before any 'global' vars causing compiling to fail.
Thought I'd let you know and I haven't read any previous posts to see if anyone else had this problem, sorry if this has been covered.