Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » BRenBot 1.53.11
Re: BRenBot 1.53.11 [message #463647 is a reply to message #463211] Mon, 05 March 2012 13:54 Go to previous messageGo to previous message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma:
General (3 Stars)
Made a test plugin to make sure there was nothing else causing problems.

Problem is caused by the xml config settings.

<config>
<cvar name="test" value="1"/>
</config>

Not sure why this is causing the problem and not in other plugins.


[13:34:17] Loading plugin TEST... Use of tied on a handle without * is deprecate
d at XML/Parser/Expat.pm line 447.
Can't use string ("1") as a HASH ref while "strict refs" in use at plugin.pm lin
e 285.
=== 5272 === Sessions were started, but POE::Kernel's run() method was never
called to execute them.  This usually happens because an error
occurred before POE::Kernel->run() could be called.  Please fix
any errors above this notice, and be sure that POE::Kernel->run()
is called.  See documentation for POE::Kernel's run() method for
another way to disable this warning.



#TEST.pm

package TEST;

use POE;
use plugin;

our $plugin_name;
our %config;

our %additional_events =
(

);

sub start
{
	my ( $session, $heap, $args ) = @_[ SESSION, HEAP, ARG0 ];
	my $kernel = $_[KERNEL];
	
	if ( $config{'test'} == 1 ) 
	{
		print ( "weeeeeeeeeee\n" );
	}
}

sub stop
{
	my ( $session, $heap, $args ) = @_[ SESSION, HEAP, ARG0 ];
	my $kernel = $_[KERNEL];
}

1;





#TEST.xml

<?xml version="1.0" ?>

<plugin name="TEST">
  <events>
  </events>
  <config>
	 <cvar name="test" value="1"/>
  </config>
</plugin>


http://s18.postimage.org/jc6qbn4k9/bricks3.png

[Updated on: Mon, 05 March 2012 16:30]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TT updater issue(s)
Next Topic: Vehicle bug
Goto Forum:
  


Current Time: Fri May 10 00:23:38 MST 2024

Total time taken to generate the page: 0.01042 seconds