Jump to content

Recommended Posts

Posted (edited)

### Eclipse Workspace Patch 1.0
#P L2JHellasD
Index: data/xml/adminCommands.xml
===================================================================
--- data/xml/adminCommands.xml    (revision 395)
+++ data/xml/adminCommands.xml    (working copy)
@@ -531,4 +531,22 @@
    <admin command="admin_premium_add3" accessLevel="7" />
    <admin command="admin_premium_add4" accessLevel="7" />
    <admin command="admin_premium_add5" accessLevel="7" />
+    
+    <!-- ADMIN SURVEY -->
+    <admin command="admin_survey_start" accessLevel="7" />
+    <admin command="admin_survey_results" accessLevel="7" />
+    <admin command="admin_opmore" accessLevel="7" />
+    <admin command="admin_opless" accessLevel="7" />
+    <admin command="admin_survey_run1" accessLevel="7" />
+    <admin command="admin_survey_run2" accessLevel="7" />
+    <admin command="admin_survey_run3" accessLevel="7" />
+    <admin command="admin_survey_run4" accessLevel="7" />
+    <admin command="admin_survey_qset" accessLevel="7" />
+    <admin command="admin_survey_ans1set" accessLevel="7" />
+    <admin command="admin_survey_ans2set" accessLevel="7" />
+    <admin command="admin_survey_ans3set" accessLevel="7" />
+    <admin command="admin_survey_ans4set" accessLevel="7" />
+    <admin command="admin_survey_ans5set" accessLevel="7" />
+    <admin command="admin_survey_end" accessLevel="7" />
+    <admin command="admin_survey_results" accessLevel="7" />
</list>
\ No newline at end of file
#P L2JHellasC
Index: java/com/l2jhellas/gameserver/network/clientpackets/RequestBypassToServer.java
===================================================================
--- java/com/l2jhellas/gameserver/network/clientpackets/RequestBypassToServer.java    (revision 395)
+++ java/com/l2jhellas/gameserver/network/clientpackets/RequestBypassToServer.java    (working copy)
@@ -28,6 +28,7 @@
import com.l2jhellas.gameserver.datatables.xml.AdminData;
import com.l2jhellas.gameserver.handler.AdminCommandHandler;
import com.l2jhellas.gameserver.handler.IAdminCommandHandler;
+import com.l2jhellas.gameserver.handler.admincommandhandlers.AdminSurvey;
import com.l2jhellas.gameserver.model.L2CharPosition;
import com.l2jhellas.gameserver.model.L2Object;
import com.l2jhellas.gameserver.model.L2World;
@@ -304,6 +305,89 @@
                    activeChar.sendMessage("Something went wrong.");
                }
            }
+            else if (_command.equals("survey_vote1"))
+            {
+                if(AdminSurvey.running == false)
+                {
+                    activeChar.sendMessage("There is no survey running now");
+                    return;
+                }
+                
+                if(activeChar.hasVotedSurvey())
+                {
+                    activeChar.sendMessage("You already voted for that survey.");
+                    return;
+                }
+                
+                AdminSurvey.ans1_vote_count++;
+                activeChar.setHasVotedSurvey(true);
+                activeChar.sendMessage("You voted : " + AdminSurvey.ans1 + ". Thanks for voting");
+            }
+            else if (_command.equals("survey_vote2"))
+            {
+                if(AdminSurvey.running == false)
+                {
+                    activeChar.sendMessage("There is no survey running now");
+                    return;
+                }
+                if(activeChar.hasVotedSurvey())
+                {
+                    activeChar.sendMessage("You already voted for that survey.");
+                    return;
+                }
+                
+                AdminSurvey.ans2_vote_count++;
+                activeChar.setHasVotedSurvey(true);
+                activeChar.sendMessage("You voted : " + AdminSurvey.ans2 + ". Thanks for voting");
+            }
+            else if (_command.equals("survey_vote3"))
+            {
+                if(AdminSurvey.running == false)
+                {
+                    activeChar.sendMessage("There is no survey running now");
+                    return;
+                }
+                if(activeChar.hasVotedSurvey())
+                {
+                    activeChar.sendMessage("You already voted for that survey.");
+                    return;
+                }
+                AdminSurvey.ans3_vote_count++;
+                activeChar.setHasVotedSurvey(true);
+                activeChar.sendMessage("You voted : " + AdminSurvey.ans3 + ". Thanks for voting");
+            }
+            else if (_command.equals("survey_vote4"))
+            {
+                if(AdminSurvey.running == false)
+                {
+                    activeChar.sendMessage("There is no survey running now");
+                    return;
+                }
+                if(activeChar.hasVotedSurvey())
+                {
+                    activeChar.sendMessage("You already voted for that survey.");
+                    return;
+                }
+                AdminSurvey.ans4_vote_count++;
+                activeChar.setHasVotedSurvey(true);
+                activeChar.sendMessage("You voted : " + AdminSurvey.ans4 + ". Thanks for voting");
+            }
+            else if (_command.equals("survey_vote5"))
+            {
+                if(AdminSurvey.running == false)
+                {
+                    activeChar.sendMessage("There is no survey running now");
+                    return;
+                }
+                if(activeChar.hasVotedSurvey())
+                {
+                    activeChar.sendMessage("You already voted for that survey.");
+                    return;
+                }
+                AdminSurvey.ans5_vote_count++;
+                activeChar.setHasVotedSurvey(true);
+                activeChar.sendMessage("You voted : " + AdminSurvey.ans5 + ". Thanks for voting");
+            }
            else if (_command.startsWith("npc_"))
            {
                if (!activeChar.validateBypass(_command))
Index: java/com/l2jhellas/gameserver/handler/VoicedCommandHandler.java
===================================================================
--- java/com/l2jhellas/gameserver/handler/VoicedCommandHandler.java    (revision 395)
+++ java/com/l2jhellas/gameserver/handler/VoicedCommandHandler.java    (working copy)
@@ -30,6 +30,7 @@
import com.l2jhellas.gameserver.handler.voicedcommandhandlers.Premium;
import com.l2jhellas.gameserver.handler.voicedcommandhandlers.QuizCmd;
import com.l2jhellas.gameserver.handler.voicedcommandhandlers.ServerRestartVote;
+import com.l2jhellas.gameserver.handler.voicedcommandhandlers.Survey;
import com.l2jhellas.gameserver.handler.voicedcommandhandlers.VipTeleport;
import com.l2jhellas.gameserver.handler.voicedcommandhandlers.VoiceInfo;
import com.l2jhellas.gameserver.handler.voicedcommandhandlers.Wedding;
@@ -90,6 +91,7 @@
            registerVoicedCommandHandler(new ZodiacRegistration());
        registerVoicedCommandHandler(new Premium());
        registerVoicedCommandHandler(new QuizCmd());
+        registerVoicedCommandHandler(new Survey());

        _log.log(Level.INFO, getClass().getSimpleName() + ": Loaded " + size() + " Handlers in total.");
    }
