Skip to content

[HELP]Java- Time Periods

Featured Replies

Hello all, the last 2 days i was practising in SQL connections and Threads.

So today i was wondering:

How can something happen for a period? For example: to make a character hero for 24  hours and then it leaves automatically(that's an example).But not to leave with server's restart or character's restart. Just 24 hours.

Can anyone explain with examples? It will help me :)

Its called threads. Use ThreadPoolManager.

 

Nice avatar btw ...

  • Author

Its called threads. Use ThreadPoolManager.

 

Nice avatar btw ...

can you make one example? for example hero a player for 24 hours , it will help me , cause i don't understand :P

 

edit: oups sorry for this, wanna change it? didn't know you had the same

I would make an example for you. But that avatar is personally cropped from a full image. So assuming its not a coincidence that you cropped it the exact same size and place as me ... i guess you are lying.

 

So , no example, figure it out yourself, Lelouch Vi Britania.

  • Author

I would make an example for you. But that avatar is personally cropped from a full image. So assuming its not a coincidence that you cropped it the exact same size and place as me ... i guess you are lying.

 

So , no example, figure it out yourself, Lelouch Vi Britania.

Well ok, that's true , i liked it a lot :D (huh)

Ok then :S , although it would be very serious and important for me an example that it would help me...ok i will see what i will do :(

Waiting ..

Create an account or sign in to comment

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.