Sakurato
Full Support Copycat
![*](images/star.png) ![*](images/star.png) ![*](images/star.png) ![*](images/star.png) ![*](images/star.png)
Posts: 1,205
Threads: 124
Joined: Feb 2008
|
Auto-Shutdown
So, maybe not new to some people. But this is new to me and I was wondering if we could use it :s? If it does what I think it does :p. Which is auto shut-down your client if you go afk for however long~. I know some people fall asleep feeding their homuncs. I almost fell asleep in mosciva and this could have saved me from a ban :p
Quote:--------------------------------------------------
-- Mir AI -> Shut Down Mod v0.1.1
--------------------------------------------------
--[[
This mod shuts down the client after some minutes of inactivity
The counter will reset when your character moves, sits down or picks an item up
--]]
--------------------------------------------------
-- HOW TO ACTIVATE THIS MOD:
-- 1. open the Control Panel,
-- 2. choose the "Extra" Tab,
-- 3. and select AutoShutDown_Mod.lua
-- (if you don't use the control panel: open SelectMod.lua and replace "Standard_Mod" with "AutoShutDown_Mod")
--------------------------------------------------
-- Extra Globals
--------------------------------------------------
SDn_StartTime = 0
-- [### CONFIG START]
SDn_TimeOut = 45 * 60000 -- milliseconds
-- [### CONFIG END]
--------------------------------------------------
function ModInit()
-- plugin initialization
--------------------------------------------------
SDn_StartTime = GetTick()
-- Replace standard Mir AI's functions
StdOnIDLE_ST = OnIDLE_ST
OnIDLE_ST = SDnOnIDLE_ST
StdOnFOLLOW_ST = OnFOLLOW_ST
OnFOLLOW_ST = SDnOnFOLLOW_ST
StdOnCHASE_ST = OnCHASE_ST
OnCHASE_ST = SDnOnCHASE_ST
StdOnATTACK_ST = OnATTACK_ST
OnATTACK_ST = SDnOnATTACK_ST
StdOnEVADE_ST = OnEVADE_ST
OnEVADE_ST = SDnOnEVADE_ST
end
--------------------------------------------------
function SDnCheck()
--------------------------------------------------
local OwnerMotion = GetV(V_MOTION, OwnerID)
local CurrTime = GetTick()
if OwnerMotion == MOTION_MOVE?? --\
or OwnerMotion == MOTION_SIT????-- |- Not done by AI
or OwnerMotion == MOTION_PICKUP --/
then
SDn_StartTime = CurrTime -- the user did an action: reset the timer
else
????????if CurrTime > SDn_StartTime + SDn_TimeOut then
os.exit(0) -- user inactive for SDn_TimeOut milliseconds: close
end
end
end
--------------------------------------------------
function SDnOnIDLE_ST()
--------------------------------------------------
SDnCheck()
StdOnIDLE_ST()
end
--------------------------------------------------
function SDnOnFOLLOW_ST()
--------------------------------------------------
SDnCheck()
StdOnFOLLOW_ST()
end
--------------------------------------------------
function SDnOnCHASE_ST()
--------------------------------------------------
SDnCheck()
StdOnCHASE_ST()
end
--------------------------------------------------
function SDnOnATTACK_ST()
--------------------------------------------------
SDnCheck()
StdOnATTACK_ST()
end
--------------------------------------------------
function SDnOnEVADE_ST()
--------------------------------------------------
SDnCheck()
StdOnEVADE_ST()
end
Perhaps we could make use of this? Maybe a list of alchemist using it and..make the time like 3 mins idle? So that way if a GM 'bot' checks and the person doesn't answer They, the gm, can just go to a thread in the forums to see if they are listed as someone using the mod..and 3 mins later they get their client closed for inactivity and no ban for unfortunate events that may have had them afk for a mere 15 seconds and you decided to bot check then D:.??I know sometimes I get up to change the channel on my tv and ayu asked me to talk on main once and if I wouldn't have come back when I did I wouldn't have seen her yellow text and I woulda got banned for a 20 second afk :/.
thoughts xD?
Edit: Sob, meant to click suggestions/Questions forum. Can a GM move this please? Thanks :D.
Kohana|Sinx
Euphorie|Champ
Sonatina|Gypsy
Sakurato|High Priest
Nozomi|Whitesmith
Sakura|Professor
Frejya|Sniper
Ayami|Creator
Anei|Stalker
Fumiko|High Wizard
(This post was last modified: 12-10-2008, 12:50 PM by Sakurato.)
|
|
12-10-2008, 12:47 PM |
|
Général_Argos
Removed by GM
![*](images/star.png) ![*](images/star.png) ![*](images/star.png) ![*](images/star.png) ![*](images/star.png)
Posts: 3,012
Threads: 144
Joined: Jan 2006
|
RE:??Auto-Shutdown
teOx Wrote:watching players get banned for something stupid like going afk for a few minutes, then get treated like all those other botters using 3rd party programs is sad.
But you never know if the person was afk for a few mins, or just simply afk leveling.
Just a jail -> Lot of people with homun will just afk level for weeks, and the day they will get caught, they will accept to have the char jailed for a day or two >_>
IGN: 9000KRIM Alts: Morradin, KRIMSTEAL
Banned: Krimlin, Krimlogas, Lord_Krimlogas, General_Argos
Krim's grocery list
¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_ -KRIMLIN-¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯/
Murphy law. The only true one.
![[Image: krimstyleg.jpg]](http://img13.imageshack.us/img13/1864/krimstyleg.jpg)
|
|
12-10-2008, 04:30 PM |
|
Général_Argos
Removed by GM
![*](images/star.png) ![*](images/star.png) ![*](images/star.png) ![*](images/star.png) ![*](images/star.png)
Posts: 3,012
Threads: 144
Joined: Jan 2006
|
RE:??Auto-Shutdown
Sakurato Wrote:If they have to move the character ever 3-5 mins then they still have to be there. There are times when??I watch TV for that long without even looking at the screen but I am still right there at my CPU, NOT afk.
Watching tv while having your homun killing things is not that far away from somone who would make a botting run, while watching a movie on a tv, still being near the keyboard and thus not being 'afk'.??
c_c
IGN: 9000KRIM Alts: Morradin, KRIMSTEAL
Banned: Krimlin, Krimlogas, Lord_Krimlogas, General_Argos
Krim's grocery list
¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_ -KRIMLIN-¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯_¯/
Murphy law. The only true one.
![[Image: krimstyleg.jpg]](http://img13.imageshack.us/img13/1864/krimstyleg.jpg)
(This post was last modified: 12-10-2008, 04:41 PM by Général_Argos.)
|
|
12-10-2008, 04:40 PM |
|
Sakurato
Full Support Copycat
![*](images/star.png) ![*](images/star.png) ![*](images/star.png) ![*](images/star.png) ![*](images/star.png)
Posts: 1,205
Threads: 124
Joined: Feb 2008
|
RE:????Auto-Shutdown
Lenny Wrote:G?n?ral_Argos Wrote:Sakurato Wrote:If they have to move the character ever 3-5 mins then they still have to be there. There are times when??I watch TV for that long without even looking at the screen but I am still right there at my CPU, NOT afk.
Watching tv while having your homun killing things is not that far away from somone who would make a botting run, while watching a movie on a tv, still being near the keyboard and thus not being 'afk'.??
c_c
I agree With Krim on that, not much of a difference If your on your bed 5 feet away from your keyboard??or at your keyboard watching tv , It is still Afk lvling imo if you cant respond to the gm check since your not even watching your homun doing the job for you.
I also think auto feeding shouldnt be allowed ![Icon_razz Icon_razz](https://www.pandoraonline.net/forum/images/smilies/icon_razz.gif)
Auto feeding isn't aloud, hope you're not doing it :p.
So you're saying if you have to get up and go do something, maybe an emergency that you should not be aloud some leniency? In states of distress people often forget to do things, even if it is just press alt+f4 or rest it. If you say otherwise, you're a liar.
It would be nice to have a chance to salvage yourself if you accidentally fall asleep, or have to go in a hurry for something. No one is perfect, no one remembers everything. "You need to be responsible," is what someone might reply to me with well make sure you understand that people make mistakes. This could save people from being banned for their mom falling, as what happened to Tom. Do you think he was like "ONOZ GOTTA ALTf F4 RO BRT MOM!" No,it was natural instinct to go help his mom. He cares more about her than a game and the first thing to go through his mind was to help her not RO.
This is simply a fail-safe to accidental things that could happen and saves people A LOT of stress. If used right it could be very valuable.
Kohana|Sinx
Euphorie|Champ
Sonatina|Gypsy
Sakurato|High Priest
Nozomi|Whitesmith
Sakura|Professor
Frejya|Sniper
Ayami|Creator
Anei|Stalker
Fumiko|High Wizard
(This post was last modified: 12-10-2008, 05:03 PM by Sakurato.)
|
|
12-10-2008, 05:02 PM |
|
|