Jump to content

Recommended Posts

  • 2 months later...
  • 2 months later...
  • 1 month later...
Posted

Καλησπέρα!!

 

Το δοκιμάζω σε l2j frozen interlude και μου δημιουργεί ένα αρχείο BugReport.java.error.log μέσα στο φάκελο BugReport και το αρχείο περιέχει αυτό :

 

Error on: C:\Users\Administrator\Desktop\ServerFrozen2\gameserver\data\scripts\custom\BugReport\BugReport.java.error.log
Line: -1 - Column: -1

compilation failed

 

Τι να κάνω ;

 

Υ.Γ. Συγγνώμη για την ίσως ηλίθια ερώτηση...είμαι λίγο άσχετος  :alone:

 

EDIT : Εννοείτε ότι το βασικό πρόβλήμα είναι ότι εν τέλη δεν δουλεύει :P

  • 3 months later...
Posted (edited)

I'm using l2j H5 unstable latest revision and i got no errors... but while i'm pressing the "Report it" button, it just don't doing anything..! just closing the pop up and doing nothing..

no errors, no logs..! any idea?!

Edited by xXObanXx
  • 1 year later...
Posted

ade parte mia new idea :P den pisteyw na yparxei kati paramoio :P

[GR]dokimasmeno se l2jserver H5

[ENG]Tested in l2jserverH5

 

[ENG]create a file inside data/scripts/custom/BugReport/ with name BugReport.java and paste the code bellow

[GR]dhmiourghste ena ena file me name: BugReport.java mesa sto data/scripts/custom/BugReport/

kai kade paste ton parakatw kodika.

package custom.BugReport;

import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.util.StringTokenizer;
import java.util.logging.Logger;

import com.l2jserver.gameserver.cache.HtmCache;
import com.l2jserver.gameserver.model.L2World;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.quest.Quest;
import com.l2jserver.gameserver.network.L2GameClient;
import com.l2jserver.gameserver.network.clientpackets.Say2;
import com.l2jserver.gameserver.network.serverpackets.CreatureSay;
import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;

/**
 * @author -=DoctorNo=-
 * Version 2.3
 */
public class BugReport extends Quest
{
	private Logger _log = Logger.getLogger(BugReport.class.getName());
	private static final int NpcId = 553; // npc id here
	private static String htmlLoc = "data/scripts/custom/BugReport/1.htm";
	
	public BugReport(int questId, String name, String descr)
	{
		super(questId, name, descr);
		addFirstTalkId(NpcId);
		addTalkId(NpcId);
		addStartNpc(NpcId);
	}
	
	@Override
	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
	{
		if (event.startsWith("report"))
		{
			sendReport(event, npc, player, event);
		}
		return "";
	}
	
	private void sendReport(String event, L2Npc npc, L2PcInstance player, String command)
	{
		StringTokenizer st = new StringTokenizer(command);
		st.nextToken();
		
		String message = "";
		String _type = null; // General, Fatal, Misuse, Balance, Other
		L2GameClient info = player.getClient().getConnection().getClient();
		
		try
		{
			_type = st.nextToken();
			while(st.hasMoreTokens())
				message = message + st.nextToken() + " ";
			
			if (message.equals(""))
			{
				player.sendMessage("Message box cannot be empty.");
				return;
			}
			
			String fname = "data/BugReports/" + player.getName() + ".txt";
			File file = new File(fname);
			boolean exist = file.createNewFile();
			if(!exist)
			{
				player.sendMessage("You have already sent a bug report, GMs must check it first.");
				return;
			}
			
			FileWriter fstream = new FileWriter(fname);
			BufferedWriter out = new BufferedWriter(fstream);
			out.write("Character Info: " + info + "\r\nBug Type: " + _type + "\r\nMessage: " + message);
			player.sendMessage("Report sent. GMs will check it soon. Thanks...");
			
			for(L2PcInstance allgms: L2World.getInstance().getAllGMs())
			{
				allgms.sendPacket(new CreatureSay(0, Say2.SHOUT, "Bug Report Manager", player.getName() + " sent a bug report."));
				allgms.sendPacket(new CreatureSay(0, Say2.SHOUT, "Report Type", _type + "."));
			}
			
			_log.info("Character: " + player.getName() + " sent a bug report.");
			out.close();
		}
		catch (Exception e)
		{
			player.sendMessage("Something went wrong try again.");
		}
	}
	
