Jump to content

Recommended Posts

Posted

[PL] no to masz fajnie ja jednak mam błędy ;/

 

  [javac] Compiling 1549 source files to D:\SOURCE\trunk\Core\build\classes

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\Config.java:1456: error: cannot find symbol

    [javac] TOP_PLAYER_ROW_HEIGHT = Integer.parseInt(smartCB.getProperty("TopPlayerRowHeight", "19"));

    [javac] ^

    [javac]  symbol:  variable TOP_PLAYER_ROW_HEIGHT

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\Config.java:1457: error: cannot find symbol

    [javac] TOP_PLAYER_RESULTS = Integer.parseInt(smartCB.getProperty("TopPlayerResults", "20"));

    [javac] ^

    [javac]  symbol:  variable TOP_PLAYER_RESULTS

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\Config.java:1458: error: cannot find symbol

    [javac] RAID_LIST_ROW_HEIGHT = Integer.parseInt(smartCB.getProperty("RaidListRowHeight", "18"));

    [javac] ^

    [javac]  symbol:  variable RAID_LIST_ROW_HEIGHT

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\Config.java:1459: error: cannot find symbol

    [javac] RAID_LIST_RESULTS = Integer.parseInt(smartCB.getProperty("RaidListResults", "20"));

    [javac] ^

    [javac]  symbol:  variable RAID_LIST_RESULTS

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\Config.java:1460: error: cannot find symbol

    [javac] RAID_LIST_SORT_ASC = Boolean.parseBoolean(smartCB.getProperty("RaidListSortAsc", "True"));

    [javac] ^

    [javac]  symbol:  variable RAID_LIST_SORT_ASC

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\Config.java:1461: error: cannot find symbol

    [javac] ALLOW_REAL_ONLINE_STATS = Boolean.parseBoolean(smartCB.getProperty("AllowRealOnlineStats", "True"));

    [javac] ^

    [javac]  symbol:  variable ALLOW_REAL_ONLINE_STATS

    [javac]  location: class Config

    [javac] 6 errors

Posted

