Skip to content

[Help] PC Bang Points Event

Featured Replies

# Min Player Level.
# Default: 20
PcBangPointMinLevel = 1

# Min Count.
# Default: 20
PcBangPointMinCount = 1

# Max Count.
# Default: 1000000
PcBangPointMaxCount = 1

# Chance of get Double points.
# Default: 20
PcBangPointDualChance = 0

# Event Time Stamp.
# Default: 900
PcBangPointTimeStamp = 6000

 

PcBangPointTimeStamp = 6000 this means every 1 hour? or not?

because i need every 1 hour people gain 1 pc bang point

3600000 = 1 hour. I'm not sure, just try put some values and test on your server.

in miliseconds 1000 - 1sec, 60000-1 minute, 3600000 - 1 hour.

  • Author

but i don't know it is miliseconds or something like that

If you need every 1 hour , just edit

 

# Event Time Stamp.
# Default: 900
PcBangPointTimeStamp = 3600000

  • Author

its not to miliseconds because then i make 6000 i can get points every 6 sec, but i don't get every 6 sec, who is have pc bang points event for his server and now how make every 1 h, please replay:P

then sorry, i dont know how it is working, i would need to see source code.

its not to miliseconds because then i make 6000 i can get points every 6 sec, but i don't get every 6 sec, who is have pc bang points event for his server and now how make every 1 h, please replay:P

and when you make it 6?

  • Author

i found this in gameserver.java

if(Config.PCB_ENABLE)

            ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(PcPoint.getInstance(), Config.PCB_INTERVAL * 1000, Config.PCB_INTERVAL * 1000);

 

 

60 *60 * 1000 / 1000, omg math!

Srsly it was so hard to find where that config ends? next time try to fix it by yourself before asking here

  • Author

# Event Time Stamp.

# Default: 900

PcBangPointTimeStamp = 6000

 

so if i make 3600 pc bang points every 1 hour will be add?

  • Author

# Event Time Stamp.

# Default: 900

PcBangPointTimeStamp = 6000

 

so if i make 3600 pc bang points every 1 hour will be add?

Guest
This topic is now closed to further replies.

Account

Navigation

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.