Are you using Jint or Magma?Now no errors but still I can't stand another player to control - something like anticheat - well I wrote earlier
Are you using Jint or Magma?Now no errors but still I can't stand another player to control - something like anticheat - well I wrote earlier
I'll have a look when I get home later on today or possibly tomorrow.magma
Maybe there's another way?The meaning of the plugin is that the admin writes /command "Nick" - this person ✔ effective use of coordinates - if they change the message to him - if not , nothing happens.Just disable validation.I'll have a look when I get home later on today or possibly tomorrow.
I don't see anything wrong with the code, Maybe play around with it or add some debugging code to find out if the timer is even called or something
I guess add something in the timer like;Maybe there's another way?The meaning of the plugin is that the admin writes /command "Nick" - this person ✔ effective use of coordinates - if they change the message to him - if not , nothing happens.Just disable validation.
Wuy not?Timer isn't being calledback
No idea, tried to do it doing that plugin.advancedtimer.XWuy not?
Sent From My Samsung Galaxy S4
hmmmNo idea, tried to do it doing that plugin.advancedtimer.X
and its not doing the callback
No errors no nothing? I guess I will need to debug It.No idea, tried to do it doing that plugin.advancedtimer.X
and its not doing the callback
No errors,No errors no nothing? I guess I will need to debug It.
I'm looking into this issue, the timer starts but doesn't elapse. WTFNo errors,
Also if you removed the AdvancedTimers part it would throw some jint error
I'm fixing this stuff somehow, dunno how, i cant see the problem. I think im gonna rewrite this.magma
[3/18/2016 11:44:31] Timer ran, and the value is1: MagmaModule.MagmaTE
[3/18/2016 11:44:31] Timer ran, and the value is2: 7653232blabla
function On_PluginInit() {
var Data = Plugin.CreateDict();
Data["PlayerID"] = "7653232blabla";
Plugin.AdvancedTimers.CreateParallelTimer("SecUpdate", 1000, Data).Start();
}
function SecUpdateCallback(TimedEvent) {
Plugin.Log("TestLog", "Timer ran, and the value is1: " + TimedEvent);
TimedEvent.Kill();
var data = TimedEvent.Args;
var playerID = data["PlayerID"];
Plugin.Log("TestLog", "Timer ran, and the value is2: " + playerID);
}
Well - I check and write what happenedApologize me.
The timer is running on another thread so the error wasn't in my console.
It seems to work.
Code:[3/18/2016 11:44:31] Timer ran, and the value is1: MagmaModule.MagmaTE [3/18/2016 11:44:31] Timer ran, and the value is2: 7653232blablaJavaScript:function On_PluginInit() { var Data = Plugin.CreateDict(); Data["PlayerID"] = "7653232blabla"; Plugin.AdvancedTimers.CreateParallelTimer("SecUpdate", 1000, Data).Start(); } function SecUpdateCallback(TimedEvent) { Plugin.Log("TestLog", "Timer ran, and the value is1: " + TimedEvent); TimedEvent.Kill(); var data = TimedEvent.Args; var playerID = data["PlayerID"]; Plugin.Log("TestLog", "Timer ran, and the value is2: " + playerID); }
Something not the code that I need....Apologize me.
The timer is running on another thread so the error wasn't in my console.
It seems to work.
Code:[3/18/2016 11:44:31] Timer ran, and the value is1: MagmaModule.MagmaTE [3/18/2016 11:44:31] Timer ran, and the value is2: 7653232blablaJavaScript:function On_PluginInit() { var Data = Plugin.CreateDict(); Data["PlayerID"] = "7653232blabla"; Plugin.AdvancedTimers.CreateParallelTimer("SecUpdate", 1000, Data).Start(); } function SecUpdateCallback(TimedEvent) { Plugin.Log("TestLog", "Timer ran, and the value is1: " + TimedEvent); TimedEvent.Kill(); var data = TimedEvent.Args; var playerID = data["PlayerID"]; Plugin.Log("TestLog", "Timer ran, and the value is2: " + playerID); }
Detail that please, because i dont understand.Something not the code that I need....
I need a team ask a player to check - if move gets ban anti-cheat