Jump to content
  • 0

[erwtisi] Gia rbs


Question

Posted

Pedes eixa Mia eidea tha ithela na dokimasw na Kanw enan teleporter o opios den tha dixnei an einai on klp ta rbs alla na ta dixnei live einai apiasto? Ti lete gnt Kati tetio?

Recommended Posts

  • 0
Posted

δεν πιστεύω πως μπορεί να γίνει κάτι τέτοιο εφόσον ο teleporter χρησιμοποιεί htm οπότε απίθανο ακούγεται.

E entaxy na valw lew Kai kana scrptaki as poume pws einai to fishing p dixnei live tis kinisis s se parathirw auto to parathirw na alaktei na mpei sto htm Kai na mporw na valw panw ta analoga XYZ Kati tetio xerw gw
  • 0
Posted

den einai tpt fovero afto lol se 5 min to knc.....

 

kai einai java+htm alios den ginete..

και τώρα θα πέσει το ερώτημα ποιος θα το κάνει?
  • 0
Posted

ama to kanis 8a einai gamaoua ala dn pistevo na ginete

A na kanoune kialei reply na doume alla pisteuw pws tha einai Kali Fasi :D
  • 0
Posted

και τώρα θα πέσει το ερώτημα ποιος θα το κάνει?

Egw tha to palepsw ama thelei na to paleyei kialos no prob ;)
  • 0
Posted

parte ena paradigma

 

/*
* 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 custom.InfoManager;

import javolution.text.TextBuilder;

import net.sf.l2j.gameserver.datatables.NpcTable;
import net.sf.l2j.gameserver.instancemanager.GrandBossManager;
import net.sf.l2j.gameserver.model.actor.L2Npc;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
import net.sf.l2j.gameserver.model.quest.Quest;
import net.sf.l2j.gameserver.model.quest.QuestState;
import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;

public class InfoManager extends Quest
{
private final static String qn = "InfoManager";
private static final int NPC_ID = 9100;
private static final int[] BOSSES = {29001, 29006, 29014, 29019, 29020, 29022, 29028, 29045};

public InfoManager(int questid, String name, String descr)
{
	super(questid, name, descr);
	addFirstTalkId(NPC_ID);
	addStartNpc(NPC_ID);
	addTalkId(NPC_ID);
}

@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance pc)
{

	if (event.equalsIgnoreCase("RBInfo"))
	{
			RBInfo(pc);
	}

	 else if (event.equalsIgnoreCase("1"))
		 pc.teleToLocation(-xxxx, xxxx, -xxxx);

	return null;
}

@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
	String htmltext = "";
	QuestState qs = player.getQuestState(qn);
    if (qs == null)
		qs = newQuestState(player);
	if(npc == null)
		return null;

	if(npc.getNpcId() == NPC_ID)
	{
		htmltext = "main.htm";

	}
	return htmltext;
}

private void RBInfo(L2PcInstance activeChar)
{
	TextBuilder tb = new TextBuilder();
	tb.append("<html><title>Boss Manager</title><body><br><center>");
	tb.append("<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><br>");

	for(int boss : BOSSES)
	{
		String name = NpcTable.getInstance().getTemplate(boss).getName();
		long delay = GrandBossManager.getInstance().getStatsSet(boss).getLong("respawn_time");
		if (delay <= System.currentTimeMillis())
		{
			tb.append("<font color=\"00C3FF\">" + name + "</color>: " + "<button value=\"Go\" action=\"bypass -h Quest InfoManager 1\" back=\"L2UI_ch3.bigbutton_over\" fore=\"L2UI_ch3.bigbutton\" width=95 height=21><br>"+"<br1>");
		}
		else
		{
			int hours = (int) ((delay - System.currentTimeMillis()) / 1000 / 60 / 60);
			int mins = (int) (((delay - (hours * 60 * 60 * 1000)) - System.currentTimeMillis()) / 1000 / 60);
			int seconts = (int) (((delay - ((hours * 60 * 60 * 1000) + (mins * 60 * 1000))) - System.currentTimeMillis()) / 1000);
			tb.append("<font color=\"00C3FF\">" + name + "</color>" + "<font color=\"FFFFFF\">" +" " + "Respawn in :</color>" + " " + " <font color=\"32C332\">" + hours + " : " + mins + " : " + seconts + "</color><br1>");
		}
	}

	tb.append("<br><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>");
	tb.append("</center></body></html>");

	NpcHtmlMessage msg = new NpcHtmlMessage(NPC_ID);
	msg.setHtml(tb.toString());
	activeChar.sendPacket(msg);
}


public static void main(String[] args)
{
	new InfoManager(-1, "InfoManager", "custom");
}
}

 

den to ekana test apla kapos etsi einai :)

  • 0
Posted

Auto einai gia live view?

 

 

Episis tha itan wreo to view tis olly xerete p vlepete to matsuri me free cam ;P vl4d einai Kati tetio to script s ? Gt den ta katalaveno Kai pl kala ta jscr akoma

  • 0
Posted

nai apla evala ena loc otan einai live to rb tha emfanizete to button kai otan tha einai down tha lei to respawn kai to button tha e3afanizete..

(apla pare idea gia na to knc na doulepsi kala theli alages..)

 

tespa ama to kanei knc kalos alios otan tha exw xrono tha to kano egw....

  • 0
Posted

nai apla evala ena loc otan einai live to rb tha emfanizete to button kai otan tha einai down tha lei to respawn kai to button tha e3afanizete..

(apla pare idea gia na to knc na doulepsi kala theli alages..)

 

tespa ama to kanei knc kalos alios otan tha exw xrono tha to kano egw....

Re si egw elega na to Kanw na fenete zwnta dld Ti kanei ekini tin wra px me kapio bypass tis cameras sto match view tis olly I opos to parathirw tou fishing Kati tetio
  • 0
Posted

Re si egw elega na to Kanw na fenete zwnta dld Ti kanei ekini tin wra px me kapio bypass tis cameras sto match view tis olly I opos to parathirw tou fishing Kati tetio

omg ti les re lol axaxaxaxaxxa tespa am to kanei knc afto ton plirono kiolas :P
  • 0
Posted

omg ti les re lol axaxaxaxaxxa tespa am to kanei knc afto ton plirono kiolas :P

0xa0xa san na m les akatorthoto etsi? :P auto an gnt tha thelei Kai client side isws e?
Guest
This topic is now closed to further replies.


×
×
  • Create New...