Ulysses
Home
Help
Ulysses
»
General
»
Developers Corner
»
Bad sprite type
« previous next »
Print
Pages: [
1
]
Go Down
Author
Topic: Bad sprite type (Read 6725 times)
0 Members and 1 Guest are viewing this topic.
iViscosity
Respected Community Member
Hero Member
Posts: 803
Karma: 58
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 1853321060
Now, I've (sort of) narrowed this down to a player model, Amaterasu. Here's my Pointshop code:
Code: Lua
ITEM
.
Name
=
'Amaterasu'
ITEM
.
Price
=
3000
ITEM
.
Model
=
'models/player_amaterasu.mdl'
ITEM
.
SubCategory
=
'VIP Player Models'
ITEM
.
AllowedUserGroups
=
{
"superadmin"
,
"headadmin"
,
"admin"
,
"moderator"
,
"operator"
,
"trial"
,
"vip+"
,
"vip"
,
"donator"
}
function
ITEM
:
OnEquip
(
ply
,
modifications
)
if
not
ply
.
_OldModel
then
ply
.
_OldModel
=
ply
:
GetModel
(
)
end
timer
.
Simple
(
1
,
function
(
)
ply
:
SetModel
(
self
.
Model
)
end
)
end
function
ITEM
:
OnHolster
(
ply
)
if
ply
.
_OldModel
then
ply
:
SetModel
(
ply
.
_OldModel
)
end
end
function
ITEM
:
PlayerSetModel
(
ply
)
ply
:
SetModel
(
self
.
Model
)
end
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
»
Logged
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.
JamminR
Ulysses Team Member
Hero Member
Posts: 8096
Karma: 390
Sertafide Ulysses Jenius
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/
Logged
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming
iViscosity
Respected Community Member
Hero Member
Posts: 803
Karma: 58
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.
Logged
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.
JamminR
Ulysses Team Member
Hero Member
Posts: 8096
Karma: 390
Sertafide Ulysses Jenius
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?
Logged
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming
Print
Pages: [
1
]
Go Up
« previous next »
Ulysses
»
General
»
Developers Corner
»
Bad sprite type