• Log in or sign up for an account here: https://www.sythe.org/login

C Runescape name checker

Kimiko

Newcomer
Joined
Nov 30, 2013
Sythe Gold
0
Messages
15
C Runescape name checker
Hey, I'm new to the forum. I've been programming in C on the Unix operating system for eight years. I recently started out on Java, and venturing out onto runescape forums. I'm going to try to make this section a bit more active than it is, and if anyone wants to help and offer ideas, by all means toss them in.

I saw a source code a for a runescape name checker that was done in Java. I thought it would be neat to make my own version in C. All though this makes a GET request to a php file on my server, you can make a POST request to runescape directly; however, you'd need the openssl library for that, which I won't get into today.
This source can only be compiled on Windows since it uses the WinInet API.

Code:
Post any comments, questions, concerns about the code.
If you need help compiling, you can post your issues.
 
C Runescape name checker
Love your thought to make action more active, I'm with you on that one :D

Why C? Would it not be slower then many other languages, though?
 
Member of the Month Winner
Sythe's 10th Anniversary
C Runescape name checker
Love your thought to make action more active, I'm with you on that one :D

Why C? Would it not be slower then many other languages, though?

C is actually a lot faster in terms of processing speed. As far as internet capability goes however, it'd be about the same as it chiefly relies on your connection; HTTP requests by and large are all handled the same way.
 
C Runescape name checker
C is actually a lot faster in terms of processing speed. As far as internet capability goes however, it'd be about the same as it chiefly relies on your connection; HTTP requests by and large are all handled the same way.

Should you use it over Java? (Sorry, didn't read that he made it for fun)
 
Member of the Month Winner
Sythe's 10th Anniversary
C Runescape name checker
Should you use it over Java? (Sorry, didn't read that he made it for fun)

Depends on what you eventually want to do. Every programming language has its pros and cons (except for Visual Basic, which mostly just has cons) so it comes down eventually to the end application.

For example, if you wanted to code a RuneScape bot that injects in to the game client itself, you would use Java because RuneScape itself is written in Java so you can do a bit of hackery bullshit done and you're all dandy (makes it sound easier than it is) whereas if you wanted programs with processing speed then I'd go with C, C++ etc. for sure.

It also comes down to what you're comfortable using. Unless you're like me and have a shitload of time on your hands due to lack of any social life, it can be hard to learn to use other languages properly on a whim, so people just tend to stick to what they know best.
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
C Runescape name checker
Depends on what you eventually want to do. Every programming language has its pros and cons (except for Visual Basic, which mostly just has cons) so it comes down eventually to the end application.

For example, if you wanted to code a RuneScape bot that injects in to the game client itself, you would use Java because RuneScape itself is written in Java so you can do a bit of hackery bullshit done and you're all dandy (makes it sound easier than it is) whereas if you wanted programs with processing speed then I'd go with C, C++ etc. for sure.

It also comes down to what you're comfortable using. Unless you're like me and have a shitload of time on your hands due to lack of any social life, it can be hard to learn to use other languages properly on a whim, so people just tend to stick to what they know best.

I hope you're referring to VB6 and not VB.NET.
 
C Runescape name checker
Love your thought to make action more active, I'm with you on that one :D

Why C? Would it not be slower then many other languages, though?

C would probably be your fastest option, unless you're doing assembly which isn't really necessary unless you're coding a boot loader.

C is a machine level language, there is no run time interpretation happening. It assembles when it compiles.
 
C Runescape name checker
Should you use it over Java? (Sorry, didn't read that he made it for fun)

I chose C because I worked a lot with hardware, kernel and embedded devices. I needed direct access to the machine without the high level of abstraction, and the virtual machine that Java is bound to.

C is a great language if you want direct access to the memory, or the hardware. As for Runescape, since the game is written in Java, and you can run the game jar from memory, then you'd build your jar loader in java. It's similar to Run Portable Executable with a .exe file. Running a bin from memory, then using dynamic function calling to call the methods. This requires a bit of reverse engineering, both in bytecode and the assembly level.
 
Runescape Gamblingrunescape gambling
Back
Top