Random Chitchat 2012-2016
It also binds pretty tightly to C++, so it should be easy to implement and the lack of a large scripting overhead goes quite nicely with MCServer's lightweight and fast nature. Smile

What could also be done is that AngelScript plugins have a .as/.asc extension. Maybe that could be used if this is ever done to detect the type of plugin?
Thanks given by:
It might be smart to create a new thread to discuss this Smile
Thanks given by:
I'll do that, since it's probably spamming this thread. Tongue
Thanks given by: NiLSPACE , sphinxc0re
After some months, I recompiled and retried MCS again, and a crazy idea has come into my mind: Why not remove mobs?

I know it's quite bad idea, but mobs currently do nothing, eat cpu and thats all, and maybe cause deadlocks. That also would maybe force an AI rewrite and get rid of mob bugs cause MCS wouldn't oficially support them.

Just writting down this here, it has just been a sort of lightning into my mind.
Thanks given by:
I actually find mobs useful for testing my PvP plugins. Tongue They actually know when to attack and I can use that to test OnTakeDamage hooks and stuff.
Thanks given by:
@xoft What would you think about using the SmallVector from http://llvm.org/docs/doxygen/html/SmallV...ource.html . Its licensed under the University of Illinois Open Source License, which according to https://www.apache.org/legal/resolved.html#category-a is compalable with apache?
Thanks given by:
For some strange reason, I wanted to look at the CraftBukkit source code...It's so icky...variables named j, k, l...
Thanks given by:
(03-31-2015, 05:11 AM)DiamondToaster Wrote: For some strange reason, I wanted to look at the CraftBukkit source code...It's so icky...variables named j, k, l...

Well, because the code from mojang is obfuscated, that's why the source code looks that ugly.
Thanks given by:
But, most of the code is clearly readable? Most of the variables have proper names though.

http://code.openhub.net/file?fid=YkSVHXg...ed=true#L0

I'm probably wrong though, I don't know too much about Java.
Thanks given by:
@worktycho what exactly would you use it for? What are the advantages?

@DiamondToaster the good names are provided by the decompiling team manually - they go through the source and guess what's what, then they write rules for the deobfuscator - "class aa should be renamed to Block, variable var1 should be renamed to maxX, function func_3358 should be renamed to getStepSound" etc. That's why mods take such a long time - when a new minecraft version comes out, first the MCP team has to update these mapping tables for the new binary, then the mod author needs to update their code for the changes in the engine (and recompile against a newer decompiled minecraft)
Thanks given by:




Users browsing this thread: 129 Guest(s)