-
Posts
431 -
Joined
-
Last visited
-
Days Won
3
Everything posted by raynor009
-
am avut un coleg care a patito cu mascatii, l-au dus la sectie si i-au cerut parola, el nu l-ea spus si atunci l-au batut pana a cazut jos depe scaun.
-
Am reusit sa traduc un program din C# in VB.NET aproapre perfect, dar m-am blocat undeva si mai am 3 erori de rezolvat. Vreau sa spun ca nu am mai facut de mult programe si am c-am uitat, so please take it easy. .rar (35,66 KB) - uploaded.to Erorile sunt urmatoarele: Error 3 'Namespace' statement must end with a matching 'End Namespace'. Error 2 'Namespace' statements can occur only at file or namespace level. Error 1 'Class' statement must end with a matching 'End Class'. codu tradus in vb.net Imports System Imports System.Drawing Imports System.Drawing.Imaging Imports System.Windows.Forms Public Class frmMain Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Namespace TempGraphic Public Class frmMain Inherits Form Public Sub New() MyBase.New() InitializeComponent() Me.CreateImage("") End Sub Private Sub CreateImage(ByVal text As String) Dim lines() As String = text.Split(New String() {"" & vbCrLf}, StringSplitOptions.RemoveEmptyEntries) If ((lines.Length > 0) _ AndAlso (lines.Length < 4)) Then Dim font As Font = New Font("Tahoma", 8, FontStyle.Bold) Dim bmp As Bitmap = New Bitmap(1, 1) Dim w As Integer = 0 Dim g As Graphics = Graphics.FromImage(bmp) For Each line As String In lines Dim tmpsize As SizeF = g.MeasureString(line, font, 90) If (tmpsize.Width > w) Then w = CType(tmpsize.Width, Integer) End If Next bmp = New Bitmap((w + 10), (25 _ + ((lines.Length - 1) _ * (lines.Length > 1)))) Dim g As Graphics = Graphics.FromImage(bmp) Dim x As Integer = 1 Do While (x < bmp.Width) Dim y As Integer = 1 Do While (y < bmp.Height) If (((x = 1) _ OrElse (y = 1)) _ OrElse ((x _ = (bmp.Width - 1)) _ OrElse (y _ = (bmp.Height - 1)))) Then bmp.SetPixel(x, y, Color.White) Else bmp.SetPixel(x, y, Color.FromArgb(104, 36, 96)) End If y = (y + 1) Loop x = (x + 1) Loop Dim l As Integer = 0 For Each line As String In lines g.DrawString(line, font, Brushes.White, 5, (5 _ + (l * 15))) l = (l + 1) Next Me.pictureBox1.Image = CType(bmp, Image) Me.button1.Enabled = True Else Me.pictureBox1.Image = Nothing Me.button1.Enabled = False End If End Sub End Class codu orignal using System; using System.Drawing; using System.Drawing.Imaging; using System.Windows.Forms; namespace TempGraphic { public partial class frmMain : Form { public frmMain() { InitializeComponent(); this.CreateImage( "" ); } void CreateImage( string text ) { string[] lines = text.Split( new string[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries ); if( lines.Length > 0 && lines.Length < 4 ) { Font font = new Font( "Tahoma", 8, FontStyle.Bold ); Bitmap bmp = new Bitmap( 1, 1 ); int w = 0; using( Graphics g = Graphics.FromImage( bmp ) ) { foreach( string line in lines ) { SizeF tmpsize = g.MeasureString( line, font, 90 ); if( tmpsize.Width > w ) w = (int)tmpsize.Width; } } bmp = new Bitmap( w+10, 25 + ((lines.Length - 1) * (lines.Length > 1 ? 15 : 0)) ); using( Graphics g = Graphics.FromImage( bmp )) { for( int x = 1; x < bmp.Width; x++ ) { for( int y = 1; y < bmp.Height; y++ ) { if( (x == 1 || y == 1) || (x == bmp.Width - 1 || y == bmp.Height - 1) ) bmp.SetPixel( x, y, Color.White ); else bmp.SetPixel( x, y, Color.FromArgb( 104, 36, 96 ) ); } } int l = 0; foreach( string line in lines ) { g.DrawString( line, font, Brushes.White, 5, 5 + (l * 15) ); l++; } } this.pictureBox1.Image = (Image)bmp; this.button1.Enabled = true; } else { this.pictureBox1.Image = null; this.button1.Enabled = false; } } private void textBox1_TextChanged( object sender, EventArgs e ) { TextBox self = (TextBox)sender; this.CreateImage( self.Text ); } private void button1_Click( object sender, EventArgs e ) { if( this.pictureBox1 != null ) { DialogResult result = this.saveFileDialog1.ShowDialog(); if( result == DialogResult.OK ) { this.pictureBox1.Image.Save( this.saveFileDialog1.FileName, ImageFormat.Png ); } } } } } impreuna cu codul sursa, am pus si programul terminat din C#. Multumesc anticipat
-
pai e un bruteforcer fratilor, va trebuie un dictionar de parole ca sa functioneze. si nici cu ala nu e sigur.
-
:" dragut ;> dar eu vreau numai unu
-
as vrea eu un global offensive, cred ca merg maine si incarc telefonu cu 10 euro.
-
Pai pe prima pagina sau ceva de genu pe index. Dar tu spui ca hostul respectiv trebuie sa aiba instalat python ca sa functioneze? Exista ceva hosturi gratis cu python?
-
dece dai global offensive asa de ieftin? are ceva restrictii de regiune?
-
Deci am aici un script facut in Python(nu de mine) care are trebuie sa imi arate statusul unui server la un joc, cu numarul de jucatori online,statusul serverului(on sau off) si numarul de zile activ. Acest script este facut pentru o pagina web, dar nu stiu cum sa il instalez. Imi puteti explica si mie cum se face? Mai jos aveti si scriptu. #!/usr/bin/python # -*- coding: utf-8 -*- # cvet: For correct ping send 4 bytes to server - 0xFFFFFFFF, than receive 16 bytes, where 4 is current online, 4 bytes is uptime in seconds, others 8 is reserved. After server drop connection. # 22:08:|52<@Ghosthack> Send 0xFFFFFFFF to server, it will respond with 16 bytes, where first 4 is current number online, 4 bytes is uptime in seconds, the other 8 is reserved. # 23:43:|03<@Ghosthack> It sends in that order, how you retrieve it depends on your receive buffer. Use DWORD type, it's 4 bytes. One variable for number online and one for uptime. # # FOStatus.py # by jan0s1k version = "v1.3" import socket import struct address="fonline2238.net" port=2238 s = socket.socket( socket.AF_INET, socket.SOCK_STREAM) s.settimeout(1.0) try: s.connect((address, port)) s.send("\xFF" * 4) recive = s.recv(16) players, uptime = struct.unpack('LL', recive[:8]) uptime_human = uptime / 86400 zmienna1 = "Online: " zmienna2 = "days, " zmienna3 = "players online" zmienna4 = "%s %d %s %d %s" % (zmienna1, uptime_human, zmienna2, players, zmienna3) print zmienna4 s.close() except Exception, e: print 'Server is offline'
-
Am avut eu un mic bot ca sa ii spun asa pe care l-am facut in VB.NET pentru un joc. Daca il mai gasesc iti dau PM cu sursa.
-
Deci tu vrei sa faci un program care schimba numele jcuatorului la un Minecraft crackuit?
-
Am FileZilla si am pus cat ai spus tu dar atunci imi da Forbidden de la host asa ca am setat 777 maxim si tot cacatu ala imi da... Ok ok ok ok ok merge acuma am rezolvat. De data asta merge tot ca la carte. Multumesc pentru ajutor.
-
Am facut aia si inainte dar nu a mers.... Acum merge perfect. Multumesc tare mult de ajutor . Eh hopa... am incercat sa editez ceva si zice permission denied? Warning: file_put_contents(../gmodm.html) [function.file-put-contents]: failed to open stream: Permission denied in /www/99k.org/f/i/l/filewagon/htdocs/admin/edit.php on line 9
-
Am luat fisierele din folder si le-am pus in acelasi loc unde sunt paginile.
-
Logged in Warning: scandir() [function.scandir]: open_basedir restriction in effect. File(../) is not within the allowed path(s): (VIRTUAL_DOCUMENT_ROOT) in /www/99k.org/f/i/l/filewagon/htdocs/index.php on line 61 Warning: scandir(../) [function.scandir]: failed to open dir: Operation not permitted in /www/99k.org/f/i/l/filewagon/htdocs/index.php on line 61 Warning: scandir() [function.scandir]: (errno 1): Operation not permitted in /www/99k.org/f/i/l/filewagon/htdocs/index.php on line 61 Warning: Invalid argument supplied for foreach() in /www/99k.org/f/i/l/filewagon/htdocs/index.php on line 63 Click to edit a file Asta imi apare dupa ce m-am logat.Deci eu vroiam ceva ca sa pot edita pagina asta http://filewagon.99k.org/carte.html cu usurinta.
-
@JohnDoe am incercat ce ai spus tu dar imi da eroarea asta Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /www/99k.org/f/i/l/filewagon/htdocs/index.php:5) in /www/99k.org/f/i/l/filewagon/htdocs/index.php on line 36
-
Nu prea am bani de aruncat pe garduri in momentu asta....
-
deci am un mic site pe care l-am facut pentru uz personal, si nu am chef ca atunci cand vreau editez ceva pe pagina sa i-au iar sursa si editez si dupaia sa merg sa o reuploadez pe ftp. eu as vrea sa fac un mic panou de control ca sa pot edita continul paginii si dupaia sa o salvez. am cautat pe google dar nu prea am inteles... siteul meu este complet in html. ma puteti ajuta cu o sursa sau ceva?
-
Ala este foarte bun, il recomand!
-
Si ce legatura are Web Builder asta cu programarea? Daca dadeai un search pe google gaseai imediat... WWW FAQs: How do I host my own website at home?
-
Sa inteleg ca vrei sa faci un keygen?
-
acuma il decompilez EDIT: Bai panicatilor programu ala nu are nimic suspect l-am decompilat si m-am uitat la cod. Si programul merge perfect. Instalati .Net Framework 4 daca nu va merge si inchideti in pula mea gura daca nu stiti despre ce este vorba. ete si codu sursa http://pastebin.com/FZJThr2a descifrati voi hacerilor
-
Doresc sa vand 16.019 emailuri din Romania(sunt si straine printr-e ele, cateva zeci doar) . Sunt amestecate intre GMAIL,AOL,HOTMAIL si Yahoo(sunt cele mai multe). Le-am luat din baza de date unui site. Plata se face prin PayPal si trimiteti bani ca si cadou. Nu am mai vandut pana acum emailuri asa ca nustiu cat sa cer. Ma gandeam la 5-10 euro. Skype: raynor009 sau imi dati PM aici.
-
Deci le poti da Gift sau le-ai primit tu ca si gift? Ma intereseaza Half-Life, Terraria si Medal of Honor. Apropo Half-Life 2 Deathmatch si Half-Life 2 Lost Coast sunt gratuite!