Index: java/com/l2jhellas/gameserver/handler/admincommandhandlers/AdminSurvey.java
===================================================================
--- java/com/l2jhellas/gameserver/handler/admincommandhandlers/AdminSurvey.java    (revision 0)
+++ java/com/l2jhellas/gameserver/handler/admincommandhandlers/AdminSurvey.java    (working copy)
@@ -0,0 +1,769 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.l2jhellas.gameserver.handler.admincommandhandlers;
+
+import java.util.Collection;
+import java.util.StringTokenizer;
+
+import javolution.text.TextBuilder;
+
+import com.l2jhellas.gameserver.handler.IAdminCommandHandler;
+import com.l2jhellas.gameserver.model.L2World;
+import com.l2jhellas.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jhellas.gameserver.network.clientpackets.Say2;
+import com.l2jhellas.gameserver.network.serverpackets.CreatureSay;
+import com.l2jhellas.gameserver.network.serverpackets.NpcHtmlMessage;
+import com.l2jhellas.util.Broadcast;
+
+/**
+ *
+ * @author Elfocrash
+ *
+ */
+public class AdminSurvey implements IAdminCommandHandler
+{
+    public static int options = 2;
+    public static int mode = 0;
+    public static boolean running = false;
+    private static boolean qset = false;
+    private static boolean ans1set = false;
+    private static boolean ans2set = false;
+    private static boolean ans3set = false;
+    private static boolean ans4set = false;
+    private static boolean ans5set = false;
+    public static String quest = "";
+    public static String ans1 = "";
+    public static String ans2 = "";
+    public static String ans3 = "";
+    public static String ans4 = "";
+    public static String ans5 = "";
+    public static int ans1_vote_count = 0;
+    public static int ans2_vote_count = 0;
+    public static int ans3_vote_count = 0;
+    public static int ans4_vote_count = 0;
+    public static int ans5_vote_count = 0;
+    
+    private static final String[] ADMIN_COMMANDS =
+    {
+        "admin_survey_start",
+        "admin_survey_results",
+        "admin_opmore",
+        "admin_opless",
+        "admin_survey_run1",
+        "admin_survey_run2",
+        "admin_survey_run3",
+        "admin_survey_run4",
+        "admin_survey_qset",
+        "admin_survey_ans1set",
+        "admin_survey_ans2set",
+        "admin_survey_ans3set",
+        "admin_survey_ans4set",
+        "admin_survey_ans5set",
+        "admin_survey_end",
+        "admin_survey_results"
+    };
+    
+    @Override
+    public boolean useAdminCommand(String command, L2PcInstance activeChar)
+    {
+        if (command.equals("admin_survey_start"))
+            startHtml(activeChar);
+        
+        if (command.equals("admin_survey_results"))
+            resultsHtml(activeChar);
+        
+        
+        if (command.equals("admin_survey_end"))
+        {
+            int moreVotes = ans1_vote_count;
+            if (moreVotes < ans2_vote_count) {moreVotes = ans2_vote_count;}
+            if (moreVotes < ans3_vote_count) {moreVotes = ans3_vote_count;}
+            if (moreVotes < ans4_vote_count) {moreVotes = ans4_vote_count;}
+            if (moreVotes < ans5_vote_count) {moreVotes = ans5_vote_count;}
+            
+            Broadcast.toAllOnlinePlayers(new CreatureSay(0,Say2.ANNOUNCEMENT,"Survey","The survey session is over.Thanks everyone for voting."));
+            if( moreVotes == ans1_vote_count)
+                Broadcast.toAllOnlinePlayers(new CreatureSay(0,Say2.ANNOUNCEMENT,"Survey","The answer "+ ans1 +" won the survey with " + ans1_vote_count +" votes on the question : "+ quest+"."));
+            if( moreVotes == ans2_vote_count)
+                Broadcast.toAllOnlinePlayers(new CreatureSay(0,Say2.ANNOUNCEMENT,"Survey","The answer "+ ans2 +" won the survey with " + ans2_vote_count +" votes on the question : "+ quest+"."));
+            if( moreVotes == ans3_vote_count)
+                Broadcast.toAllOnlinePlayers(new CreatureSay(0,Say2.ANNOUNCEMENT,"Survey","The answer "+ ans3 +" won the survey with " + ans3_vote_count +" votes on the question : "+ quest+"."));
+            if( moreVotes == ans4_vote_count)
+                Broadcast.toAllOnlinePlayers(new CreatureSay(0,Say2.ANNOUNCEMENT,"Survey","The answer "+ ans4 +" won the survey with " + ans4_vote_count +" votes on the question : "+ quest+"."));
+            if( moreVotes == ans5_vote_count)
+                Broadcast.toAllOnlinePlayers(new CreatureSay(0,Say2.ANNOUNCEMENT,"Survey","The answer "+ ans5 +" won the survey with " + ans5_vote_count +" votes on the question : "+ quest+"."));
+            
+            running = false;
+            resultsHtml(activeChar);
+            quest = "";
+            ans1 = "";
+            ans2 = "";
+            ans3 = "";
+            ans4 = "";
+            ans5 = "";
+            mode = 0;
+            ans1_vote_count = 0;
+            ans2_vote_count = 0;
+            ans3_vote_count = 0;
+            ans4_vote_count = 0;
+            ans5_vote_count = 0;
+            setQset(false);
+            setAns1set(false);
+            setAns2set(false);
+            setAns3set(false);
+            setAns4set(false);
+            setAns5set(false);
+            
+            Collection<L2PcInstance> pls = L2World.getAllPlayers();
+            for (L2PcInstance onlinePlayers : pls)
+            {
+                onlinePlayers.setHasVotedSurvey(false);
+            }
+            
+            Broadcast.toAllOnlinePlayers(new CreatureSay(0,Say2.ANNOUNCEMENT,"Survey","The survey session is over.Thanks everyone for voting."));
+        }
+        
+        if(command.equals("admin_opmore"))
+            if(options <= 4)
+            {
+                options++;
+                startHtml(activeChar);
+            }
+            else
+            {
+                return false;
+            }
+        
+        if(command.equals("admin_opless"))
+            if(options >= 3)
+            {
+                options--;
+                startHtml(activeChar);
+            }
+            else
+            {
+                return false;
+            }
+        
+        if(command.startsWith("admin_survey_qset"))
+        {
+            if(isQset())
+            {
+                quest = "";
+                setQset(false);
+                startHtml(activeChar);
+            }
+            else if(!isQset())
+            {
+            StringTokenizer s = new StringTokenizer(command);
+            s.nextToken();
+            
+            try{
+                
+                while(s.hasMoreTokens())
+                quest = quest + s.nextToken() + " ";
+                setQset(true);
+                startHtml(activeChar);
+            
+            }
+            catch(Exception e)
+            {
+                e.printStackTrace();
+            }
+        }
+        }
+        
+        if(command.startsWith("admin_survey_ans1set"))
+        {
+            if(isAns1set())
+            {
+                ans1 = "";
+                setAns1set(false);
+                startHtml(activeChar);
+            }
+            else if(!isAns1set())
+            {
+            StringTokenizer s = new StringTokenizer(command);
+            s.nextToken();
+            
+            try{
+                
+                while(s.hasMoreTokens())
+                ans1 = ans1 + s.nextToken() + " ";
+                setAns1set(true);
+                startHtml(activeChar);
+            
+            }
+            catch(Exception e)
+            {
+                e.printStackTrace();
+            }
+        }
+        }
+        
+        if(command.startsWith("admin_survey_ans2set"))
+        {
+            if(isAns2set())
+            {
+                ans2 = "";
+                setAns2set(false);
+                startHtml(activeChar);
+            }
+            else if(!isAns2set())
+            {
+            StringTokenizer s = new StringTokenizer(command);
+            s.nextToken();
+            
+            try{
+                
+                while(s.hasMoreTokens())
+                ans2 = ans2 + s.nextToken() + " ";
+                setAns2set(true);
+                startHtml(activeChar);
+            
+            }
+            catch(Exception e)
+            {
+                e.printStackTrace();
+            }
+        }
+        }
+        
+        if(command.startsWith("admin_survey_ans3set"))
+        {
+            if(isAns3set())
+            {
+                ans3 = "";
+                setAns3set(false);
+                startHtml(activeChar);
+            }
+            else if(!isAns3set())
+            {
+            StringTokenizer s = new StringTokenizer(command);
+            s.nextToken();
+            
+            try{
+                
+                while(s.hasMoreTokens())
+                ans3 = ans3 + s.nextToken() + " ";
+                setAns3set(true);
+                startHtml(activeChar);
+            
+            }
+            catch(Exception e)
+            {
+                e.printStackTrace();
+            }
+        }
+        }
+        if(command.startsWith("admin_survey_ans4set"))
+        {
+            if(isAns4set())
+            {
+                ans4 = "";
+                setAns4set(false);
+                startHtml(activeChar);
+            }
+            else if(!isAns4set())
+            {
+            StringTokenizer s = new StringTokenizer(command);
+            s.nextToken();
+            
+            try{
+                
+                while(s.hasMoreTokens())
+                ans4 = ans4 + s.nextToken() + " ";
+                setAns4set(true);
+                startHtml(activeChar);
+            
+            }
+            catch(Exception e)
+            {
+                e.printStackTrace();
+            }
+        }
+        }
+        
+        if(command.startsWith("admin_survey_ans5set"))
+        {
+            if(isAns5set())
+            {
+                ans5 = "";
+                setAns5set(false);
+                startHtml(activeChar);
+            }
+            else if(!isAns5set())
+            {
+            StringTokenizer s = new StringTokenizer(command);
+            s.nextToken();
+            
+            try{
+                
+                while(s.hasMoreTokens())
+                ans5 = ans5 + s.nextToken() + " ";
+                setAns5set(true);
+                startHtml(activeChar);
+            
+            }
+            catch(Exception e)
+            {
+                e.printStackTrace();
+            }
+        }
+        }
+        
+        
+        
+        if(command.startsWith("admin_survey_run1"))
+        {
+            if(running == true)
+            {
+                activeChar.sendMessage("A survey is already in progres.");
+                return false;
+            }
+            if(!isQset() || !isAns1set() || !isAns2set())
+            {
+                activeChar.sendMessage("You have to set all the fields before you start the survey");
+                return false;
+            }
+                mode = 1;
+                running = true;
+         Broadcast.toAllOnlinePlayers(new CreatureSay(0,Say2.ANNOUNCEMENT,"Survey","Admin started a new survey with main question "+ quest+". Use .survey to vote."));
+            
+            
+        }
+        
+        if(command.startsWith("admin_survey_run2"))
+        {
+            if(running == true)
+            {
+                activeChar.sendMessage("A survey is already in progress");
+                return false;
+            
+            }
+            if(!isQset() || !isAns1set() || !isAns2set() || !isAns3set())
+            {
+                activeChar.sendMessage("You have to set all the fields before you start the survey");
+                return false;
+            }
+                mode = 2;
+                running = true;
+         Broadcast.toAllOnlinePlayers(new CreatureSay(0,Say2.ANNOUNCEMENT,"Survey","Admin started a new survey with main question "+ quest+". Use .survey to vote."));
+            
+            
+        }
+        
+        if(command.startsWith("admin_survey_run3"))
+        {
+            if(running == true)
+            {
+                activeChar.sendMessage("A survey is already in progress");
+                return false;
+            
+            }
+            
+            if(!isQset() || !isAns1set() || !isAns2set() || !isAns3set() || !isAns4set())
+            {
+                activeChar.sendMessage("You have to set all the fields before you start the survey");
+                return false;
+            }
+                mode = 3;
+                running = true;
+         Broadcast.toAllOnlinePlayers(new CreatureSay(0,Say2.ANNOUNCEMENT,"Survey","Admin started a new survey with main question "+ quest+". Use .survey to vote."));
+            
+            
+        }
+        
+        if(command.startsWith("admin_survey_run4"))
+        {
+            if(running == true)
+            {
+                activeChar.sendMessage("A survey is already in progress");
+                return false;
+            
+            }
+            
+            if(!isQset() || !isAns1set() || !isAns2set() || !isAns3set() || !isAns4set() || !isAns5set())
+            {
+                activeChar.sendMessage("You have to set all the fields before you start the survey");
+                return false;
+            }
+                mode = 4;
+                running = true;
+         Broadcast.toAllOnlinePlayers(new CreatureSay(0,Say2.ANNOUNCEMENT,"Survey","Admin started a new survey with main question "+ quest+". Use .survey to vote."));
+            
+            
+        }
+        
+            return true;
+    }
+    
+    @Override
+    public String[] getAdminCommandList()
+    {
+        return ADMIN_COMMANDS;
+    }
+    
+    private static void startHtml(L2PcInstance activeChar)
+    {
+        NpcHtmlMessage nhm = new NpcHtmlMessage(5);
+        TextBuilder tb = new TextBuilder("");
+        
+        tb.append("<html><head><title>Start Survey form</title></head><body>");
+        tb.append("<center>");
+        tb.append("<table width=\"250\" cellpadding=\"5\" bgcolor=\"000000\">");
+        tb.append("<tr>");
+        tb.append("<td width=\"45\" valign=\"top\" align=\"center\"><img src=\"L2ui_ch3.menubutton4\" width=\"38\" height=\"38\"></td>");
+        tb.append("<td valign=\"top\"><font color=\"FF6600\">Start a Survey</font>");
+        tb.append("<br1><font color=\"FF6600\">"+activeChar.getName()+"</font>, use this form in order to start a survey.<br1></td>");
+        tb.append("</tr>");
+        tb.append("</table>");
+        tb.append("</center>");
+        tb.append("<center>");
+        if(!isQset())
+        {
+            tb.append("<font color=\"FF6600\">Type in the main question of the survey.</font><br>");
+            tb.append("<table border=\"0\" width=\"250\" height=\"16\" bgcolor=\"000000\">");
+            tb.append("<tr><td><multiedit var=\"quest\" width=170 height=20></td><td><a action=\"bypass -h admin_survey_qset $quest\">Save</a></td></tr></table>");
+        }
+        if(isQset())
+        {
+            tb.append("<font color=\"FF6600\">The question set is:<br>");
+            tb.append("<table border=\"0\" width=\"250\" height=\"16\" bgcolor=\"000000\">");
+            tb.append("<tr><td><font color=\"FF0000\">" + quest+"</font></td><td><a action=\"bypass -h admin_survey_qset\">Edit</a></td></tr></table>");
+        }
+        tb.append("<br><font color=\"FF6600\">Possible answers.");
+        tb.append("<table border=\"0\" width=\"70\" height=\"16\" bgcolor=\"000000\">");
+        tb.append("<tr>");
+        tb.append("<td width=\"52\">More</td>");
+        tb.append("<td width=\"16\"><button action=\"bypass -h admin_opmore\" width=16 height=16 back=\"L2UI_CH3.upbutton_down\" fore=\"L2UI_CH3.upbutton\"></td>");
+        tb.append("</tr>");
+        tb.append("<tr>");
+        tb.append("<td width=\"52\">Less</td>");
+        tb.append("<td width=\"16\"><button action=\"bypass -h admin_opless\" width=16 height=16 back=\"L2UI_CH3.downbutton_down\" fore=\"L2UI_CH3.downbutton_down\"></td>");
+        tb.append("</tr>");
+        tb.append("</table>");
+        tb.append("<table width=\"300\" height=\"20\">");
+        tb.append("<tr>");
+        tb.append("<td align=\"center\" width=\"40\">Answer 1:</td>");
+        if(!isAns1set())
+        {
+            tb.append("<td align=\"center\" width=\"150\"><multiedit var=\"ans1\" width=150 height=16></td>");
+            tb.append("<td><a action=\"bypass -h admin_survey_ans1set $ans1\">Save</a></td>");
+        }
+        else if(isAns1set())
+        {
+            tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + ans1 + "</font></td>");
+            tb.append("<td align=\"center\"><a action=\"bypass -h admin_survey_ans1set\">Edit</a></td>");
+        }
+        tb.append("</tr>");
+        tb.append("<tr>");
+        tb.append("<td align=\"center\" width=\"40\">Answer 2:</td>");
+        if(!isAns2set())
+        {
+            tb.append("<td align=\"center\" width=\"150\"><multiedit var=\"ans2\" width=150 height=16></td>");
+            tb.append("<td align=\"center\"><a action=\"bypass -h admin_survey_ans2set $ans2\">Save</a></td>");
+        }
+        else if(isAns2set())
+        {
+            tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + ans2 + "</font></td>");
+            tb.append("<td align=\"center\"><a action=\"bypass -h admin_survey_ans2set\">Edit</a></td>");
+        }
+        tb.append("</tr>");
+        if(options == 3)
+        {
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 3:</td>");
+            if(!isAns3set())
+            {
+                tb.append("<td align=\"center\" width=\"150\"><multiedit var=\"ans3\" width=150 height=16></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h admin_survey_ans3set $ans3\">Save</a></td>");
+            }
+            else if(isAns3set())
+            {
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + ans3 + "</font></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h admin_survey_ans3set\">Edit</a></td>");
+            }
+            tb.append("</tr>");
+        }
+        if(options == 4)
+        {
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 3:</td>");
+            if(!isAns3set())
+            {
+                tb.append("<td align=\"center\" width=\"150\"><multiedit var=\"ans3\" width=150 height=16></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h admin_survey_ans3set $ans3\">Save</a></td>");
+            }
+            else if(isAns3set())
+            {
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + ans3 + "</font></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h admin_survey_ans3set\">Edit</a></td>");
+            }
+            tb.append("</tr>");
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 4:</td>");
+            if(!isAns4set())
+            {
+                tb.append("<td align=\"center\" width=\"150\"><multiedit var=\"ans4\" width=150 height=16></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h admin_survey_ans4set $ans4\">Save</a></td>");
+            }
+            else if(isAns4set())
+            {
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + ans4 + "</font></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h admin_survey_ans4set\">Edit</a></td>");
+            }
+            tb.append("</tr>");
+        }
+        if(options == 5)
+        {
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 3:</td>");
+            if(!isAns3set())
+            {
+                tb.append("<td align=\"center\" width=\"150\"><multiedit var=\"ans3\" width=150 height=16></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h admin_survey_ans3set $ans3\">Save</a></td>");
+            }
+            else if(isAns3set())
+            {
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + ans3 + "</font></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h admin_survey_ans3set\">Edit</a></td>");
+            }
+            tb.append("</tr>");
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 4:</td>");
+            if(!isAns4set())
+            {
+                tb.append("<td align=\"center\" width=\"150\"><multiedit var=\"ans4\" width=150 height=16></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h admin_survey_ans4set $ans4\">Save</a></td>");
+            }
+            else if(isAns4set())
+            {
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + ans4 + "</font></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h admin_survey_ans4set\">Edit</a></td>");
+            }
+            tb.append("</tr>");
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 5:</td>");
+            if(!isAns5set())
+            {
+                tb.append("<td align=\"center\" width=\"150\"><multiedit var=\"ans5\" width=150 height=16></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h admin_survey_ans5set $ans5\">Save</a></td>");
+            }
+            else if(isAns5set())
+            {
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + ans5 + "</font></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h admin_survey_ans5set\">Edit</a></td>");
+            }
+            tb.append("</tr>");
+        }
+        tb.append("</table><br>");
+        if(options == 2)
+        tb.append("<button value=\"Start the survey\" action=\"bypass -h admin_survey_run1\" width=150 height=22 back=\"L2UI_Ch3.bigbutton3_over\" fore=\"L2UI_Ch3.bigbutton3\">");
+        if(options == 3)
+        tb.append("<button value=\"Start the survey\" action=\"bypass -h admin_survey_run2\" width=150 height=22 back=\"L2UI_Ch3.bigbutton3_over\" fore=\"L2UI_Ch3.bigbutton3\">");
+        if(options == 4)
+        tb.append("<button value=\"Start the survey\" action=\"bypass -h admin_survey_run3\" width=150 height=22 back=\"L2UI_Ch3.bigbutton3_over\" fore=\"L2UI_Ch3.bigbutton3\">");
+        if(options == 5)
+        tb.append("<button value=\"Start the survey\" action=\"bypass -h admin_survey_run4\" width=150 height=22 back=\"L2UI_Ch3.bigbutton3_over\" fore=\"L2UI_Ch3.bigbutton3\">");
+        tb.append("</center>");
+        tb.append("</body></html>");
+        
+        nhm.setHtml(tb.toString());
+        activeChar.sendPacket(nhm);
+    }
+    
+    private static void resultsHtml(L2PcInstance activeChar)
+    {
+        NpcHtmlMessage nhm = new NpcHtmlMessage(5);
+        TextBuilder tb = new TextBuilder("");
+        
+        tb.append("<html><head><title>Survey form</title></head><body>");
+        tb.append("<center>");
+        tb.append("<table width=\"250\" cellpadding=\"5\" bgcolor=\"000000\">");
+        tb.append("<tr>");
+        tb.append("<td width=\"45\" valign=\"top\" align=\"center\"><img src=\"L2ui_ch3.menubutton4\" width=\"38\" height=\"38\"></td>");
+        tb.append("<td valign=\"top\"><font color=\"FF6600\">Survey</font>");
+        tb.append("<br1><font color=\"FF6600\">"+activeChar.getName()+"</font>, here are the survey's results.<br1></td>");
+        tb.append("</tr>");
+        tb.append("</table>");
+        tb.append("</center>");
+        tb.append("<center>");
+        tb.append("<font color=\"FF6600\">The question set is:<br>");
+        tb.append("<font color=\"FF0000\">" + AdminSurvey.quest+"</font></center>");
+        tb.append("<br><font color=\"FF6600\">Choose an answer.");
+        tb.append("<table width=\"300\" height=\"20\">");
+        tb.append("<tr>");
+        tb.append("<td align=\"center\" width=\"40\">Answer 1:</td>");
+        tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + AdminSurvey.ans1 + "</font></td>");
+        tb.append("<td align=\"center\"><font color=\"FF0000\">" + AdminSurvey.ans1_vote_count+ "</font></td>");
+        tb.append("</tr>");
+        tb.append("<tr>");
+        tb.append("<td align=\"center\" width=\"40\">Answer 2:</td>");
+        tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + AdminSurvey.ans2 + "</font></td>");
+        tb.append("<td align=\"center\"><font color=\"FF0000\">" + AdminSurvey.ans2_vote_count+ "</font></td>");
+        tb.append("</tr>");
+        if(mode == 2)
+        {
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 3:</td>");
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + AdminSurvey.ans3 + "</font></td>");
+                tb.append("<td align=\"center\"><font color=\"FF0000\">" + AdminSurvey.ans3_vote_count+ "</font></td>");
+            
+            tb.append("</tr>");
+        }
+        if(mode == 3)
+        {
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 3:</td>");
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + AdminSurvey.ans3 + "</font></td>");
+                tb.append("<td align=\"center\"><font color=\"FF0000\">" + AdminSurvey.ans3_vote_count+ "</font></td>");
+            
+            tb.append("</tr>");
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 4:</td>");
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + AdminSurvey.ans4 + "</font></td>");
+                tb.append("<td align=\"center\"><font color=\"FF0000\">" + AdminSurvey.ans4_vote_count+ "</font></td>");
+            
+            tb.append("</tr>");
+        }
+        if(mode == 4)
+        {
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 3:</td>");
+
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + AdminSurvey.ans3 + "</font></td>");
+                tb.append("<td align=\"center\"><font color=\"FF0000\">" + AdminSurvey.ans3_vote_count+ "</font></td>");
+
+            tb.append("</tr>");
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 4:</td>");
+
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + AdminSurvey.ans4 + "</font></td>");
+                tb.append("<td align=\"center\"><font color=\"FF0000\">" + AdminSurvey.ans4_vote_count+ "</font></td>");
+            
+            tb.append("</tr>");
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 5:</td>");
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + AdminSurvey.ans5 + "</font></td>");
+                tb.append("<td align=\"center\"><font color=\"FF0000\">" + AdminSurvey.ans5_vote_count+ "</font></td>");
+            
+            tb.append("</tr>");
+        }
+        tb.append("</table><br>");
+        if(running == true)
+        tb.append("<center><button value=\"End the survey\" action=\"bypass -h admin_survey_end\" width=150 height=22 back=\"L2UI_Ch3.bigbutton3_over\" fore=\"L2UI_Ch3.bigbutton3\"></center>");
+        tb.append("</body></html>");
+        
+        nhm.setHtml(tb.toString());
+        activeChar.sendPacket(nhm);
+    }
+
+    /**
+     * @return the qset
+     */
+    public static boolean isQset()
+    {
+        return qset;
+    }
+
+    /**
+     * @param qset the qset to set
+     */
+    public static void setQset(boolean qset)
+    {
+        AdminSurvey.qset = qset;
+    }
+
+    /**
+     * @return the ans1set
+     */
+    public static boolean isAns1set()
+    {
+        return ans1set;
+    }
+
+    /**
+     * @param ans1set the ans1set to set
+     */
+    public static void setAns1set(boolean ans1set)
+    {
+        AdminSurvey.ans1set = ans1set;
+    }
+
+    /**
+     * @return the ans2set
+     */
+    public static boolean isAns2set()
+    {
+        return ans2set;
+    }
+
+    /**
+     * @param ans2set the ans2set to set
+     */
+    public static void setAns2set(boolean ans2set)
+    {
+        AdminSurvey.ans2set = ans2set;
+    }
+
+    /**
+     * @return the ans3set
+     */
+    public static boolean isAns3set()
+    {
+        return ans3set;
+    }
+
+    /**
+     * @param ans3set the ans3set to set
+     */
+    public static void setAns3set(boolean ans3set)
+    {
+        AdminSurvey.ans3set = ans3set;
+    }
+
+    /**
+     * @return the ans4set
+     */
+    public static boolean isAns4set()
+    {
+        return ans4set;
+    }
+
+    /**
+     * @param ans4set the ans4set to set
+     */
+    public static void setAns4set(boolean ans4set)
+    {
+        AdminSurvey.ans4set = ans4set;
+    }
+
+    /**
+     * @return the ans5set
+     */
+    public static boolean isAns5set()
+    {
+        return ans5set;
+    }
+
+    /**
+     * @param ans5set the ans5set to set
+     */
+    public static void setAns5set(boolean ans5set)
+    {
+        AdminSurvey.ans5set = ans5set;
+    }
+}
\ No newline at end of file
Index: java/com/l2jhellas/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/com/l2jhellas/gameserver/model/actor/instance/L2PcInstance.java    (revision 400)
+++ java/com/l2jhellas/gameserver/model/actor/instance/L2PcInstance.java    (working copy)
@@ -548,6 +548,8 @@
    public RankPvpSystemRankPointsReward _rankPvpSystemRankPointsReward = null;
    public RankPvpSystemComboKill _rankPvpSystemComboKill = null;
    
