Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ ROM
➜ Compiling the server
➜ Configuring Rom2.4 Makefile to Compile on Linux[Debian]
Configuring Rom2.4 Makefile to Compile on Linux[Debian]
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1
2 3
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #15 on Sat 27 Jan 2007 01:27 AM (UTC) |
Message
| OK. Move the structure definitions to above the externs. (I have no idea why they're declaring externs before even having the structure around...)
Even if this doesn't fix your problem, it's much better to have it that way. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Samson
USA (683 posts) Bio
|
Date
| Reply #16 on Sat 27 Jan 2007 01:57 AM (UTC) |
Message
| This looks an awful lot like: http://forums.mudplanet.net/index.php?a=topic&t=991
The explanation has already been done to death, but the link should be all the solution you need. | Top |
|
Posted by
| Erythnul
(22 posts) Bio
|
Date
| Reply #17 on Sat 27 Jan 2007 02:31 AM (UTC) |
Message
| That's all I needed! Compiled perfectly. Thank you all for the help. I'll definitely use this forum for future needs.
Erythnul | Top |
|
Posted by
| Erythnul
(22 posts) Bio
|
Date
| Reply #18 on Sat 27 Jan 2007 03:09 AM (UTC) |
Message
| Wait ...One last quick question/problem. Looks like it's masking the pfile's passwords now. So as I compiled the mud, and booted her up. The original pfiles passwords don't work now. So I created a new character with the password 12345. Saved it and logged off, looked at the pfile and it masked the pword Ksfdh.Jry. How do I fix this so all my original pfiles passwords work correctly?
Ery | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #19 on Sat 27 Jan 2007 03:10 AM (UTC) |
Message
| That shouldn't be masking, it's encrypting. Does the password not work after you create a new char, and relog? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Erythnul
(22 posts) Bio
|
Date
| Reply #20 on Sat 27 Jan 2007 03:19 AM (UTC) |
Message
| The 12345 password works just fine... but my character nor anyone' elses existing pfile characters work. It asks for our password, and I put it in, and it states "wrong password" even though we know its the right one. I imagine it has something to do with the new compile?? | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #21 on Sat 27 Jan 2007 03:26 AM (UTC) Amended on Sat 27 Jan 2007 03:43 AM (UTC) by Zeno
|
Message
| So existing characters don't work, but new characters do?
How was this MUD transferred? From one server to another? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #22 on Sat 27 Jan 2007 03:37 AM (UTC) |
Message
| What's probably happening is that it reads in old characters as having encrypted passwords, and then writes them back out with encryption, which is why they get messed up. Depending on how many pfiles you have, you could manually set the passwords to the correct encrypted versions; I think you can get the encrypted version of a password with a built-in game command, but that might be SMAUG-only. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Erythnul
(22 posts) Bio
|
Date
| Reply #23 on Sat 27 Jan 2007 03:56 AM (UTC) |
Message
| Old characters dont work, new characters I make do. The old characters passwords show up normal in the pfiles themselves but when I make a new character it encrypts the passwords. Sooooo it looks like its using the original passwords to the old characters as encryptions so the pwords are ALL different to 100+ pfiles. | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #24 on Sat 27 Jan 2007 03:58 AM (UTC) |
Message
| Sounds like passwords weren't encrypted before this. The fix you made so it would compile shouldn't have changed it to encrypt passwords. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Erythnul
(22 posts) Bio
|
Date
| Reply #25 on Sat 27 Jan 2007 03:58 AM (UTC) |
Message
| Oh and yes it was transfered from one server to another. Sorry about that, just noticed the second question. | Top |
|
Posted by
| Erythnul
(22 posts) Bio
|
Date
| Reply #26 on Sat 27 Jan 2007 04:00 AM (UTC) |
Message
| In the original makefile before I added -lcrypt it had this:
.c.o: merc.h
$(CC) -c $(C_FLAGS) -Dunix -DNOCRYPT $<
And I removed -Dunix -DNOCRYPT to make it look like this:
.c.o: merc.h
$(CC) -c $(C_FLAGS) $<
Is that what happened? | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #27 on Sat 27 Jan 2007 04:01 AM (UTC) |
Message
| Yes, crypt is to encrypt passwords. Did you add that because it wasn't compiling? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Erythnul
(22 posts) Bio
|
Date
| Reply #28 on Sat 27 Jan 2007 04:04 AM (UTC) |
Message
| Ohhh no... earlier today before I found this forum I was reading old forums with similar questions and it told me I needed to add -lcrypt to my linker line in order for the makefile to compile under linux. So it should work without the -lcrypt? | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #29 on Sat 27 Jan 2007 04:05 AM (UTC) |
Message
| Yes, it should work without the crypt library. I'm a little surprised that not having crypt would break something. Well, in any case, it's generally better to have the passwords crypted; see my previous post for a quick discussion how. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
95,251 views.
This is page 2, subject is 3 pages long:
1
2 3
It is now over 60 days since the last post. This thread is closed.
Refresh page
top