19th Aug, 2008

Facebook 古惑仔 Online 自動存錢做任務機 Version 1.0

by 真正 john

基本上整合同埋改良左好多, 而且有詳盡既 comment 同埋使用方法, 所以個 script 作者直接寫左做真正john。

Function:

  • check strength and gold every loading and in 5 minutes. if you have strength, auto run the default job.
  • if you have over $100 cash, auto throw them in the bank

Known problem:

  • may stop at “Try again” error message when the game is busy at night
  • does not work with Facebook new user interface

What you should know about the game:

  • when you want to get cash from bank, disable greasemoney first, or your money will go back to the bank with 10% cut off.
  • if you do not have enough strength, a job won’t run
  • if you do not have ALL the required equipment, a job won’t run
  • if you do not meet the level / buddy requirement, a job won’t run
  • you generate 5 health, 1 strength, and 1 mind every 5 minutes
  • the hourly pay always take place at 0 minutes every hour, if your computer clock syn with the world clock
  • if you use this script and got banned, don’t blame us

如果要改做任務, 可以跟據指示去做:

// Things you can change
//———————————————————————————————
// 工作代號,可選: 1 至 9. job 5 是走水貨
const jobid = 5; //<- 改這個的話,記得改埋體力要求.
// 該工作最低體力要求. if you have this wrong the script will fail to work
// – job 5 need 10, job 6 need 15, job 7 need 18, job 8 need 25, etc…
const needstrength = 10; //
//——————————————————————

下載

多謝真正 john!

分享這編文章:
  • Facebook
  • Twitter
  • Digg
  • del.icio.us
  • Yahoo! Buzz
  • StumbleUpon

相關文章

回應

照舊有box=run到?

john on 2008-08-19 14:21

如果個note出亂碼實run唔到?
我d中文字會變亂碼
可唔可以係到直貼文字板

john on 2008-08-19 14:22

o晒嘴
用我不嬲都覺得會出亂碼既wardpet竟然咩事都冇
神到

john on 2008-08-19 14:34

yo
得左la

john on 2008-08-19 14:37

頭先用舊嗰個 script 畀 facebook 發現我用 bot,
ban 左我 24hr

我估 facebook 呢幾日有偷偷地換 script

Sunny on 2008-08-19 20:21

Hi~
請問點用?
Thanks!

Daniel on 2008-08-19 23:01

點解我用唔到既….
之前分開既mission1.0同bank1.2都用到…
不過成日個時間變負數….
今次連個box都無出…

同埋我想問有無得由1lv重新玩過..??

THZ

Ken on 2008-08-20 10:10

個 box 無出只有 2 個可能,1 就係你用左 facebook 個新介面。1 就係你個 browser default 用左簡體或英文,的中文字錯左。

要知係咪 case 2 你可以响 greasemonkey 管理,用 edit 看看個 script 有冇「現金」同「體力」兩個字。如果冇,你可能要試用其他方法 download 個 file,轉返繁體中文,再 paste 落 greasemonkey 度。

真正 john on 2008-08-20 11:29

ok了….安裝多一次就得左….
睇落好似比之前好左….

THZ

Ken on 2008-08-20 12:26

唔得呀>.<
post圖出尼教呀!!

hoho on 2008-08-20 20:32

ken
係有得架
我都係咁
錯點就re番
轉email
再開新ac
咁就可以用番一開頭就email玩
但要重新加好友

john on 2008-08-21 14:22

我想知點bookmark人黎打
開左人地個資料
記低個9個數字
之後點打

john on 2008-08-21 14:24

睇下個 URL 有冇 user id
有先至bookmark

腦功仔 on 2008-08-21 15:13

john….不過我想用同一個ac

THZ

Ken on 2008-08-21 23:08

請問用咩編輯

MB on 2008-08-22 01:10

跟足都係用唔到/.\

MB on 2008-08-22 01:31

re MB

係”附屬應用程式”複製個”記事本”係桌面…
編輯個度咁”記事本”就得

Ken on 2008-08-22 17:22

john…你覺得點樣加點先最好??

Ken on 2008-08-23 11:39

ken問哪個john
作者還是我
還是體吧
1體:1.5exp
1精:3exp
不過愈高lv愈可能俾人打
打人不太可能了

john on 2008-08-24 18:39

腦功仔話個9個字記低?
但係點打佢

john on 2008-08-24 18:53

又出左隻打工仔online,會唔會又寫程式?

神祕人 on 2008-08-24 20:30

自行選擇做咩任務,唔使去到改代碼。
片斷:
job_list: [
{id:1, name:'代客泊車', str:1},
{id:2, name:'賣翻版DVD', str:3},
{id:3, name:'幫-收數', str:5},
{id:4, name:'麻將館睇埸', str:7},
{id:5, name:'走水貨-大陸', str:10},
{id:6, name:'偷車', str:15},
{id:7, name:'放貴利', str:18},
{id:8, name:'打劫銀行', str:25},
{id:9, name:'∞洗劫金鋪', str:30}
]

====

$(‘a_job’).addEventListener(‘change’, function() {
GM_setValue(‘job’, $(‘a_job’).selectedIndex+1);
}, true);

====

code.push(”);
for (var i=0; i < job_list.length; i ++ ) {
code.push(”+job_list[i].name+”);
}
code.push(”);
win_info.innerHTML = code.join(‘\n’);

good luck~

唔知邊個 on 2008-08-25 10:43

其實你咁樣pub D script唔驚再次俾人ban咩?

唔知邊個 on 2008-08-25 10:52

支持出辦公室online script

MB on 2008-08-25 14:24

想問下古惑仔 Online個document.getElementById(app17326627347_main)

點搵辦公室onlineo個個?
想自己試下改

thanks

NB on 2008-08-25 15:07

found it, i think its app21745179649_main

NB on 2008-08-25 16:32

真正 john, 可唔可以教我點寫check辦公室online o既壓力, 我改左可以run喇, 但係要加個check壓力 less than X (e.g. 98) in function check_and_run() {

唔該哂

NB on 2008-08-25 17:05

仲有個唔識寫

因為壓力太高會影響工作得到的錢和經驗, 所以我想個function check_and_run() check左”壓力”先. 然後再決定做邊個工作.

例如, check壓力如果高過50, and 精神 > 1, then 做減壓工作 (job_id=3). 壓力如果低過50, and 精神 > 1, then 做 job_id=x.

真正 john可唔可以幫幫手?

thanks alot

NB on 2008-08-25 17:38

你都係問 neo 兄啦。我只係將佢的 script pack 埋拎去賣。我係真正二打六。 =.=

真正 john on 2008-08-25 18:58

冇人答我點bookmark人打…

其實打工仔定辦公室online多d人玩

john on 2008-08-25 20:52

check 數值既話, 有冇睇下個 regular expression?
e.g.,
str = (new RegExp(‘體力:[^<]+’)).exec(health_tag.innerHTML);

腦功仔 on 2008-08-25 22:09

neo, 想問下個 health_tag 係咪user defined? 定係個名係defaulted 要搵出黎? 用咩addon可以睇到個app page o既info?

thanks

NB on 2008-08-25 22:43

i had installed greasemonkey in my firefox, what is my next step a?

joe on 2008-08-26 15:18

where do i need to paste the script? what do i need to fill in the new user script?

thanks!

joe on 2008-08-26 15:20

我可以指人打了
但時得時唔得

john on 2008-08-26 15:45

原來同伴唔打得
有冇辦法打同伴/把他kick掉

john on 2008-08-26 15:59

health_tag 係 javascript 入面既一個 variable, 你可以參考返個 script, 睇下點 define

腦功仔 on 2008-08-26 20:41

請問有冇辦公室online既javascript 我吾識改 不過都多謝樓主

ko on 2008-08-26 21:49

把古惑 script 改作辦公室 script 事實上好簡單…

check 壓力的 script 如下…希望幫到人。

function check_pressure() {
// check money
pressure_tag = document.getElementById(‘app21745179649_main’);
if ( pressure_tag == null) return;
str = (new RegExp(‘壓力:[^v]+’)).exec(pressure_tag.innerHTML);
if (str == null) return null;
pressure = parseInt(str.toString().split(‘:’)[1].split(‘/’)[0]);
return pressure;
}

真正 john on 2008-08-27 00:39

我都想要script… 我都唔識改…
謝謝

bebe on 2008-08-27 02:06

依?
的 ‘ 變左 microsoft 個 quotation mark?

真正 john on 2008-08-27 09:30

我仲係吾明點樣改法啊 可吾可以詳細d講? 吾該

ko on 2008-08-27 10:26

john 我都吾係好識programme既野 so 真係吾知要點改法 可否 上載多個script 方便辦公室online呢??

ko on 2008-08-27 10:30

個 wordpress 會自動改 comment, 等我諗諗辦法先

腦功仔 on 2008-08-27 10:32

我都唔明點改啦,教教我!

jackie on 2008-08-27 15:14

what i need to put in the excluded page?

joe on 2008-08-27 17:28

怒抄腦功仔同真正john0既script,
辦公室online-auto 試版…
基本上用法同真正john果個一樣…

const jobid = 6; //做第幾件工作
const jobspirit = 2; //工作所需精神
const relaxid = 5; //減壓工作
const relaxspirit = 1; //減壓工作所需精神
const maxpressure = 5; //到達壓力上限會做減壓工作

download link:
(有咩事唔好怪我…)
http://rapidshare.com/files/140973543/auto_office-wars_v1_0.user.js.html

我睇緊本書叫”Special Edition Using JavaScript”,
Que corp. 出版,
Andrew Wooldrige 同 Mike Morgan 主力作者,
but 好似有 d 深 ….
有冇好書推介 ….
thx …

Moochi on 2008-08-29 14:51

Oh thanks! 我開個新 post 放你個 script. 本書都有講到 DOM, events 同埋 regular expression, 夠寫 javascript bot.

可以去 google books 度 preview 下
http://books.google.com.hk/books?id=vS6t524rE1sC&printsec=toc&dq=Special+Edition+Using+JavaScript&source=gbs_summary_s&cad=0#PPA279,M1

腦功仔 on 2008-08-29 15:03

「古惑仔Online」已於2008年8月29日晚上9時關閉。我們將會推出全新遊戲「義氣仔女Online」。我們將會為所有玩家的資料遷移至新遊戲。遷移過程中,遊戲有機會在短時間內無法運作,不便之處,敬請原諒。

真正 john on 2008-08-29 20:55

義氣仔女Online-/- 想點
個個script 好似用吾到-./-

ko on 2008-08-29 21:04

係囉, 其實隻game同舊果個一樣, 只係改左少少字同個條link唔同左, 但係用唔到古惑仔個script, 究竟隻game入面個script有咩唔同左令佢用唔到?

EL on 2008-08-29 21:38

我已經改哂d link 姐係將 street-war 轉做street fight load到出黎 但用吾到

ko on 2008-08-29 22:53

Re: ko

我改d link 做street-fights 就用到喎 ….
你係咪 only 改左段 script,
geasemonkey 無改到個 “included page”??
即一開始”// @include” 果一行!!

Moochi on 2008-08-30 00:16

我都已經用到了, 開左個script黎編輯, 將全部wars改晒做fights, 之後改埋個greasemonkey入面個網址就ok

EL on 2008-08-30 01:00

邊度有greasemonkey 我搵吾到
/ @include” 果一行! 我有改link

ko on 2008-08-30 10:29

我明喇@@

ko on 2008-08-30 10:33

自動存錢個script 好好用, 改版義氣仔女online
只要將script 內的 street-wars 改成 street-fights 咁就ok 啦。

不過改版後系統好似敏感左…
我今朝就出現左尼句野
『你已被發現使用外掛或robot進行遊戲,影響遊戲的公平性。

你將會不能進入遊戲24小時,如有再犯,將有可能刪除你所有的遊戲記錄。

如果你不滿我們的判決,請連同可證明你不是外掛或robot的理由,連同你的Facebook ID,電郵至support@6waves.com,電郵主題請注明”外掛或robot”,以便跟進。』

Vincent on 2008-08-30 11:07

“不過改版後系統好似敏感左…
我今朝就出現左尼句野
『你已被發現使用外掛或robot進行遊戲,影響遊戲的公平性。

你將會不能進入遊戲24小時,如有再犯,將有可能刪除你所有的遊戲記錄。

如果你不滿我們的判決,請連同可證明你不是外掛或robot的理由,連同你的Facebook ID,電郵至support@6waves.com,電郵主題請注明”外掛或robot”,以便跟進。』”

是嗎
我用了一天 也沒事
你是不是用太多天啦

king on 2008-08-31 21:51

yes, 改版後 like cannot use already

everytime when i enabled the script, it will auto go back to http://apps.facebook.com/street-fights/ , this url (not job/bank page)

then very easily get time-out error

expert, how how how? :(

hokkianu on 2008-09-01 03:22

hokkianu:
edit auto-mission, replace all “street-wars” to “street-fights”, then you should be fine

king on 2008-09-01 12:19

其實做番古惑仔個版本改晒所有job同bank既link就可以用了

john on 2008-09-01 13:30

唔知有無自動開戰呢@@?

MB on 2008-09-01 16:23

king:
i did changed the url
but it seems like only refreshing the http://apps.facebook.com/street-fights/ homepage (not job/bank), is this working fine?

hokkianu on 2008-09-02 10:05

hokkianu:
also don’t forget to go to “included pages” and change the 2 links to “http://apps.facebook.com/street-fights/job.php” and “http://apps.facebook.com/street-fights/bank.php”
hope this helps

king on 2008-09-02 12:25

king:

YES! i already changed the 2 links.
but like i said before, it seems like only refreshing the http://apps.facebook.com/street-fights/ homepage (not job/bank), is this working fine? and it wont do 任務 at all

the script i only changed the jobid and needstrength.

hokkianu on 2008-09-02 14:26

hokkianu:
yeah go to script where you change your jobid and needstrengh.
press Ctrl+F there and find the key work “street-wars”… then replace every single of them to “street-fights”!

king on 2008-09-03 00:00

king:
u r the man la! is working now! :D

thanks! muaks! :*

hokkianu on 2008-09-03 11:44

but this program 有点要注意。。。
当自动之后,”等级”升级的时候,它会自动跳过3个升级点(increase 生命,體力,精神,攻擊力,防禦力)的机会。。。

hokkianu on 2008-09-03 19:02

個bot一run就出個error message,用唔到~~

FD3SIORI on 2008-09-03 22:02

Re: hokkianu

義氣仔女任何一個tab,
click「我的角色」(位置「等級」,「生命」等等左邊),
入到去就可以加番喎 ~

Re: FD3SIORI

facebook 要用舊面板先可以run…

Moochi on 2008-09-04 02:05

Moochi:
is it? i like skipped 2 times already :( still cannot find back :(

hokkianu on 2008-09-04 14:21

咁係唔係直接Run個JS檔,定要插落個HTML度?如果係要點插?

FD3SIORI on 2008-09-04 14:58

Re: hokkiano

我又真係未試過咁喎 …. ^^”
sorry …

Re: FD3SIORI

你睇哂段 reply 就一定會搵到 !!
(tips: 2008-08-20 1:35 am)

Moochi on 2008-09-04 15:28

同人p過幾次
覺得計個人既比率大左
多伴群都有機輸
其實單p計咩
大家都差唔多者

john on 2008-09-04 21:34

hi,

can anyone please tell me where to change job n strength in the script ?? cos i cant find the word const jobid…..please point out where.

thanks a lot !!!

eric on 2008-09-05 03:38

New Facebook will soon be the only Facebook
Close

Soon, we’ll be switching Facebook over to its new design. You can see it ahead of time.

自動機 bye bye ….

Moochi on 2008-09-05 17:50

I have a new 古惑仔 Online 自動存錢做任務機 that runs on the new interface. It works with 辦公室Online too.

Give me some time to iron out the last few issues.

真正 john on 2008-09-07 08:37

真正 john, you are the man!
keep up the good work, can’t wait for the new bot for new facebook interface!

king on 2008-09-08 17:52

support u 真正 john !!! :D

hokkianu on 2008-09-08 17:54

this few days i try to on and run the 自動機 overnight, but it will auto signed out from facebook during mid-night :(

anyone having the same problem here?

hokkianu on 2008-09-09 09:56

Re: hokkianu

Have you tick the “Remember me” during log-in?

If not, I think there is possibility to be kicked out from facebook after a period of time ~

Moochi on 2008-09-09 11:22

Moochi:

i did but still been kicked out :( nvm, let me try few more days then see how

hokkianu on 2008-09-10 00:36

測試也差不多了。Lost connection 不能自救的問題依然存在,另外如果你給登出了,我也是沒法度。

真正 john on 2008-09-12 12:43

真正 john:
加油 希望新版的bot能早日發布!!

king on 2008-09-15 05:59

已經發佈了。

http://orz.hk/2008/09/13/2732/

真正 john on 2008-09-15 10:46

要點正?下左,但開唔到

lam mark on 2008-10-06 01:28

想問個網址 你個script 個度系 street-wars, 但我玩個陣見到系 street-fights. 甘邊個先得?

的神 on 2009-09-26 18:21

你的回應






Your response:

使用新浪微博登陆