Doom3world

The world is yours! Doom 3 - Quake 4 - ET:QW - Prey - Rage
It is currently Wed May 22, 2013 5:04 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Request - Server Side Mod
PostPosted: Sat Oct 16, 2004 11:09 pm 
Offline
picked up the chaingun

Joined: Sat Oct 16, 2004 6:06 am
Posts: 157
If anyone is comfortable with the SDK, a server side mod is desperately need to do the following for server-admins.

1. Ability to change weapon respawn times.
2. Ability to change power-up respawn times.
3. Ability to enable/disable weapons.
4. Ability to enable/disable power-ups.
5. Anti-Chat Spam (if possible).
6. Map Location Error Messaging.

Request #6 explained:

sv_map_error "You can get our maps at www-umk-inthegame.com"

So Bob joins server and can't connect because he doesn't have the right map. Instead of an obscure error, he gets the following message from sv_map_error:

You can get our maps at www-umk-inthegame.com

The way it is up to the server admin and the player to get the maps at the website stated.

Any takers on this much needed server side mod for all us server admins? You'd get get lots of friends and be popular.

Thank you very much. 8)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 11:17 pm 
Offline
is sad because his cool title went away
User avatar

Joined: Thu May 13, 2004 3:32 am
Posts: 706
Location: New Zealand
What error does it give if you don't have the required map?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 11:31 pm 
Offline
picked up the chaingun

Joined: Sat Oct 16, 2004 6:06 am
Posts: 157
Connnecting to the following server:

Kilnet Labs DM 64.85.33.12:27666

--------- Game Map Shutdown ----------
--------------------------------------
sending challenge to 64.85.33.12:27666
received challenge response 940808480 from 64.85.33.12:27666
sending connect to 64.85.33.12:27666 with challenge 0x38139920
Waiting for authorization

sending connect to 64.85.33.12:27666 with challenge 0x38139920
Can't connect to the pure server at 64.85.33.12:27666:
Missing 3 media pak files: 0xde3b80f5 0x691c161f 0xb0c64558

--------- Game Map Shutdown ----------
--------------------------------------
Wrote screenshots/shot00003.tga
Wrote screenshots/shot00004.tga
--------- Game Map Shutdown ----------
--------------------------------------
Shutting down sound hardware
idRenderSystem::Shutdown()
Shutting down OpenGL subsystem
...wglMakeCurrent( NULL, NULL ): success
...deleting GL context: success
...releasing DC: success
...destroying window
...resetting display
...shutting down QGL
...unloading OpenGL DLL
------------ Game Shutdown -----------
--------- Game Map Shutdown ----------
--------------------------------------
Shutdown event system
--------------------------------------

Screenshot:

http://www.umk-inthegame.com/pics/maperror.jpg

Can a server side mod like this be done? 8)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 17, 2004 12:18 am 
Offline
is sad because his cool title went away
User avatar

Joined: Thu May 13, 2004 3:32 am
Posts: 706
Location: New Zealand
Hmm, I wouldn't think it would be that difficult, but the two strings (06751:Missing media pak files, 06752:Can't connect to the pure server at) don't seem to be referenced in the code anywhere.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 17, 2004 1:30 am 
Offline
picked up the chaingun

Joined: Sat Oct 16, 2004 6:06 am
Posts: 157
Are 1 - 5 possible?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 17, 2004 1:41 am 
Offline
has joined the game

Joined: Tue Oct 12, 2004 11:06 am
Posts: 39
Location: Melbourne, Australia
I haven't examined the SDK much yet, but I'm guessing that 1, 2 and 5 should be very possible, but not simple. 3 and 4, I don't really know, you'd probably need to customize the maps as well.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 17, 2004 1:51 am 
Offline
picked up the chaingun

Joined: Sat Oct 16, 2004 6:06 am
Posts: 157
Even just 1 and 2 would be very helpful. 8)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 17, 2004 1:53 am 
Offline
has joined the game

Joined: Tue Oct 12, 2004 11:06 am
Posts: 39
Location: Melbourne, Australia
Well I'd help you out, but I'm already working on a mod thats consuming most of my time, sorry


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 17, 2004 5:34 am 
Offline
picked up a pistol

Joined: Sun Aug 08, 2004 6:09 pm
Posts: 52
In the english.lang file of the SDK is:
"#str_06751" "Missing %d media pak files: %s\n"
"#str_06752" "Can't connect to the pure server at %s:\n"

But, I can't find it in the code. There should be some code that says:

common->GetLanguageDict()->GetString( "#str_06750" )

that returns that string; but, I can't locate it anywhere. I even tried hex.

I'm afraid that the code which handles that error resides in "doom3.exe". I suppose the best fix for that in the interim would be to add some code to the idMultiplayerGame constructor that looks for the pak files and stops the client before trying to connect to a server. That...of course...depends on the class being instantiated before the server is started. But, I have a feeling that that class doesn't get initialized until after handshaking has been successful and doom3.exe is ready to add the client to the game.

I'll keep that in mind for sure. I ran several full servers for several months and can imagine how frustrating it is to have players visiting your server and having them kicked due to technical difficulties.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group