forum

[WiP] Osu!Desktop Tools

posted
Total Posts
5
Topic Starter
Wuxo
I started to woriking on a desktop application.
For now, i finished singature creator, for style 1, other will come.

For Create singature look like this


More to come!
Topic Starter
Wuxo
Sad news, i decided i not have time for this project right now :(

Singature style1 is finished. i started Style 2 but stopped and delete code, because image code for 2nd style is cryped and do not contains username in code.
If some1 want to play, or finish my project, hare is source code:

Basicly, code is verry simple :P
Public Class frm_sig


Private Sub Style_1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'this simple line makes osu standard as default selection
ComboBox1.SelectedItem = "Osu!"
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If TextBox1.Text = "" Then
MessageBox.Show("Please enter your username!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
Else
'create singature
If ComboBox1.SelectedItem = "Osu!" Then
picshow.ImageLocation = "http://osusig.ppy.sh/image1.png?uid=" + TextBox1.Text + "&m=0"
ElseIf ComboBox1.SelectedItem = "Taiko" Then
picshow.ImageLocation = "http://osusig.ppy.sh/image1.png?uid=" + TextBox1.Text + "&m=1"
ElseIf ComboBox1.SelectedItem = "CTB" Then
picshow.ImageLocation = "http://osusig.ppy.sh/image1.png?uid=" + TextBox1.Text + "&m=2"
ElseIf ComboBox1.SelectedItem = "Osu!Mania" Then
picshow.ImageLocation = "http://osusig.ppy.sh/image1.png?uid=" + TextBox1.Text + "&m=3"
End If
End If
End Sub



Private Sub picshow_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles picshow.Click
If picshow.Image Is picshow.ErrorImage Then
MessageBox.Show("I can't copy image code! Image is still loading or is not generated", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
ElseIf picshow.Image Is picshow.InitialImage Then
MessageBox.Show("I can't copy image code! Image is still loading or is not generated", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
Else
Clipboard.Clear()
Clipboard.SetText("[img]" + picshow.ImageLocation.ToString + "[/img]")
MessageBox.Show("Singature forum code copied to clipord!", "Succes", MessageBoxButtons.OK, MessageBoxIcon.Information)

End If
End Sub

Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged

End Sub
End Class

Also hare is loading and error images
http://wuxo.biz/we2.png (Loading)
http://wuxo.biz/we.png (error)

I also started beatmap downloading tool (just started, only login done. This is simple code too, but not that simple as code for singatures)
This code will not transfer any passwords to my servers, to servers of other ppl (if someone contiune the dev) it send jour login data directly to peppy's servers. What it basicly doo is. when you fill the date in form, code will navigate to "osu.ppy.sh" in hidden webbrowser control. And then imitate your keyboard and type same data to site's textboxes.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
WebBrowser1.navigate ("https://osu.ppy.sh/forum/ucp.php?mode=login")
WebBrowser1.Document.GetElementById("username").SetAttribute("value", Txt_user.Text)
WebBrowser1.Document.GetElementById("password").SetAttribute("value", Txt_password.Text)
WebBrowser1.Document.GetElementById("login").InvokeMember("click")
If check_remember.checked = true then
WebBrowser1.Document.GetElementById("autologin").InvokeMember("click")
End If
End Sub

Please note, i didn't use any APIs i just analyze sites source code and look up for login form and form's texboxes.

I hope some1 will made something useful with this :)
ReesesPuffs
Bro you spelled signature wrong.
Doom-
[Your code like vb.net ... 0.0
(nowadays haven't people to use vb.net because just for beginner)]

Nice tool
Topic Starter
Wuxo
Yes it is Visual Basic, simple language, simple software :P
I want to develop this in Lazarus, and make it works for Windows, OSX and Ubuntu, but i'm still not that good with Pascal
Also, maybe I can develop signature creator in C++, but can't even start with beatmap downloader.

If anyone nowdays still know vb.net, then please contiune my project
Please sign in to reply.

New reply