Ye I know, at least as far I've test it... but people are goind to complaint... :/
Notifier [Unmaintained]
Discussion in 'Plugin Support' started by NobodyFTW, Feb 1, 2015.
-
Wulf Community Admin
-
don´t know why but if i try to change Motd or Welcome msg it dosent changed , i write directly in the c+ file , try it in en.jsaon and json file
-
-
Wulf Community Admin
-
just noticed this thread. gonna test it tonight.
-
Also, if you look to the error log, it says the error comes in Unload:
Code:void Unload() { Interface.Oxide.DataFileSystem.WriteObject(DataFile, PlayersData); }
-
Please re-download the file as it has been updated. -
that <size...> thing in console on join/leave notifications still here, as it was in older version:
Code:[Oxide] 23:39 [Info] [Notifier] <size=12>Fuck Society left the server (Kicked: Unresponsive)</size> [Oxide] 23:40 [Info] [Notifier] <size=12>Fuck Society joined from Hashemite Kingdom of Jordan</size> [Oxide] 23:40 [Info] [Notifier] <size=12>[Russ] Deagle joined from Belgium</size>
and there is still no name formats for player levels? =)
[DOUBLEPOST=1468878461][/DOUBLEPOST]same with newest version:
Code:[Oxide] 23:45 [Debug] Reload requested for plugin which is already loading: Notifier [Oxide] 23:45 [Info] Notifier was compiled successfully in 2031ms [Oxide] 23:45 [Error] Failed to call hook 'Unload' on plugin 'Notifier v3.1.0' (TimeZoneNotFoundException: Exception of type 'System.TimeZoneNotFoundException' was thrown.) [Oxide] 23:45 [Debug] at System.TimeZoneInfo.get_Local () [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Utilities.DateTimeUtils.GetUtcOffset (DateTime d) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Utilities.DateTimeUtils.WriteDateTimeString (System.Char[] chars, Int32 start, DateTime value, Nullable`1 offset, DateTimeKind kind, DateFormatHandling format) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.JsonTextWriter.WriteValue (DateTime value) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.JsonWriter.WriteValue (Newtonsoft.Json.JsonWriter writer, PrimitiveTypeCode typeCode, System.Object value) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializePrimitive (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonPrimitiveContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonContract valueContract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0 [Oxide] 23:45 [Info] Unloaded plugin Notifier v3.1.0 by SkinN [Oxide] 23:45 [Info] Loaded plugin Notifier v3.1.0 by SkinN
Code:> reload Notifier [Oxide] 23:48 [Info] Unloaded plugin Notifier v3.1.0 by SkinN [Oxide] 23:48 [Info] Loaded plugin Notifier v3.1.0 by SkinN > reload Notifier [Oxide] 23:48 [Info] Unloaded plugin Notifier v3.1.0 by SkinN [Oxide] 23:48 [Info] Loaded plugin Notifier v3.1.0 by SkinN
Last edited by a moderator: Jul 18, 2016 -
-
thanks, its works just fine without restart, just simple plugin reload.
what about default color for messages? still only way to change it in plugin code?
[DOUBLEPOST=1468879523][/DOUBLEPOST]http://image.prntscr.com/image/abaaa7aef9c0414eabd94ab829e23c5d.png
can you make option in config or at least cut the number to integer for level? looks a bit weird right now..
[DOUBLEPOST=1468879689][/DOUBLEPOST]or make lvl value as integer + additional name format for level progress %..Last edited by a moderator: Jul 19, 2016 -
Try this tho, as I have fixed the size formats as you asked me to. -
thanks i will check it later.
about level, then maybe there is a point to get rid of floating-point part? just truncate it and leave integer part. -
unsure, but i think version 3.1 makes my server disappear from servers list in around a hour after i restart plugin/server. it is possible at all? installed this plugin late yesterday and went to sleep. today found my server offline (server by itself keep running, just no players on it). restarted it and found it offline again in ~ a hour. so i rolled back to version 3.0.9. now its ok.
-
int level = GetLevel(player);
float xpTotal= GetCurrentXP(player);
float xpNeededTotal = LevelToXP(level + 1);
float xpNeededForLevelUp = xpNeededTotal - LevelToXP(level);
float xpInCurrentLevel = xpTotal - LevelToXP(level) ;
float percentage = (xpInCurrentLevel / xpNeededForLevelUp) * 100; -
[DOUBLEPOST=1468953550][/DOUBLEPOST] -
-
Incoming Chopper is also not working for me.
-
Hello, how can I change the name "notifier" to my label.
Becouse i cannot find that. -