[PL]no tak dodałem i nie działa :) i następne błędy

 

 

  [javac] Compiling 1555 source files to D:\SOURCE\trunk\Core\build\classes

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\Manager\RegionBBSManager.java:17: error: package gnu.trove.iterator does not exist

    [javac] import gnu.trove.iterator.TIntObjectIterator;

    [javac]                          ^

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\Manager\RegionBBSManager.java:31: error: cannot find symbol

    [javac] import com.l2jserver.gameserver.datatables.ClassListData;

    [javac]                                          ^

    [javac]  symbol:  class ClassListData

    [javac]  location: package com.l2jserver.gameserver.datatables

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\Manager\RegionBBSManager.java:32: error: cannot find symbol

    [javac] import com.l2jserver.gameserver.datatables.ExperienceTable;

    [javac]                                          ^

    [javac]  symbol:  class ExperienceTable

    [javac]  location: package com.l2jserver.gameserver.datatables

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\Config.java:1456: error: cannot find symbol

    [javac] TOP_PLAYER_ROW_HEIGHT = Integer.parseInt(smartCB.getProperty("TopPlayerRowHeight", "19"));

    [javac] ^

    [javac]  symbol:  variable TOP_PLAYER_ROW_HEIGHT

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\Config.java:1457: error: cannot find symbol

    [javac] TOP_PLAYER_RESULTS = Integer.parseInt(smartCB.getProperty("TopPlayerResults", "20"));

    [javac] ^

    [javac]  symbol:  variable TOP_PLAYER_RESULTS

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\Config.java:1458: error: cannot find symbol

    [javac] RAID_LIST_ROW_HEIGHT = Integer.parseInt(smartCB.getProperty("RaidListRowHeight", "18"));

    [javac] ^

    [javac]  symbol:  variable RAID_LIST_ROW_HEIGHT

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\Config.java:1459: error: cannot find symbol

    [javac] RAID_LIST_RESULTS = Integer.parseInt(smartCB.getProperty("RaidListResults", "20"));

    [javac] ^

    [javac]  symbol:  variable RAID_LIST_RESULTS

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\Config.java:1460: error: cannot find symbol

    [javac] RAID_LIST_SORT_ASC = Boolean.parseBoolean(smartCB.getProperty("RaidListSortAsc", "True"));

    [javac] ^

    [javac]  symbol:  variable RAID_LIST_SORT_ASC

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\Config.java:1461: error: cannot find symbol

    [javac] ALLOW_REAL_ONLINE_STATS = Boolean.parseBoolean(smartCB.getProperty("AllowRealOnlineStats", "True"));

    [javac] ^

    [javac]  symbol:  variable ALLOW_REAL_ONLINE_STATS

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\Manager\RegionBBSManager.java:135: error: cannot find symbol

    [javac] StringUtil.append(htmlCode, "<table border=0><tr><td>", player.getName(), " (", sex, " ", ClassListData.getInstance().getClass(player.getClassId()).getClientCode(), "):</td></tr>"

    [javac]                                                                                           ^

    [javac]  symbol:  variable ClassListData

    [javac]  location: class RegionBBSManager

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\Manager\RegionBBSManager.java:143: error: cannot find symbol

    [javac] if (player.getLevel() < (ExperienceTable.getInstance().getMaxLevel() - 1))

    [javac]                         ^

    [javac]  symbol:  variable ExperienceTable

    [javac]  location: class RegionBBSManager

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\Manager\RegionBBSManager.java:145: error: cannot find symbol

    [javac] nextLevelExp = ExperienceTable.getInstance().getExpForLevel(player.getLevel() + 1);

    [javac]               ^

    [javac]  symbol:  variable ExperienceTable

    [javac]  location: class RegionBBSManager

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\Manager\RegionBBSManager.java:240: error: method isSilenceMode in class L2PcInstance cannot be applied to given types;

    [javac] if (!receiver.isSilenceMode(activeChar.getObjectId()) && !BlockList.isBlocked(receiver, activeChar) )

    [javac]             ^

    [javac]  required: no arguments

    [javac]  found: int

    [javac]  reason: actual and formal argument lists differ in length

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\Manager\RegionBBSManager.java:285: error: cannot find symbol

    [javac] final TIntObjectIterator<L2PcInstance> it = L2World.getInstance().getAllPlayers().iterator();

    [javac]       ^

    [javac]  symbol:  class TIntObjectIterator

    [javac]  location: class RegionBBSManager

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\Manager\RegionBBSManager.java:285: error: cannot find symbol

    [javac] final TIntObjectIterator<L2PcInstance> it = L2World.getInstance().getAllPlayers().iterator();

    [javac]                                                                                 ^

    [javac]  symbol:  method iterator()

    [javac]  location: interface Map<Integer,L2PcInstance>

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\Manager\TopBBSManager.java:96: error: cannot find symbol

    [javac] if (Config.ALLOW_REAL_ONLINE_STATS)

    [javac]           ^

    [javac]  symbol:  variable ALLOW_REAL_ONLINE_STATS

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\Manager\TopBBSManager.java:162: error: cannot find symbol

    [javac] for (L2PcInstance onlinePlayer : L2World.getInstance().getAllPlayersArray())

    [javac]                                                       ^

    [javac]  symbol:  method getAllPlayersArray()

    [javac]  location: class L2World

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\RaidList.java:26: error: cannot find symbol

    [javac] if (Config.RAID_LIST_SORT_ASC)

    [javac]           ^

    [javac]  symbol:  variable RAID_LIST_SORT_ASC

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\RaidList.java:32: error: cannot find symbol

    [javac] stpoint += Config.RAID_LIST_RESULTS;

    [javac]                 ^

    [javac]  symbol:  variable RAID_LIST_RESULTS

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\RaidList.java:39: error: cannot find symbol

    [javac] PreparedStatement statement = con.prepareStatement("SELECT id, name, level FROM npc WHERE type='L2RaidBoss' AND EXISTS (SELECT * FROM raidboss_spawnlist WHERE raidboss_spawnlist.boss_id = npc.id) ORDER BY `level` " + sort + " Limit " + stpoint + ", " + Config.RAID_LIST_RESULTS);

    [javac]                                                                                                                                                                                                                                                                   ^

    [javac]  symbol:  variable RAID_LIST_RESULTS

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\RaidList.java:83: error: cannot find symbol

    [javac] _raidList.append("<table border=0 cellspacing=0 cellpadding=2 width=750 height="+Config.RAID_LIST_ROW_HEIGHT+">");

    [javac]                                                                                       ^

    [javac]  symbol:  variable RAID_LIST_ROW_HEIGHT

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\TopPlayers.java:56: error: cannot find symbol

    [javac] PreparedStatement statement = con.prepareStatement("SELECT SUM(chr.points), SUM(it.count), ch.char_name, ch.pkkills, ch.pvpkills, ch.onlinetime, ch.base_class, ch.online FROM characters ch LEFT JOIN character_raid_points chr ON ch.charId=chr.charId LEFT OUTER JOIN items it ON ch.charId=it.owner_id WHERE item_id=57 GROUP BY ch.charId ORDER BY " + sort + " DESC LIMIT " + Config.TOP_PLAYER_RESULTS);

    [javac]                                                                                                                                                                                                                                                                                                                                                                                           ^

    [javac]  symbol:  variable TOP_PLAYER_RESULTS

    [javac]  location: class Config

    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\communitybbs\TopPlayers.java:100: error: cannot find symbol

    [javac] _topList.append("<table border=0 cellspacing=0 cellpadding=2 bgcolor=050505 height=" + Config.TOP_PLAYER_ROW_HEIGHT + "><tr><td FIXWIDTH=5></td>");

    [javac]                                                                                             ^

    [javac]  symbol:  variable TOP_PLAYER_ROW_HEIGHT

    [javac]  location: class Config

    [javac] 23 errors

 

Posted

[PL] okej okej ja ci dam moje source na pm ok i sobie sprawdzisz nie ma problemów nie mam nic do ukrycia a dostałem ten kod od znajomego dev serwer na tym działał

Posted

[PL] Rzeszut jak tobie dziala to potpowiedz co ja zrobiem zle. W eclispe mam ok i server tez chodzi dobrze nie mam zadnych bledow. community server ustawilem dobrze bo laczy sie z gameserver, tylko jak wcisne alt+b mam napis 404: file notfound "index.htm"

Posted

tylko jak wcisne alt+b mam napis 404: file notfound "index.htm"

 

[PL] Jak mówi error, brakuje Ci głównego pliku index.htm - dlatego Ci nic nie wyświetla bo nie ma co.

Więc dodaj ten plik do data\html\CommunityBoard [/PL]

Posted

dude one suggestion, you should change something in TopPlayer.java, String adenas = getAdenas(result.getInt("SUM(it.count)")); to this String adenas = getAdenas(result.getLong("SUM(it.count)"));

and make this:

public String getAdenas(long adena)
{
	String adenas = "";
	if (adena >= 1000000000)
		adenas = Long.toString(adena / 1000000000) + " Billion " + Long.toString((adena % 1000000000) / 1000000) + " million";
	else
		adenas = Long.toString(adena / 1000000) + " Million " + Long.toString((adena % 1000000) / 1000) + " k";
	return adenas;
}

btw nice work!!

Guest
This topic is now closed to further replies.



  • Posts

    • WTB Character on Lineage 2 Reborn - Origins 1x Server   Looking for lvl 80+ character (3 subclasses )+ clean email  Classes im mostly intrested about are: Mystic Muse Adventurer Ghost Hunter Soul Hound Grand Khavatari Titan   Im looking forward for your PM's here on Max website or leave a comment down below with your discord or any contact in case you have any of those classes. If you have any other class that are not mentioned drop a PM aswell might be intrested in other classes i haven't mentioned aswell if its high lvl and has good potential.
    • Thanks for showing us this post, it is clearly seen that some user names pulling hate in that post, have the same name here in maxcheaters.... it is very interesting information, as it shows that the same users here at maxcheaters are scouring other forum posts to spew their hate. this does not affect much, as the customers understand, that there are only 4 or 5 people globally trying to harm our project.... the rest are all happy, luckily 🙂   Greetings. PD: You still don't understand that this is going to spread to many servers and it's something you can't avoid... you understand that, don't you? By the way, if you used an extender like ours, maybe you wouldn't have to reopen your server hundreds of times over the years.
    • 🚨 L2MID RETURNS IN 2025! 🚨 After 3 long years… The wait is FINALLY over! One of the most legendary Lineage 2 server is coming back stronger, sharper, and more competitive than ever before. 💎 All users who vote will receive exclusive gifts in the future! 👉 Cast your vote now!  https://l2mid.com/vote/ Let’s make this the most epic comeback ever! Stay tuned for more updates and invite your friends L2Mid is BACK!
    • Yeah I also “heard” you are pretty popular over there 🙂 especially in Ukraine/RU   https://mmo-dev.info/threads/⭐-l2off-h5-gx-ext⭐.33144/
    • I do not disclose information about my clients 🙂 you will see them online for example, in brazil, argentina and chile. Have great sales.   Best regards.
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock