Jump to content
  • 0

Delay In Class Messages Exshowscreenmessage


l2jkain

Question

11 answers to this question

Recommended Posts

  • 0

Depends on the pack you're using, but here's an example for aCis.

activeChar.sendPacket(new ExShowScreenMessage("SCREEN MSG", 5000, SMPOS.TOP_CENTER, false));
Link to comment
Share on other sites

  • 0

I want this to appear after 10 seconds after the player logs on how? Because as soon as the play loga opens the days of vip they still have

 

 

if (Config.SERVER_TIME_ON_START)
activeChar.sendPacket(new ExShowScreenMessage("L2 Serve Time is " + fmt.format(new Date(System.currentTimeMillis())), 10000, 0x02, true));
Link to comment
Share on other sites

  • 0


if (Config.SERVER_TIME_ON_START)

ThreadPoolManager.getInstance().scheduleGeneral(() -> activeChar.sendPacket(new ExShowScreenMessage("L2 Serve Time is " + fmt.format(new Date(System.currentTimeMillis())), 10000, 0x02, true)), 10000);

 

Edited by Versus
Link to comment
Share on other sites

  • 0

ThreadPoolManager class exists in different variations among packs. Find the right class, the right method and the code i posted will work 100%.

Link to comment
Share on other sites

  • 0
It appears more of the vip no longer appears

 

 

if (Config.SERVER_TIME_ON_START)

            ThreadPool.schedule(() -> activeChar.sendPacket(new ExShowScreenMessage("L2 Serve Time is " + fmt.format(new Date(System.currentTimeMillis())), 10000, 0x02, true)), 10000);
Link to comment
Share on other sites

  • 0

@l2jkain I don't understand what you wanna say, anyway i think it's pretty simple..

 

That should work:

activeChar.sendPacket(new ExShowScreenMessage("VIP SCREEN MSG", 5000, SMPOS.TOP_CENTER, false));
if (Config.SERVER_TIME_ON_START) 
    ThreadPoolManager.getInstance().scheduleGeneral(() -> activeChar.sendPacket(new ExShowScreenMessage("L2 Serve Time is " + fmt.format(new Date(System.currentTimeMillis())), 5000, 0x02, true)), 6000);

@AccessDenied, the code you posted does exactly the same as what i posted. Only difference, the way i used can be done in 1 line.

Edited by Versus
Link to comment
Share on other sites

  • 0

@l2jkain I don't understand what you wanna say, anyway i think it's pretty simple..

 

That should work:

activeChar.sendPacket(new ExShowScreenMessage("VIP SCREEN MSG", 5000, SMPOS.TOP_CENTER, false));
if (Config.SERVER_TIME_ON_START) 
    ThreadPoolManager.getInstance().scheduleGeneral(() -> activeChar.sendPacket(new ExShowScreenMessage("L2 Serve Time is " + fmt.format(new Date(System.currentTimeMillis())), 5000, 0x02, true)), 6000);

@AccessDenied, the code you posted does exactly the same as what i posted. Only difference, the way i used can be done in 1 line.

You're silly kid, the code you write is only for Java 8, you cannot know what java v he uses.

 

JAVA 6-7:

ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new Runnable()
{
        @Override
	public void run()
	{
        }
}

JAVA 8:

