CityVilleBot (Project DEVIL)


Join the forum, it's quick and easy

CityVilleBot (Project DEVIL)
CityVilleBot (Project DEVIL)
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Try LilyCity HD, it's a real cityville clone
Enable Proxy in Bot EmptyMon Apr 20, 2015 1:52 pm by ertyanna

» expansions cityville hack new 12/12/15
Enable Proxy in Bot EmptySat Feb 14, 2015 9:52 pm by nico

» Biohazard Problem Expansion
Enable Proxy in Bot EmptySat Nov 08, 2014 3:12 pm by CV FO LIFE

» CAN SOMEONE HELP ME?
Enable Proxy in Bot EmptySat Nov 08, 2014 3:09 pm by CV FO LIFE

» hello friends i have new update of cv bot project devil 1.10 update (2.01)
Enable Proxy in Bot EmptySat Nov 01, 2014 12:59 pm by Blue Angel

» [Resolved] codebase-php Error
Enable Proxy in Bot EmptySun Oct 12, 2014 7:22 am by nico

» -_- Which bot is now working ????
Enable Proxy in Bot EmptyThu Oct 09, 2014 7:06 pm by lobobpf6

» bot 1.2 does nt work
Enable Proxy in Bot EmptySun Aug 10, 2014 1:00 am by nathaliafariass

» COMO FUNCIONA
Enable Proxy in Bot EmptySun Aug 10, 2014 12:38 am by nathaliafariass

Affiliates
free forum


Enable Proxy in Bot

4 posters

Go down

Enable Proxy in Bot Empty Enable Proxy in Bot

Post  JeanetteP Sat Aug 11, 2012 7:17 pm

Sorry, I don't know where to post my question because the 'other' part is gone.

Can someone please explain how I can enable my proxy in the botsettings? Mine are disabled so maybe this is the problem why my bot isn't running well.

Thanks for your help,

Jeanette

JeanetteP

Posts : 21
Points : 29
Join date : 2012-06-17

Back to top Go down

Enable Proxy in Bot Empty Re: Enable Proxy in Bot

Post  demian.kinley Sat Aug 11, 2012 9:21 pm

JeanetteP wrote:Sorry, I don't know where to post my question because the 'other' part is gone.

Can someone please explain how I can enable my proxy in the botsettings? Mine are disabled so maybe this is the problem why my bot isn't running well.

Thanks for your help,

Jeanette

its not possible to enable proxy settings for the bot !!

this are changed !!

demian.kinley

Posts : 323
Points : 351
Join date : 2012-02-20

Back to top Go down

Enable Proxy in Bot Empty Re: Enable Proxy in Bot

Post  1soni Sun Aug 12, 2012 5:34 am

demian.kinley wrote:
JeanetteP wrote:Sorry, I don't know where to post my question because the 'other' part is gone.

Can someone please explain how I can enable my proxy in the botsettings? Mine are disabled so maybe this is the problem why my bot isn't running well.

Thanks for your help,

Jeanette

its not possible to enable proxy settings for the bot !!

this are changed !!
its possible to change we can change in setting .. but i dont use proxy !

1soni

Posts : 54
Points : 64
Join date : 2012-07-03
Age : 25

https://www.facebook.com/vayun.soni

Back to top Go down

Enable Proxy in Bot Empty Re: Enable Proxy in Bot

Post  demian.kinley Sun Aug 12, 2012 10:53 am

1soni wrote:
demian.kinley wrote:
JeanetteP wrote:Sorry, I don't know where to post my question because the 'other' part is gone.

Can someone please explain how I can enable my proxy in the botsettings? Mine are disabled so maybe this is the problem why my bot isn't running well.

Thanks for your help,

Jeanette

its not possible to enable proxy settings for the bot !!

this are changed !!
its possible to change we can change in setting .. but i dont use proxy !

yes in settings,, but dont work !! believe me..

demian.kinley

Posts : 323
Points : 351
Join date : 2012-02-20

Back to top Go down

Enable Proxy in Bot Empty Re: Enable Proxy in Bot

Post  1soni Sun Aug 12, 2012 11:23 am

then sorry i dont know Sad

1soni

Posts : 54
Points : 64
Join date : 2012-07-03
Age : 25

https://www.facebook.com/vayun.soni

Back to top Go down

Enable Proxy in Bot Empty Re: Enable Proxy in Bot

Post  JeanetteP Mon Aug 13, 2012 4:25 pm

Too bad. I am one of the users who can't use the bot because of the Access Violation message (no data restore). Someone told me to use the proxy, so it was my last change of getting the bot working again.

I don't know what to do anymore. affraid

Thanks for the help,

JeanetteP

Posts : 21
Points : 29
Join date : 2012-06-17

Back to top Go down

Enable Proxy in Bot Empty Re: Enable Proxy in Bot

Post  gastal Mon Aug 13, 2012 7:59 pm

Edit these lines in options.ini

iProxyUse=x
sProxyUser=
sProxyHost=yyy.yyy.yyy.yyy
ProxyPass=
iProxyPort=zzzz

where x=1 -- proxy enabled
x=0 -- proxy disabled

yyy.yyy.yyy.yyy --> proxy server address
zzzz --> proxy server port
AND

In \codebase-php\BotClass.php replace the function Connect() with this:

Code:

   function Connect(){
      if ($this->GetParamByName("iProxyUse") == 1) {
         $this->s = fsockopen($this->GetParamByName("sProxyHost"), $this->GetParamByName("iProxyPort"));
      }
      else{
         //$this->SendMsg("headers:". $this->headers["Host"]);
         $this->s = fsockopen($this->headers["Host"], 80, $errNo, $errStr, 30);
      }

      $ctry = 0;
      if ($errNo > 0){
         $this->SendMsg('=====================================');
         while (!$this->s && ($ctry < 3)){
            $this->SendMsg('ERROR: (' . $errNo . ') ' . $errStr);
            $ctry++;
            $this->SendMsg('Connection try #' . $ctry . ' ...');
            if ($this->GetParamByName("iProxyUse") == 1){
               $this->s = fsockopen($this->GetParamByName("sProxyHost"), $this->GetParamByName("iProxyPort"));
            }
            else{
               $this->s = fsockopen($this->headers["Host"], 80, $errNo, $errStr, 30);
            }
         }
         if ($this->s){
            $this->SendMsg('Connection estabilished again. Continuing work in progress...');
            $this->SendMsg('=====================================');
         }
      }

      if (!$this->s){
         $this->SendMsg("Error: Can't connect to game server");
         exit;
      }
   }

gastal

Posts : 1
Points : 1
Join date : 2012-03-15

Back to top Go down

Enable Proxy in Bot Empty Re: Enable Proxy in Bot

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum