forum

Q! me up! - An osu! Matchmaking Client

posted
Total Posts
43
show more
Topic Starter
Sir k1x
some changes below:

  1. - New Website layout (Login doesn't work yet)
  2. - Removed several servers from the client (like top / friends, they will be ported/created in php)
  3. - Added exception handler

http://osu.qme-up.tk/


cheers
Topic Starter
Sir k1x
updates below!

  1. Fixed various bug's
  2. Added a new function to load your own profilepicture (Now less network usage)
  3. Fixed the Creatematch function.

i really want to say thanks to [ Lionheart ] because he is looking for all the bugs, failures and everything else what is wrong! without him i couldn't find all these bugs!

thank you very very much!
Hexide
Looks interesting.

Few notes:

SPOILER
http://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.
- Marco -


plase make the text white...

and why i can't register?

edit: i'm stupid...
Topic Starter
Sir k1x

Hexide wrote:

Looks interesting.

Few notes:

SPOILER
http://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.
Pretty interesting stuff you have done over there! and pretty useful too!
good thing to have people like you :3

i am trying to figure out how to use the javascript deserialization class / xml deserialization class to make it more handy.

if you have anything more to add feel free to post them :3
Hexide

Sir k1x wrote:

i am trying to figure out how to use the javascript deserialization class / xml deserialization class to make it more handy.
You could look into JavaScriptSerializer() class.
One way of doing things: http://miz.hexide.com/NFgC.txt
peppy
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).
Hexide

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).
Project is already .NET 4.0, so it does not really matter.
Topic Starter
Sir k1x
after time has passed, it's time for some new updates!

Updates are listed below:
  1. fixed various bug's which we could encounter. (data fetch)
  2. Added some kind of installer (Still needs many many updates)
  3. New Mode: Q! me up! - Freestyle
  4. Removed "reduce unused allocated memory"-class and "automatic seal classes wherever possible"-class (To see if this is affected with the mysterious login failure)
+ i finally could manage to get the JSON string being returned by the php scripts. they will be implemented later on :)
- Marco -
Hangs on loggin' in :c
Topic Starter
Sir k1x

marcostudios wrote:

Hangs on loggin' in :c
did the client automatically downloaded the newest update?
Topic Starter
Sir k1x
IMPORTANT:

Please re-download the newest version of the client here: click

i uploaded the wrong assembly where i tried to use only one TCP-Connection.

Updates:
  1. Added a Timer for how long you are already searching for a match
  2. Estimation-timer - Displays the time where a duell could be found (Experimental)
  3. Added several folders for Applications.
  4. You are now automatically signed into the matchmaking queue (Removed one button)
  5. Profile-Settings can now be saved. (osu!ingame will be set to one change, after the change has been used you cannot change your osu!ingame anymore)
Topic Starter
Sir k1x
Small Update for you, huge update for me!:

  1. osu!data-fetch now runs on Newtonsoft.json
  2. Map-Pool is now fetched by Newtonsoft.json
  3. PM-system will be build with Newtonsoft.json
thanks to Hexide and peppy for giving me some tips on how to get used with JSON :3

:D
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");
$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$);
Hexide

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.
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);
Topic Starter
Sir k1x

Hexide 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.
and that's how the magic is done :D thank you :)
comentarinformal
You should think about changing all MySQL queries to use PDO/mysqli instead of mysql_ .
The last one is deprecated and will only bring headaches (plus, either of the two I mentioned allow for queries and variables to go different ways, which makes it more secure)
Topic Starter
Sir k1x
VERY IMPORTANT:

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



Thank's to There for solving it!
XPJ38
Excuse the silly question but... why is it called "Q! me up!"? :D
Genesis Rose
6:36:10 PST - Website/server offline. If you get an error this would be why.
Topic Starter
Sir k1x

XPJ38 wrote:

Excuse the silly question but... why is it called "Q! me up!"? :D
Q! is spoken "Queue", like to Queue up.

So Queue me up! - And accept the challenge is meant to stand for "to queue up and accept the next challenge".

so the best example would be the new generation of MOBA games (League of Legends, Dota, Smite etc.)
they all have a queue to search for enemies at your skill (Based on ELO, Points or Rank (in case of osu! that would be PP))

and somehow it sounds kinda cool^^
Payaya
Sooo Q! me up! can't run on Windows Vista ..? :(
caldozza
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.
Topic Starter
Sir k1x

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.
i've just checked the database and i found out that you don't even have an entry in the osu!-data-table.
but your osu! username is actaully inserted into your users-table. somehow this seems like a bug

homework for me:
add a class to the fetch.

Payaya wrote:

Sooo Q! me up! can't run on Windows Vista ..? :(
it should be, vista has .net framework 4.0 so it shouldnt be a problem.


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)
updates are coming soon :3
HipzER
seems promising
Sniigel
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...
Kiciuk

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)
updates are coming soon :3
Forum isn't down. The problem is in subdomain.
check:
http://qmeup.de/forum/viewtopic.php?f=1 ... 08495c4c3b
for me works
Home page doesn't work because author made some redirect in index.php or changed something in this file
Diony
What happened to this? I like the idea.
Howl

Dionysaw wrote:

What happened to this? I like the idea.
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.
hyouri
R.I.P MM DREAM
Please sign in to reply.

New reply