Skip to content

[HELP] Global Chat

Featured Replies

Gia sas pedia, exw l2jfrozen pack pou sto opio exei global chat me pvp, gia na min exei poli spamm 8elw na valw flood protection px 200 sec dld na milaei o ka8es ana 200 sec sto global chat, pos ginete otan den exei perasi o epi8imitos xronos na leei sto chat posa tou apomenoun otan paei na grapsi kati sto global chat ?

Px ~> "You can't speak right now at global chat you have to wait 67 Minutes."

Opios 3eri as help.

Thanks !

Gia sas pedia, exw l2jfrozen pack pou sto opio exei global chat me pvp, gia na min exei poli spamm 8elw na valw flood protection px 200 sec dld na milaei o ka8es ana 200 sec sto global chat, pos ginete otan den exei perasi o epi8imitos xronos na leei sto chat posa tou apomenoun otan paei na grapsi kati sto global chat ?

Opios 3eri as help.

Thanks !

exeis flood configs sto pack. psa3to ligaki i alliws anebase mas to flood.properties (kapws etc) den mporo akribws na 8imi8o kai dn ime spiti autin tin stigmi.
  • Author

exeis flood configs sto pack. psa3to ligaki i alliws anebase mas to flood.properties (kapws etc) den mporo akribws na 8imi8o kai dn ime spiti autin tin stigmi.

egw 8elw apla apo java na valw ena kimeno p otan paei na grapsi o alos na leei "You can't speak right now at global chat you have to wait 67 Minutes."

Elpizo na katalaves ti 8elw ....

egw 8elw apla apo java na valw ena kimeno p otan paei na grapsi o alos na leei "You can't speak right now at global chat you have to wait 67 Minutes."

Elpizo na katalaves ti 8elw ....

Sta configs sou uparxei auto,an oxi thelei code

exeis flood configs sto pack. psa3to ligaki i alliws anebase mas to flood.properties (kapws etc) den mporo akribws na 8imi8o kai dn ime spiti autin tin stigmi.

 

Not even close

 

afto pou zitas file den einai aplo code, den vasizete se floodprotectors, epd ta floodprotectors den exoun tin dinatotita na ipologizoun kai na epistrefoun to xrono pou apomenei gia na 3anamiliseis, tora an pas se threadPoolManager pali ta idia 9a exeis ala kai epipleon otan kanei rr 9a tou fevgei to delay.

 

Xriazete full rework gia na ginei afto pou 9es kai ala codes pou den iparxoun mesa sto pack sou.

  • Author

Not even close

 

afto pou zitas file den einai aplo code, den vasizete se floodprotectors, epd ta floodprotectors den exoun tin dinatotita na ipologizoun kai na epistrefoun to xrono pou apomenei gia na 3anamiliseis, tora an pas se threadPoolManager pali ta idia 9a exeis ala kai epipleon otan kanei rr 9a tou fevgei to delay.

 

Xriazete full rework gia na ginei afto pou 9es kai ala codes pou den iparxoun mesa sto pack sou.

 

ma dn ipa oti vasizete sto flood protect, apla ipa oti 8elw na valw na ipologizi ton xrono p apomeni otan paei na grapsi kati... !!!

 

------------------------------------------------------------------------------------------------------------------------------------------------------------------

Sta configs sou uparxei auto,an oxi thelei code

oso gia sena ise terma akiros min kaneis adiko spamm an dn 3es na apantisis !

sou ipa kai prin, den vasizete oute se ThreadPoolManager, 9elei rework apo tin arxi, kai fisika kai database gt an kanoun rr 9a fevgei to delay, to code pou zitas einai ston L2Pride kai 9elei poli doulia gia mikra apotelesmata, kanenas den prokite na sto ftia3ei...

  • Author

sou ipa kai prin, den vasizete oute se ThreadPoolManager, 9elei rework apo tin arxi, kai fisika kai database gt an kanoun rr 9a fevgei to delay, to code pou zitas einai ston L2Pride kai 9elei poli doulia gia mikra apotelesmata, kanenas den prokite na sto ftia3ei...

 

Ok dn peirazi euxaristo gia to endiaferon :)

Αυτό είναι από το vote system μου:

 

                        if ((System.currentTimeMillis()/1000/60/60) - (activeChar.getLastVoteTime()/1000/60/60) < 12)
                        {
                                activeChar.sendMessage("12 hours have not passed since your last voting. You need to wait "+(((12*1000*60*60)+activeChar.getLastVoteTime())-System.currentTimeMillis())/1000/60+" minutes.");
                                return false;
                        }

 

πιστεύω είναι κάτι παρόμοιο. θα το κοιτάξω αργότερα και θα σου πω.

  • Author

Αυτό είναι από το vote system μου:

 

                        if ((System.currentTimeMillis()/1000/60/60) - (activeChar.getLastVoteTime()/1000/60/60) < 12)
                        {
                                activeChar.sendMessage("12 hours have not passed since your last voting. You need to wait "+(((12*1000*60*60)+activeChar.getLastVoteTime())-System.currentTimeMillis())/1000/60+" minutes.");
                                return false;
                        }

 

πιστεύω είναι κάτι παρόμοιο. θα το κοιτάξω αργότερα και θα σου πω.

 

Οκ αγορινα θα περιμενω :)

Αυτό είναι από το vote system μου:

 

                        if ((System.currentTimeMillis()/1000/60/60) - (activeChar.getLastVoteTime()/1000/60/60) < 12)
                        {
                                activeChar.sendMessage("12 hours have not passed since your last voting. You need to wait "+(((12*1000*60*60)+activeChar.getLastVoteTime())-System.currentTimeMillis())/1000/60+" minutes.");
                                return false;
                        }

 

πιστεύω είναι κάτι παρόμοιο. θα το κοιτάξω αργότερα και θα σου πω.

 

an to method apo9ikevete database tote kanei...

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.