>press one button
>fatal error
>fatal error
if you get errors like these, remember to press Send Error Report! very usefully informations will be delivered to me :pAvail wrote:
Connection to Server not Possible! i seriously need to translate this to English.[Seraphin] wrote:
^ ???
I get this when I try to log in
Screenshot? Error Report? anything?[AirCoN] wrote:
>press one button
>fatal error
t/127557Puncia wrote:
can we even trust this?
now that you mention it, its the standard for me to obfuscate my software.peppy wrote:
Closed source and obfuscated? Weird direction to take when using the osu! API; I was hoping it would encourage open devlopment, which is the direction I'm taking osu! as a whole.
Pretty interesting stuff you have done over there! and pretty useful too!Hexide wrote:
Looks interesting.
Few notes:SPOILERhttp://miz.hexide.com/XFsN.cs - All of this could be replaced with 5-15 lines of code if you used something like XML or JSON ( would be allot more flexible too )
http://miz.hexide.com/8FDI.cs - A bug?
http://miz.hexide.com/LyBS.png - ???? D: ... Oh ok; http://miz.hexide.com/Tf80.png
http://miz.hexide.com/ZF0W.png - This is probably one of the bigger issues, seems like you are using 3-4 different connections for seperate things. My recommendations would be try to figure out how to make one. Because currently only first login has any sort of verification; others do not.
I'm done taking it apart for now.
You could look into JavaScriptSerializer() class.Sir k1x wrote:
i am trying to figure out how to use the javascript deserialization class / xml deserialization class to make it more handy.
Project is already .NET 4.0, so it does not really matter.peppy wrote:
Take a look into Newtonsoft.Json.Net. The MS one requires some quite specialised includes which may not be available on all systems (esp. if you are targetting an older .net version).
did the client automatically downloaded the newest update?marcostudios wrote:
Hangs on loggin' in :c
class data {
public $id = "";
public $name = "";
public $link = "";
}
$sql = mysql_query("SELECT id, name, link FROM table");
$rows = array();
while($row = mysql_fetch_array($sql))
{
$e = new data();
$e->id = $row['id'];
$e->name = $row['name'];
$e->link = $row['link'];
$rows[] = $e;
}
print json_encode(rows$);
Sir k1x wrote:
code for php i have created, feel free to use it
class data {
public $id = "";
public $name = "";
public $link = "";
}
$sql = mysql_query("SELECT id, name, link FROM table");
$numResults = mysql_num_rows($sql);
$counter = 0;
print "[";
while($row = mysql_fetch_array($sql))
{
if (++$counter == $numResults) { //check for the last row in sql
$e = new data();
$e->id = $row['id'];
$e->name = $row['name'];
$e->link = $row['link'];
print json_encode($e);
} else {
$e = new data();
$e->id = $row['id'];
$e->name = $row['name'];
$e->link = $row['link'];
print json_encode($e);
print ",";
}
}
print "]";
class data {
public $id = "";
public $name = "";
public $link = "";
}
$sql = mysql_query("SELECT id, name, link FROM table");
$numResults = mysql_num_rows($sql);
$something = array();
while($row = mysql_fetch_array($sql))
{
$e = new data();
$e->id = $row['id'];
$e->name = $row['name'];
$e->link = $row['link'];
$something[] = $e;
}
print json_encode($something);
and that's how the magic is done thank youHexide wrote:
Sir k1x wrote:
code for php i have created, feel free to use it
class data {
public $id = "";
public $name = "";
public $link = "";
}
$sql = mysql_query("SELECT id, name, link FROM table");
$numResults = mysql_num_rows($sql);
$counter = 0;
print "[";
while($row = mysql_fetch_array($sql))
{
if (++$counter == $numResults) { //check for the last row in sql
$e = new data();
$e->id = $row['id'];
$e->name = $row['name'];
$e->link = $row['link'];
print json_encode($e);
} else {
$e = new data();
$e->id = $row['id'];
$e->name = $row['name'];
$e->link = $row['link'];
print json_encode($e);
print ",";
}
}
print "]";
Nononononono...
Don't create json manualy.
Just use multidimensional arrays instead.
System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))To solve this exception you have to install ShockWave Flash for Internet Explorer. Make sure you uncheck McF_sht (I dont wanna name dat program) Scan.
Q! is spoken "Queue", like to Queue up.XPJ38 wrote:
Excuse the silly question but... why is it called "Q! me up!"?
i've just checked the database and i found out that you don't even have an entry in the osu!-data-table.Caldozza wrote:
System.ArgumentOutOfRangeException: Index
and count must refer to a location within the
string.
Parameter name: count
at System.String.RemoveInternal(Int32
startIndex, Int32 count)
at System.String.Remove(Int32 startIndex, Int32
count)
at new_osu_client.Form1.AddItem(String s)
line: AddItem
I got this error report and seeings I am bad with computers I have come to ask for help if possible.
it should be, vista has .net framework 4.0 so it shouldnt be a problem.Payaya wrote:
Sooo Q! me up! can't run on Windows Vista ..?
Sniigel wrote:
The program gets an error when you try to login.
The forums is down, and the creator hasn't updated the thread in several days.
Is this still being made?
Would be so epic if this would work...
and sorry guy's for being not so active these days, but i had some serious issues irl that needed some re-code (get it? ehehehee. wow that was bad)Forum isn't down. The problem is in subdomain.
updates are coming soon :3
If you went around the forums just for a bit you know you shouldn't revive a long-time dead thread unless you have a really good reason to do it.Dionysaw wrote:
What happened to this? I like the idea.