Guest petalbreeze Posted January 11, 2013 Report Posted January 11, 2013 8/21/11 - The World of Avast The world of Avast is a world of shadow and lawlessness. It is the world of ice dancing on men instead of men dancing on ice. He speaks before he understands. He wages wars of "righteousness" in favor of the lawbreaker. It's a world where good is bad, and bad is good. He's a mounted warrior who rides on a horse made of nothing; who rides over shifting sand and faltering ground. He takes up the cause of injustice and calls it truth. His voice is the voice of folly and his power is in his tongue alone. Give your ear to Avast and you will pay for it Heed him and you become his slave, discipline him and he lashes against you When he opens his mouth he is bold, he is not afraid of anyone, his boasting goes all the way to the heavens O, Troll god, why do you set your eyes on peaceful men and cast your mouth against them? Quote
Guest petalbreeze Posted January 11, 2013 Report Posted January 11, 2013 I breathe I know you don't have much to say when my eyes have been lingering your waySo I turn away, and pretend not to notice everything you doSo I sit and think about how little I know about youAnd I wonder about what makes your heart singAnd I wait my chance and steal a glimpse when you can't see my eyes There's a beauty showing in those locks of fireWhich I know is waiting in your heart like a dancer waiting for the song I'm not going rush into you like a tidal waveAnd overwhelm all your defensesAnd see you run away So I'll bide my timeTill I see your shineThen I'll touch your shoreWith a gentle roar I'm not gonna take you off your feetJust wash over them with a gentle sweep I'll learn what makes you smileand I'll learn what makes you shineI'll learn what makes you bloom And I'll bide my timeTill the wind is mineThen I'll send my songon the ocean breeze Quote
spidernl Posted January 12, 2013 Report Posted January 12, 2013 Take your medication, Arry. Perhaps get some sleep, too. Quote
Guest petalbreeze Posted January 12, 2013 Report Posted January 12, 2013 package com.spidernl.cnpluginbot.pluginsystem; import java.io.File; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import com.spidernl.cnpluginbot.core.ChatnetBot; public class PluginHandler { //Stored information on plugins private HashMap<String /*Class name*/, Plugin> plugins; private HashMap<String /*Class name*/, String /*file path*/> pluginPaths; private List<PluginEventHandler> eventHandlers; //Let these know whenever a Plugin is loaded or unloaded. private ClassLoader loader; private ChatnetBot bot; /** * Initializes a newly created PluginHandler object. * @param bot a reference to the bot that this PluginHandler * will pass to loaded plugins. */ public PluginHandler(ChatnetBot bot) { plugins = new HashMap<String, Plugin>(); pluginPaths = new HashMap<String, String>(); eventHandlers = new ArrayList<PluginEventHandler>(); this.bot = bot; } /** * Load a plugin from a specified file. * @param file the file the plugin is in * @param binaryName the binary name of the class to load * @return true if the plugin is loaded successfully, false if the plugin could not be loaded and none of the exceptions were thrown earlier * @throws MalformedURLException - See File.toURI().toURL() * @throws ClassNotFoundException - If the specified class was not found in the file * @throws IllegalAccessException - If the class or its nullary constructor is not accessible * @throws InstantiationException - If the class cannot be instantiated, for example if it is an interface */ public boolean loadPlugin(File file, String binaryName) throws MalformedURLException,ClassNotFoundException, IllegalAccessException, InstantiationException { if (isLoaded(binaryName)) unloadPlugin(binaryName); URL[] url = { file.toURI().toURL() }; loader = new URLClassLoader(url); Object classInstance = loader.loadClass(binaryName).newInstance(); if (classInstance instanceof Plugin) { Plugin plugin = (Plugin) classInstance; plugins.put(binaryName, plugin); pluginPaths.put(binaryName, file.getAbsolutePath()); if (!plugin.initialize(bot)) { plugins.remove(binaryName); pluginPaths.remove(binaryName); return false; } pluginLoaded(binaryName, plugin); return true; } return false; } /** * Unloads a plugin. Calls the unload() method for that plugin prior to unloading. * @param binaryName the binary name of the plugin to unload. * @return true if plugin was loaded and removed, false if it wasn't loaded when this method was called. */ public boolean unloadPlugin(String binaryName) { if (isLoaded(binaryName)) { pluginPaths.remove(binaryName); Plugin unloaded = plugins.remove(binaryName); unloaded.unload(); pluginUnloaded(binaryName, unloaded); return true; } return false; } /** * Whether or not a plugin is loaded. * @param binaryName the binary name of the plugin * @return true if loaded, false if not */ public boolean isLoaded(String binaryName) { return plugins.containsKey(binaryName); } /** * Used to retrieve a HashMap containing all the paths to * loaded Plugin files, mapped to their binary names. * @return a HashMap containing all the paths and classnames. */ public HashMap<String,String> getPluginPaths() { return pluginPaths; } //Event handlers /** * Register a PluginEventHandler object to the JavaPluginHandler. * The event handler will receive callbacks whenever a plugin is * loaded or unloaded. * @param handler the event handler to register. * @return true if the handler was successfully registered, false * if the handler was already registered. * @throws IllegalArgumentException if handler is null. */ public boolean addPluginEventHandler(PluginEventHandler handler) throws IllegalArgumentException { if (handler == null) throw new IllegalArgumentException(); if (eventHandlers.contains(handler)) { return false; } eventHandlers.add(handler); return true; } /** * Removes a PluginEventHandler from the registered event handlers * for this JavaPluginHandler. * @param handler the event handler to remove. * @return true if the handler was register, false if not. * @throws IllegalArgumentException if handler is null. */ public boolean removePluginEventHandler(PluginEventHandler handler) throwsIllegalArgumentException { if (handler == null) throw new IllegalArgumentException(); return eventHandlers.remove(handler); } /** * Let the PluginEventHandlers registered to this * PluginHandler know a plugin was loaded. Can be * used by plugins to fake a plugin load (for * whatever reason). * @param binaryName the binary name of the plugin. * @param plugin the plugin object cast to the * Plugin class. */ public void pluginLoaded(String binaryName, Plugin plugin) { for (PluginEventHandler handler : eventHandlers) { handler.pluginLoaded(binaryName, plugin); } } /** * Let the PluginEventHandlers registered to this * PluginHandler know a plugin was unloaded. Can be * used by plugins to fake a plugin unload (for * whatever reason). * @param binaryName the binary name of the plugin. * @param plugin the plugin object cast to the * Plugin class. */ public void pluginUnloaded(String binaryName, Plugin plugin) { for (PluginEventHandler handler : eventHandlers) { handler.pluginUnloaded(binaryName, plugin); } } } Quote
Lone Outlaw Posted January 12, 2013 Report Posted January 12, 2013 I stand here accused of insensitivityoh sure i tried to change my waysi've cried, i hugged, i've been huggedand you know what i discovered?I'M AN OFFENSIVE PERSON!but in a tolerant society is there no place for my kind?Why must everyone like me?Why can't we all, just not get along?Conflict is necessarythroughout history, human beings have persecuted the great aggitatorsSocrates, Galileo and Now me the Troll GodWhere would you be without us? to provoke and enlighten youTo attach the electrodes of knowledge to the nipples of ignorance!Throughout history all over the worldpeople have rightfully looked to subspace, for virtually nothing!but maybe one day they will be able to saythat an unpopular battle was won therefor an ugly little thing called..the truth..And when they make a movie of this, and they willI don't want to be played by woody harrelson. Quote
Lone Outlaw Posted January 12, 2013 Report Posted January 12, 2013 (edited) I am far from self righteous, and i am considered an Anti-Hero, much like Batman. Sadly i have just contributed to your education.. which is something i usually avoid doing. i prefer the people i troll to remain stupid. Edited January 12, 2013 by Lone Outlaw Quote
Guest petalbreeze Posted January 12, 2013 Report Posted January 12, 2013 I think your response this time was highly upgraded (not that I have reached ultimate status, but simply as a friend).... I believe you have what it takes to break the mold of the anti-hero....... as Rob Schneider once said "YOU CAN DO EIT!!!! YOU CAN DO EIT AWL NIGHT LONGGG!!!!" I was going to put down your original response, but I found a poem while sifting through that I think is more appropriate (please note, romantic love being applied can apply to heartfelt brotherly love too... don't trip on the word "lover"): 6/16/12 - How can I love you more when I don't understand you? How can I love you more when I don't understand you?How can I understand you more when I don't think of you? Grand are all my cagesBut your love I despise Send me a song on the windThat I may find my lover amidst all this death set your sights on GodDon't look backturn the engines to fulllet your heart flyThe world says stopbut God says "come!" Quote
Guest petalbreeze Posted January 12, 2013 Report Posted January 12, 2013 (edited) A pre-emptive rerail of this topic: JoWie> my most used extensions are noscript, firebug, https-everywhere, live http headers, adblock, downthemall JoWie> but noscript alone is enough reason for me to use firefox JoWie> i like the star in firefox JoWie> it's like a bookmark you do not bother categorizing JoWie> when you search for something later it pops up because of a keyword you entered JoWie> like when i type SS i get ssforum instead of sturmschutzeJoWie> you should try evernote Arry> aside from music... the only data on my computer is text files on my desktop Arry> everything else is programs JoWie> great thing about noscript is that JoWie> by default JoWie> no site may use javascript, flash, etc EDIT: Just realized that 6/22/11 was the day I copied a lot of text files from my computer(s) to evernote thereby losing the initial date of writing.... this is another one of those files. Edited January 12, 2013 by petalbreeze Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.