Skillery
2013-05-06 14:21:33
Hello, I had a question about a programming aspect of simba, but i couldnt find where to ask questions?
So I thought I woukd place it here.
I got this question: I heard somewhere on the forums that srl auto logs off if a mod is detected. Is this in every script or do I have to manually add it? If so, could anyone give the code?
Thank you in advance!
Skillery
Kevin
2013-05-06 14:28:39
Among the many other things this function does, it also auto logs on mod detection :p
FindNormalRandoms;
From: Kevin
Among the many other things this function does, it also auto logs on mod detection :p FindNormalRandoms;
It's this one:
LogoutOnMod := True;
Default is set on true, call LogoutOnMod := False; after SetupSRL; if u don't want to enable this.
Kevin
2013-05-06 14:54:42
From: Sjoe
It's this one:
LogoutOnMod := True;
Default is set on true, call LogoutOnMod := False; after SetupSRL; if u don't want to enable this.
^That is the variable that has to be set (defaulting to true so no need to change anything). FindNormalRandoms is the method that will actually search for a mod in the chat and logout and switch worlds if one was found.
Skillery
2013-05-06 15:49:34
Thank you, so you have to mention the function in the script?
Sadly I am unable to test it out, im not gonna ask a mod to help test it :p
Kevin
2013-05-06 15:56:57
Yes, you will need to call FindNormalRandoms; as often as possible as it will only check each time it calls. IE: if you're cutting trees, call it every time you switch trees; throw it in your antiban; put it anywhere that will be called as much as possible :)
Skillery
2013-05-06 16:03:21
From: Kevin
Yes, you will need to call FindNormalRandoms; as often as possible as it will only check each time it calls. IE: if you're cutting trees, call it every time you switch trees; throw it in your antiban; put it anywhere that will be called as much as possible :)
Okay thank you for the information, seems like a neat feature!
Btw, do you know where I can ask these kind of questions? Is this the right place?
Kevin
2013-05-06 16:15:54
From: Skillery
Okay thank you for the information, seems like a neat feature!
Btw, do you know where I can ask these kind of questions? Is this the right place?
For this type of question,
http://villavu.com/forum/forumdisplay.php?f=491 would be much better. This is usually for questions and more along the lines of developing new techniques and whatnot we don't currently have in place.
From: Skillery
Thank you, so you have to mention the function in the script?
Sadly I am unable to test it out, im not gonna ask a mod to help test it :p
I would not suggest asking a mod to help :P I would simply PM them and see if they respond and the script stops :D
denart5
2013-05-11 20:21:07
Still, I don't think it would matter. Not like a mod is going to ban you if he sees you doing something repetitive I guess.
sallyD
2014-02-12 01:47:45
same dilemma..thanks for the info.