标题:
开心农场守护神[7-26更新]
[打印本页]
作者:
icatman
时间:
2009-7-20 01:28
标题:
开心农场守护神[7-26更新]
本帖最后由 icatman 于 2009-7-26 22:41 编辑
目标网站:
http://www.kaixin001.com/
开心口号:你的就是我的,我的还是我的-孙小美
用法:停留在你要守护的农场或房子里就行了,每60秒检查一次,如5分钟内不换页,每5分钟检查所有好友包括自己的农场,处理花园和牧场的生产和收获事宜
不完全代码,未做界面
/*
作者:icatman
平台:网页幽灵v3.6
名称:开心农场守护神
作用:在守护的农场每60秒检查一次,如5分钟内不换页,每5分钟处理所有好友包括自己的农场,处理花园和牧场的生产和收获事宜
*/
if( getCookie('is_show') == '' ){
var m_tips = "开心口号:你的就是我的,我的还是我的\t孙小美名言\r\n";
m_tips += "用法:停留在你要守护的农场或房子里就行了,每60秒检查一次,处理生产/收获事宜,如5分钟不换页的话,开始每5分钟处理所有好友的动作。";
m_tips += "每换一个农场,最好等网络灯灭了再换页,不是自己的不值钱的东西不偷,自己的东西照单全收!";
$wg.tips(m_tips);
setCookie('is_show', 'true');
}
if( window.location.href.indexOf('kaixin001.com/!house') > 0 ){
setTimeout('doAction();',200);
var mInterval = 60000;
//每60秒检查一次当前农场
var mTimer = setInterval('doAction();',mInterval);
//5分钟不换页处理全部好友包括自己的农场,清除60秒一次的定时器
setTimeout('doAction2();',300000);
}
function doAction(){
//$wg.tips("正在检查中……\r\n完成前请不要换页");
checkGarden( g_fuid );
checkRanch( g_fuid );
//$wg.tips("检查完成!");
}
function doAction2(){
//深度动作,处理全部好友包括自己的农场,从第5分钟开始
clearInterval( mTimer );
doFriendList();
window.mTimer = setInterval('doFriendList();',300000);
}
复制代码
附件是网页幽灵3.6导出的可执行脚本,下载好直接导入就可以用了。
更新了一下,主要是判断偷与不偷的代码。
//植物
switch(parseInt(arr['seedid'])){
case 1:// 胡萝卜
case 2:// 大白菜
case 3:// 土豆
case 4:// 牵牛花
case 5:// 黄瓜
case 6:// 辣椒
case 7:// 玉米
case 8:// 豆角
case 9:// 向日葵
case 10:// 茄子
case 11:// 番茄
case 12:// 香蕉
case 13:// 西瓜
case 14:// 玫瑰
case 15:// 草莓
case 16:// 菊花
case 26:// 仙人掌
case 27:// 菠菜
case 28:// 南瓜
case 36:// 水稻
case 37:// 桃子
case 38:// 茉莉花
case 40:// 杨梅
case 41:// 苹果
case 48:// 油菜花
case 49:// 芦荟
case 50:// 樱花
case 51:// 高粱
case 52:// 菠萝
case 53:// 芒果
case 54:// 椰子
case 56:// 薰衣草
case 57:// 梅花
case 58:// 石榴
case 59:// 康乃馨
case 60:// 葡萄
case 62:// 七彩玫瑰
case 63:// 牧草
case 64:// 棉花
case 65:// 食人草
case 66:// 蒲公英
case 67:// 小白菊
case 68:// 海棠
case 69:// 悦活番茄
case 70:// 悦活橙子
case 71:// 悦活石榴
case 72:// 悦活黑加仑
case 83:// 荷花
case 85:// 紫罗兰
case 88:// 蘑菇
case 89:// 兰花
case 90:// 荔枝
case 91:// 火龙果
case 92:// 杏
case 93:// 哈密瓜
continue;
default:
//pass;
}
//动物
if( fuid != 0 ) switch(parseInt(arr['aid'])){
case 1:// 芦花母鸡幼仔
case 2:// 小花母猪幼仔
//case 3:// 荷兰奶牛幼仔
case 4:// 细毛绵羊幼仔
case 5:// 大白母兔幼仔
case 9:// 大白母鹅幼仔
//case 12:// 企鹅幼仔
//case 13:// 熊猫幼仔
//case 14:// 袋鼠幼仔
//case 15:// 亚洲象幼仔
//case 16:// 长颈龙幼仔
continue;
default:
//pass;
}
复制代码
作者:
xiazai111
时间:
2009-7-21 18:09
能不能开发出QQ的开心农场呢
作者:
zhya2525896
时间:
2009-7-21 19:27
很好 很强大!
作者:
leileihl
时间:
2009-7-24 17:11
很厉害啊,来学习学习
作者:
icatman
时间:
2009-7-24 19:43
更正了自己的农场不收获的问题,原来的判断有点问题。
作者:
xiexin
时间:
2009-7-24 21:49
我要顶``
作者:
antking
时间:
2009-7-26 23:33
支持,学习下.
作者:
antking
时间:
2009-7-26 23:36
吼吼,浪费我4个体力看你的脚本,吼吼
作者:
2001killer
时间:
2009-7-27 01:46
下了 用不了 出现错误 必须关闭网页
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。
************** 异常文本 **************
System.IO.FileNotFoundException: 未能找到文件“C:\Program Files\wg5511\WebGhost\scripts\33a890e9-8a6f-429c-93a2-bdedd7e52eb4.gs”。
文件名:“C:\Program Files\wg5511\WebGhost\scripts\33a890e9-8a6f-429c-93a2-bdedd7e52eb4.gs”
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
在 System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
在 System.IO.StreamReader..ctor(String path)
在 GhostScriptLib.ScriptOperation_3_6.readScriptFile(String path)
在 GhostScriptLib.ScriptOperation_3_6.readScript(String path)
在 GWebbrowserLib.GWebbrowser.runScriptById(String sid)
在 GhostWebbrowserLib.GhostWebbrowser.runScriptById(String sid)
在 GhostMainWin.GhostMain.runScriptByMenuId(Object sender, EventArgs e)
在 System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
在 System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
在 System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
在 System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
在 System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
在 System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
在 System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
在 System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
在 System.Windows.Forms.ToolStrip.WndProc(Message& m)
在 System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 已加载的程序集 **************
mscorlib
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
GhostMainWin
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/GhostMainWin.exe
----------------------------------------
Microsoft.VisualBasic
程序集版本: 8.0.0.0
Win32 版本: 8.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
INI
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/INI.DLL
----------------------------------------
TranslateLib
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/TranslateLib.DLL
----------------------------------------
System.Xml
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
GhostWebbrowserLib
程序集版本: 1.0.3441.38031
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/GhostWebbrowserLib.DLL
----------------------------------------
AxButtonLib
程序集版本: 1.0.3433.22332
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/AxButtonLib.DLL
----------------------------------------
GhostWebbrowserNavLib
程序集版本: 1.0.3453.39192
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/GhostWebbrowserNavLib.DLL
----------------------------------------
GWebbrowserLib
程序集版本: 1.0.3455.22854
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/GWebbrowserLib.DLL
----------------------------------------
GhostScriptLib
程序集版本: 1.0.3467.18088
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/GhostScriptLib.DLL
----------------------------------------
GhostDebugerLib
程序集版本: 1.0.3473.40853
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/GhostDebugerLib.DLL
----------------------------------------
JSConfusion
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/JSConfusion.DLL
----------------------------------------
System.Web
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
GhostCommonFace
程序集版本: 1.0.3489.25727
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/GhostCommonFace.DLL
----------------------------------------
HashLib
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/HashLib.DLL
----------------------------------------
Interop.wg30
程序集版本: 2.0.0.0
Win32 版本: 2.0.0.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/Interop.wg30.DLL
----------------------------------------
System.Windows.Forms.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
GhostRichTextBox
程序集版本: 1.0.3465.39953
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/GhostRichTextBox.DLL
----------------------------------------
Newtonsoft.Json
程序集版本: 1.3.0.0
Win32 版本: 1.3.0.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/Newtonsoft.Json.DLL
----------------------------------------
System.Configuration
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
mscorlib.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Microsoft.mshtml
程序集版本: 7.0.3300.0
Win32 版本: 7.0.3300.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/Microsoft.mshtml.DLL
----------------------------------------
Interop.SHDocVw
程序集版本: 1.1.0.0
Win32 版本: 1.1.0.0
基本代码: file:///C:/Program%20Files/wg5511/WebGhost/Interop.SHDocVw.DLL
----------------------------------------
************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。
例如:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
启用 JIT 调试后,任何无法处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。
作者:
icatman
时间:
2009-7-27 13:30
你的幽灵没更新吧?注意脚本导出的是V3.6Beta版的gs文件。我都测试过正常才上传的。
作者:
x874x
时间:
2009-7-27 15:14
更新很重要的。感谢斑竹,感谢大家,感谢CCAV
作者:
Veriton
时间:
2009-7-27 20:53
这个能在qq的开心农场上用么?刚才试了一下,好像不行。特别是自用版,没有出现菜单,而另外那个版本的脚本只是弹出了那个孙小美的口号,好像就没做什么了,脚本前面的勾也自动消失了,页面似乎无变化。麻烦楼主了哈!
我自己用幽灵试着分析了一下qq的开心农场,发现页面分析好象不行,似乎qq用的是flash,不能分析。
作者:
sj798
时间:
2009-7-28 22:45
支持下,好好学习
作者:
x874x
时间:
2009-7-28 22:50
我的连口号都没弹出。不知道为何没用。版主讲讲用法撒。
作者:
x874x
时间:
2009-7-28 23:03
在kaixin001里怎么没发现有农场的插件呢?只在kaixin这个主页有发现有插件,。
作者:
sonney
时间:
2009-7-31 08:11
Kaixin001
作者:
9sjs9
时间:
2009-7-31 19:52
谢谢啦
作者:
chicken123
时间:
2009-7-31 20:54
我来收藏的,顺便留个脚印
作者:
sunvivid
时间:
2009-8-1 08:04
支持下
作者:
crazyliang
时间:
2009-8-1 17:25
我来学习的
作者:
sx-ljm
时间:
2009-8-9 08:24
真是强大的不得了
作者:
yaoqin
时间:
2009-8-9 10:07
楼主真是牛人啊
作者:
smalltiger
时间:
2009-8-9 23:58
QQ开心农场可以用么?
作者:
antiwing
时间:
2009-8-12 02:58
趕快來試試看!!
作者:
chinadh2008
时间:
2009-8-12 16:05
希望开发出QQ农场的
作者:
chinadh2008
时间:
2009-8-14 13:51
这两个脚本是一起用,还是只用一个就够了?
自用版是不是只有点了“定时所有农场”才能自动运行?
作者:
xintuo
时间:
2009-8-14 18:10
这个东西感觉蛮好用的
作者:
xintuo
时间:
2009-8-14 18:11
体力值少了 不能买
作者:
dlliuxin
时间:
2009-8-15 08:12
哇塞!口号好经典啊!
作者:
285943137
时间:
2009-8-15 20:50
狂顶一顶
作者:
lijian584521
时间:
2009-8-16 16:20
很好 很强大!
作者:
lijian584521
时间:
2009-8-16 16:23
狂顶一顶
作者:
lijian584521
时间:
2009-8-16 16:26
http://www.kaixin001.com/
作者:
lijian584521
时间:
2009-8-16 16:27
http://www.kaixin001.com/
作者:
lijian584521
时间:
2009-8-16 17:03
狂顶一顶
作者:
slight
时间:
2009-8-19 11:59
支持flash的吗
作者:
dajiefang
时间:
2009-8-20 14:25
只能在开心网使用么?
作者:
goodluck_lq
时间:
2009-8-21 13:45
没体力,下不了。。。。。。。。。
作者:
buddyfly
时间:
2009-8-22 03:39
希望开发QQ农场的脚本
作者:
luoyin1976
时间:
2009-8-26 16:46
多谢楼主分享。
作者:
panjixue
时间:
2009-8-28 09:27
ding顶 =
作者:
panjixue
时间:
2009-8-29 19:25
体力在哪啊
作者:
柒仔
时间:
2009-8-31 13:22
好东西吖。。。。
作者:
ly_19811105
时间:
2009-8-31 15:41
怎么下载啊??没体力什么意思
作者:
xiangbin33
时间:
2009-9-1 00:16
值得研究下下
作者:
cqkkxili
时间:
2009-9-1 23:15
吼吼,浪费我4个体力看你的脚本,吼吼
作者:
cqkkxili
时间:
2009-9-1 23:16
顶一下
作者:
monica616
时间:
2009-9-1 23:26
好东西~~~学习学习~~~
作者:
thf9527
时间:
2009-9-2 08:25
真是太感谢了....
作者:
thf9527
时间:
2009-9-2 08:28
怎么会下载不了呢
作者:
xbhuhu
时间:
2009-9-14 10:08
没有体力了...
作者:
htxycy945
时间:
2009-9-14 11:35
dddddddddddddddd
作者:
htxycy945
时间:
2009-9-16 20:02
ddddddddddddddddd
作者:
zq3001
时间:
2009-11-27 19:17
好好haoiahao
作者:
kingkwg
时间:
2009-12-10 14:57
好东西好顶
作者:
21689603
时间:
2009-12-17 08:28
为什么提示我所在的组无法查看附件
作者:
haimeixili
时间:
2009-12-24 21:02
有没QQ农场的代码呀
作者:
haszlzw
时间:
2009-12-28 12:02
强大!~~~要顶
作者:
oxygens
时间:
2010-1-4 20:41
这和QQ农场的原理差不多的,改掉相关代码就可以了
作者:
aa131
时间:
2010-3-30 11:12
学习一下
作者:
fanxiaoxiang000
时间:
2010-5-19 15:19
支持一下!!!!!!!!!
欢迎光临 网页游戏辅助站 (http://bbs.wg5511.com/)
Powered by Discuz! 7.0.0