User Control Panel
Advertisements

HELP US, HELP YOU!

Andromeda/Perl Problem In MSDos!
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Bot Depot Forum Index -> Perl
View unanswered posts
Author Message
Flava
Newbie
Newbie


Joined: 24 Jan 2004
Posts: 35

Reputation: 28.5Reputation: 28.5Reputation: 28.5

PostPosted: Sun Jan 25, 2004 7:48 am    Post subject: Reply with quote

When installing I said yes everytime so something is not wrong - I cant help but think that it could be something to do with Windows XP.. I tried the System Variable thing - didn't work. I tried going to c:\perl\bin\perl andromeda.pl - didn't work. I've rebooted so many times, I've re-installed perl 3 times.. :S
Back to top
eric256
The Keymaker
The Keymaker


Joined: 03 May 2006
Posts: 2292
Location: Colorado
Reputation: 47Reputation: 47Reputation: 47Reputation: 47Reputation: 47

PostPosted: Sun Jan 25, 2004 8:27 am    Post subject: Reply with quote

Okay Flava here is the low down. I dare say many people here use XP, i personaly have run bots on three comptuers, XP Pro, XP Home, and 98. I have not had any trouble with any of them, so i don't think this has to do with the operating system. Now the nitty gritty. In dos (that command prompt thingy) it looks for commands in a very specific manner. It goes threw the environment variable PATH and looks in each of those directories trying to find the command you typed. So if you type perl and it gives you that error, it means it has searched each of those directories and still cannot find perl. This should only happen if you don't let perl's install proceed normaly, because normaly it adds itself to the PATH variable. To check that perl is installed and functioning try this.

Start -> Run -> "cmd.exe"
cd \
cd perl
cd bin
perl -v

This should print version info for perl. If it succeeds continue, otherwise post the error you get.

cd \
perl -v

This should once agian print your version info. If the you get here and then have an error, it means perl is installed but the path variable got boinked somehow. Try following Keenies directions from above, a second time.

If you happend to install perl somewhere other than C:\perl\ then modify the directions above.

Good luck, good hunting!

_________________
Eric256
Proud previous owner and current admin of Bot-depot.com
Back to top
Flava
Newbie
Newbie


Joined: 24 Jan 2004
Posts: 35

Reputation: 28.5Reputation: 28.5Reputation: 28.5

PostPosted: Sun Jan 25, 2004 8:39 am    Post subject: Reply with quote

I did what you said and it did print the version info:

Code:
C:\>cd perl<br /><br />C:\Perl>cd bin<br /><br />C:\Perl\bin>perl -v<br /><br />This is perl, v5.8.2 built for MSWin32-x86-multi-thread<br />(with 25 registered patches, see perl -V for more detail)<br /><br />Copyright 1987-2003, Larry Wall<br /><br />Binary build 808 provided by ActiveState Corp. http://www.ActiveState.com<br />ActiveState is a division of Sophos.<br />Built Dec  9 2003 10:19:40<br /><br />Perl may be copied only under the terms of either the Artistic License or the<br />GNU General Public License, which may be found in the Perl 5 source kit.<br /><br />Complete documentation for Perl, including FAQ lists, should be found on<br />this system using `man perl' or `perldoc perl'.  If you have access to the<br />Internet, point your browser at http://www.perl.com/, the Perl Home Page.


Is this right?
Back to top
Keenie
Almost An Agent
Almost An Agent


Joined: 31 Oct 2003
Posts: 1071

Reputation: 52.4

PostPosted: Sun Jan 25, 2004 9:19 am    Post subject: Reply with quote

yup thats exactly what it should print. now try it from somewhere other than your bin directory so:
Quote:
cd \
perl -v

and see if it prints the same thing
Back to top
Flava
Newbie
Newbie


Joined: 24 Jan 2004
Posts: 35

Reputation: 28.5Reputation: 28.5Reputation: 28.5

PostPosted: Sun Jan 25, 2004 9:23 am    Post subject: Reply with quote

Code:
C:\>cd perl<br /><br />C:\Perl>cd bin<br /><br />C:\Perl\bin>perl -v<br /><br />This is perl, v5.8.2 built for MSWin32-x86-multi-thread<br />(with 25 registered patches, see perl -V for more detail)<br /><br />Copyright 1987-2003, Larry Wall<br /><br />Binary build 808 provided by ActiveState Corp. http://www.ActiveState.com<br />ActiveState is a division of Sophos.<br />Built Dec  9 2003 10:19:40<br /><br />Perl may be copied only under the terms of either the Artistic License or the<br />GNU General Public License, which may be found in the Perl 5 source kit.<br /><br />Complete documentation for Perl, including FAQ lists, should be found on<br />this system using `man perl' or `perldoc perl'.  If you have access to the<br />Internet, point your browser at http://www.perl.com/, the Perl Home Page.<br /><br /><br />C:\Perl\bin>cd\<br /><br />C:\>perl -v<br />'perl' is not recognized as an internal or external command,<br />operable program or batch file.<br /><br />C:\>