+    private boolean _hasVotedSurvey = false;
+    
    /** Boat */
    private boolean _inBoat;
    private L2BoatInstance _boat;
@@ -14862,6 +14864,22 @@
    }
    
    /**
+     * @return the _hasVotedSurvey
+     */
+    public boolean hasVotedSurvey()
+    {
+        return _hasVotedSurvey;
+    }
+        
+    /**
+     * @param _hasVotedSurvey the _hasVotedSurvey to set
+     */
+    public void setHasVotedSurvey(boolean _hasVotedSurvey)
+    {
+        this._hasVotedSurvey = _hasVotedSurvey;
+    }
+    
+    /**
     * Cancel autoshot use for shot itemId
     * @param itemId int id to disable
     * @return true if canceled.
Index: java/com/l2jhellas/gameserver/handler/AdminCommandHandler.java
===================================================================
--- java/com/l2jhellas/gameserver/handler/AdminCommandHandler.java    (revision 395)
+++ java/com/l2jhellas/gameserver/handler/AdminCommandHandler.java    (working copy)
@@ -83,6 +83,7 @@
import com.l2jhellas.gameserver.handler.admincommandhandlers.AdminSiege;
import com.l2jhellas.gameserver.handler.admincommandhandlers.AdminSkill;
import com.l2jhellas.gameserver.handler.admincommandhandlers.AdminSpawn;
+import com.l2jhellas.gameserver.handler.admincommandhandlers.AdminSurvey;
import com.l2jhellas.gameserver.handler.admincommandhandlers.AdminTarget;
import com.l2jhellas.gameserver.handler.admincommandhandlers.AdminTeleport;
import com.l2jhellas.gameserver.handler.admincommandhandlers.AdminTest;
@@ -174,6 +175,7 @@
        registerAdminCommandHandler(new AdminReload());
        registerAdminCommandHandler(new AdminWho());
        //registerAdminCommandHandler(new AdminWalker());
+        registerAdminCommandHandler(new AdminSurvey());

        _log.log(Level.INFO, getClass().getSimpleName() + ": Loaded " + size() + " Handlers in total.");
    }
Index: java/com/l2jhellas/gameserver/handler/voicedcommandhandlers/Survey.java
===================================================================
--- java/com/l2jhellas/gameserver/handler/voicedcommandhandlers/Survey.java    (revision 0)
+++ java/com/l2jhellas/gameserver/handler/voicedcommandhandlers/Survey.java    (working copy)
@@ -0,0 +1,155 @@
+/* This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ *
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+package com.l2jhellas.gameserver.handler.voicedcommandhandlers;
+
+import javolution.text.TextBuilder;
+
+import com.l2jhellas.gameserver.handler.IVoicedCommandHandler;
+import com.l2jhellas.gameserver.handler.admincommandhandlers.AdminSurvey;
+import com.l2jhellas.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jhellas.gameserver.network.serverpackets.NpcHtmlMessage;
+
+/**
+ *
+ * @author Elfocrash
+ *
+ */
+public class Survey implements IVoicedCommandHandler
+{
+    private static final String[] VOICED_COMMANDS = { "survey" };
+    
+    @Override
+    public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
+    {
+        if (command.equals("survey"))
+        {
+            if(AdminSurvey.running == false)
+            {
+                activeChar.sendMessage("There is no survey running now");
+                return false;
+            }
+            
+            if(activeChar.hasVotedSurvey())
+            {
+                activeChar.sendMessage("You already voted for that survey.");
+                return false;
+            }
+            
+            if(AdminSurvey.running == true)
+                mainHtml(activeChar);
+        }
+        
+        
+        
+        return true;
+    }
+    
+    private static void mainHtml(L2PcInstance activeChar)
+    {
+        NpcHtmlMessage nhm = new NpcHtmlMessage(5);
+        TextBuilder tb = new TextBuilder("");
+        
+        tb.append("<html><head><title>Survey form</title></head><body>");
+        tb.append("<center>");
+        tb.append("<table width=\"250\" cellpadding=\"5\" bgcolor=\"000000\">");
+        tb.append("<tr>");
+        tb.append("<td width=\"45\" valign=\"top\" align=\"center\"><img src=\"L2ui_ch3.menubutton4\" width=\"38\" height=\"38\"></td>");
+        tb.append("<td valign=\"top\"><font color=\"FF6600\">Survey</font>");
+        tb.append("<br1><font color=\"FF6600\">"+activeChar.getName()+"</font>, use this form in order to give us feedback.<br1></td>");
+        tb.append("</tr>");
+        tb.append("</table>");
+        tb.append("</center>");
+        tb.append("<center>");
+
+            tb.append("<font color=\"FF6600\">The question set is:<br>");
+            tb.append("<font color=\"FF0000\">" + AdminSurvey.quest+"</font>");
+        tb.append("<br><font color=\"FF6600\">Choose an answer.");
+        tb.append("<table width=\"300\" height=\"20\">");
+        tb.append("<tr>");
+        tb.append("<td align=\"center\" width=\"40\">Answer 1:</td>");
+            tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + AdminSurvey.ans1 + "</font></td>");
+            tb.append("<td align=\"center\"><a action=\"bypass -h survey_vote1\">Vote</a></td>");
+    
+        tb.append("</tr>");
+        tb.append("<tr>");
+        tb.append("<td align=\"center\" width=\"40\">Answer 2:</td>");
+            tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + AdminSurvey.ans2 + "</font></td>");
+            tb.append("<td align=\"center\"><a action=\"bypass -h survey_vote2\">Vote</a></td>");
+        
+        tb.append("</tr>");
+        if(AdminSurvey.mode == 2)
+        {
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 3:</td>");
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + AdminSurvey.ans3 + "</font></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h survey_vote3\">Vote</a></td>");
+            
+            tb.append("</tr>");
+        }
+        if(AdminSurvey.mode == 3)
+        {
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 3:</td>");
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + AdminSurvey.ans3 + "</font></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h survey_vote3\">Vote</a></td>");
+            
+            tb.append("</tr>");
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 4:</td>");
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + AdminSurvey.ans4 + "</font></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h survey_vote4\">Vote</a></td>");
+            
+            tb.append("</tr>");
+        }
+        if(AdminSurvey.mode == 4)
+        {
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 3:</td>");
+
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + AdminSurvey.ans3 + "</font></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h survey_vote3\">Vote</a></td>");
+
+            tb.append("</tr>");
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 4:</td>");
+
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + AdminSurvey.ans4 + "</font></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h survey_vote4\">Vote</a></td>");
+            
+            tb.append("</tr>");
+            tb.append("<tr>");
+            tb.append("<td align=\"center\" width=\"40\">Answer 5:</td>");
+                tb.append("<td align=\"center\" width=\"150\"><font color=\"FF0000\">" + AdminSurvey.ans5 + "</font></td>");
+                tb.append("<td align=\"center\"><a action=\"bypass -h survey_vote5\">Vote</a></td>");
+            
+            tb.append("</tr>");
+        }
+        tb.append("</table><br>");
+        tb.append("</center>");
+        tb.append("</body></html>");
+        
+        nhm.setHtml(tb.toString());
+        activeChar.sendPacket(nhm);
+    }
+    
+    @Override
+    public String[] getVoicedCommandList()
+    {
+        return VOICED_COMMANDS;
+    }
+}
\ No newline at end of file
Edited by ExCaLiBuR®
Posted

χαχα χαρα που θα κανει ο boorinio που θα εχει 1 system ιδιο με του NeverMore :P 15 μερες θα βαραει το κεφαλι του στον τοιχο.

Tελος παντων GG για το adopt - και το addition των 3 choise.

  • 1 year later...
Posted

kalo share maga bravo... kanena npc wmos tha mas htan poio xrisimo kanena class changer siegeinfo voice comand h npc high pries me ola ta class ktlp :D pados bravo oraio share :D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • @Vedi don't give up bro. We are waiting for this project to come back stronger.  
    • Welcome to L2EpicFail Server developed by gamers for gamers!  OBT - 7th March 2024 at 18:00 GMT+0 GRAND OPENING - 14th March 2025 at 18:00 GMT+0 Website : https://l2epic.fail/ Discord : https://discord.gg/6hwhrkrHBG     Server Features and Rates Xp – 15x Sp – 9x Adena – 6x Drop – 2x Spoil - 2x Seal Stones drop -  3x   Epic Raid Boss drop - 1x Regular RBs - EXP 5x, SP 5x, drop 4x   Quest drop - 1x (some quests customized to 3x) Quest reward - 1x, Adena 3x, EXP 3x, SP 3x     Premium Account Xp +20% Sp +20% Adena +20% Drop +20% Spoil +20% Quest reward +20%   get by vote or donate World chat 20 times/day use ">" in chat. Buff Book outside of town. Applies to all accounts.     Special Features Classic interface ActiveAnticheat Vote System Missions Attendance check And more in information below     Noblesse There are 3 ways how to make noblesse 1 - Retail Quest with killing barakiel 2 - Modifed Quest, choose killing mobs for 100 items instead of barakiel 3 - Can be bought for Epic Coins     Raid Rank Killing regular Raids gives points according to the level of the RB to the clan of the player who killed the boss. At the end of every month, there will be rewards for top clans. For more info, follow our Discord.   monthly period killing RB = points to clan according to RB level rewards up to Valakas Necklace (not the first month) current statistics can be checked online     Epic Bosses & Respawns   Queen Ant 20 - 30 hours respawn window 1 hour always displayed in .epic auto PvP zone (max 43 level) HP boosted drop chance 40% guards, nurses lvl 40   Orfen 20 - 30 hours respawn window 1 hour always displayed in .epic auto PvP zone (max 56 level) HP boosted drop chance 40% earring gives +1 WIT, +1 INT   Core 20 - 30 hours respawn window 1 hour always displayed in .epic auto PvP zone (max 56 level) HP boosted drop chance 40% ring gives +1 STR, +1 DEX   Zaken 44 - 54 hours respawn window 1 hour always displayed in .epic auto PvP zone (max A grade) doors opened only 5 mins HP boosted   Baium Every Sunday 20:30 - 21:30 window 1 hour always displayed in .epic auto PvP zone (13 - 14th ToI level) regular HP   Frintezza Every Monday, Wednesday, Friday 20:00 - 21:00 window 1 hour always displayed in .epic auto PvP zone (all IT entrance) max 5 parties to entry max 500 range from NPC   Antharas Every two weeks on Saturday 21:00 - 22:00 window 1 hour always displayed in .epic auto PvP zone (bridge to heart)   Valakas Every two weeks on Saturday 21:00 - 22:00 window 1 hour always displayed in .epic auto PvP zone (Klein to heart)   every Epic RB drops Epic Medals equal to RB level x 10     Regular Bosses all regular RBs HP boosted M. def boosted a bit to give advantage to fighters all regular RBs respawn 24 - 30 hours every RB drops Epic Medals equal to RB level     Added Skills Mass Sweep - All Bounty Hunters 40+ Block Buff - All Characters, toggle Escape: 20 seconds - All Characters, no more SoEs   Skills autolearn. Losing skills after 16 levels of delevel. Max buffs 24 + 4 with books (no autolearn)     Augments NoGrade - 4% chance MidGrade - 5% chance HighGrade - 7% chance TopGrade - 6% chance   GM shop weapon/armor/jwl (max C grade) shots/spiritshots (max C grade) mana potions (500 MP, 5s)     NPC buffer all buffs, songs, dances including 3rd prof + resists 1 hour duration all chars Buff Book in inventory     Global Gatekeeper all towns including cata/necro ToI 3/5/7/10th     Olympiad Thursday to Saturday 18:00 - 23:50 UTC+0 period 7 days no class participants min 5 base class participants min 10 max enchant +6     Class Transfer 1st class 50k adena 2nd class 500k adena 3rd class 20kk adena + 700 Halisha marks (tradeable)     Noblesse Quest Quest retail like. Moonstone Shards, Demons Blood etc. quest drop boosted     Subclass Quest To get the quest, you have to be 75+ on your main character (start Reorin in Giran) Bring item from Cabrio chest Bring items from Hallate, Kernon and Golkonda chests Bring this back to Reorin Bring 984 B-grade crystals and top B weapon to Reorin Get low A-grade weapon as reward Done , you can take subclass (up to 5) from any Master in town     Clans all clan members get clan skills (no need for titles) max clan slots 65, max ppl in PvP zone 63 leave/dismiss penalty 0 hours max clans in ally 3     Others   max 3 windows per HWID (only one in PvP zone) protection after teleport for 20 seconds arrows and spellbooks drop turned off weight limit 10x, stackable enchants and LS champions blue (5x HP) min level for trade = 40, chat = 20 BoM/MoM spawned in towns Edited November 1, 2024 by NevesOma
    • Im searching to developer to help me 🙂 pm me 🙂
    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchiha.sellpass.io/ Join our server for more products : https://discord.gg/uthciha-services https://campsite.bio/utchihaamkt  
    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchiha.sellpass.io/ Join our server for more products : https://discord.gg/uthciha-services https://campsite.bio/utchihaamkt  
  • Topics

×
×
  • Create New...