Page 1 of 1

Feasible to convert resource-system for logs/ore to JScript?

Posted: Sun Feb 13, 2005 2:08 am
by Xuri
Just found out lumberjacking is broken (heh), and got me thinking, if there's a way to convert UOX3's resource-system for logs (and ore?) to Javascript. Meaning, the code that keeps control of which areas have these resources, and which are empty, etc.

I know a lot of people will be creating their own resource-systems completely sooner or later anyway, with more log-types etc - so maybe this is a way of making that easier as well.

I'm not sure how much system-resources (i.e. computer cycles or whatever) this currently takes up in the hardcoded version though, or how much impact it'd have on performance if ported to JS.

Any thoughts?

Posted: Sun Feb 13, 2005 2:28 am
by giwo
This is certainly possible, just not entirely sure of the implications of doing so myself. However once I have most of the skills out, that was my next step.... rewriting the resource handlers, be it in C++ or JS. ;)