Allegro.cc - Online Community

Allegro.cc Forums » The Depot » MUD Engine: v0.05 - Online!

This thread is locked; no one can reply to it. rss feed Print
 1   2   3   4 
MUD Engine: v0.05 - Online!
Derezo
Member #1,666
April 2001
avatar

No, probably wouldn't have had the problems if I checked out the spec.. It was my first networking app though, so I wasn't sure how I should go about it. So I just did whatever. :P

In due time I'll go and take a look at it, and fix my code.. Until then, I'll worry about the other stuff.

"He who controls the stuffing controls the Universe"

Thomas Fjellstrom
Member #476
June 2000
avatar

Ok. ;) See you soon :P no doubt it'll be about a bug related to the input. :D

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Peter Hull
Member #1,136
March 2001

Hey, have you had 23y3 on there yet?

Derezo
Member #1,666
April 2001
avatar

Yeah.
"ChrisBarry" and "MatthewLeverton" came on when I was out doing stuff.
Neither of them said anything! >:(
Can you believe that!?!? The nerve, I tell you!

There's been a lot of people on. 1/2 of them haven't posted in this thread. Several of them I could have swore never posted in their lives. ;)

I'd dig through the users, but they're in their own letter-assigned directories.. so.... if you want to, you can check them out here:
http://24.141.201.66/mud/players

Just did some more updates.
Here's a list.

1- Say alias changed from - to ' (Thanks to Ashley [Angela] for making it a priority ;)
2 Because of this change, you can no longer use single quotes to represent one argument.
3 learn 'fire ball' must now be learn "fire ball". No big change.
4- 'Player has entered the game' message added.
5- 'Player has left the game' message added. Double-kill bug found and removed in the process.
6- TO_CH, TO_ROOM, TO_PLAYERS, TO_NOTCH, TO_NOTTGT changed to flags (DoAction types).
7- Attribute dependant point for skills added.
8- Defense attribute for skill defender's changed to reflect dependant point.
9- Server-side change to logs. Now outputs ALL logs to the console, as well
10 as the log file.
11- Coin taking combined to one line rather than one for each coin type.
12 Also outputs the message to all players in the room.
13- Backspace problem fixed. Should work now. (Thanks to CGames for pointing that out)
14- New lines should all be properly formated as \r\n. Post a small quote of where it screws up if
15 you happen to find a spot (I can't tell from within my client).
16- Go command added, by popular demand. Works the same as n/s/e/w/u/d, but you need to put go before it.
17- Take, Drop and Give now display properly.
18- Buffer limitations added to server code. (Thanks to LSD for pointing that issue out)

"He who controls the stuffing controls the Universe"

Breakman79
Member #1,236
April 2001
avatar

Looking good. I've never played a MUD before but kind of reminds me of the old BBS game, Legend of the Red Dragon. I need to find something better than telnet - ack!

_________________
アヤカのとつげき英会話!

23yrold3yrold
Member #1,134
March 2001
avatar

Quote:

"ChrisBarry" ... came on when I was out doing stuff.

Like caek I did. I was thinking of trying it, but I've never used a MUD before so I'd probably be lost :P.

--
Software Development == Church Development
Step 1. Build it.
Step 2. Pray.

Derezo
Member #1,666
April 2001
avatar

Well.. then.. who the fark made ChrisBarry? :P

I must say I found it rather odd. I came on and it said something like:

ChrisBarry has left to the North.
MatthewLeverton has left to the North.

(I was in the room where characters are created in)
..so both players were created around the same time :P

"He who controls the stuffing controls the Universe"

23yrold3yrold
Member #1,134
March 2001
avatar

Quote:

..so both players were created around the same time

I would assume so, since I'm guessing the ML is a fake too (shouldn't he go by konforce?) ...

--
Software Development == Church Development
Step 1. Build it.
Step 2. Pray.

Patrick Barry
Member #3,618
June 2003
avatar

Hey 23! Using a MUD is easy. Just log on and type 'show commands' when you get the '>' prompt. You should have no trouble trying the game out.

When I first started using MUDs I thought they were really complex to use, but after trying one out for an hour I found that they were really easy, and fun to use.

Derezo
Member #1,666
April 2001
avatar

Yeah. It's always confusing for first-timer's. You get use to it though.

Mainly because there's so much text coming at you, and n00bs don't know what to look for in it. ;)

Battles, for example, are very fast paced.. they look like:
Flames leap from your hands and scorch A Crazy Monster!
Your spell deals 9856 damage to A Crazy Monster!
Derezo slashes A Crazy Monster and deals 321 damage!
A Crazy Monster bites Derezo and deals 2 damage!
Derezo slashes A Crazy Monster and deals 327 damage!
A Crazy Monster bites Derezo and deals 4 damage!
Derezo slashes A Crazy Monster and deals 309 damage!
A Crazy Monster bites Derezo and deals 3 damage!

Really all you want to look at is the numbers and the names, and skip everything inbetween. ;)
It's just there so it makes sense. If all it said was "Derezo 321 Monster".. it just doesn't look very elegant. :P
It's all color coded too.. so it's easy to spot what you need to know.

As for the commands, it's like using a DOS-Based chat room. :P
As patrick says, 'show commands' gives you all the commands. Typing them in will usually give you a helpful syntax message.. but sometimes not right now. In a complete mud, there's also a help system which you can use to find help on commands/spells/classes/whatever. :)

[edit]
More updates.
Should be more responsive now. Output is now handled on a seperate thread for each client, which was causing slowdowns before. (Had to send all the data to another client in order to keep the game logic going)

Added a little piece of code which patrick gave me which tells the client to hide the local echo. Added it for when you enter your password at login (wont show it when you type it).

Bunch of other minor things. Added some flags and stuff... nothing else of interest. :P

[edit]
Even more updates.
Now it should be safe with ANY client if it follows the telnet spec. It even sends some proper telnet commands now, but for the most part just ignores telnet commands... cuz most of them are pretty lame. ("Do this.","Ok, are you sure?","Yeah. Do it.","Well, I can't. Sorry.". ::))

"He who controls the stuffing controls the Universe"

Peter Hull
Member #1,136
March 2001

8-)

spellcaster
Member #1,493
September 2001
avatar

It doesn't seem to work with windows XP's telnet.
I connect, get your colorful login (which looks pretty bad since I normally use a blue BG... and if I change to a black BG the red "name" string is almost un-readable).
Anyway... I don't get an echo for anything I type.
Even if I just type blindly, nothing happens...

--
There are no stupid questions, but there are a lot of inquisitive idiots.

gnolam
Member #2,030
March 2002
avatar

Breakman79: Legend Of The Red Dragon you say? Ahh, the wonders of telnet :)
(direct telnet link for the lazy)

Derezo: I get "Connection refused" when I try to connect :P
And damn! These MUD threads have made me start to feel MUD withdrawal symptoms now - must... resist... the urge to... start mudding again...

--
Move to the Democratic People's Republic of Vivendi Universal (formerly known as Sweden) - officially democracy- and privacy-free since 2008-06-18!

Radagar
Member #2,768
September 2002
avatar

spellcaster, you have to turn on Local Echo with WinXP Telnet or you won't see a thing you type.

type "Set LOCAL_ECHO" before you connect.

Good luck!

------------
Radagar - So your vote is for A.D.H.D.?
Chris Katko - Well, that was uninten--ooh kitty!

AikonIV
Member #3,872
September 2003

I'm really looking forward to try this thing out! Unfortunately it appears to be down at the moment...

I'll try it again later and see if I can get anywhere.

Derezo
Member #1,666
April 2001
avatar

Quote:

which looks pretty bad since I normally use a blue BG... and if I change to a black BG the red "name" string is almost un-readable

I can't really control the brightness of colors. I only have Bold and Regular weight adjustments. Most clients also change the brightness for these.

You'll need to adjust the standard colors from your client (Most use the standard 16 color pallete like MS Paint has).

I'll have an option to remove ANSI Color in the not to distant future (already have a function to stip it, just haven't made an option yet).

Quote:

I don't get an echo for anything I type.

Also a client setting. However, my server tries to disable the echo, but just for the password. It enables it after you enter a password.
[edit: Actually, you're right. Windows telnet is borked now. I'll fix that... looks like it wants a confirmation when I request to change the client-side local echo setting.. I'll just comment it out for now until I finish integrating the telnet spec :P]

Quote:

"Connection refused"

Yeah. It crashed last night..
There's a bug in the login that I never noticed until last night before I went to sleep. If you connect, and disconnect before logging in, it crashes.. ::)
I really need more error checking. Workin' on it. :P

"He who controls the stuffing controls the Universe"

spellcaster
Member #1,493
September 2001
avatar

Hm...
seems like there's a "spellcaster" already :(

--
There are no stupid questions, but there are a lot of inquisitive idiots.

Derezo
Member #1,666
April 2001
avatar

and it's not u? :P
Someone's makin a bunch of fake accounts........

BALETED!

Bug Fix:
Fixed the bug where it would crash when players connected and disconnected without logging in. (Bug in kill client didn't properly remove players from the online players list. Sometimes crashed when players didn't use the quit command too :P).

I'll be uploading a new package with the source/etc later today if anyone's interested.

"He who controls the stuffing controls the Universe"

Oscar Giner
Member #2,207
April 2002
avatar

heh, I also was cloned.

So yesterday you weren't the real spellcaster? There was also a ML...

Derezo
Member #1,666
April 2001
avatar

hey yeah.. there's also an OscarGiner.. ::)
Why I oughtta...

Holy, you must have a lot in your inventory.. or a bunch of skills that aren't in the game! ;)

logs said:

09.26.2003 16:47:10:0609 >> $$$ Loading Player players\G\Gin
09.26.2003 16:47:10:0609 >> ### ALLOCATED BLOCK @ 009E3270!
09.26.2003 16:47:10:0609 >> ### ALLOCATED BLOCK @ 009E30D0!
09.26.2003 16:47:10:0609 >> ### ALLOCATED BLOCK @ 009E30B0!
09.26.2003 16:47:10:0609 >> ### ALLOCATED BLOCK @ 009E3090!
09.26.2003 16:47:10:0609 >> ### ALLOCATED BLOCK @ 009E3070!
09.26.2003 16:47:10:0609 >> ### ALLOCATED BLOCK @ 009E3050!
09.26.2003 16:47:10:0609 >> ### ALLOCATED BLOCK @ 009E3030!
09.26.2003 16:47:10:0609 >> ### ALLOCATED BLOCK @ 009E3010!
09.26.2003 16:47:10:0781 >> ### ALLOCATED BLOCK @ 009E4560!
09.26.2003 16:47:10:0781 >> ### ALLOCATED BLOCK @ 009E43C0!
09.26.2003 16:47:10:0781 >> ### ALLOCATED BLOCK @ 009E4220!
09.26.2003 16:47:10:0781 >> ### ALLOCATED BLOCK @ 009E4080!
09.26.2003 16:47:10:0781 >> ### ALLOCATED BLOCK @ 009E4060!
09.26.2003 16:47:10:0781 >> ### ALLOCATED BLOCK @ 009E4040!
09.26.2003 16:47:10:0781 >> ### ALLOCATED BLOCK @ 009E4020!
09.26.2003 16:47:10:0781 >> ### ALLOCATED BLOCK @ 009E59E0!
09.26.2003 16:47:10:0781 >> ### ALLOCATED BLOCK @ 009E5840!
09.26.2003 16:47:10:0781 >> ### ALLOCATED BLOCK @ 009E56A0!
09.26.2003 16:47:10:0781 >> ### ALLOCATED BLOCK @ 009E5500!
09.26.2003 16:47:10:0781 >> ### FREEING BLOCK @ 009E3270
09.26.2003 16:47:10:0781 >> ### ALLOCATED BLOCK @ 009E3270!
09.26.2003 16:47:10:0781 >> ### ALLOCATED BLOCK @ 009E54B0!
09.26.2003 16:47:10:0781 >> Loaded Character 'Gin' Successfully

:o

BTW. Taking logs offline in a second.. since they're accessible (not that I think anyone knew that). It logs all commands recieved from the server, including passwords.. so.... Yoink!

[edit]
I'm going away for the weekend, so when the MUD crashes when I'm gone, it's out until Sunday. I'll try to resolve the disconnecting crashes before I leave, but no promises :P

"He who controls the stuffing controls the Universe"

Radagar
Member #2,768
September 2002
avatar

Hey Derezo, just wanted to let you know, my HP is bugged too. Here is what I'm at...

1Stats:
2VNUM: 0
3NAME: Radagar
4HP: 15427 / 00
5MN: 0000 / 000
6STR: 10
7AGI: 0
8INT: 0
9LCK: 0
10VIT: 0
11ATT PTS: 0
12Level Information:
13LEVEL: 1
14EXP: 1250
15AP: 0
16Class Information:
17CLASS: Squire
18Coins on hand:
19Copper: 0
20Silver: 0
21Gold: 0
22Platinum: 0
23Modifiers:
24 1 - 4 - 10

------------
Radagar - So your vote is for A.D.H.D.?
Chris Katko - Well, that was uninten--ooh kitty!

Derezo
Member #1,666
April 2001
avatar

Yeah. I gotta look into that... (first I gotta find an easy way to reproduce the problem :()

It was up ALL WEEKEND!
Can you believe it? :P
It didn't crash -- not once!

Thanks all for testing this and helping me out with the problems :)

"He who controls the stuffing controls the Universe"

Oscar Giner
Member #2,207
April 2002
avatar

Quote:

Holy, you must have a lot in your inventory.. or a bunch of skills that aren't in the game!

I collect frogs :)

Peter Hull
Member #1,136
March 2001

Everything's gone! The game is still running, but there's nothing there...

Peter

AikonIV
Member #3,872
September 2003

Actually, I'm not so sure everything's really gone, I just think that it doesn't start you in a room with any exits. If you use the goto command to go to room 101 (gotta love being able to cheat, heh), you end up at the entrance to the Forgotten Castle, which I'm guessing is a new area that Derezo is working on creating.

EDIT: I think I just crashed it (blushes). I was experimenting with the redit command, I think the last thing I did was 'redit 200', a second later I got a Connection Lost, and can't reconnect. Couldn't ping it either.

 1   2   3   4 


Go to: