You need to set limitAttemptsEnabler to true.
GuessTheNumber
Moved
Total Downloads: 1,151 - First Release: Jul 18, 2016 - Last Update: May 9, 2017
- 5/5, 20 likes
-
eventStart(6 line) - in lang file, can not be translated.
-
It will be using numberNotice instead as it uses min/maxNumber from configuration file.
I'll make a quick update for 1.1.1 by removing eventStart. -
Dora updated Guess The Number with a new update entry:
1.1.1
-
can you add timer for autoevent end? you know so its fully automated, would be nice to have enable true/false and how much time the event is a live. Also add please XP reward true/false so we can choose between if serverrewards/economics are on
-
Right, I also thought of enable/disable XP system as well after implementing support for serverrewards/economics.
I'll start working on it tomorrow. -
Dora updated Guess The Number with a new update entry:
1.2.0
-
Awesome update Still could really use a console command to manually run thx
-
-
-
The error occurs when the correct answer
Code:03:56 [Error] Failed to call hook 'numberReply' on plugin 'GuessTheNumber v1.2.0' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.) 03:56 [Debug] at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GuessTheNumber.Lang (System.String key, System.String id, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GuessTheNumber.numberReply (.BasePlayer player, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GuessTheNumber.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
-
I think it might be your lang file being outdated or have error in it.
[DOUBLEPOST=1468989336][/DOUBLEPOST]
Showing in-game will be difficult.
I also took note of displaying when the event starts. What I can do is to display the actual time before event start but I cannot do like "5 minutes till event start"Last edited by a moderator: Jul 20, 2016 -
I just need in console sentence that: Guess the number has started, the number is ##
-
-
Also message like: Guess The Number has ended, nobody guessed the number.
optinal if you could do: Guess The Number has ended, nobody guessed the number, closes was <player> with <number> -
For the optimal part. Its possible but take quite sometime. As i have to store the value of each number they posted and analyze and see who is the closest. You can say its a waste of time to show this bit more of info. -
It is, you know mornings
I ment btw a console message that event ended
-
Probably v1.2.1 or 1.3. -
when you guess the number, you take XP. But if you have more attempts, you can type this number again and abuse it. (Event does not end when the player guessing)
-
Enable "autoEventEndEnabler" to true and set "autoEventInterval" to like 120(2min) for the event to end automatically if no one guess it correctly.
If you do not have this in your config.json, means your plugin is outdated.