Raised This Month: $ Target: $400
 0% 

[TF2] SetEntityModel doesn't work


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Eggman
Senior Member
Join Date: Jan 2010
Old 01-08-2010 , 09:46   [TF2] SetEntityModel doesn't work
Reply With Quote #1

After War-update SetEntityModel doesn't work =(
Version of sourcemod is 1.2.3 (also can try on 1.2.4)
Version of metamod is 1.8.

This is doesn't work on all plugins, Equipment manager, for example (original plugin... and compiled source too)

p.s.path to model is 100% correct.
Eggman is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 01-08-2010 , 13:05   Re: [TF2] SetEntityModel doesn't work
Reply With Quote #2

Quote:
Originally Posted by Eggman View Post
After War-update SetEntityModel doesn't work =(
Version of sourcemod is 1.2.3 (also can try on 1.2.4)
Version of metamod is 1.8.

This is doesn't work on all plugins, Equipment manager, for example (original plugin... and compiled source too)

p.s.path to model is 100% correct.
Make sure your gamedata is correct because it is working fine on our servers.
pheadxdll is offline
Eggman
Senior Member
Join Date: Jan 2010
Old 01-09-2010 , 03:46   Re: [TF2] SetEntityModel doesn't work
Reply With Quote #3

You talk about game files\sourcemod? That's a correct.
Or about other?

I was try it on different sourcemod and metamod versions, on listen and dedicated server.

Last edited by Eggman; 01-09-2010 at 03:48.
Eggman is offline
Eggman
Senior Member
Join Date: Jan 2010
Old 01-11-2010 , 10:18   Re: [TF2] SetEntityModel doesn't work
Reply With Quote #4

Please answer to my question.
Eggman is offline
IllegalGuy
Member
Join Date: Apr 2009
Location: Hamburg, Germany
Old 01-11-2010 , 10:28   Re: [TF2] SetEntityModel doesn't work
Reply With Quote #5

He is talking about the so called "gamedata" files located in "<mod>/addons/sourcemod/gamedata" and it`s subdirectorys. In these gamedata files, offsets and other really important infos regarding the supportet games are saved, so Sourcemod knows where the specific function is located in the server-binaries, so that SM can use/exec them..
Edit : equipment manager DOES work on our servers using SM1.2.3 & MM1.7.1, so I don`t think the function is broken. If you switched off autoupdater in your sourcemod/configs/core.cfg, you may have outdated gamedata files, since many offsets change after Valve updates the game.

Last edited by IllegalGuy; 01-11-2010 at 10:30.
IllegalGuy is offline
Eggman
Senior Member
Join Date: Jan 2010
Old 01-12-2010 , 03:36   Re: [TF2] SetEntityModel doesn't work
Reply With Quote #6

Is correct this part of my tf-gamedata?

"SetEntityModel"
{
"windows" "23"
"linux" "24"
}
Eggman is offline
IllegalGuy
Member
Join Date: Apr 2009
Location: Hamburg, Germany
Old 01-12-2010 , 09:03   Re: [TF2] SetEntityModel doesn't work
Reply With Quote #7

Got the same values working fine over here, yes..
but I rather suspect the error to be the TF2_EquipmentManager.txt ...
which values do you use? Mine is looking like this :
Quote:
"Games"
{
/* Team Fortress 2 */
"tf"
{
"Offsets"
{
"EquipWearable"
{
"windows" "383"
"linux" "412"
}
"RemoveWearable"
{
"windows" "384"
"linux" "413"
}
}
}
}
Greetings, IllegalGuy
IllegalGuy is offline
Eggman
Senior Member
Join Date: Jan 2010
Old 01-12-2010 , 09:17   Re: [TF2] SetEntityModel doesn't work
Reply With Quote #8

My TF2_EquipmentManager.txt has this code too, but it's still doesn't work =(
Eggman is offline
Eggman
Senior Member
Join Date: Jan 2010
Old 01-14-2010 , 07:31   Re: [TF2] SetEntityModel doesn't work
Reply With Quote #9

"Games"
{
/* Team Fortress 2 */
"tf"
{
"Offsets"
{
"EquipWearable"
{
"windows" "411"
"linux" "412"
}
"RemoveWearable"
{
"windows" "412"
"linux" "413"
}
}
}
}
When i replace TF2_EquipmentManager.txt for this, it's do work. Many thanx to all.
Eggman 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 13:11.


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