AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   dedicated server: models (https://forums.alliedmods.net/showthread.php?t=63743)

fadetodarknezz 11-28-2007 19:07

dedicated server: models
 
my server keeps crashing anytime u have a shield and another weapon out

usp glock smoke flash and grenade

it keeps saying models/models/grenade whatever..

i dont even see those files in my folders.. i deleted them all.. none are in my steam folders

----------------------------------------------------------------------------------------
another thing that happens (ENTMOD)
i think its the name thats to long addons/entmod/models/v_phaser.mdl
addons/entmod/models/p_phaser.mdl

when the name is to long it doesnt work.. and i cant seem to shorten the name because when i do.. it cant load the file because it cant find it..

[ --<-@ ] Black Rose 11-29-2007 02:31

Re: dedicated server: models
 
The name is not to long.
This shouldn't be in scripting help.
Screenshot the error and post it.

fadetodarknezz 11-29-2007 22:01

Re: dedicated server: models
 
this what happens with entmod.. im just guessing the name is to long or something

http://i194.photobucket.com/albums/z...untitled-1.jpg

this what happens with when i have a glock with shield
it only happens when a shield is out with another weapon.. otherwise it doesnt happen and i dont even see the model file in my models folder.. its pretty much disappeared but that still shows

http://i194.photobucket.com/albums/z...untitled-2.jpg

[ --<-@ ] Black Rose 11-30-2007 08:25

Re: dedicated server: models
 
You have a plugin wich changes the model but the model was never precached.

Do you know that you have any model changing plugin? If so, post it.
Otherwise post the output of "amxx plugins" or "amx_plugins"

Also if this is a custom model you're overriding the original file, meaning noone would see it.

fadetodarknezz 11-30-2007 17:37

Re: dedicated server: models
 
;GHW_Weapon_Replacement.amxx

M249-M4A1 11-30-2007 17:44

Re: dedicated server: models
 
1 Attachment(s)
Quote:

Originally Posted by fadetodarknezz (Post 558638)
;GHW_Weapon_Replacement.amxx

It looks like it's not running that, because it is commented. The v_shield_glock18.mdl file is default, and is in your counter-strike.gcf file.

You could try to make a plugin to precache it (like the one attached)

fadetodarknezz 11-30-2007 20:41

Re: dedicated server: models
 
yeah.. i turned that plugin off cuz it kept crashing but i didnt know what was wrong.. and that plugin that precached it.. waht does it do?


if its in my .gcf file.. how do i remove that?

M249-M4A1 12-01-2007 01:33

Re: dedicated server: models
 
You can't remove files from the .gcf. Even if you did, Steam would just fix the .gcf, because it match the current gcf size/version (or else people would cheat). The plugin just forces the server to precache it, and in theory, you should not get an "model not precached" error. You can look at the source itself. It's small and unharmful.

fadetodarknezz 12-01-2007 01:42

Re: dedicated server: models
 
so if i wanna precache anything else i put public plugin_precache() {
precache_model("models/shield/v_shield_glock18.mdl")
}
and i just change the name like.. v_shield_glock18.mdl to v_shield_usp.mdl?

M249-M4A1 12-01-2007 01:55

Re: dedicated server: models
 
Correct. That should precache the model, but I don't know if that can fix your problem (it should...). Post your plugins.ini anyway.


All times are GMT -4. The time now is 11:03.

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