Jump to content
  • 0

[HELP] Global Chat


Question

Posted

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 !

11 answers to this question

Recommended Posts

  • 0
Posted

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.
  • 0
Posted

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 ....

  • 0
Posted

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.

  • 0
Posted

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 !

  • 0
Posted

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...

  • 0
Posted

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

  • 0
Posted

Αυτό είναι από το 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;
                        }

 

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

  • 0
Posted

Αυτό είναι από το 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;
                        }

 

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

 

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

  • 0
Posted

Αυτό είναι από το 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.


×
×
  • Create New...