check=1 --启动脚本挂机 ini_change("tobot_scriptbot",1) --线程休息时间 limitTime = 200 bot_start() sleep(limitTime*3) bot_stop() printgame(0,255,255,"地图id:"..getmapid()) --地图名字 mapName = "怪物大厦" plane(15) --刷能量水晶的(个数) powerNumber = 66 printgame(0,255,255,"欢迎使用怪物大厦刷刷能量水晶,自动刷66个!") sleep(limitTime) printgame(0,255,255,"欢迎使用怪物大厦刷刷能量水晶,自动刷66个!") sleep(limitTime) printgame(0,255,255,"欢迎使用怪物大厦刷刷能量水晶,自动刷66个!") sleep(limitTime*3) bot_stop() --等待地图加载 function waitMGoMap(mapId) while(true)do sleep(limitTime) if(getmapid() == mapId)then break end end end function isMap1_9() local mapId = getmapid() if mapId >= 9600 and mapId <= 9608 then return true end if mapId >= 9700 and mapId <= 9708 then return true end if mapId >= 9800 and mapId <= 9808 then return true end if mapId >= 9900 and mapId <= 9908 then return true end --怪物大厦 41F if mapId >= 10000 and mapId <= 10008 then return true end --怪物大厦 51F if mapId >= 10100 and mapId <= 10108 then return true end --怪物大厦 61F if mapId >= 10200 and mapId <= 10208 then return true end --怪物大厦 71F if mapId >= 10300 and mapId <= 10308 then return true end --怪物大厦 81F if mapId >= 10400 and mapId <= 10408 then return true end --怪物大厦 91F if mapId >= 10500 and mapId <= 10508 then return true end --怪物大厦 101F if mapId >= 10600 and mapId <= 10608 then return true end --怪物大厦 111F if mapId >= 10700 and mapId <= 10708 then return true end --怪物大厦 121F if mapId >= 10800 and mapId <= 10808 then return true end return false end --boss房间 function isBossRoom() local mapId = getmapid() if(mapId == 9609)then return true end if(mapId == 9709)then return true end if(mapId == 9809)then return true end if(mapId == 9909)then return true end if(mapId == 10009)then return true end if(mapId == 10109)then return true end if(mapId == 10209)then return true end if(mapId == 10309)then return true end if(mapId == 10409)then return true end if(mapId == 10509)then return true end if(mapId == 10609)then return true end if(mapId == 10709)then return true end if(mapId == 10809)then return true end return false end --奖励放奖 function isGetGift() local mapId = getmapid() if(mapId == 9611)then return true end if(mapId == 9711)then return true end if(mapId == 9811)then return true end if(mapId == 9911)then return true end if(mapId == 10011)then return true end if(mapId == 10111)then return true end if(mapId == 10211)then return true end if(mapId == 10311)then return true end if(mapId == 10411)then return true end if(mapId == 10511)then return true end if(mapId == 10611)then return true end if(mapId == 10711)then return true end if(mapId == 10811)then return true end return false end --休息房间 function isWaitGo() local mapId = getmapid() if(mapId == 8902)then return true end if(mapId == 8903)then return true end if(mapId == 8904)then return true end if(mapId == 8905)then return true end if(mapId == 8906)then return true end if(mapId == 8907)then return true end if(mapId == 8908)then return true end if(mapId == 8909)then return true end if(mapId == 8910)then return true end if(mapId == 8911)then return true end if(mapId == 8912)then return true end if(mapId 彩虹岛土拨鼠 == 8913)then return true end if(mapId == 8914)then return true end if(mapId == 8917)then return true end if(mapId == 8918)then return true end if(mapId == 8919)then return true end if(mapId == 8920)then return true end if(mapId == 8921)then return true end if(mapId == 8922)then return true end if(mapId == 8923)then return true end --if(mapId == 8924)then -- return true --end return false end --check是否是奖励房间 function checkWaitGo(mapId) if(mapId == 9610)then return true end if(mapId == 9710)then return true end if(mapId == 9810)then return true end if(mapId == 9910)then return true end if(mapId == 10010)then return true end if(mapId == 10110)then return true end if(mapId == 10210)then return true end if(mapId == 10310)then return true end if(mapId == 10410)then return true end if(mapId == 10510)then return true end if(mapId == 10610)then return true end if(mapId == 10710)then return 彩虹岛土拨鼠 true end if(mapId == 10810)then return true end return false end waitMGoMap(8900) bot_stop() --组队 maketeam() sleep(limitTime*5) --进入传送们 todoor() waitMGoMap(8901) sleep(limitTime*5) --停止挂机 bot_stop() --启动脚本挂机 ini_change("tobot_scriptbot",1) script_txt_loaddata("BDF8C8EBB4ABCBCDC3C52CD7F326D3D2CAB12C313135382C3437392CD3D2C5DC",2) bot_start() waitMGoMap(9600) sleep(limitTime*5) printgame(0,255,255,"进入主循环") local isRuningMap = 0 local isRuning = false while(true) do local mapid = getmapid() sleep(limitTime) if(isRuning)then bot_start() isRuning = false end --重新进入大厅 if(8901 == mapid and isRuningMap~= 8901)then bot_stop() isRuning = true script_txt_loaddata("BDF8C8EBB4ABCBCDC3C52CD7F326D3D2CAB12C313135382C3437392CD3D2C5DC",2) powerNumber = powerNumber - 1 --次数刷完退出去 if(powerNumber <= 0)then printgame(0,255,255,"所有能量水晶已刷完,请下次再使用") bot_stop() break end isRuningMap = 8901 printgame(0,255,255,"已经刷到一个能量水晶,还剩:"..powerNumber.."水晶没刷!") printgame(0,255,255,"已经刷到一个能量水晶,还剩:"..powerNumber.."水晶没刷!") printgame(0,255,255,"已经刷到一个能量水晶,还剩:"..powerNumber.."水晶没刷!") end --第10层 if(isBossRoom() and isRuningMap~= -111111)then printgame(0,255,255,"第10层") --停止挂机 bot_stop() isRuning = true isRuningMap = -111111 script_txt_loaddata("BDF8C8EBB4ABCBCDC3C52CD7F326D3D2CAB12C3434322C3531312CD3D2C5DC",2) end --前面130层1-9层 if(isMap1_9()and isRuningMap~= -222222)then printgame(0,255,255,"进入1-9") --停止挂机 bot_stop() isRuning = true isRuningMap = -222222 script_txt_loaddata("BDF8C8EBB4ABCBCDC3C52CD7F326D3D2CAB12C3731362C3531312CD3D2C5DC",2) end --奖励厅 1号房 if(isGetGift() and isRuningMap~= -333333)then mapid = getmapid() printgame(0,255,255,"奖励厅 1号房..id"..mapid) --停止挂机 bot_stop() isRuningMap = -333333 script_txt_loaddata("BDF8C8EBB4ABCBCDC3C52CD7F326D3D2CAB12C3230322C3531312CD3D2C5DC",2) bot_start() end if(9615 == mapid)then bot_stop() script_txt_loaddata("BDF8C8EBB4ABCBCDC3C52CD7F326D3D2CAB12C3731312C3531312CB2BBB1E42CC3BBD3D0B8BDBCD3B2CECAFD2C",0) bot_start() end --休息厅 --if(isWaitGo() and isRuningMap~= -444444)then -- printgame(0,255,255,"休息厅") -- --停止挂机 -- bot_stop() -- isRuningMap = -444444 -- script_txt_loaddata("BDF8C8EBB4ABCBCDC3C52CD7F326D3D2CAB12C313233352C3531312CD3D2C5DC",2) -- bot_start() --end end 转载请说明出处 内容投诉内容投诉九幽软件 » 彩虹岛土拨鼠(彩虹岛土拨鼠脚本大全)