Author Topic: Bad sprite type  (Read 78 times)

0 Members and 1 Guest are viewing this topic.

Offline iViscosity

  • Sr. Member
  • ****
  • Posts: 470
  • Karma: 15
    • View Profile
    • iViscosity Gaming
Bad sprite type
« on: January 10, 2017, 06:16:11 PM »
So I own a Prop Hunt server and one of my co-owners just messaged me saying that his console is being spammed with
Code: [Select]
GetSpriteAxes: Bad sprite type 1853321060Now, I've (sort of) narrowed this down to a player model, Amaterasu. Here's my Pointshop code:


Code: Lua
  1.  
  2. ITEM.Name = 'Amaterasu'
  3. ITEM.Price = 3000
  4. ITEM.Model = 'models/player_amaterasu.mdl'
  5. ITEM.SubCategory = 'VIP Player Models'
  6. ITEM.AllowedUserGroups = { "superadmin", "headadmin", "admin", "moderator", "operator", "trial", "vip+", "vip", "donator" }
  7.  
  8.  
  9. function ITEM:OnEquip( ply, modifications )
  10.   if not ply._OldModel then
  11.     ply._OldModel = ply:GetModel()
  12.   end
  13.   timer.Simple( 1, function()
  14.     ply:SetModel( self.Model )
  15.   end )
  16. end
  17.  
  18.  
  19. function ITEM:OnHolster( ply )
  20.   if ply._OldModel then
  21.     ply:SetModel( ply._OldModel )
  22.   end
  23. end
  24.  
  25.  
  26. function ITEM:PlayerSetModel( ply )
  27.   ply:SetModel( self.Model )
  28. end
  29.  
And this is the Steam Workshop page:
http://steamcommunity.com/sharedfiles/filedetails/?id=484734108
Does anyone know why this is happening? Or is it nothing to worry about?
I've tried to be as descriptive as possible, if you need more information, let me know.
« Last Edit: January 10, 2017, 06:19:09 PM by iViscosity »
I'm iViscosity. I like gaming and programming. Need some help? Shoot me a PM or Join my Discord!.
--==[ Links ]==--
Steam
YouTube
Steam Group (feel free to join!)
Forums
Public Discord
Teamspeak

Quote from: Steve Jobs
Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven't found it yet, keep looking. Don't settle. As with all matters of the heart, you'll know when you find it. And, like any great relationship, it just gets better and better as the years roll on. So keep looking until you find it. Don't settle.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 7523
  • Karma: 336
  • Sertafide Ulysses Jenius
    • View Profile
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Bad sprite type
« Reply #1 on: January 10, 2017, 07:03:59 PM »
Everything I find in google mentions a Pinion ad server, or, this - https://www.reddit.com/r/csmapmakers/comments/5m5j2r/tentative_fix_for_the_getspriteaxes_bad_sprite/
The price one pays for pursuing any profession or calling is an intimate knowledge of its ugly side. - James Baldwin

Offline iViscosity

  • Sr. Member
  • ****
  • Posts: 470
  • Karma: 15
    • View Profile
    • iViscosity Gaming
Re: Bad sprite type
« Reply #2 on: January 10, 2017, 07:24:26 PM »
Yeah, I saw a lot of that on Facepunch but I couldn't find anything that helped me. It possibly could be the map, not sure.
I'm iViscosity. I like gaming and programming. Need some help? Shoot me a PM or Join my Discord!.
--==[ Links ]==--
Steam
YouTube
Steam Group (feel free to join!)
Forums
Public Discord
Teamspeak

Quote from: Steve Jobs
Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven't found it yet, keep looking. Don't settle. As with all matters of the heart, you'll know when you find it. And, like any great relationship, it just gets better and better as the years roll on. So keep looking until you find it. Don't settle.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 7523
  • Karma: 336
  • Sertafide Ulysses Jenius
    • View Profile
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Bad sprite type
« Reply #3 on: January 10, 2017, 07:56:50 PM »
Though it could be the model you're using, I'm reasonably sure it's not the code.
Tried removing the model?
Tried loading a different map?
The price one pays for pursuing any profession or calling is an intimate knowledge of its ugly side. - James Baldwin