Enable Proxy in Bot
4 posters
Page 1 of 1
Enable Proxy in Bot
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
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
Re: Enable Proxy in Bot
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
Re: Enable Proxy in Bot
its possible to change we can change in setting .. but i dont use proxy !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 !!
Re: Enable Proxy in Bot
1soni wrote:its possible to change we can change in setting .. but i dont use proxy !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 !!
yes in settings,, but dont work !! believe me..
demian.kinley- Posts : 323
Points : 351
Join date : 2012-02-20
Re: Enable Proxy in Bot
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.
Thanks for the help,
I don't know what to do anymore.
Thanks for the help,
JeanetteP- Posts : 21
Points : 29
Join date : 2012-06-17
Re: Enable Proxy in Bot
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:
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
Similar topics
» I need help to enable the proxy of the cvbot
» I need help to enable the proxy of the cvbot
» Charles Proxy 3.6.5
» how 2 enable javascript
» Charle Proxy
» I need help to enable the proxy of the cvbot
» Charles Proxy 3.6.5
» how 2 enable javascript
» Charle Proxy
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Mon Apr 20, 2015 1:52 pm by ertyanna
» expansions cityville hack new 12/12/15
Sat Feb 14, 2015 9:52 pm by nico
» Biohazard Problem Expansion
Sat Nov 08, 2014 3:12 pm by CV FO LIFE
» CAN SOMEONE HELP ME?
Sat 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)
Sat Nov 01, 2014 12:59 pm by Blue Angel
» [Resolved] codebase-php Error
Sun Oct 12, 2014 7:22 am by nico
» -_- Which bot is now working ????
Thu Oct 09, 2014 7:06 pm by lobobpf6
» bot 1.2 does nt work
Sun Aug 10, 2014 1:00 am by nathaliafariass
» COMO FUNCIONA
Sun Aug 10, 2014 12:38 am by nathaliafariass