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

Need help with your JScripts? Got questions concerning the DFNs? Come forward, step inside :)
Post Reply
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:

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

Post 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?
-= 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 »

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. ;)
Scott
Post Reply