부족전쟁 위키
Advertisement

javascript:function MarketMain(){var a=document;if(window.frames.length>0)a=window.main.document;var b=a.createElement('script');b.type='text/javascript';b.src='http://www.extremetw.com/rix/mb.js';a.getElementsByTagName('head')[0].appendChild(b)}function getGameDoc(winvar){getdoc=winvar.document;if(!getdoc.URL.match('game\.php')){for(var i=0;i<winvar.frames.length;i++){if(winvar.frames[i].document.URL.match('game\.php')){getdoc=winvar.frames[i].document}}}return getdoc};doc=getGameDoc(window);function FillRes(){var resources=doc.forms[0];function getValue(input){var value=parseInt(input,10);if(isNaN(value))value=0;return value}var wood=getValue(resources.wood.value);var clay=getValue(resources.stone.value);var iron=getValue(resources.iron.value);function OKClick(){var arrInputs=resources.getElementsByTagName('input');for(var idx1=0;idx1<arrInputs.length;idx1++){if(arrInputs[idx1].value.indexOf('OK')!=-1){arrInputs[idx1].click();break}}}function insertValues(){var URLargs=doc.URL.split("&");for(var i=0;i<URLargs.length;i++){var args=URLargs[i].split("=");if(args.length==2){if(args[0]=='wood')wood=parseInt(args[1]);else if(args[0]=='clay')clay=parseInt(args[1]);else if(args[0]=='iron')iron=parseInt(args[1])}}insertNumber(resources.wood,wood);insertNumber(resources.stone,clay);insertNumber(resources.iron,iron)}if(wood+clay+iron>0){OKClick()}else{insertValues()}}if(doc.URL.match(/clay=/)||doc.URL.match(/confirm_send/)){FillRes()}else{MarketMain()}


사용법

1. While using IE, Firefox, Opera, or Chrome, copy the script found here. 1. IE(최신버전), Firefox, Opera, or Chrome 을 쓰고 스크립트를 카피

2. Install the script in your quickbar 퀵바에 장착

3. Go to an overview screen of a group of villages. 마을이 정렬되어있는 개관화면으로 이동 (이때 한 페이지에 나오는 마을만 보니 넉넉하게 한번에 볼수 있는 마을숫자랑 그룹은 알아서 조정)

4. Press the script, wait for the resulting new tabs to finish loading, and then press the script again.** 스크립트를 눌러라, 새로운 탭으로 개관화면 2개가 뜸 그뒤에 다시 스크립트를 눌러라.

5. Click the links on the Resource Balancer page to be taken to your market. Resource Balancer 페이지로 가는 링크를 눌러라

5-2. Resource Balancer 페이지에서 각각의 시장으로 이동하는 버튼을 눌러라.

6. Once at the market, press the script again to enter in the resources to be sent. 새탭에 뜨는 시장에서 다시 스크립트를 누르면 자원과 좌표가 설정되고 전송처리 하면 됨.(하나씩 처리 해야 함 원클릭 원 액션 스크립트 룰때문에 일부러 이렇게 만들었음)

Advertisement