Any javascript people here? What happends if you extend the official client alot?
I am well aware of bloated vs light weight clients. (come from a very lightweight system, tinyfugue)
But is Javascript really bloated, that it would impact the game? From what I can see, when reading the code; is you can build the same system you in mudlet in javascript. So Is there any people who has major system in javascript?
Cause I know can write alot of code for it; and I am intrested if theres anyone else out there, that plays through the official client with a heavy combat system.
(Is this question solved by comparing execution speed of lua and javascript? )
0
Comments
In short, Lua is simply amazing and lightning fast.
There's not any client bashing going on, truth be known. Both clients are capable but cater for different people and requirements. If you're looking to build a heavy combat system, it is my opinion that you'll encounter issues when tending towards JavaScript. As well as I suspect you are aware, this language has an entirely different target audience.
That said, yes, it has been done before. I played around with it a little a decade or so ago though ended up going back to TF at this time.
All said and done, it would be nice to see somebody follow this route and write a combat system with it, though do not expect to avoid performance issues. The real deciding factor as to whether this will be a success will be your choice of client rather than the language itself.
While you could do the same thing for script execution speed, and lua or js may turn out to be faster, it has been my experience when using different clients, that long before script execution speed becomes an issue, trigger parsing speed becomes the choke point.
Having said that, excessive scripts on gmcp events (in particular inventory management during combat spam) seems to put a load on mudlet as well. I have to set my power profile at high if I plan to pvp with mudlet (power saving mode throttles the cpu) or I get some client-induced lag. I also have to turn config-mapview off if I want to follow someone that autowalks with imapper.
Edit: Hooray for run-on sentences O.o