Hope i'm doing this right :S
Back to top
Flava
Newbie
Newbie


Joined: 24 Jan 2004
Posts: 35

Reputation: 28.5Reputation: 28.5Reputation: 28.5

PostPosted: Sun Jan 25, 2004 9:47 am    Post subject: Reply with quote

Okay the version of Perl I installed was via MSDos and so I downloaded the executable version of Perl which installed to my PC. Now I get a different error:

Code:
C:\andromeda>perl andromeda.pl<br />Can't locate Event/Handler.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/l<br />ib .) at MSN.pm line 93.<br />BEGIN failed--compilation aborted at MSN.pm line 93.<br />Compilation failed in require at MSN/Bot.pm line 8.<br />BEGIN failed--compilation aborted at MSN/Bot.pm line 8.<br />Compilation failed in require at andromeda.pl line 4.<br />BEGIN failed--compilation aborted at andromeda.pl line 4.<br /><br />C:\andromeda>


What is going on? :S
Back to top
Micky G
Member
Member


Joined: 30 Dec 2003
Posts: 144

Reputation: 31.5Reputation: 31.5Reputation: 31.5

PostPosted: Sun Jan 25, 2004 10:07 am    Post subject: Reply with quote

Now we are getting some, where! You dont have the handler.pm, Go and get it from protocols, or where ever it is on the forum! Wink
Back to top
Keenie
Almost An Agent
Almost An Agent


Joined: 31 Oct 2003
Posts: 1071

Reputation: 52.4

PostPosted: Sun Jan 25, 2004 10:17 am    Post subject: Reply with quote

More specifically..
Download one of the zips in the protocols section under downloads, in one of the early msn.pm threads, msn 1.1 and 1.2 have it i think
then extract Handler.pm
into C:/perl/lib/Event/
or if you have a folder named "lib" already in your bot directory, which andromeda does im pretty sure, then you can stick it inside /lib/Event/
Back to top
Flava
Newbie
Newbie


Joined: 24 Jan 2004
Posts: 35

Reputation: 28.5Reputation: 28.5Reputation: 28.5

PostPosted: Sun Jan 25, 2004 10:31 am    Post subject: Reply with quote

Thanks guys - not sure if it will work but I am trying it now! I'll tell you if it works Smile
Back to top
Flava
Newbie
Newbie


Joined: 24 Jan 2004
Posts: 35

Reputation: 28.5Reputation: 28.5Reputation: 28.5

PostPosted: Sun Jan 25, 2004 10:38 am    Post subject: Reply with quote

Got it working but ANOTHER error:

Code:
C:\andromeda>perl andromeda.pl<br />First time config...<br />Enter your bots username: ******@hotmail.com<br />Enter your bots password: *****<br />Enter your bots command char: (!):<br />Enter your bots Admins seperated by , : *****@hotmail.com, *****@hotm<br />ail.com<br />Enter your bots Mods seperated by , : *****@hotmail.com<br />Select a brain:<br />     1.) basic - Basic Brain with no features. Echos user input.<br /> (1)1<br />Starting now...<br />Can't locate object method "set_handler" via package "MSN" at MSN/Bot.pm line 65<br />, <STDIN> line 6.<br /><br />C:\andromeda>


I blanked out the MSN addresses and passwords Smile
Back to top
Tom Clancy
Young One
Young One


Joined: 24 Jan 2004
Posts: 57

Reputation: 28.9Reputation: 28.9Reputation: 28.9

PostPosted: Sun Jan 25, 2004 11:19 pm    Post subject: Reply with quote

hmm *lazy* gotta older version of andormeda
for brain selection it should have 2 options
Back to top
eric256
The Keymaker
The Keymaker


Joined: 03 May 2006
Posts: 2292
Location: Colorado
Reputation: 47Reputation: 47Reputation: 47Reputation: 47Reputation: 47

PostPosted: Mon Jan 26, 2004 12:16 am    Post subject: Reply with quote

If its not printing MSN version info then you do not have the newest version of MSN.pm so go get it.
_________________
Eric256
Proud previous owner and current admin of Bot-depot.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Perl All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group