Joined: 15 Mar 2004 Posts: 661 Location: Manchester, UK
Posted: Fri Jan 14, 2005 4:23 pm Post subject:
Jamie3 bot-depot's moto is "help us help you" so give us info about your OS and blobsy version as matt said. Also which bit are you stuck on? Or if you havn't even tried have a go yuorself first before asking you might be able to do it on your own. _________________ MSN: gavin [at] gavinbrittain [dot] co [dot] uk
E-Portfolio: www.gavinbrittain.co.uk (New version comming soon)
I need to document this, Jaa's version wasn't really written for people who didn't know what they were doing!
IF USING LINUX Upload ALL files to a folder, chmod /tmp/ to 777 edit your default.conf.php file appropiately, mysql support is included by DISABLED by default in blobsy 2 rc5! run bstart.php in your browser (or the shell if you have access)
Windows is a little more complicated... Download the PHP binary for the latest 5.0 version. (PHP5 works for me... so use that!) Install it, when asked which server you run, select the last option (no server) Then, right-click on "My Computer" and click Properties, Click the Advanced Tab Then click on "Environment Variables" A dialog should appear, in the bottom box, double click "PATH" and another dialog should appear. Add "C:\PHP\" to the list (Asuming that C is your HD) You must seperate all values in that box with a semicolon! (e.g. Root%;%SystemRoot%\System32\Wbem;C:\PHP\;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\GTK\2.0\bin) Edit the config file appropiately, putting php-cgi as your "phpbin" (remember mysql is disabled by default) Fire up command prompt (Start >> Run "cmd") Navigate to your blobsy directory using the "cd" command, then once you're there type "php-cgi bstart.php" It should say (amongst everything else) "Bot Started"Give it a minute or 2, then your bot should start up
Blobsy is not a beginners bot!! it comes with NO pre-made commands, so if you're not confident with PHP, go learn it!
I run blobsy without a hitch on windows with PHP 5.0.2 XP Professional (SP2) Firewall running Hope this has been of some help. The blobsy forum (www.blobsy.org/forum) is avaliable aswell. Good luck! -Maxeh
I take it you didn't read the readme! Once you followed my instructions your PHPBIN IS "php-cgi" !! The reason it was failing probably had something to do with the fact it couldn't run that file.
Plus your DB stuff is utterly wrong!! the 'db' means the type of database! (In your case i asume that's mysql) to disable, type "dummy" which just stops errors in any mysql scripts from stopping your script from working
Joined: 28 Dec 2004 Posts: 13 Location: Earth... Or is it Moon? *Hmm...*
Posted: Sat Jan 15, 2005 7:40 am Post subject:
well, "thanks" (just like i really thank you *sarcasm*) for lowering my reputation, BUT I DID LOOK IN IT!!!! EDIT: And try asking if I looked in it before lowering!!
Well why didn't you follow it? If you had done, your phpbin would've been "php-cgi" and your db would've been "mysql" or "dummy" But hey, i'm not one to have an arguement over the internet Anyway, does your bot work now?
I downloaded blobsy. Downloaded php 4 and installed it into c:\php I added the system variable php-cgi and php both with "C:\php\" as their value I also got mysql installed.
So that will run php.exe from its own folder to execute bstart.php (copying just an EXE into another folder is a bad idea anyway, as some EXE's require the use of local files). _________________ Current Site (2008) http://www.cuvou.com/
C:\msnbot> c:\PHP\php.exe C:\msnbot\bstart.php Makes PHP encounter an error. I havnt modified any PHP settings, only downloaded php 4 and installed it into c:\php. Could it be i need php5?
Lol, Yes, you need PHP5 for my tutorial to work It'd be a good idea to uninstall PHP4 first though *EDIT* Looking at your config file, make sure once you install PHP5 you change the "phpbin" to "php-cgi" -Max
Now, you started it up in an odd way. But it seemed to work, so meh. If you still have problems, check the username and password in the config file. Along with the other information. Make sure firewalls are off (or told to let blobsy through), etc...
Other than that, you shouldn't have a problem. As what you saw is what was meant to have happened So as I said, maybe a config error, maybe a firewall...?