me and my sense of adventure
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
me and my sense of adventure
For kicks and gigles I decided to see if I can make a very basic command line UO client. Right now I'm just hard coding everything then I'll add more options later to enter username/password and pick/see chars and stuff.
Because sockets seem to be coded differently between windows and Linux, this will only run in Linux. Maybe later on I'll see if I can pin point the differences and add precompiler directives so it compiles in windows too. I've never use such directives before so should be fun.
But anyway, here's it in action so far.
http://www.uovalor.com/misc/uocli_dev.jpg
Once I make it attach to a character, I'll throw in zorak's packet into it and log in to demise and bank sit, just because I can. Send it client version 1.3.3.7 or something lol. Actually I've yet to run into the client version packet, that probably comes later.
I did not even add bad password handling yet. Probably crashes if you get password wrong. It's all hard coded lol.
To make this of good use, I could actually make it into a chat program, so you can chat with guildies without actually logging in with the full blown client. Good for at work and stuff.
Archived topic from AOV, old topic ID:843, old post ID:5449
Because sockets seem to be coded differently between windows and Linux, this will only run in Linux. Maybe later on I'll see if I can pin point the differences and add precompiler directives so it compiles in windows too. I've never use such directives before so should be fun.
But anyway, here's it in action so far.
http://www.uovalor.com/misc/uocli_dev.jpg
Once I make it attach to a character, I'll throw in zorak's packet into it and log in to demise and bank sit, just because I can. Send it client version 1.3.3.7 or something lol. Actually I've yet to run into the client version packet, that probably comes later.
I did not even add bad password handling yet. Probably crashes if you get password wrong. It's all hard coded lol.
To make this of good use, I could actually make it into a chat program, so you can chat with guildies without actually logging in with the full blown client. Good for at work and stuff.
Archived topic from AOV, old topic ID:843, old post ID:5449
Honk if you love Jesus, text if you want to meet Him!
me and my sense of adventure
lol nice. I'll check it out when you get a working model of it.Red Squirrel wrote:For kicks and gigles I decided to see if I can make a very basic command line UO client. Right now I'm just hard coding everything then I'll add more options later to enter username/password and pick/see chars and stuff.
Because sockets seem to be coded differently between windows and Linux, this will only run in Linux. Maybe later on I'll see if I can pin point the differences and add precompiler directives so it compiles in windows too. I've never use such directives before so should be fun.
But anyway, here's it in action so far.
http://www.uovalor.com/misc/uocli_dev.jpg
Once I make it attach to a character, I'll throw in zorak's packet into it and log in to demise and bank sit, just because I can. Send it client version 1.3.3.7 or something lol. Actually I've yet to run into the client version packet, that probably comes later.
I did not even add bad password handling yet. Probably crashes if you get password wrong. It's all hard coded lol.
To make this of good use, I could actually make it into a chat program, so you can chat with guildies without actually logging in with the full blown client. Good for at work and stuff.
Archived topic from AOV, old topic ID:843, old post ID:5450
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
me and my sense of adventure
Yeah this started as a "I wonder if I can pull this off" and "I feel like coding a tcp C++ app that runs on linux" but might turn into an actual useful program depending on how far I decide to go.
I got scared when I ran into encryption packets but RunUO seems to not care all that much about those, its more of an OSI thing.
I have a site that shows most UO packets, so that helps a lot too.
I should send the source code to easyuo once its done, maybe they can extend it to a command line version of easyuo. That would rock so much for bots and stuff.
Archived topic from AOV, old topic ID:843, old post ID:5452
I got scared when I ran into encryption packets but RunUO seems to not care all that much about those, its more of an OSI thing.
I have a site that shows most UO packets, so that helps a lot too.
I should send the source code to easyuo once its done, maybe they can extend it to a command line version of easyuo. That would rock so much for bots and stuff.
Archived topic from AOV, old topic ID:843, old post ID:5452
Honk if you love Jesus, text if you want to meet Him!
me and my sense of adventure
your system looks so much better than mine with its complex programs =[ *sigh*
Archived topic from AOV, old topic ID:843, old post ID:5456
Archived topic from AOV, old topic ID:843, old post ID:5456
What?
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
me and my sense of adventure
I got a char to log in through my app. This is so exciting, too bad I have to go to bed so freaken early. At this time for me, the day has only begun!
I have no clue how how to read the char list though, looks like they might of threw a few bit flags of some sort so everything got offsetted and is not readable by just doing a substring. I might just make it something like "enter char name:" and "enter slot number:"
Speaking of clients, I also downloaded KR, think it finished too. Another toy to play with during my limited time.
Archived topic from AOV, old topic ID:843, old post ID:5457
I have no clue how how to read the char list though, looks like they might of threw a few bit flags of some sort so everything got offsetted and is not readable by just doing a substring. I might just make it something like "enter char name:" and "enter slot number:"
Speaking of clients, I also downloaded KR, think it finished too. Another toy to play with during my limited time.
Archived topic from AOV, old topic ID:843, old post ID:5457
Honk if you love Jesus, text if you want to meet Him!
me and my sense of adventure
You know what would be fun? Converting the whole uo into retro ascii. You walk around as a happy face icon and battle T and B enemies and cut down trees that look like | marks. Imagine the lagless pvp you could have!
Archived topic from AOV, old topic ID:843, old post ID:5458
Archived topic from AOV, old topic ID:843, old post ID:5458
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
me and my sense of adventure
I was thinking that too. Would need to somehow read the client map files though, but for items it could read em off the server packets. Most packets could be discarded, only need itemid and maybe serial. Now that I got this basic interface going, the possibilities are endless.
I'm having too much fun but I soooo should go to bed. lol
Archived topic from AOV, old topic ID:843, old post ID:5459
I'm having too much fun but I soooo should go to bed. lol
Archived topic from AOV, old topic ID:843, old post ID:5459
Honk if you love Jesus, text if you want to meet Him!
me and my sense of adventure
Imagine the spell mantras being bigger than the characters.
Archived topic from AOV, old topic ID:843, old post ID:5468
Archived topic from AOV, old topic ID:843, old post ID:5468
If you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime.
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
me and my sense of adventure
I'd just send the cliloc IDs, let the users figure it out.
Archived topic from AOV, old topic ID:843, old post ID:5471
Archived topic from AOV, old topic ID:843, old post ID:5471
Honk if you love Jesus, text if you want to meet Him!
me and my sense of adventure
Cliloc 150772Red Squirrel wrote:I'd just send the cliloc IDs, let the users figure it out.
"WTF is that?" **Dies in a cloud of asterisks**
Archived topic from AOV, old topic ID:843, old post ID:5472
me and my sense of adventure
lol coder talk... newbs. sike lol
Archived topic from AOV, old topic ID:843, old post ID:5475
Archived topic from AOV, old topic ID:843, old post ID:5475
What?
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
me and my sense of adventure
Send players as serials too
0x40002BF3 is attacking you!
Archived topic from AOV, old topic ID:843, old post ID:5479
0x40002BF3 is attacking you!
Archived topic from AOV, old topic ID:843, old post ID:5479
Honk if you love Jesus, text if you want to meet Him!