I want to change UDOBot for Private Server Version 4.1
this does not connect
in clientversion.txt is the text v4.1
main.swf Version Code:
Code:
package net.bigpoint.darkorbit.version
{
public class Version extends Object
{
public function Version()
{
super();
}
public static const VALUE:String = "4.1";
}
}
the Original login Bot code is:
Code:
SendPacket(hSocket,String::Format(L"LOGIN|{0}|{1}|{2}",UID,SessionID,DOClientVersion));
__Ping
main.swf ConnectionManager Code:
Code:
public function handleGameServerConnect(param1:Event) : void
{
this.startConnectionMonitorTimer();
var _loc2_:Array = [Hero.userID,Hero.sessionID,Main.version];
if(!(Hero.factionID == 0) && Settings.mapID == 255)
{
_loc2_.push(Hero.factionID);
}
this.sendCommand("LOGIN",_loc2_);
if(this.pingTimer == null)
{
this.pingTimer = new Timer(25000,0);
this.pingTimer.addEventListener(TimerEvent.TIMER,this.handlePingTick);
this.handlePingTick(null);
this.pingTimer.start();
}
}
Is that not right?
PHP Code:
this.sendCommand("LOGIN",_loc2_); var _loc2_:Array = [Hero.userID,Hero.sessionID,Main.version];
SendPacket(hSocket,String::Format(L"LOGIN|{0}|{1}|{2}",UID,SessionID,DOClientVersion));
Bot has the connection to Server Over Maps.php
example...

the sent data vor ip under <map id="x"> <gameserverIP> xxx.xxx.xxx.xxx.</gameserverIP></map> ...
it works
but bot does not start
here is the source code of UDOBot Created with microsoft visual c++ 2008
Free Release Created By: Richard Szibele
thank you and sorry for my englich






