Request Auto-Rank System V2 (Zombie Survival)

Request Auto-Rank System V2 (Zombie Survival)

Postby Leeizazombie » 24 Mar 2014, 18:00

Hello, I am willing to take requests for people who want an Auto Ranking system command. I just need some information first and also to point out some notes.

Template for request:

Code: Select all
Rank : Level
Rank : Level
Rank : Level
Rank : Level
ect...


Example: survivor : 10
^ That means that when the player reaches level 10, he/she will be ranked to "survivor".

Notes:
# If you have experience in coding, you can use the code I have at the end of the topic.
# If you change the ranks in your server while having Auto Rank, it will not function properly, you must remove it then request another.
# The command will have to be activated after every start up, so if you restart, you must use /autosystem enable again.

Code for people who know what they're doing:
Spoiler:
Owner of:
LeeIzaZombie Freebuild and Lava Survival V2 (Shut Down and updated)
LeeIzaZombie Survival (Comming back soon)

Contact:
Skype: leeizazombie
IRC: irc.geekshed.net, #leeizazombie, #mcclassichosting
User avatar
Leeizazombie
 
Posts: 536
Joined: 10 Jun 2013, 17:45
Location: Ireland.

Re: Request Auto-Rank System V1 (Zombie Survival)

Postby HelloWorldCool » 24 Mar 2014, 22:37

Leeizazombie wrote:...
Code for people who know what they're doing:
Spoiler:


Sidenote: In my opinion, the stats check should be much longer than 10 seconds(no offense to you Leeizazombie). To give an approximation, the time should be between 4 and 12 minutes. If you have a small server(10-15 players), your number should be closer to 4 minutes, and if your server is large(45-50 players), your number should be closer to 12 minutes.

Here are my recommendations on a chart to help people out:

Small
Num. of Players = ?min= ?millisecs
10 = 4= 240000
15 = 5= 300000
20 = 6= 360000
25 = 7= 420000
30 = 8= 480000
35 = 9= 540000
40 = 10= 600000
45 = 11= 660000
50 = 12= 720000
Large
Download fCraft maps! - viewtopic.php?f=25&t=3012!



Note: The Developer(s) of MCDzienny have resigned and the software is no longer supported.
Errors are bound to occur and Mojang has not attempted to resolve them.
User avatar
HelloWorldCool
 
Posts: 867
Joined: 18 Oct 2011, 00:19
Location: MCDzienny Forums, HelloWorldCool Forums

Re: Request Auto-Rank System V1 (Zombie Survival)

Postby Leeizazombie » 24 Mar 2014, 23:23

But players will be disappointed to wait for their ranked, as I've already notice with 10 seconds :lol:
I shall create a timer instead of using Thread.Sleep, those ms's will be handy to me, thanks. Maybe I can make it an optional setting to alter the refresh rate hmm? :idea:
Owner of:
LeeIzaZombie Freebuild and Lava Survival V2 (Shut Down and updated)
LeeIzaZombie Survival (Comming back soon)

Contact:
Skype: leeizazombie
IRC: irc.geekshed.net, #leeizazombie, #mcclassichosting
User avatar
Leeizazombie
 
Posts: 536
Joined: 10 Jun 2013, 17:45
Location: Ireland.

Re: Request Auto-Rank System V2 (Zombie Survival)

Postby Leeizazombie » 26 Mar 2014, 03:38

I've added the Timer, it's now much reliable while refreshing every 5 seconds, this will guarantee no extreme usage of CPU.
Owner of:
LeeIzaZombie Freebuild and Lava Survival V2 (Shut Down and updated)
LeeIzaZombie Survival (Comming back soon)

Contact:
Skype: leeizazombie
IRC: irc.geekshed.net, #leeizazombie, #mcclassichosting
User avatar
Leeizazombie
 
Posts: 536
Joined: 10 Jun 2013, 17:45
Location: Ireland.

Re: Request Auto-Rank System V2 (Zombie Survival)

Postby HelloWorldCool » 27 Mar 2014, 23:47

Leeizazombie wrote:I've added the Timer, it's now much reliable while refreshing every 5 seconds, this will guarantee no extreme usage of CPU.


Hmm...possibly better, because not many other commands use the timer feature yet. But still I don't recommend 5 seconds...make it 20 seconds least(4x per min = a lot of work :twisted:).


The timer's ms compared to the round's ms cannot exceed 25%...or bad things can happen!

Ex:
Timer: 5000 ms - (5 sec)
Round time: 20,000 ms - (20 sec)

Anyway, we'll need some people to test out your command. <ok>
Download fCraft maps! - viewtopic.php?f=25&t=3012!



Note: The Developer(s) of MCDzienny have resigned and the software is no longer supported.
Errors are bound to occur and Mojang has not attempted to resolve them.
User avatar
HelloWorldCool
 
Posts: 867
Joined: 18 Oct 2011, 00:19
Location: MCDzienny Forums, HelloWorldCool Forums

Re: Request Auto-Rank System V2 (Zombie Survival)

Postby asdfmovie2121 » 07 May 2014, 04:47

Lee can you make me a auto-rank system?? Heres my ranks and the levels I want them to be
Potential:3
Aware:15
Survivor:30
ExpertedHuman:50
Leader:70
Owner of DeadIsland Survival[New]
asdfmovie2121
 
Posts: 26
Joined: 29 Dec 2012, 13:18

Re: Request Auto-Rank System V2 (Zombie Survival)

Postby _Retaliate_ » 07 May 2014, 06:14

Lee, you should really make it read from a config file. It would be so much easier than having people request the new command each time. I know how to do this, but there's no fun in it if I just tell you how to do it. :lol:
Hint: string.Split();
Image
_Retaliate_
 
Posts: 68
Joined: 26 Sep 2013, 11:16

Re: Request Auto-Rank System V2 (Zombie Survival)

Postby Leeizazombie » 07 May 2014, 18:13

asdfmovie2121 wrote:Lee can you make me a auto-rank system?? Heres my ranks and the levels I want them to be
Potential:3
Aware:15
Survivor:30
ExpertedHuman:50
Leader:70


Here you go:
Spoiler:


One problem, I can't tell what the players start level is on your server, you never mentioned.
Like what rank they are as level 1.
I assumed it was "guest", if it isn't please let me know or look in the code and change it!

Enjoy! <ok>
Owner of:
LeeIzaZombie Freebuild and Lava Survival V2 (Shut Down and updated)
LeeIzaZombie Survival (Comming back soon)

Contact:
Skype: leeizazombie
IRC: irc.geekshed.net, #leeizazombie, #mcclassichosting
User avatar
Leeizazombie
 
Posts: 536
Joined: 10 Jun 2013, 17:45
Location: Ireland.

Re: Request Auto-Rank System V2 (Zombie Survival)

Postby asdfmovie2121 » 12 May 2014, 22:08

These are all the ranks
Citizen:Guest
Potential:3
Aware:15
Survivor:30
ExpertedHuman:50
Leader:70
Moderator
Operator
Superop
King
Owner of DeadIsland Survival[New]
asdfmovie2121
 
Posts: 26
Joined: 29 Dec 2012, 13:18


Return to Custom Commands

Who is online

Users browsing this forum: No registered users and 3 guests

cron