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

Release Equipment (1.1-alpha)


Post New Thread Reply   
 
Thread Tools Display Modes
Miguel100
Member
Join Date: Oct 2010
Location: Portugal
Old 05-02-2013 , 06:26   Re: Equipment (1.1-alpha)
Reply With Quote #51

i validated the json and reuploaded it to the webpanel and still no good. the equipment still says that the player model still says it's not supported...



This image shows the atributes by default

Last edited by Miguel100; 05-02-2013 at 06:26.
Miguel100 is offline
exactprecisions
Member
Join Date: Apr 2013
Old 05-02-2013 , 07:51   Re: Equipment (1.1-alpha)
Reply With Quote #52

Quote:
Originally Posted by Miguel100 View Post
Code:
L 05/01/2013 - 22:50:14: [SMJSON] Error in line 2, col 14: '}' expected near '"playermodels"'
L 05/01/2013 - 22:50:14: [SM] Native "json_object_get" reported: Invalid <Object> handle 0 (error 4)
L 05/01/2013 - 22:50:14: [SM] Displaying call stack trace for plugin "store/store-equipment.smx":
L 05/01/2013 - 22:50:14: [SM]   [0]  Line 1028, C:\Users\Alon\Documents\GitHub\store-equipment\scripting/include/\smjansson.inc::json_object_get_string()
L 05/01/2013 - 22:50:14: [SM]   [1]  Line 229, C:\Users\Alon\Documents\GitHub\store-equipment\scripting\store-equipment.sp::LoadItem()
i keep getting this error when trying to equip a custom player model and ive tried everything.

Here is the configuration i have done for one of the items.

Code:
{
    "model": "models/gmod_tower/3dglasses.mdl",
    "position": [0.0, 0, 5.2],
    "angles": [0.0, 0.0, 0.0],
    "attachment": "forward",
    "playermodels": [
        {
            "playermodel": "models/player/knifelemon/miku.mdl",
            "position": [0, -5.4, 20],
            "angles": [0, 0, 90]
        },
        {
            "playermodel": "models/player/csctm/bandit/black.mdl",
            "position": [0, -5.4, 20],
            "angles": [0, 0, 90]
        }
    ]
}

Mind sharing your gamedata if you're using CSGO?
exactprecisions is offline
Miguel100
Member
Join Date: Oct 2010
Location: Portugal
Old 05-02-2013 , 09:42   Re: Equipment (1.1-alpha)
Reply With Quote #53

Quote:
Originally Posted by exactprecisions View Post
Mind sharing your gamedata if you're using CSGO?
It's CSS not CS:GO.
Miguel100 is offline
Arrow768
Veteran Member
Join Date: Nov 2011
Location: Austria
Old 05-02-2013 , 10:26   Re: Equipment (1.1-alpha)
Reply With Quote #54

You cant fix a "model not supportet" error by fixing a broken json.
You should read the post called "F.A.Q. Read this before Posting" (Its a sticky on top of the subforum)
__________________
Arrow768 is offline
Miguel100
Member
Join Date: Oct 2010
Location: Portugal
Old 05-02-2013 , 10:58   Re: Equipment (1.1-alpha)
Reply With Quote #55

Quote:
Originally Posted by Arrow768 View Post
You cant fix a "model not supportet" error by fixing a broken json.
You should read the post called "F.A.Q. Read this before Posting" (Its a sticky on top of the subforum)
But still what is the attachement that the player model needs to have for the hats to work???
i can try recompiling my models with that attachement
Miguel100 is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 05-02-2013 , 11:12   Re: Equipment (1.1-alpha)
Reply With Quote #56

Quote:
Originally Posted by Miguel100 View Post
But still what is the attachement that the player model needs to have for the hats to work???
i can try recompiling my models with that attachement
I think it's the attachement "forward" they need
DoPe^ is offline
exactprecisions
Member
Join Date: Apr 2013
Old 05-04-2013 , 21:07   Re: Equipment (1.1-alpha)
Reply With Quote #57

Quote:
Originally Posted by Miguel100 View Post
It's CSS not CS:GO.
Well for CSS they have a plugin that will sort everything for you practically. I'm not sure where it is off the top of my head but it's here on the forum.
exactprecisions is offline
ApexPredator
SourceMod Donor
Join Date: Apr 2013
Old 05-05-2013 , 14:09   Re: Equipment (1.1-alpha)
Reply With Quote #58

I looked in the models and materials folder of fastdl, game server, my home computer with a fresh install of cstrike.
::EDIT::
"afro.vmt" and "afro.vtf" do not download to my home computer.
There have been numerous map changes and restarts.
I added the missing files to download list so that they would be where they are supposed to be.
still the afro is pink and black?

I validated the jansson config. 100% fine.

Spoiler


Also, loadouts just have 1 letter in a category (a, b and c).
but appear to do nothing.

I have 2 servers connected to the store database.

Any ideas on what to do here?

Last edited by ApexPredator; 05-05-2013 at 14:38.
ApexPredator is offline
vodka00
Veteran Member
Join Date: Jun 2012
Location: Los Angeles
Old 05-05-2013 , 14:44   Re: Equipment (1.1-alpha)
Reply With Quote #59

For some of my models, it doesn't want to download custom texture files too.. One way would be to just use sm_downloader.
__________________
cw main:

cw speedruns:
vodka00 is offline
Sketchy
Senior Member
Join Date: Nov 2010
Old 05-08-2013 , 04:03   Re: Equipment (1.1-alpha)
Reply With Quote #60

eXemplar coded a plugin that fixes the 2 default CT models that don't support equipment which you can get HERE

imo that link should be stickied to the OP for this thread since this question is going to get asked over and over and over. Not only does his mod fix the 2 default CT models that don't support equipment, it also has all the info in there that motivated/clever people will need if they are trying to figure out how to fix any/all skins that are missing a forward attachment for the equipment mod.

Last edited by Sketchy; 05-08-2013 at 04:07.
Sketchy 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 10:04.


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