8 mesaje
Administrator Administrator
  • Mesaje: 3449
  • Reacții: 48307
  • Mesaje utile: 29
  • Status: Pe aici.. 🤠
  • Server: Saga2 - Soon
  • Regat: Jinno
  • [ID Discord]
  • Contact:
    *Descriere:

    Este un system care afiseaza un Captcha pe care jucatorii trebuie sa il rezolve pentru a continua o actiune anume. - Trebuie sa dai click pe obiectele care sunt mentionate in text, obiectele apar intr-o lista mai jos.

    Ca default, el este pus atunci cand spargi o piatra metin. Iti va aparea acest captcha pe care trebuie sa il rezolvi.

    Daca nu rezolvi acest captcha, nu poti sa mai ataci.

    Poate fi setat sa apara in anumite circumstante: de exemplu, daca viteza de atac a jucatorului e prea mare. Merge foarte bine in combinatie cu alte systeme. Poate fi adaptat la orice :)

    *Poze / Video (obligatoriu):
    [C++/Py] Captcha System - Anti Bots - Mesaj 1 - Imagine 1

    *Link download:
    Conținut: Ascuns
    Reacționează ❤️ la acest mesaj și conținutul se va afișa automat.

    Cum descarc de pe TeraBox?

    Afișează detalii Ascunde detalii
    • Este asemănător cu Mega.nz
    • Instalați-vă clientul lor de Download de aici
    • Faceți-vă un cont (vă puteți loga cu Facebook / Google / etc)
    • Dacă nu vreți să descărcați clientul de Download, folosiți acest site
    • Gata! Acum puteți descărca resursele

    De ce folosim TeraBox?

    • Este gratuit
    • Primești 1TB de spațiu gratuit la orice cont creat!
    • Este ușor de folosit și varianta premium este foarte ieftină
    • Fișierele nu sunt șterse niciodată
    TeraBox logo
    Te asteptam si pe serverul de Discord :p - aici ne-am strans toata comunitatea de Metin2 din Romania.
    Link: https://discord.gg/jWxeDSf7HP

    Suntem peste 1700 membri! - Avem chat activ zilnic, support, cereri, resurse. :D :ymcowboy:




    See full signature

    📢 Resurse Metin2 Premium!

    Zeci de resurse Metin2 Premium - exclusive și 100% funcționale începând cu 15.99€!.

    Vezi resursele Cumpără premium
    Premium
    Premium
    Anunț
  • Mesaje: 3
  • Reacții: 2
  • Mesaje utile: 0
  • Medalii

    din pacate nu functioneaza... cand incerc sa-l deschid prin comanda nu apare nimic si 0 sysyer
    Daca poate da cineva o mana de ajutor...
  • Mesaje: 6
  • Reacții: 1
  • Mesaje utile: 1
  • Medalii

    prody5714 scrie:
    din pacate nu functioneaza... cand incerc sa-l deschid prin comanda nu apare nimic si 0 sysyer
    Daca poate da cineva o mana de ajutor...
    HI, did you solve that? I have same problem...
  • Mesaje: 10
  • Reacții: 6
  • Mesaje utile: 0
  • Status: Pierd vremea ^.^
  • Regat: Jinno
  • [ID Discord]
  • Contact:

    Medalii

    It works for me, but I have one error.

    1116 15:48:09352 :: Traceback (most recent call last):

    1116 15:48:09352 :: File "uiCaptcha.py", line 136, in OnUpdate

    1116 15:48:09352 :: AttributeError
    1116 15:48:09352 :: :
    1116 15:48:09352 :: 'ThinBoardCircle' object has no attribute 'SetColor'
    1116 15:48:09352 ::
  • Mesaje: 2
  • Reacții: 4
  • Mesaje utile: 0
  • Regat: Jinno
  • [ID Discord]
  • Contact:

    Medalii

    Mesaj de Kronos »

    gamer6661102 scrie: It works for me, but I have one error.

    1116 15:48:09352 :: Traceback (most recent call last):

    1116 15:48:09352 :: File "uiCaptcha.py", line 136, in OnUpdate

    1116 15:48:09352 :: AttributeError
    1116 15:48:09352 :: :
    1116 15:48:09352 :: 'ThinBoardCircle' object has no attribute 'SetColor'
    1116 15:48:09352 ::
    From the error you're apparently missing 'SetColor' in the class 'ThinBoardCircle'.

    Try putting this inside that class.
    Code:
    	def SetColor(self, color):
    		self.Base.SetColor(color)
    
  • Mesaje: 10
  • Reacții: 6
  • Mesaje utile: 0
  • Status: Pierd vremea ^.^
  • Regat: Jinno
  • [ID Discord]
  • Contact:

    Medalii

    Could you put the whole part here? Because there's a lot missing.


    1116 17:26:41065 :: Traceback (most recent call last):

    1116 17:26:41065 :: File "uiCaptcha.py", line 136, in OnUpdate

    1116 17:26:41065 :: AttributeError
    1116 17:26:41065 :: :
    1116 17:26:41065 :: 'ThinBoardCircle' object has no attribute 'BOARD_COLOR_OUT'
    1116 17:26:41065 ::
  • Mesaje: 2
  • Reacții: 4
  • Mesaje utile: 0
  • Regat: Jinno
  • [ID Discord]
  • Contact:

    Medalii

    Mesaj de Kronos »

    I don't use this system @gamer6661102, I'm just guessing from the syserrs you're posting, now you're missing BOARD_COLOR_OUT and probably BOARD_COLOR_IN in that same class.

    Try replacing your ThingBoardCircle class or compare the differences between yours and this one.
    Code:
    class ThinBoardCircle(Window):
    	CORNER_WIDTH = 4
    	CORNER_HEIGHT = 4
    	LINE_WIDTH = 4
    	LINE_HEIGHT = 4
    	BOARD_COLOR = grp.GenerateColor(0.0, 0.0, 0.0, 1.0)
    	BOARD_COLOR_IN = grp.GenerateColor(0.0, 0.0, 0.7, 0.7)
    	BOARD_COLOR_OUT = grp.GenerateColor(0.0, 0.0, 0.0, 0.51)
    
    	LT = 0
    	LB = 1
    	RT = 2
    	RB = 3
    	L = 0
    	R = 1
    	T = 2
    	B = 3
    
    	def __init__(self, layer = "UI"):
    		Window.__init__(self, layer)
    
    		CornerFileNames = [ "d:/ymir work/ui/pattern/thinboardcircle/ThinBoard_Corner_"+dir+"_Circle.tga" for dir in ["LeftTop","LeftBottom","RightTop","RightBottom"] ]
    		LineFileNames = [ "d:/ymir work/ui/pattern/thinboardcircle/ThinBoard_Line_"+dir+"_Circle.tga" for dir in ["Left","Right","Top","Bottom"] ]
    
    		self.Corners = []
    		for fileName in CornerFileNames:
    			Corner = ExpandedImageBox()
    			Corner.AddFlag("attach")
    			Corner.AddFlag("not_pick")
    			Corner.LoadImage(fileName)
    			Corner.SetParent(self)
    			Corner.SetPosition(0, 0)
    			Corner.Show()
    			self.Corners.append(Corner)
    
    		self.Lines = []
    		for fileName in LineFileNames:
    			Line = ExpandedImageBox()
    			Line.AddFlag("attach")
    			Line.AddFlag("not_pick")
    			Line.LoadImage(fileName)
    			Line.SetParent(self)
    			Line.SetPosition(0, 0)
    			Line.Show()
    			self.Lines.append(Line)
    
    		Base = Bar()
    		Base.SetParent(self)
    		Base.AddFlag("attach")
    		Base.AddFlag("not_pick")
    		Base.SetPosition(self.CORNER_WIDTH, self.CORNER_HEIGHT)
    		Base.SetColor(self.BOARD_COLOR)
    		Base.Show()
    		self.Base = Base
    
    		self.Lines[self.L].SetPosition(0, self.CORNER_HEIGHT)
    		self.Lines[self.T].SetPosition(self.CORNER_WIDTH, 0)
    
    	def __del__(self):
    		Window.__del__(self)
    
    	def SetSize(self, width, height):
    
    		width = max(self.CORNER_WIDTH*2, width)
    		height = max(self.CORNER_HEIGHT*2, height)
    		Window.SetSize(self, width, height)
    
    		self.Corners[self.LB].SetPosition(0, height - self.CORNER_HEIGHT)
    		self.Corners[self.RT].SetPosition(width - self.CORNER_WIDTH, 0)
    		self.Corners[self.RB].SetPosition(width - self.CORNER_WIDTH, height - self.CORNER_HEIGHT)
    		self.Lines[self.R].SetPosition(width - self.CORNER_WIDTH, self.CORNER_HEIGHT)
    		self.Lines[self.B].SetPosition(self.CORNER_HEIGHT, height - self.CORNER_HEIGHT)
    
    		verticalShowingPercentage = float((height - self.CORNER_HEIGHT*2) - self.LINE_HEIGHT) / self.LINE_HEIGHT
    		horizontalShowingPercentage = float((width - self.CORNER_WIDTH*2) - self.LINE_WIDTH) / self.LINE_WIDTH
    		self.Lines[self.L].SetRenderingRect(0, 0, 0, verticalShowingPercentage)
    		self.Lines[self.R].SetRenderingRect(0, 0, 0, verticalShowingPercentage)
    		self.Lines[self.T].SetRenderingRect(0, 0, horizontalShowingPercentage, 0)
    		self.Lines[self.B].SetRenderingRect(0, 0, horizontalShowingPercentage, 0)
    		self.Base.SetSize(width - self.CORNER_WIDTH*2, height - self.CORNER_HEIGHT*2)
    
    	def SetText(self, text):
    		if not self.ButtonText:
    			textLine = TextLine()
    			textLine.SetParent(self)
    			textLine.SetPosition(self.GetWidth()/2, self.GetHeight()/2)
    			textLine.SetVerticalAlignCenter()
    			textLine.SetHorizontalAlignCenter()
    			textLine.Show()
    			self.ButtonText = textLine
    
    		self.ButtonText.SetText(text)
    		
    	def GetText(self):
    		if not self.ButtonText:
    			return ""
    		return self.ButtonText.GetText()
    		
    	def SetBonusId(self, bnsId):
    		self.BonusId = bnsId
    		
    	def GetBonusId(self):
    		if self.BonusId != 0:
    			return self.BonusId
    
    	def SetColor(self, color):
    		self.Base.SetColor(color)
    
    	def ShowInternal(self):
    		self.Base.Show()
    		for wnd in self.Lines:
    			wnd.Show()
    		for wnd in self.Corners:
    			wnd.Show()
    
    	def HideInternal(self):
    		self.Base.Hide()
    		for wnd in self.Lines:
    			wnd.Hide()
    		for wnd in self.Corners:
    			wnd.Hide()
    
  • Mesaje: 10
  • Reacții: 6
  • Mesaje utile: 0
  • Status: Pierd vremea ^.^
  • Regat: Jinno
  • [ID Discord]
  • Contact:

    Medalii

    I added these and now it's completely fixed!

    BOARD_COLOR_IN = grp.GenerateColor(0.0, 0.0, 0.7, 0.7)
    BOARD_COLOR_OUT = grp.GenerateColor(0.0, 0.0, 0.0, 0.51)

    📢 Resurse Metin2 Premium!

    Zeci de resurse Metin2 Premium - exclusive și 100% funcționale începând cu 15.99€!.

    Vezi resursele Cumpără premium
    Premium
    Premium
    Anunț
    Scrie răspuns

    Creează-ți un cont sau autentifică-te pentru a participa la discuție

    Trebuie să fii membru pentru a răspunde

    Creează-ți un cont

    Membrii pot crea subiecte noi și pot descărca resurse Metin2 Gratuit!


    Te poți înregistra sau conecta rapid utilizând contul tău de Discord, Github sau Google.

    Înregistrare

    Autentifică-te

    Înapoi la “Sisteme Metin2”

    Informații

    Utilizatori ce navighează pe acest forum: br34k3r, ElProfesor, itsukig, Martinx02 și 6 vizitatori

    Discord ID copiat: