Jump to content

Recommended Posts

Posted

It is good! But I have a question that made me freaking out with sql query...

 

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);

 

Here what I supposed to do... I was thinking show only normal players with accesslevel 0 so, I decide to add that query:

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 and ch.accesslevel=0 GROUP  BY ch.charId ORDER BY " + sort + " DESC LIMIT " + Config.TOP_PLAYER_RESULTS);

 

I do only put it and ch.accesslevel=0, but it doesn't make anything =(

 

Posted

@f0zi

 

Try this one

 

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, ch.accesslevel 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 and ch.accesslevel=0 GROUP  BY ch.charId ORDER BY " + sort + " DESC LIMIT " + Config.TOP_PLAYER_RESULTS);

 

You fortgot to select the ch.accesslevel column.

  • 2 weeks later...
Posted

i get this error in eclipse :

    [javac] Note: Some input files use or override a deprecated API.

    [javac] Note: Recompile with -Xlint:deprecation for details.

 

and in game i get first page html but when i click any thing it says Comunity Board: unknown Board: _bbstop any help is rly appreciated thnx

 

What pack do you use?

Maybe you didnt imported correct, try again and check for errors b4 compiling they show up in eclipse.

  • 2 months later...
Posted

hello i have 2 error any help me

 

TopBBSManager.java

 

 

public String getRealOnline()

