summaryrefslogtreecommitdiff
path: root/forcefield.py
AgeCommit message (Collapse)Author
2015-03-19Changed all CommandExecutor argumentsDico200
Added arguments command and label to all command executor functions, hopefully for massive performance increase. This is due to the following mess in PythonLoader: ``` Java @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { boolean result; if (argcount == -1) { try { result = call(4, sender, command, label, args); argcount = 4; } catch (PyException e) { //this could goof up someone ... they'll probably yell at us and eventually read this code ... fuck them if (e.type == Py.TypeError && (e.value.toString().endsWith("takes exactly 3 arguments (4 given)") || e.value.toString().endsWith("takes exactly 4 arguments (5 given)"))) { result = call(3, sender, command, label, args); argcount = 3; } else if (e.type == Py.TypeError && (e.value.toString().endsWith("takes exactly 2 arguments (4 given)") || e.value.toString().endsWith("takes exactly 3 arguments (5 given)"))) { result = call(2, sender, command, label, args); argcount = 2; } else { throw e; } } } else { result = call(argcount, sender, command, label, args); } return result; } ``` Note: Still WIP on reports - I'm working on making it keep solved reports to fix issue 10
2015-01-06change indentation from 2 spaces to 4, fix #5jomo
2014-08-07use threading for offline playersjomo
2014-08-07get rid of OfflinePlayer in forcefieldjomo
2014-07-27apply file read/save helpersjomo
2014-07-19fix dicallignmentjomo
2014-07-19Small fixes and tweaksDico
2014-07-19Stuff added to helpers.py, forcefield updated to be a lot more efficient ↵Dico
(simple change)
2014-07-18minor changes. @Sheep: Take a look at the changes I made to helpers module ↵Dico
and tell me if I'm stupid.
2014-07-18Git messed around with my files, I updated it to use the uid() function in ↵Dico
helpers.py now.
2014-07-18wtf git adding random stuff to my filesDico
2014-07-18Happy with this version/build. @Sheep: Don't fix my 'dicode'!Dico
2014-07-17use uid(player) helper methodjomo
2014-07-17make dicode DRY and more readablejomo
2014-07-17Rewrote velocity calculation.Dico
2014-07-17Minor fixDico
2014-07-17Converted reports module to UUID and minor changes to forcefield moduleDico
2014-07-17removing feature which doesnt work and is stupidDico
2014-07-17Cool stuffDico
2014-07-17Another minor changeDico
2014-07-17Minor changeDico
2014-07-17No saving to files yet, but it definitely works well now.Dico
2014-07-17Updates! YAY!Dico
2014-07-17Working versionDico
2014-07-17Fixing bugs & Cleaning up code. Seems to work well now!Dico
2014-07-16debuggingjomo
2014-07-16debuggingjomo
2014-07-16use better names, fix bugsjomo
2014-07-16add readability spacingjomo
2014-07-16more code cleanupjomo
2014-07-16corrected s/idToPlayer/java_uuid/jomo
2014-07-16removed camelcase, added more coding style to readmejomo
2014-07-15Sorry for spamDico
2014-07-15Fixing movement bugsDico
2014-07-15Think I finally fixed ALL forcefield bugs, command-side-wiseDico
2014-07-15Fixing moar bugs!Dico
2014-07-15Fixing bugs...Dico
2014-07-14Unfixing fixDico
2014-07-14Fixing bugsDico
2014-07-14Added forcefield whitelist and hopefully fixed some bugsDico
2014-07-14added forcefield module, will make whitelist option laterDico