ThreadPoolManager.getInstance().scheduleGeneral(() -> 
Edited by AccessDenied
Link to comment
Share on other sites

  • 0

You're silly kid, the code you write is only for Java 8, you cannot know what java v he uses.

Java 8 has been released since early 2014 and he's obviously using aCis, but yes call me a silly kid for trying to educate you.

Link to comment
Share on other sites

  • 0

Java 8 has been released since early 2014 and he's obviously using aCis, but yes call me a silly kid for trying to educate you.

awwwwwww u so cute :DDDDDDD

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   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

    • I didn't edit anything, It's a scren from Your vid, don't be delusional. I won't refund You. I think 10 years ago I've created account on L2Brasil - You can also go there if You want. Take care
    • don't be stupid if you don't return my money I continue to want sanctions against you.   don't write that you like it, the case is not closed. don't pose as you want when you upload a photo don't edit upload the whole conversation before editing.
    • Made some contacts, for the time being everything is set. Kindly asking for moderators to lock this post.
    • To be fair, I wasn't aware I had an account there. I guess I was banned on that mmo-dev-rus bullshit because I'm well known for not beeing russian-ass-licker-fanboy, those who knows me, knows it too. Thank You. Case closed.  @Celestine     You did. Worked stopped. You got refunded. That's all from me, I have other works to do - I can't spend more time here, repeating myself, so I won't get "reported" yet again with another project. See my point here?  Signing out 
    • VeeloBooster Testosterone Booster (Special Offer) – Buy Now – Official Website Official Website: https://supplementrange.com/veelobooster-reviews/ Facebook: https://www.facebook.com/veelobooster.officialwebsite VeeloBooster Male Enhancement Pills Reviews - For the most part, it’s men who want to have larger penises,” Montague said. Eldorado Trading, Jones, and Vogt admitted in their plea agreements to buying hundreds of thousands of misbranded pills from Lee, which Eldorado Trading resold for a profit of at least $215,000. In their plea agreements, Contenda Health and the Cranfords admitted to purchasing more than 1.4 million misbranded pills from Lee for approximately $2.1 million, which they resold to retail locations across the United States. The anticipated guilty pleas are in relation to three cases filed today in U.S. Continue reading to learn more Crucial Tip 1 Save time and money when you are looking for enlargement method. Now it is urgent to correct DIC to stop bleeding, but Su Hongwen really cant think of the kind of drug that can correct DIC in a short time to achieve The purpose of hemostasis. Its imperative to comprehend that not every erectile disorder problems originate from mental issues There might be a fundamental medical trigger in sufferers with Hd Testo Male Enhancement erection dysfunction For instance.   Official Website: https://supplementrange.com/veelobooster-reviews/ https://supplementrange.com/nexalyn-male-enhancement/ https://supplementrange.com/nexaslim-reviews/ Facebook: https://www.facebook.com/veelobooster.officialwebsite https://www.facebook.com/nexaslimofficialwebsite/ https://www.facebook.com/nexalynofficialwebsite/ Groups Google: https://groups.google.com/u/0/g/veelobooster-male-enhancement/c/kMfeByqzWIU https://groups.google.com/g/nexalyn-reviews/c/612K-C_681Y https://groups.google.com/g/nexalyn-reviews/c/NddGgTyevPw Sites Google: https://sites.google.com/view/veelobooster-official-website/home https://sites.google.com/view/nexalynpillsreviews/home Blogspot: https://nexalyn-reviews.blogspot.com/2024/05/nexalyn-testosterone-booster.html https://nexalyn-reviews.blogspot.com/2024/05/veelobooster-testosterone-booster.html Medium: https://medium.com/@veelobooster.official/veelobooster-testosterone-booster-32935c5b7fd7 https://medium.com/@nexalyn-review/nexalyn-testosterone-booster-52b99cf5540f https://medium.com/@nexalyn-review/nexalyn-testosterone-booster-reviews-nexalyn-male-enhancement-pills-b04e97c5f978 Other Blogs: https://veelobooster-testosterone-booster-2.jimdosite.com/ https://veelobooster-testosterone-boos-1fe422.webflow.io/ https://veelobooster-testosterone-booster-reviews.company.site/ https://www.eventbrite.com/e/veelobooster-testosterone-booster-reviews-veelo-booster-male-enhancement-pills-tickets-903689287987?aff=oddtdtcreator https://edwextrujek.wixsite.com/veelobooster-reviews/post/veelobooster-testosterone-booster-reviews-does-veelo-booster-pills-work-or-not
  • 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