Re: [Gambas-user] Gambas equivilent help

2009-10-28 Thread briansykes
s better at this game than me :/ > > > 2009/10/26 briansykes : >> >> These functions are part of a chat server handshake and they only have it >> available to me in java so i have to port it to gambas to use it. >> >> I'll post the big function so you can

Re: [Gambas-user] Gambas equivilent help

2009-10-25 Thread briansykes
catch(Exception exception) { a(exception); } } The "MNfw9809", "90981qFS", "412.Fdq.", "..13fS4.", "41!!vs%&" are the things you have to use when you get the server's handshake request which looks li

Re: [Gambas-user] Gambas equivilent help

2009-10-25 Thread briansykes
] > Dim Flag as Boolean = false > Dim i As Integer > > For i = 0 to 64-1 > If Flag<>BitSet[i] Then BitSet1[i]=True > Flag = BitSet[i] > Next > > return BitSet1 > > 2009/10/25 briansykes : >> >> I'm trying to convert some java

Re: [Gambas-user] Gambas equivilent help

2009-10-25 Thread briansykes
I'm trying to convert some java code to Gambas and i cant seem to get it to work at all here is the code. private BitSet a(BitSet bitset) { BitSet bitset1 = new BitSet(64); boolean flag = false; for(int i1 = 0; i1 < 64; i1++) { if(flag != bitset.get

[Gambas-user] Gambas equivilent help

2009-10-24 Thread briansykes
Very simple question that i cant seem to answer on my own: What is the gambas equivilent of the java BitSet class? is it a Byte[] array? i dont know but thats about the only thing i could think of. -- View this message in context: http://www.nabble.com/Gambas-equivilent-help-tp26044750p26044750.

Re: [Gambas-user] Gambas MD5 and MySQL MD5 Do Not Match

2009-10-23 Thread briansykes
mary... in other > an encrypted password ! > > > 2009/10/23 Jorge Carrión : >> Put your code here. I do not have problems whith crypt. you should do >> something bad... >> >> 2009/10/23 briansykes >> >>> >>> I am trying to used stored MD5 pas

[Gambas-user] Gambas MD5 and MySQL MD5 Do Not Match

2009-10-22 Thread briansykes
I am trying to used stored MD5 passwords in a MySQL database with Gambas2, but with Crypt.MD5 i get numbers letters and dollar signs which is not an MD5 sum does anyone know how to fix this? an example of what Crypt.MD5 kicks out is this: $1$R48EQANG$.CoiiGj.gYSi399ggeQvj0 and in MYSQL it looks li