Register forum user name Search FAQ

Gammon Forum

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 ➜ Dawn of Time ➜ Installing/compiling the server ➜ Compiling DoT

Compiling DoT

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Kos   (24 posts)  Bio
Date Thu 17 Jan 2002 08:15 PM (UTC)
Message
I am having problems running this on micosoft 6.0 C++. I get the folloing message:

:: Reading in game settings from gameset.txt...
:: gio_generic_loadlist() reading in from gameset.txt...
:: Finished gio_generic_loadlist [1].
:: Game settings for The Dawn of Time 1.69 successfully loaded.
:: Allocated 3670016 bytes for string storage. (MAX_STRING setting)
Jan 17 14:12:10:: Starting hostname/ident resolver process...

assertion failed: r!=0, file c:\dot\dawnsrc1.69o\resolve.cpp,line 215

And it does not go on. Do you know what might cause this.

Thanks
Top

Posted by Kalahn   United Kingdom  (138 posts)  Bio
Date Reply #1 on Thu 17 Jan 2002 08:28 PM (UTC)

Amended on Thu 17 Jan 2002 08:32 PM (UTC) by Kalahn

Message
You need to compile the win32 dns resolver. The source code for it is in src/extras/resolver.cpp (assuming your source was uncompressed into src)

To manually compile this, make an empty win32 console application in visual studio, add the resolver.cpp file and compile.

You can get a precompiled binary from http://www.dawnoftime.org/download/win32/resolver.exe

Put the binary in the working directory, (the directory the areas, help and system directories are stored in)

Note: The resolver system doesn't work with win9x, win me. But does work with WinNt, Win2k, WinXP. This is due to design flaws in the Win9x Operating Systems. If you want DNS resolution for a mud running on those platforms, enable the WIN32_perform_local_dns_lookups gamesetting option.

If the option isn't on, it can be enabled by typing:


gameedit confirm
flag WIN32_perform_local_dns_lookups


- Kalahn
Implementor of the Dawn of Time Codebase
http://www.dawnoftime.org/

p.s. if you still have the problem, put details about your OS version and I will release a fix.


Kalahn
Developer of the Dawn of Time codebase
http://www.dawnoftime.org/
Top

Posted by Kos   (24 posts)  Bio
Date Reply #2 on Thu 17 Jan 2002 09:37 PM (UTC)
Message
I should of told you that first (what OS I am using)

I am using win 98. but I will be using WINNT 4.0 sp5

Where do I type this gameedit?

Thanks
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #3 on Fri 18 Jan 2002 02:46 AM (UTC)
Message
"gameedit" is an admin command, typed in when you are logged into the DoT MUD.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Kos   (24 posts)  Bio
Date Reply #4 on Fri 18 Jan 2002 02:08 PM (UTC)
Message
I can not get into the game. When I try to run DoT I got the error message above. I am trying to compile this under windows 98 mirosoft C++ 6.0. Can you help me on this one. Once it is done I can send it to you for distribution.

Thanks Kos
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #5 on Fri 18 Jan 2002 07:58 PM (UTC)
Message
Did you do what Kalahn suggested above? That should fix it.

You can get a working executable from his download page, it is zipped up as:


dawn1.69o_win32bin.zip


It is the previous version, but should get you working. However if you download the resolver.exe file from his site, and put it in the correct directory, all should be well.

You may need to manually copy the dawn.exe file from where Microsoft Visual C++ puts it (ie. into a Release or Debug directory) into the directory where it should be. That is the same directory that has the resolver.exe file, and the area, system, player etc. directories.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Kos   (24 posts)  Bio
Date Reply #6 on Fri 18 Jan 2002 09:47 PM (UTC)
Message
I put the resolve.exe with my compilied.exe to start the mud. I still get the following error.

:: Reading in game settings from gameset.txt...
:: File 'gameset.txt' not found, cancelled gio list loading.
:: [*****] BUG: Gamesettings file 'gameset.txt' was not found - creating one using defaults for The Dawn of Time 1.69, then reloading it.
:: Allocated 3670016 bytes for string storage. (MAX_STRING setting)
:: Starting gio_generic_savelist to gameset.txt.write.
:: GIOBACKUP: Renaming old gameset.txt to gameset.txt.giobak
:: Renaming new gameset.txt.write to gameset.txt
:: Finished gio_generic_savelist [1].
:: Reading in game settings from gameset.txt...
:: gio_generic_loadlist() reading in from gameset.txt...
:: Finished gio_generic_loadlist [1].
:: Game settings for The Dawn of Time 1.69 successfully loaded.
:: Starting gio_generic_savelist to gameset.txt.write.
:: GIOBACKUP: Renaming old gameset.txt to gameset.txt.giobak
:: Renaming new gameset.txt.write to gameset.txt
:: Finished gio_generic_savelist [1].
Jan 18 15:45:49:: Starting hostname/ident resolver process...
assertion failed: r!=0, file c:\dot\dawnsrc1.69o\resolve.cpp,line 215

HELP
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #7 on Fri 18 Jan 2002 10:16 PM (UTC)

Amended on Fri 18 Jan 2002 10:17 PM (UTC) by Nick Gammon

Message
I don't understand why it is crashing at this point, but you can probably do without the resolver. Try editing resolve.cpp (around line 240), and make it boot without it, like this:


void init_resolver( char *mainpath )
{
        return;  // add this line
        logf("Starting hostname/ident resolver process...");
#ifdef unix
        init_resolver_unix(mainpath);
#endif
#ifdef WIN32
        init_resolver_WIN32(mainpath);
#endif
        resolver_version=0;

        resolver_send_data("version");
}

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Balo   (8 posts)  Bio
Date Reply #8 on Thu 24 Jan 2002 07:46 AM (UTC)
Message
Another thing you might try assuming you have the
resolver.exe in your dawn directory is editing the
gameset.txt (which was created automaticaly by the looks of things when you ran previously judging by your last post)

just add the line

WIN32_perform_local_dns_lookups

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.


29,008 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.