This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Weapon Model Replacement


Post New Thread Reply   
 
Thread Tools Display Modes
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-15-2008 , 13:57   Re: Weapon Model Replacement
Reply With Quote #381

@creepster: lemme check that

Quote:
Originally Posted by alin2008 View Post
What is wrong? This model doesn`t work, here is my log file:

L 06/15/2008 - 10:57:05: -------- Mapchange to de_dust2 --------
L 06/15/2008 - 10:57:05: [GHW_Weapon_Replacement.amxx] Model type(p_ / v_ / w_) unknown for model: "models/Arenac4-CaLaS2.mdl" (Line 3 of new_weapons.ini) Thx! Nice plugin! Pls help me.
the filename of the model needs to start with p_, v_, or w_. This is how the plugin tells what kind of model it is so it can use it correctly.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
creeperdank
Senior Member
Join Date: Dec 2004
Location: IL
Old 06-15-2008 , 16:06   Re: Weapon Model Replacement
Reply With Quote #382

Ok let me know when I can use it again. Thanks Love your plugins.
__________________
creeperdank is offline
Send a message via MSN to creeperdank
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-15-2008 , 16:33   Re: Weapon Model Replacement
Reply With Quote #383

Quote:
Originally Posted by creeperdank View Post
Ok let me know when I can use it again. Thanks Love your plugins.
plugin works fine for me, no server crash problems, replaced w_ p_ and v_ models no problem.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
creeperdank
Senior Member
Join Date: Dec 2004
Location: IL
Old 06-15-2008 , 16:55   Re: Weapon Model Replacement
Reply With Quote #384

Well I disable it and no server crash.. I enable it and server crashes after several hours of play.
The crash don't happen right away. Maybe let it play for awhile and you might duplicate this crash. I don't get it! No errors nothing..
The server don't even restart in tell I restart it manually. Normally it restarts it self.
Code:
"models/v_knife.mdl" "models/clan33.net/v_knife.mdl"
"models/v_ak47.mdl" "models/clan33.net/v_ak47-1.mdl"
"models/v_aug.mdl" "models/clan33.net/v_aug.mdl"
"models/v_awp.mdl" "models/clan33.net/v_awp.mdl"
"models/v_c4.mdl" "models/clan33.net/v_c4-1.mdl"
"models/v_deagle.mdl" "models/clan33.net/v_deagle.mdl"
"models/v_elite.mdl" "models/clan33.net/v_elite.mdl"
"models/v_famas.mdl" "models/clan33.net/v_famas-1.mdl"
"models/v_fiveseven.mdl" "models/clan33.net/v_fiveseven.mdl"
"models/v_flashbang.mdl" "models/clan33.net/v_flashbang.mdl"
"models/v_g3sg1.mdl" "models/clan33.net/v_g3sg1.mdl"
"models/v_galil.mdl" "models/clan33.net/v_galil-1.mdl"
"models/v_glock18.mdl" "models/clan33.net/v_glock18.mdl"
"models/v_hegrenade.mdl" "models/clan33.net/v_hegrenade.mdl"
"models/v_m3.mdl" "models/clan33.net/v_m3.mdl"
"models/v_m4a1.mdl" "models/clan33.net/v_m4a1.mdl"
"models/v_m249.mdl" "models/clan33.net/v_m249-1.mdl"
"models/v_mac10.mdl" "models/clan33.net/v_mac10.mdl"
"models/v_mp5.mdl" "models/clan33.net/v_mp5.mdl"
"models/v_p90.mdl" "models/clan33.net/v_p90.mdl"
"models/v_p228.mdl" "models/clan33.net/v_p228.mdl"
"models/v_scout.mdl" "models/clan33.net/v_scout.mdl"
"models/v_sg550.mdl" "models/clan33.net/v_sg550.mdl"
"models/v_sg552.mdl" "models/clan33.net/v_sg552.mdl"
"models/v_smokegrenade.mdl" "models/clan33.net/v_smokegrenade.mdl"
"models/v_tmp.mdl" "models/clan33.net/v_tmp.mdl"
"models/v_ump45.mdl" "models/clan33.net/v_ump45.mdl"
"models/v_usp.mdl" "models/clan33.net/v_usp.mdl"
"models/v_xm1014.mdl" "models/clan33.net/v_xm1014.mdl"
"models/w_flashbang.mdl" "models/clan33.net/w_flashbang.mdl"
"models/w_hegrenade.mdl" "models/clan33.net/w_hegrenade.mdl"
__________________

Last edited by creeperdank; 06-15-2008 at 17:30.
creeperdank is offline
Send a message via MSN to creeperdank
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-15-2008 , 17:23   Re: Weapon Model Replacement
Reply With Quote #385

oh yes I remember the error. If I recall correctly for some reason engfunc(EngFunc_FindEntityInSphere kept returning the same entities even though they were < the value supplied for the start entity. I think this happened on like 1 or 2 maps. So I'm in belief it is an AMXX bug I'll look at it some more.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-15-2008 , 17:35   Re: Weapon Model Replacement
Reply With Quote #386

de_airstrip - changed to this map and it crashed my server
http://forums.alliedmods.net/showthread.php?t=61783
the bug wasn't for this plugin but was the same bug. Still don't know of a fix for it, just tested a good attempt at a fix but for some reason it didnt work. got to go atm but ill check to see if ive put a bug report in for it yet or not, best I can do. And take de_airstrip off of your maplist.

If it isn't this mysterious de_airstrip bug thats crashing your server, post back.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
creeperdank
Senior Member
Join Date: Dec 2004
Location: IL
Old 06-15-2008 , 18:18   Re: Weapon Model Replacement
Reply With Quote #387

I don't have it on my map list but for some reason it will still change it to this sometimes if nobody makes a vote. O and de_torn crashed my server to.
__________________

Last edited by creeperdank; 06-15-2008 at 20:35.
creeperdank is offline
Send a message via MSN to creeperdank
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 06-17-2008 , 02:49   Re: Weapon Model Replacement
Reply With Quote #388

GHW_Chronic don't forget it is highly possible with that list of his that he might be trying to precache too much for the server to handle dependent on the map. After all, we don't know what other plugins he is running that would be precaching stuff too.


creeperdank please note if this is the case, the map would crash right away not during it. To test, find out what map is crashing if it happens on load try creating a new_weapons_(mapname).ini with half the amount of things you have in your current new_weapons.ini...

Quote:
Originally Posted by creeperdank View Post
The server don't even restart in tell I restart it manually. Normally it restarts it self.
I don't recall if this was the behavior of precaching too much or server missing files for the map. But it definitely can be caused by an infinite loop in a plugin.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
creeperdank
Senior Member
Join Date: Dec 2004
Location: IL
Old 06-17-2008 , 11:44   Re: Weapon Model Replacement
Reply With Quote #389

Why wouldn't I have all the files for the default map. And I have been useing the same plugins and maps for a very long time now. In the post above I have shown my new_weapons.ini
Here is all the plugins I'm using.
Code:
; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx		; admin base (required for any admin-related)
;admin_sql.amxx		; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx		; basic admin console commands
adminhelp.amxx		; help command for admin console commands
adminslots.amxx		; slot reservation
multilingual.amxx	; Multi-Lingual management

; Menus
menufront.amxx		; front-end for admin menus
cmdmenu.amxx		; command menu (speech, settings)
plmenu.amxx		; players menu (kick, ban, client cmds.)
;telemenu.amxx		; teleport menu (Fun Module required!)
mapsmenu.amxx		; maps menu (vote, changelevel)

; Chat / Messages
adminchat.amxx		; console chat commands
antiflood.amxx		; prevent clients from chat-flooding the server
scrollmsg.amxx		; displays a scrolling message
imessage.amxx		; displays information messages
adminvote.amxx		; vote commands

; Map related
nextmap.amxx		; displays next map in mapcycle
mapchooser.amxx		; allows to vote for next map
timeleft.amxx		; displays time left on map

; Configuration
pausecfg.amxx		; allows to pause and unpause some plugins
statscfg.amxx		; allows to manage stats plugins via menu and commands

; Counter-Strike
restmenu.amxx		; restrict weapons menu
statsx.amxx		; stats on death or round end (CSX Module required!)
miscstats.amxx		; bunch of events announcement for Counter-Strike
stats_logging.amxx	; weapons stats logging (CSX Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx	; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here
gungame.amxx
clan_tag_protection.amxx
GHW_Weapon_Replacement.amxx 
frostnades.amxx 
stickynades.amxx
;admin_spec_esp.amxx
dailyrestart.amxx
Modules
Code:
;;;
; To enable a module, remove the semi-colon (;) in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time.  Use      ;;
;;  amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;mysql
;sqlite

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Put third party modules below here.              ;;
;; You can just list their names, without the _amxx ;;
;;  or file extension.                              ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded   ;;
;;  as needed.  You do not need to enable them here ;;
;;  unless you have problems.                       ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

fun
engine
fakemeta
;geoip
;sockets
;regex
nvault
cstrike
csx
hamsandwich
Ever since I put dailyrestart.amxx on the server I have had no problems. This is because I think it don't give the server a chance to run through all the maps. Like I said before I don't have the default maps in the mapcycle but before I put dailyrestart.amxx on the server when nobody was on it still would play those maps.
__________________

Last edited by creeperdank; 06-17-2008 at 11:50.
creeperdank is offline
Send a message via MSN to creeperdank
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-17-2008 , 14:17   Re: Weapon Model Replacement
Reply With Quote #390

vittu yes it is caused by an infinite loop and I am positive it is my plugin as I can recreate the error on the specified maps with only 1 model precached. Only time will tell what comes out of this
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
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 16:01.


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