{

int counter = 0;

for (L2PcInstance onlinePlayer : L2World.getInstance().getAllPlayersArray())

{

if (onlinePlayer.isOnline() && (onlinePlayer.getClient() != null && !onlinePlayer.getClient().isDetached()))

{

counter++;

}

}

Gracia Epilogue

thanks

Posted

@RefuelGozos: You propably use another pack that doesnt have these methods. Which pack do you use? Try to find similar methods of them, or you can alternate the code to your pack.

Posted

@RefuelGozos:

sorry for interrupting, but try this:

instead of this:

    for (L2PcInstance onlinePlayer : L2World.getInstance().getAllPlayersArray())

try to use this:

    for (L2PcInstance onlinePlayer : L2World.getInstance().getAllPlayers().values())

 

and if you use L2jServer epilogue I think this should be done:

    if (onlinePlayer.isOnline() && (onlinePlayer.getClient() != null && !onlinePlayer.getClient().isDetached()))

to:

    if (onlinePlayer.isOnline() == 1 && (onlinePlayer.getClient() != null && !onlinePlayer.getClient().isDetached()))

Posted

@RefuelGozos:

sorry for interrupting, but try this:

instead of this:

    for (L2PcInstance onlinePlayer : L2World.getInstance().getAllPlayersArray())

try to use this:

    for (L2PcInstance onlinePlayer : L2World.getInstance().getAllPlayers().values())

 

and if you use L2jServer epilogue I think this should be done:

    if (onlinePlayer.isOnline() && (onlinePlayer.getClient() != null && !onlinePlayer.getClient().isDetached()))

to:

    if (onlinePlayer.isOnline() == 1 && (onlinePlayer.getClient() != null && !onlinePlayer.getClient().isDetached()))

 

fixed ty.

 

 

 

Posted

Hello here I have a small error

 

(Version H5 p5)

 

 

error: non-static method getGameTicks() cannot be referenced from a static context  int timeSeconds = (GameTimeController.getGameTicks() - 36000) / 10;

Posted

@remy80

change this:

    int timeSeconds = (GameTimeController.getGameTicks() - 36000) / 10;

to this:

    int timeSeconds = (GameTimeController.getInstance().getGameTicks() - 36000) / 10;

Posted

thx for Code me need new help

 

[09 juin 18:17:00] GameServer connected!

[09 juin 18:18:59] Connection lost!

java.io.IOException: TCP Read: Failed reading.

        at org.netcon.NetConnection.read(NetConnection.java:109)

        at com.l2jserver.communityserver.network.GameServerThread.run(GameServer

Thread.java:85)

  • 1 month later...
Posted

i only want to have the boss raid info (boss.htm) at the favorite tab. what do i have to change?  :poker face:

 

_bbsgetfav unknown board.

 

i use latest l2j h5  :good sir:

 

i tried for several hours ._.  :o

Guest
This topic is now closed to further replies.



  • Posts

    • Hi, for l2jfrozen...   I want Bless Enchat to have a limit.   Example: 7+ to +15 with Bless Enchat.   That for +16, it doesn't allow use.
    • @FixerRay the problem is that my dev will not be available for a while so if you could help that will be great 
    • Tired of watching your Instagram account grow at a snail’s pace? Feeling frustrated when your quality content doesn’t reach the audience it deserves? Let me share a secret that changed the game for me and many others: using a reliable SMM panel Instagram service like GoUpSocial. Whether you're building a brand, promoting a product, or growing a personal page, GoUpSocial offers the best and cheapest SMM panel for Instagram followers, likes, and views — with real results, fast delivery, and budget-friendly pricing. ✅ What Is an SMM Panel Instagram and Why Should You Care? An Instagram SMM panel is a specialized marketing tool that helps you grow your account faster by automating likes, followers, views, and even verification services. But not all SMM panels are created equal. GoUpSocial stands out because it offers: Safe and real SMM followers Instagram services High-retention SMM panel for Instagram views Instant Instagram likes SMM panel to boost engagement Smart Instagram comment like SMM panel to highlight key messages Trusted SMM panel Instagram blue tick strategies to increase verification chances All of this is delivered through an intuitive, user-friendly platform with 24/7 customer support. 📈 Instagram Followers Increase SMM Panel – Grow with Confidence If you’re looking for meaningful growth, the Instagram followers increase SMM panel is your go-to solution. GoUpSocial provides real followers, delivered gradually to keep your profile looking natural and compliant with Instagram’s algorithm. Whether you’re launching a business page or trying to build a fan base as a creator, more followers = more trust and more visibility. ❤️ Drive More Engagement with the Instagram Likes SMM Panel Instagram rewards popular posts with more visibility. That means more likes lead to more exposure. With the Instagram likes SMM panel, you can boost your post’s visibility instantly, increasing your chance of hitting the Explore page or going viral. If you're managing brand mentions or public feedback, the Instagram comment like SMM panel is perfect for pushing important comments to the top — ideal for testimonials, FAQs, or influencer interactions. 🎥 Don’t Miss Out on Views – Try the SMM Panel for Instagram Views Instagram is prioritizing video content more than ever. Whether it’s Reels, Stories, or feed videos, performance matters — and GoUpSocial’s SMM panel for Instagram views ensures you get noticed. Combined with the Instagram likes SMM panel, this powerful duo can significantly increase your profile’s reach and influence. Don’t just post content — get it seen. 🔵 Boost Verification Potential with SMM Panel Instagram Blue Tick Getting verified on Instagram isn’t easy — but it’s also not impossible. Instagram looks at follower count, engagement, and public presence. That’s where GoUpSocial’s SMM panel Instagram blue tick service can give you the edge. By growing your followers and interaction rates authentically, you increase your chances of being verified. It’s a smart, strategic move for influencers, entrepreneurs, and anyone seeking social credibility. ⚙️ Easy SMM Panel Instagram – Simplicity Meets Power Forget clunky dashboards or complicated processes. GoUpSocial provides an easy SMM panel Instagram interface that lets you: Place orders quickly Monitor real-time progress Manage multiple services effortlessly Choose from flexible packages Pay securely and safely Even if you're new to digital marketing, you’ll feel confident using this system. 💸 Cheapest SMM Panel for Instagram Followers, Likes, and Views Let’s talk about pricing — GoUpSocial is hands-down the cheapest SMM panel for Instagram followers, likes, and views that doesn’t compromise on quality. They offer: Low-cost follower packages Budget-friendly like boosts Affordable video views with high retention Targeted solutions to maximize ROI Ideal for students, startups, creators, and agencies alike. 🤝 Manage Clients Efficiently with the Instagram Reseller Panel If you’re a digital agency or freelancer, GoUpSocial’s Instagram reseller panel is a goldmine. You get access to all the same high-quality services at reseller prices — with API access, white-label delivery, and bulk order management. You can resell these services under your own brand and watch your revenue grow alongside your client base. 🎯 A Complete Growth System – Why GoUpSocial Wins There are many panels out there. But here’s why GoUpSocial consistently ranks as the best and cheap SMM panel for Instagram server: 🔒 Safe and compliant with Instagram’s systems ⚡ Fast and automatic delivery 💬 Real engagement from real users 🛠️ Easy-to-use platform for all experience levels 🧩 All-in-one panel for followers, likes, views, comments, and verification 💼 Reseller-ready for agencies and freelancers If you want a system that works, and works well — this is it. 👉 Ready to accelerate your Instagram growth? Sign up now at https://goupsocial.com and experience the easiest, most reliable, and cheapest SMM panel Instagram solution available today. Whether you're after likes, views, followers, or even a verified badge, GoUpSocial delivers everything you need — fast, safe, and with real impact. 🔥 Don’t wait — your Instagram success story starts here! 🔥
  • 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