	@Override
	public String onFirstTalk(L2Npc npc, L2PcInstance player)
	{
		final int npcId = npc.getNpcId();
		if (player.getQuestState(getName()) == null)
			newQuestState(player);
		
		if (npcId == NpcId)
		{
			String html = HtmCache.getInstance().getHtm(player.getHtmlPrefix(), htmlLoc);
			html = html.replaceAll("%player%", player.getName());
			
			NpcHtmlMessage npcHtml = new NpcHtmlMessage(0);
			npcHtml.setHtml(html);
			player.sendPacket(npcHtml);
		}
		return "";
	}
	
	public static void main(final String[] args)
	{
		new BugReport(-1, BugReport.class.getSimpleName(), "custom");
		System.out.println("CUSTOM: BugReport Manager loaded");
	}
}
[ENG]in the same folder create one html with name: 1.htm and paste the code bellow

[GR]ston idio fakelo dhmiourghste ena htm me name:1.htm kai valte ton parakatw kodika

<html>
<title>Bug Report Manager</title>
<body>
<br><br>
<center>
<table border="0" height=10 bgcolor="444444" width=240>
<tr><td align=center><font color="00FFFF">Hello %player%.</font></td></tr>
<tr><td align=center><font color="00FFFF">There are no Gms online</font></td></tr>
<tr><td align=center><font color="00FFFF">and you want to report something?</font></td></tr>
<tr><td align=center><font color="00FFFF">Now it is possible.</font></td></tr>
</table>
<br>
<img src="L2UI.SquareWhite" width=280 height=1>
<br><br>
<table width=250>
<tr>
<td><font color="LEVEL">Select Report Type:</font></td>
<td><combobox width=105 var=type list=General;Fatal;Misuse;Balance;Other></td>
</tr>
</table>
<br><br>
<multiedit var="msg" width=250 height=50><br>
<button value="Report It" action="bypass -h Quest BugReport report $type $msg" width=128 height=26 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
<br>
<img src="L2UI.SquareWhite" width=280 height=1>
<br><br><br><br><br><br><br>
<font color=3293F3>L2Total Team</font><br>
<img src="L2UI.SquareWhite" width=280 height=1>
</center>
</body></html>
[ENG]dont forget to add in scripts.cfg file

[GR]mhn ksexase sto scripts.cfg na  kanete paste afto

custom/BugReport/BugReport.java
[ENG]finally create an empty folder with name BugReports in data/

[GR]kai telos na dhmiourghse enan adeio fakelo me name BugReports

mesa sto data...

Den asxoli8ika kai polu, alla sta petaxta pou ekana 2-3 tests den mou evgale provlhma.

 

Version 2.3 Change log.

1. Code rework-format

2. Empty message box check added

 

jjblw0.jpg

width=1024 height=599http://i49.tinypic.com/2yxg7ld.jpg[/img]

width=1024 height=599http://i49.tinypic.com/whh6h.jpg[/img]

 

doulevi kai se frozen?

Posted

 

I'm using l2j H5 unstable latest revision and i got no errors... but while i'm pressing the "Report it" button, it just don't doing anything..! just closing the pop up and doing nothing..

no errors, no logs..! any idea?!

 

 

+10

 

Test in l2jserver beta last, same error.

  • 1 month later...
Posted

Hello and nice work but i got an error on hi5 client, any solutions??
 

 

Error on: C:\Users\Shurik\Desktop\fixed\game\data\scripts\custom\BugReport\BugReport.java.error.log

Line: -1 - Column: -1
 
compilation failed
Posted

I got this error

 

Error on: C:\Users\brits_000\Desktop\6670\game\data\scripts\custom\BugReport\BugReport.java.error.log
Line: -1 - Column: -1

compilation failed

 

someone can help me what I need to do
 
thanks

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



  • Posts

    • [CENTER] [SIZE=6][B][COLOR=#C084FC]L2JMOBIUS CLASSIC INTERLUDE[/COLOR][/B][/SIZE] [SIZE=5][B]QUEST AUTO MOVE + SMART TELEPORT SYSTEM[/B][/SIZE] [COLOR=#8B5CF6]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR] [SIZE=4][B][COLOR=#22D3EE]FOR SALE[/COLOR][/B][/SIZE] A complete [B]Quest Navigation System[/B] for [B]L2JMobius Classic Interlude[/B] Designed for servers that want to make quest progression easier and more modern without turning the game into an Auto Quest / Auto Complete server. [COLOR=#8B5CF6]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR] [SIZE=5][B][COLOR=#C084FC]MAIN FEATURES[/COLOR][/B][/SIZE] [/CENTER] [B][COLOR=#22D3EE]● QUEST AUTO MOVE[/COLOR][/B] Players can automatically move toward the next required quest objective. Supported destinations can include: [LIST] []Quest NPCs []Monsters []Quest locations []Return NPCs []Next quest stages []Class-transfer objectives [/LIST] The route can automatically update when the current quest stage is completed. [B][COLOR=#22D3EE]● SMART QUEST PROGRESS DETECTION[/COLOR][/B] The system reads the player's current quest progress and determines the next valid objective. Example: [CENTER] [B]Talk to NPC[/B] ↓ [B]Hunt Monsters[/B] ↓ [B]Collect Quest Items[/B] ↓ [B]Return to NPC[/B] ↓ [B]Continue Next Quest Stage[/B] [/CENTER] When the quest condition changes, the navigation system can automatically load the next destination. [B][COLOR=#22D3EE]● SMART TELEPORT[/COLOR][/B] For distant objectives, the system can provide controlled teleport assistance. The player is not necessarily teleported directly on top of the NPC or monster. Instead: [CENTER] [B]Teleport Near Destination[/B] ↓ [B]Auto Move[/B] ↓ [B]Reach Actual Quest Target[/B] [/CENTER] This keeps the original gameplay feeling while reducing unnecessary long-distance travel. [B][COLOR=#22D3EE]● AUTO MOVE + TELEPORT LOGIC[/COLOR][/B] The system can choose the most appropriate navigation method depending on the quest route. [CENTER] [COLOR=#4ADE80][B]NEAR OBJECTIVE[/B][/COLOR] Auto Move [COLOR=#8B5CF6]──────────────[/COLOR] [COLOR=#FACC15][B]DISTANT OBJECTIVE[/B][/COLOR] Teleport Assistance ↓ Auto Move ↓ Final Quest Destination [/CENTER] [B][COLOR=#22D3EE]● AUTOMATIC NEXT STEP[/COLOR][/B] Quest navigation does not stop after the first destination. Example: [CENTER] Player reaches NPC ↓ Quest state changes ↓ System detects new quest condition ↓ Next route becomes available ↓ Player continues automatically [/CENTER] This allows complete multi-stage quest chains to be supported. [B][COLOR=#22D3EE]● FIRST CLASS TRANSFER SUPPORT[/COLOR][/B] The system can also support the Classic Interlude first class-transfer quest chains. Example flow: [CENTER] Complete First Mark ↓ Complete Second Mark ↓ Complete Third Mark ↓ Required Marks Detected ↓ Navigate Player Toward Class Transfer [/CENTER] Useful for Human, Elf, Dark Elf, Orc and Dwarf class progression. [B][COLOR=#22D3EE]● MISSING ROUTE DETECTION[/COLOR][/B] If navigation information has not yet been configured for a quest, the system can report it instead of sending the player somewhere incorrectly. Example: [CODE] Path of the Human Knight - Missing route data [/CODE] This makes development and future quest expansion easier. [CENTER] [COLOR=#8B5CF6]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR] [SIZE=5][B][COLOR=#C084FC]HOW IT WORKS[/COLOR][/B][/SIZE] [/CENTER] Example quest flow: [CODE] Quest Started | v Current Quest Condition | v Find Navigation Route | +----------------------+ | | v v Nearby Target Distant Target | | v v Auto Move Teleport | v Auto Move | v Quest Objective | v Quest State Update | v Next Route [/CODE] [CENTER] [COLOR=#8B5CF6]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR] [SIZE=5][B][COLOR=#C084FC]CONFIGURATION[/COLOR][/B][/SIZE] [/CENTER] Navigation can be configured individually for quests. Possible configuration options: [LIST] []Quest ID []Quest condition / state []Target NPC []Target monster []Target coordinates []Teleport coordinates []Final Auto Move coordinates []Required quest items []Required item count []Minimum / maximum distance []Enable Auto Move []Enable Teleport []Route identifier []Next quest step [/LIST] [CENTER] [COLOR=#8B5CF6]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR] [SIZE=5][B][COLOR=#C084FC]EXAMPLE[/COLOR][/B][/SIZE] [/CENTER] Player starts a class-transfer quest. [CENTER] [B]Sir Klaus Vasper[/B] ↓ Auto Move ↓ Quest Updated ↓ New Destination Detected ↓ Teleport to Required Region ↓ Auto Move ↓ Kill Required Monsters ↓ Collect Quest Item ↓ Return Route Activated ↓ Return to NPC ↓ Continue Quest [/CENTER] [CENTER] [COLOR=#8B5CF6]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR] [SIZE=5][B][COLOR=#C084FC]IMPORTANT[/COLOR][/B][/SIZE] [/CENTER] [COLOR=#F87171][B]THIS IS NOT AN AUTO QUEST / AUTO COMPLETE SYSTEM.[/B][/COLOR] Players must still: [LIST] []Talk to the required NPC []Kill the required monsters []Collect required quest items []Meet quest conditions [*]Complete the original quest logic [/LIST] The system assists with: [B]Navigation + Travel + Quest Route Guidance[/B] The original quest mechanics remain active. [CENTER] [COLOR=#8B5CF6]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR] [SIZE=5][B][COLOR=#C084FC]COMPATIBILITY[/COLOR][/B][/SIZE] [/CENTER] [B]Platform:[/B] L2JMobius [B]Chronicle:[/B] Classic Interlude [B]Implementation:[/B] Server Side [B]Language:[/B] Java [B]Quest Integration:[/B] Java / XML [B]Delivery Format:[/B] Source modifications / Patch [CENTER] [COLOR=#8B5CF6]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR] [SIZE=5][B][COLOR=#C084FC]PACKAGE INCLUDES[/COLOR][/B][/SIZE] [/CENTER] [LIST] []Quest Auto Move Engine []Smart Teleport System []Quest Condition Detection []Automatic Next-Step Detection []Route Management []Missing Route Detection []Class Transfer Support []Quest Route Configuration []Supported Quest Routes []Installation Instructions []Source Code Changes []Unified .patch File [/LIST] [CENTER] [COLOR=#8B5CF6]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR] [SIZE=5][B][COLOR=#C084FC]IDEAL FOR[/COLOR][/B][/SIZE] [/CENTER] [LIST] []Retail-style servers []Low-rate servers []Craft-oriented servers []Classic Interlude servers []New-player friendly servers []Premium membership features [*]Custom Quest Helper systems [/LIST] Especially useful for low-rate environments where quests remain important but players may not remember every NPC, region and quest route. [CENTER] [COLOR=#8B5CF6]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR] [SIZE=5][B][COLOR=#C084FC]SCREENSHOTS[/COLOR][/B][/SIZE] [IMG][/IMG] [IMG] [COLOR=#8B5CF6]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR] [SIZE=5][B][COLOR=#C084FC]PRICE[/COLOR][/B][/SIZE] [SIZE=5][B][COLOR=#4ADE80]€50.00[/COLOR][/B][/SIZE] Additional quest routes or custom integrations can be discussed separately. [COLOR=#8B5CF6]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR] [SIZE=5][B][COLOR=#C084FC]UPDATES[/COLOR][/B][/SIZE] Future updates may include: Quest route improvements Additional supported quests Additional class-transfer routes Navigation improvements Compatibility fixes [COLOR=#8B5CF6]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR] [SIZE=5][B][COLOR=#C084FC]CONTACT[/COLOR][/B][/SIZE] [B]Contact:[/B] PM HERE [COLOR=#8B5CF6]━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[/COLOR] [SIZE=5][B][COLOR=#22D3EE]QUEST SMARTER[/COLOR][/B][/SIZE] [SIZE=4][B]Navigate Faster — Keep the Classic Gameplay[/B][/SIZE] [B][COLOR=#C084FC]L2JMobius Classic Interlude Quest Auto Move + Smart Teleport System[/COLOR][/B] [/CENTER]
    • Interesting service. I've been looking into Telegram bot promotion and your pricing seems reasonable for the keywords and country targeting.
    • [WTS] Celestial Destiny | L2 Essence 563 | Source Code or Full Project | Lifetime Support 📄 VIEW THE FULL PRESENTATION — FEATURES & SCREENSHOTS Celestial Destiny — Lineage 2 Essence | Protocol 563 2 years of development · Extensive custom features · RU / EN Celestial Destiny is available for purchase — as server pack source code or as a complete project. After two years of development, the project was shut down following a DDoS attack. The owner no longer has the funds to restore operations and continue development, leading to the decision to sell. Key features Essence mechanics: classes, skills, bosses, collections, guardians, and progression systems. Over 3,000 bug reports processed across the projects. Telegram bot: Telegram Stars payments, character statistics, notifications, teleportation, resurrection, and auto-hunting controls. Live class balancing: adjust damage, defense, critical damage, and individual multipliers without restarting the server. PvP content: 1v1 and 3v3 Olympiad, castle sieges, World Siege of Aden, and scheduled PvE/PvP modes. Enhanced client: additional skill bars, improved auto-hunting, searchable inventory, bulk enchanting, and convenient item management. Custom systems: expanded costumes, seasonal collections, Combat Power rankings, Revelation skills, Season Pass, promo codes, and two-way Discord chat. Economy: world trading with two currencies and a server-side donation shop that requires no client edits. Two purchase options ① Server pack source code Essence protocol 563 source code with the implemented mechanics and custom features, for use in your own project. ② The entire project The server pack with source code, game client, all web components, donation system, Telegram bot, and all existing configured integrations — transferred in their current state. We will show the project, its web components, and connected systems privately, and discuss the exact scope of the transfer. Free lifetime support All official content and custom features already included in the server pack are covered by free lifetime support, with no monthly fees. Additional custom development is discussed separately. Serious buyers only For serious investors and server administrators with the budget to purchase and develop the project. This is not a low-budget offer. Pricing for both options is discussed privately. Please specify whether you are interested in source code or the complete project. ✉️ CONTACT US ON TELEGRAM — @L2scripts 📄 VIEW THE FULL PRESENTATION — FEATURES & SCREENSHOTS
    • I've found the Conquest maps and Marketplace flipping to be the most reliable for me. Don't sleep on those Diamond Quest challenges either, just watch that 10% tax carefully.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..