Jump to content

Working with Linux


Deptore

Recommended Posts

So on my free time I thought I might try playing with my own mud, just something to do while I train instead of playing the arcade mostly and maybe learn more than I currently know. My problem is this, I for some reason am having trouble with a source code, I've already extracted it, my problem is getting to the startup file and setting a port, when I go to area where I know it is I can't see startup at all. I tried chmod x startup which someone else told me to try and get this: Invalid mode string 'x'; was hoping someone here might be able to help.

Link to comment
Share on other sites

Ahh found another way to do it, I left the shell and just did it from the linux console. Compiled the code and now I'm trying to execute startup but with the same problem. Here's what it looks like:

[Renav@slayer area]$ ./startup &

[2] 14180

[1] Exit 127 ./startup

-bash ./startup No such file or directory

Problem is that's what the shell says, if I go to file configuration at the linux console I can see that the file is there.

Link to comment
Share on other sites

Firstly, if you want to do it the way you want to do it ...

chmod +x

Easier still...

chmod 755

Make sure you are in the proper directory when attempting this.... sounds like you just aren't in the right directory if you can't see the file. When you can see the file... (I am certain the file isn't there, since your bash is telling me it isn't.... ... hint hint... most muds have the startup in the area OR src directory.)

pico

that will edit the file. change the startup port that way.

./startup &

is the command you want to use. Don't forget the &.

If you need more help, I would love to. Just repost back here and ask for my aim for #.

There is nothing I support more than people beginning to play with c and mud code. Except for grannyman. He is lame.

Link to comment
Share on other sites

lol. Grannm4n made a football RPG game for his first year at Digipen. I was surprised to find out that he actually lived a few miles from my place a few years back before moving to another state entirely. He was a good guy, far from lame, but definitely an outspoken person at times.

Link to comment
Share on other sites

imagine a sleep as a windows crashscreen. It basically means the program isn't working, for one reason or another.... but is still memory resident. this is where things get dicey. Now you get to debug why. ;)

And granny and I have been friends since like 2002, I think. Good guy. Outspoken, and doesn't take crap. Which is why he is banned here 90% of the time... no matter what anyone says. Its odd, when you are outspoken or don't take crap.. your either get immed or banned.

Back to the program, you got it this far, deptore... but you've still got a long way to go. Look to the log files with pico. Look at the last one and check to see where it crashed.

Link to comment
Share on other sites

Well what I'm thinking of doing, I'll set up a poll and see what people think about it first since the mud is a community and I like to get an opinion. I used the FL base code since it's something I'm used to and well yeah I love the mud. I'm going to be building and thinking of things in the background but what I was thinking of setting up in the front was this:Fl PK training! I'm thinking of setting up eq rooms that will continuously respawn armor for each class, upon character creation you'll be thrown to lvl 50 and all skills put to 100%. I've already decided that NO QRACES OR CLASSES WILL BE GIVEN. My idea isn't to give out hidden info and I'd like to speak to the IMMs about this first before I even start. I'll set up a poll and you guys can give ideas or suggestions. I was just thinking for our new characters this might be a great way for them to try out different classes or for the older players to teach them lessons OOC. On the side though I'll be building my own stuff, anyone who'd like to just start building for fun nothing serious maybe just to try it out for the first time is welcome to come and learn. I can't say I'll be able to do much with the code since I'm just right now starting to teach myself but hey we all have to learn.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...