Raised This Month: $51 Target: $400
 12% 

[DoDS] Realism Mod - v1.0.202 Updated July 2010


Post New Thread Reply   
 
Thread Tools Display Modes
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 08-04-2008 , 21:37   Re: [DoDS] Realism Mod - UPDATED August 1, 2008
Reply With Quote #111

I see the update.

You missed a ")" in this function that makes it fail to compile, so i put it in there for you:

PHP Code:
public Action:Release(Handle:timerany:client)
{
    if (
client)
    {
        if (
IsClientInGame(client))
        {
            if (
IsPlayerAlive(client))
            {
                
SetEntityMoveType(clientMOVETYPE_WALK)
            }
        }
    }

Thanks for fixing the problems =)
Lebson506th is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 08-04-2008 , 22:11   Re: [DoDS] Realism Mod - UPDATED August 1, 2008
Reply With Quote #112

Embarrassing. That will teach me to code, upload and run!
Thanks Lebson!
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 08-05-2008 , 08:09   Re: [DoDS] Realism Mod - UPDATED August 1, 2008
Reply With Quote #113

No problem.

As for the flashlight thing i mentioned in the post before my last, i was thinking something along the lines of disabling it.

Register the console command for flashlight and directing it to your "Do Nothing" function and then unregistering it after the fade releases.

Plausible?
Lebson506th is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 08-14-2008 , 11:38   Re: [DoDS] Realism Mod - UPDATED August 1, 2008
Reply With Quote #114

You would have to write a separate plugin for this.
The command to use a flashlight is "impulse 100", but cannot be hooked with RegConsoleCmd.

You would need to write a plugin that used Knagg0's Hacks extension, http://forums.alliedmods.net/showthread.php?t=56323
http://forums.alliedmods.net/showthread.php?t=66539

Or check out Berni's script that uses playerhooks and see if you can make a script that blocks impulse 100 on death....
http://forums.alliedmods.net/showthread.php?t=68805
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 08-14-2008 , 12:05   Re: [DoDS] Realism Mod - UPDATED August 14, 2008
Reply With Quote #115

Updated.
As per a request by Dixon, I added a cvar to reduce players' health to 80hp at spawn.
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 08-14-2008 , 20:03   Re: [DoDS] Realism Mod - UPDATED August 14, 2008
Reply With Quote #116

PHP Code:
L 08/13/2008 18:08:51: [SMNative "IsPlayerAlive" reportedClient 4 is not in game
L 08
/13/2008 18:08:51: [SMDebug mode is not enabled for "sm_dod_realism.smx" 
I'll get debug if you need it.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
Dixon
New Member
Join Date: Aug 2008
Old 08-15-2008 , 03:06   Re: [DoDS] Realism Mod - UPDATED August 14, 2008
Reply With Quote #117

Thanks alot dog.
Dixon is offline
Fairborn
Junior Member
Join Date: Aug 2008
Old 08-15-2008 , 16:50   Re: [DoDS] Realism Mod - UPDATED August 14, 2008
Reply With Quote #118

Hey, loved your mods in the past! I have just started another DoD:S server, and I would love to put your mod on my clan's server. However, whenever ANY of us try to load in, we receive the following error whenever we connect.

Day of Defeat: Source
Map: dod_anzio
Players: 1 / 10
Build: 3551
Server Number: 1

Attemped to precache unknown particle system "blood_impact_red_01"!
Attemped to precache unknown particle system "blood_impact_green_01"!
Attemped to precache unknown particle system "blood_impact_yellow_01"!
Attemped to precache unknown particle system "slime_splash_01"!
Attemped to precache unknown particle system "slime_splash_02"!
Attemped to precache unknown particle system "slime_splash_03"!
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file materials/models/player/american/american_gear.vmt
VertexLitGeneric,
No pure server whitelist. sv_pure = 0
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file materials/models/player/american/american_gear.vmt
VertexLitGeneric,


We followed the installation steps ( ) and still have this error. I'm sure its a simple fix on our end, but could someone help us with this? Thanks!
Fairborn is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 08-15-2008 , 17:10   Re: [DoDS] Realism Mod - UPDATED August 14, 2008
Reply With Quote #119

I have received those errors in DoDS since the beta!
Those are particles that are missing, but since this plugin doesn't use any particles (yet - I may add some in), it isn't this plugin causing it.

The models are VALVe models, not supplied by this plugin, either.

It is nothing to worry about. We don't have any mods on our server (apart from sm_dod_pistols) and we still get those errors!

__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
Fairborn
Junior Member
Join Date: Aug 2008
Old 08-15-2008 , 17:18   Re: [DoDS] Realism Mod - UPDATED August 14, 2008
Reply With Quote #120

Hm, thats weird. I thought this error was the reason we all freeze on "Sending Client Info."


I have SourceMod, Meta, the pistols mod and the realism mod, and I still get frozen.

Is there another reason?

EDIT: It also says my server has sv_pure 0.
Being a total n00b at this kind of stuff, would that have anything to do with it?
Fairborn is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode