战网中国
标题:
不會自動輸入密碼,解決方法
[打印本页]
作者:
jomari
时间:
2013-4-27 14:37
标题:
不會自動輸入密碼,解決方法
由
macrosuns
大大發表的
问题1,中文版的不自动输入密码:
那是因为识别不了中文版密码输入的界面,所以BOT不输入,一般的解决办法是:
打开 scripts/libs/controlInfo.ntl文件,找到如下语句
this.controls.login.location = [
this.controls.login.textBox.accountName,
this.controls.login.editBox.password,
this.controls.login.editBox.accountName,
this.controls.login.button.logIn,
];
修改成
this.controls.login.location = [
//this.controls.login.textBox.accountName,
this.controls.login.editBox.password,
this.controls.login.editBox.accountName,
this.controls.login.button.logIn,
];
就是多加了两个斜杠。
问题2,中文版的加入游戏时,经常在加入和创建游戏处点来点去,原因同上,解决方法也是打开上面那个文件,找到:
this.controls.lobby.join.location = [
this.controls.lobby.join.editBox.gameName,
this.controls.lobby.join.textBox.joinGame,
this.controls.lobby.join.textBox.gameList,
];
修改为
this.controls.lobby.join.location = [
this.controls.lobby.join.editBox.gameName,
this.controls.lobby.join.editBox.password,
//this.controls.lobby.join.textBox.joinGame,
//this.controls.lobby.join.textBox.gameList,
];
希望对大家有用啊。
作者:
zxc51405140
时间:
2013-4-27 17:31
不錯 這個很實用
作者:
brucehero
时间:
2013-4-29 19:30
修改後 中文版本 也能自動跑嗎?
作者:
jomari
时间:
2013-4-30 00:56
[quote=brucehero,1699]修改後 中文版本 也能自動跑嗎?[/quote] 是的
作者:
brucehero
时间:
2013-5-1 00:14
呵呵 我成功了 謝謝你
作者:
kentanwg
时间:
2013-5-2 09:33
单人MF可以正常使用,但teambot似乎还是不行。
作者:
viv2553
时间:
2014-5-15 00:34
翻了89頁 終於讓我找到了 ...... 改成中文版也能掛了 謝謝大大無私分享 //
作者:
kobe
时间:
2014-5-15 12:46
问题一非常好用,问题二照着改了反而不能建游戏了。
作者:
viv2553
时间:
2014-5-15 14:15
我修改之後//
司機沒問題
不過變成跟車的場場都會斷XD
可能版本不一樣ㄉ關西吧 0.0
現在司機用中文版 跟車的都用英文版掛 就不會場場斷了
作者:
st7934
时间:
2014-6-27 07:58
标题:
照您的方法改了
但還是不能
依然只能用純英文版
我房名的判斷 /f l
直接擷取司機的房名
求解 拜託
我在想是不是因為這段的關係
我有看到 English這個字眼
如果是 如何修改 求解
if(chat = controlData.get(controlData.controls.lobby.chat.textBox.channelText))
{
var errors = \'\';
var found_leader = false;
lines = chat.GetText();
for (var friend = 0; friend < lines.length; friend++)
{
if (lines[friend].lastIndexOf(\': \'+leaderAccountName+\',\') > -1)
{
game = \'\';
found_leader = true;
var regOfflineEnglish=/^\\d\\s?:\\s?(\\w*)\\s?,\\s?offline\\s*$/gi;
var regGameNameEnglish=/^\\s*(the\\s)?(game\\s)?([\\w\\s-]*\\w)\\s\\(private\\)\\.\\s*$/gi;
var regGameNameFrench=/^\\s*(la\\s)?(partie\\s)?([\\w\\s-]*\\w)\\s\\(priv[^\\)]*\\)\\.\\s*$/gi;
if (lines[friend].match(regOfflineEnglish))
{
errors += (errors == \'\' ? \'\' : \' \') + \'leader is offline\';
}
if (lines[friend + 1].match(regGameNameEnglish) && lines[friend+1].substr(1, 1) != \':\')
{
game = lines[friend + 1].replace(regGameNameEnglish, \"$3\");
}
if (!game && lines[friend + 1].match(regGameNameFrench) && lines[friend+1].substr(1, 1) != \':\')
{
game = lines[friend + 1].replace(regGameNameFrench, \"$3\");
}
if (game != \'\' && game != samegame && game != oldgame)
//if (game != \'\' && game != oldgame)
{
controlData.click(controlData.controls.lobby.button.join);
Delay(200);
controlData.setText( controlData.controls.lobby.join.editBox.gameName, game);
Delay (200);
controlData.setText( controlData.controls.lobby.join.editBox.password, gamepassword);
Delay (200);
controlData.click(controlData.controls.lobby.join.button.joinGame);
check = 1;
}
else
{
if(!errors)
{
errors = \'leader is not in game.\';
}
}
}
}
if (!found_leader && joinChannelInChat)
{
if (errors)
Say(\'Errors : \' + errors);
else
Say(\'I couldn\\\'t find the leader in my friend list.\');
Delay(1500);
}
}
else
{
if (joinChannelInChat)
Say(\'I can\\\'t read the chat!\');
}
}
errors = \'\';
if(game != \'\')
samegame = game;
break;
作者:
pome
时间:
2014-7-19 19:19
請問
我的亞馬為何飛到安達旁後就變成普攻(技能處變箭頭)
飛到督瑞爾處時連打都不打.只前後飛來飛去.
作者:
yohaa
时间:
2014-11-13 21:12
试试看啊
作者:
劉qq
时间:
2015-6-28 22:15
很讚
可以自動登入了但是遇到難題
為什麼我的司機創造遊戲了 跟車鍊等的 不是加入遊戲而是創造遊戲呢
求大大幫忙解決...............
作者:
stg617168
时间:
2015-8-5 03:24
可是我照大大您的改了之後 是順利自動進去了 但他卻一直點加入遊戲
卻不創造遊戲 根本無法遊玩 求解~
作者:
wcg928
时间:
2015-9-10 09:16
[quote=kentanwg,2350]单人MF可以正常使用,但teambot似乎还是不行。[/quote] 我测试了下..TEAM随从不能进游戏! 单机是可以的!
作者:
cowkk85181
时间:
2019-1-22 02:33
實用 頂
作者:
warking036
时间:
2019-11-9 11:32
新人学习了
作者:
battlecn9527
时间:
2019-11-14 12:55
这个要学习学习。thanks
作者:
trade
时间:
2020-4-10 13:33
谢谢公布方法,学习一下
作者:
idi
时间:
2021-12-31 09:13
这个好,谢谢分享
欢迎光临 战网中国 (http://battlecn.net/)
Powered by Discuz! X3.1