DeadEd.com
IRC Bots, Java Game Query and Control Libraries, and More ...
Sign Up!
Login
Welcome to DeadEd.com
Monday, September 25 2017 @ 01:06 AM CDT

 Forum Index > DeadEd.com > IRC Bots
 Loading PieSpy in PPF
 |  Printable Version
By: minid33 (offline) on Friday, May 07 2010 @ 11:40 AM CDT (Read 2148 times)  
minid33

Iv'e been trying to get PieSpy running in PPF. I looked in the PPFConfig.xml, There evidently is no line to simply enable PieSpy. I did try to add these by simply copying the pattern.

I load the plugin doing

<^MiNi_D^> loadplugin PieSpy

it fails to load

 

Is there anything else i should be doing?

 

I came up with :

 

PHP Formatted Code

 <plugin load="yes">
      <name>PieSpy</name>
      <classname>net.sourceforge.ppf.plugin.piespyplugin.PieSpyPlugin</classname>
  </plugin>
 

 

In my PPF/system/PieSpy/PieSpyConfig.xml I have this: (a rename of the template basically)

 

PHP Formatted Code

<?xml version="1.0" encoding="UTF-8"?>
<piespyConfig>
        <image>
                <width>800</width>
                <height>600</height>
                <directory>/path/to/apache/dir/is/hidden/</directory>
                <createCurrent>true</createCurrent>
                <createArchive>true</createArchive>
                <createRestorePoints>false</createRestorePoints>
                <color>
                        <background>#ffffff</background>
                        <channel>#eeeeff</channel>
                        <label>#000000</label>
                        <title>#9999cc</title>
                        <node>#ffff00</node>
                        <edge>#6666ff</edge>
                        <border>#666666</border>
                </color>
        </image>

        <!-- List of nicks to ignore for graphing -->
        <ignoreSet>
                <ignore>PieSpy</ignore>
                <ignore>rizbot</ignore>
                <ignore>zibrot</ignore>
        </ignoreSet>

        <!-- ADVANCED SETTINGS: DON'T CHANGE -->
        <advanced>
                <temporalDecayAmount>0.02</temporalDecayAmount>
                <springEmbedderIterations>1000</springEmbedderIterations>
                <k>2</k>
                <c>0.01</c>
                <maxRepulsiveForceDistance>6</maxRepulsiveForceDistance>
                <maxNodeMovement>0.5</maxNodeMovement>
                <minDiagramSize>10</minDiagramSize>
                <borderSize>50</borderSize>
                <nodeRadius>5</nodeRadius>
                <edgeThreshold>0</edgeThreshold>
                <showEdges>true</showEdges>
        </advanced>

        <!-- Heuristic Weightings: BREAK AT YOUR OWN RISK -->
        <heuristic>
                <inference>
                        <adjacency>0</adjacency>
                        <binarySequence>1</binarySequence>
                        <directAddressing>1</directAddressing>
                        <indirectAddressing>0.3</indirectAddressing>
                </inference>
        </heuristic>
</piespyConfig>

PHP Formatted Code

java.lang.ClassNotFoundException: net.sourceforge.ppf.plugin.piespyplugin.PieSpyPlugin
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
        at net.sourceforge.ppf.PluginManager.loadPlugin(PluginManager.java:140)
        at net.sourceforge.ppf.PPF.onPrivateMessage(PPF.java:865)
        at org.jibble.pircbot.PircBot.handleLine(PircBot.java:989)
        at org.jibble.pircbot.InputThread.run(InputThread.java:95)

 

Solution was wrong classname

 

it should be : "net.sourceforge.ppf.plugin.piespy.PieSpyPlugin"

 

 


Forum Newbie
Newbie


Status: offline

Registered: 05/07/10
Posts: 1

Profile Email    
   



 All times are CDT. The time is now 01:06 AM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to Post 
Filtered HTML Allowed 
Censored Content 

My Account





Sign up as a New User
Lost your password?

What's New

Stories

No new stories

Comments last 2 days

No new comments

Files last 14 days

No new files
No new comments

Links last 2 weeks

No new links