Jump to content
Lioy

Code Who Is The God The Server Feature

Recommended Posts

Hello, I will start explanation immediately.

 

 

You all know that Top pvp doesn't mean Top player, right? Who is the best to 'judge' it? Players of course.  So players can vote for the best of the server ( God ) , and every week the period ends. The player who has the most votes is the God of the server till period ends! In every period God is changed (unless current God has again the most votes). Every period ends at Sunday 00:01:00. (it's a cool time for that :P ). I will appreciate it if I see it in any server online around because it has sense as a feature , read my first 'question'

 

of explanation again :P

 

Must Read:

 

  • You can vote offline players of course
  • You cannot vote yourself ( lol )
  • You vote once in every period! 
  • You can see current ranking
  • All can see who is the server's god in the God Manager
  • All can see time remaining till period ends.
  • There is //end_god admin command to end it manually (for every reason)
  • No case sensitive in 'vote a player' textfield
  • ADDED IP PROTECTION.
  • God Manager is updating every 30 seconds!

 

In next version updates (very very soon):

  • Some basic god functions ( like announcements when login, hero , etc. It's the easiest part ! )

 

Watch this in HD full screen

 

 

 

Code: http://pastebin.com/ERp6wsU0

 

For any bugs: geo.lioy (skype)

Edited by gio.lioy

Share this post


Link to post
Share on other sites

lol awesome i had idea about something like this but i have not the skills to make it :D and also will be great if give's you for example any skill to make u little bit better than others like 5% HP/MP/CP something or some of other stats its may fir perfect to Hi5 servers or highter versions :) thnx for share

Share this post


Link to post
Share on other sites

Its time for you to develop your codes in a more object oriented approach, with static codes you are never gonna improve yourself

Share this post


Link to post
Share on other sites

lol awesome i had idea about something like this but i have not the skills to make it :D and also will be great if give's you for example any skill to make u little bit better than others like 5% HP/MP/CP something or some of other stats its may fir perfect to Hi5 servers or highter versions :) thnx for share

thank you :)

 

 

 

Its time for you to develop your codes in a more object oriented approach, with static codes you are never gonna improve yourself

 

 

Well how i am able to use oop here? :S I think it's a must for static in this code, can't work with objects since the whole system is 'static'. (i am asking actually)

Edited by gio.lioy

Share this post


Link to post
Share on other sites

Nice idea, gg :P

 

Like you mentioned, you have to add some IP restriction.

Thank you , yea I will :P soon

Edited by gio.lioy

Share this post


Link to post
Share on other sites

Well done, I thought about making something like that instead, the "god" I was going to call it "players choice" would have the ability to have increased amount of drop, and increased amount of speed something like +10, your idea is just as good !

Share this post


Link to post
Share on other sites

playerTwoip = _playerTwo.getClient().getConnection().getInetAddress().getHostAddress();

 

if(!playerOneIp.equals(playerTwoIp)

 

now base it on your voting system

 

set the penalty to kick the dualbox out of the game and cancel the vote. Voila. If I'm wrong correct me

Edited by ExtreameR

Share this post


Link to post
Share on other sites

playerTwoip = _playerTwo.getClient().getConnection().getInetAddress().getHostAddress();

 

if(!playerOneIp.equals(playerTwoIp)

 

now base it on your voting system

 

set the penalty to kick the dualbox out of the game and cancel the vote. Voila. If I'm wrong correct me

He knows what to do..

Share this post


Link to post
Share on other sites

private static ArrayList<String> _alreadyVoted = new ArrayList<>();

 

the best way to check IPs that have already voted, except if you want to limit just same IP voting exclusively 

Share this post


Link to post
Share on other sites

i cant vote my self but i can create new chars and vote my self ! nice logic :/

 

how about protecting this sh1t with HWID? so u couldnt vote ur self with ur pc

 

i can use proxy switcher/aol  +  open l2.exe with different users! and vote my self 500+ times ,gz i win! anything else?

Edited by L2Wild

Share this post


Link to post
Share on other sites

i cant vote my self but i can create new chars and vote my self ! nice logic :/

 

how about protecting this sh1t with HWID? so u couldnt vote ur self with ur pc

 

i can use proxy switcher/aol  +  open l2.exe with different users! and vote my self 500+ times ,gz i win! anything else?

Damn people, think before act. NOTHING has 100% protection, he said the next update will contains some protection. The logic of l2 players is close to zero, so take it easy.

Share this post


Link to post
Share on other sites

i cant vote my self but i can create new chars and vote my self ! nice logic :/

 

how about protecting this sh1t with HWID? so u couldnt vote ur self with ur pc

 

i can use proxy switcher/aol  +  open l2.exe with different users! and vote my self 500+ times ,gz i win! anything else?

 

if you consider that only shitt server with 12 year old community will use it, then its fine even if they cheat

Share this post


Link to post
Share on other sites

I have thought of that too in the past ,of course i dont know shit about developing e.t.c. so here is whati said to myself it would op. Of course i believe high five would be better for it because there is kamael too and i personally believe it's the best client. So i said after hero there must alwo be something cool to like king and queen,where players will vote every week who is the best to become king and queen for every race.which means 6 kings in and 6 queens.(you cant vote yourself,because if everybofy votes himself then what? :D. Then i said after kings and queens ,there will be gods.1 god for every race. Of course its very difficult to do such a thing as you need a lot of active community otherwise it sucks.

 

P. S : i also tended to believe it would be nice to ass special effects surrounding kings and gods like hero but with another colour like red or black . of course all these belong to my vivid imagination ,so they may seem pretty strange and funny to you

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.



  • Posts

    • Grand Opening 1st of March
      19:00 UTC +2 [Europe] 
      13:00 UTC -3 [Brazil] 
      13:00 UTC -3 [Argentina] Website: http://l2flector.com/   Why you should play on our servers:         Unique custom Java platform.  Best defenses against DDOS attacks.  Protection from bots. SGuard  Game wthout wipe more than 6 months!  Comfortable game without freezes and delays.                                            

      Xp/Sp - 3000x
      Aden/Drop - 300x
      Rate Party Xp/Sp -1.5x
      OLYMPIAD
      Retail olympiad game.
      Olympiad Starts: 18:00 [+2GMT]
      Olympiad Ends: 24:00 [+2GMT]
      Hero Changes: Every Friday 14:00 [+2GMT]
      Period: 1 week


      Simple / Blessed Max Enchant (Weapon / Armor): +15 | (Jewelery): +15
      Crystal Max Enchant (Weapon / Armor): +20 | (Jewelery):+20
      Safe Enchant: +4
      Blessed: 90% | Crystal: 100%




      Mid Skill Chance: 5% | High: 10% | Top: 15%
      Max 1 active and 1 passive Augment at a time
      CASTLE SIEGE TIME
      Aden, Dion, 
      Giran, Goddard

                                                                                    Main town - Giran. Unique monsters. Unique pvp system. Unique aden balance. Unique farming areas. Unique L2Flector tattoos. Wedding system. Npc skill enchanter. Auto learn skills A grade items - free. Shops till top S grade. Full npc buffer with auto buff and scheme. 64 Buff Slots. Buff Time 3 hours. Max subclasses - 5. Free class change. Free sub class. Free nobless status. Stackable scrolls/ls/bog. No weight limit. No grade limit. Pvp/pk show on title. Top 20 pvp/pk in game. Offline trade system. Interlude retail skills. Perfect class balance. More then 18 active raid bosses. Without custom items. Server is secured with Sguard. SERVER COMMANDS .menu - Personal config. .siege - Sieges Info. .online - How many players online. .join .leave - Join or leave tvt event. .repair - Repair your char if you been stucked             Grand Opening 1st of March
      19:00 UTC +2 [Europe] 
      13:00 UTC -3 [Brazil] 
      13:00 UTC -3 [Argentina] Website: http://l2flector.com/
  • Topics

×