Skip to content

v347 & v463 fail to load UGC animations in games that use them #171

@intheviewof

Description

@intheviewof

2018 and 2021 refuse to load and apply custom animations to players set by games. compared to filteringdisabled, this is different behavior than what is seemingly intended. the fetch also fails, even if the place id is set to the game's (via enviornment label)

affected games

  • parkour v1.89
  • flood escape 2
  • aniphobia legacy
  • ...any game that forces players to use custom r6 animations

gameconfig

metadata.config_version_wildcard = "*"

[game_setup]
roblox_version = '2021'

enable_saveplace = false


[game_setup.persistence]
sqlite_path = '_.sqlite'
clear_on_start = false

[game_setup.asset_cache]
clear_on_start = true

[server_core.place_file]
rbxl_uri = './temp.rbxl'

[server_core.metadata]
title = 'Yappers Turf'
description = 'Sponsored by Yappers Inc'
creator_name = 'Yuri'
icon_uri = 'https://ia600506.us.archive.org/34/items/soundcloud-1509042007/1509042007.jpg'


[server_core]
startup_script = 'game.workspace.FilteringEnabled = true'

check_user_allowed = '''
def f(user_code) -> bool:
    return True
'''

retrieve_default_user_code = '''
import time
def f(tick: float) -> str:
    return 'Player%d' % time.time()
'''

retrieve_avatar_call_mode = "lua"
retrieve_avatar = '''
function(user_id_num, user_code)
    local default_avatar = {
        type = 'R6',
        items = {},
        scales = {
            height = 1,
            width = 1,
            head = 1,
            depth = 1,
            proportion = 0,
            body_type = 0,
        },
        colors = {
            head = BrickColor.Random().Number,
            left_arm = BrickColor.Random().Number,
            left_leg = BrickColor.Random().Number,
            right_arm = BrickColor.Random().Number,
            right_leg = BrickColor.Random().Number,
            torso = BrickColor.Random().Number,
        },
    }

    if user_code == 'Yuri' then
        default_avatar.items = {
			125157548394108,
            7581780596,
			4603805914,
			20573078,
			12413229126,
        }
        default_avatar.colors = {
            head = 148, 
            left_arm = 148,
            left_leg = 148,
            right_arm = 148,
            right_leg = 148,
            torso = 148,
        }
        default_avatar.scales = {
            height = 1,
            width = 1,
            head = 1,
            depth = 1,
            proportion = 0,
            body_type = 0, 
        }

    elseif user_code == 'player2' then
        default_avatar.items = {
			12596168028,
            8262048015,
            7259172148,
            6471948627,
            6380112434,
            6238565077,
            6067201766,
            6067201270,
            4660621665,
            4466228735,
            6202647707,
            7317773,
        }
        default_avatar.colors = {
            head = 125, 
            left_arm = 125,
            left_leg = 125,
            right_arm = 125,
            right_leg = 125,
            torso = 125,
        }
        default_avatar.scales = {
            height = 1,
            width = 1,
            head = 1,
            depth = 1,
            proportion = 0,
            body_type = 0, 
        }


    end
    return default_avatar
end
'''

retrieve_membership_type_call_mode = "python"
retrieve_membership_type = '''
def retrieve_membership_type(user_id_num, user_code):
    premium_users = {"player4"}
    bc_users = {"user3"}
    tbc_users = {"player2"}
    obc_users = {"Yuri"}

    if user_code in obc_users:
        return "OutrageousBuildersClub"
    if user_code in tbc_users:
        return "TurboBuildersClub"
    if user_code in bc_users:
        return "BuildersClub"
    if user_code in premium_users:
        return "Premium"
    return "None"
'''

retrieve_username = '''
def f(user_id_num, user_code):
    return user_code
'''

filter_text = '''
def f(text, user_id_num, user_code):
    return (
        text
        .replace('oo','òó')
        .replace('OO','ÒÓ')
        .replace('ee','èé')
        .replace('EE','ÈÉ')
        .replace('Roblox','Rōblox')
        .replace('ROBLOX','RŌBLOX')
    )
'''

retrieve_groups = '''
def f(user_iden, user_code):
    return {
		'950346': 255,
    }
'''

retrieve_default_funds = '''
def f(*a):
    return 1036
'''

chat_style = 'ClassicAndBubble'

retrieve_account_age_call_mode = "lua"
retrieve_account_age = '''
function(user_id_num, user_code) -- str -> int
    return 1400
end
'''

rcc log for affected (fe2, 2021)

there is probably a debug setting i should enable for a more helpful log, but i did not do that here

[TCP 2005 IPv6]: initialising webserver
[TCP 2005 IPv4]: initialising webserver
Rōblox installation exists, skipping...
Rōblox installation exists, skipping...
[UDP 2005]: initialising Rōblox Cloud Compute
[RCC Output] TaskSchedulerMk2::applyAsyncTaskThreadCount( 4 ) <req: 0 active: 0>
[RCC Output] TaskSchedulerMk2::applyAsyncTaskThreadCount( 3 ) <req: 4 active: 4>
[RCC Output] RobloxCrashDumpUploaderMutex already exists. Not uploading logs.
[RCC Output] Service started on port 0
[RCC LocalStorage] LocalStorage loading from path: ../../../LocalStorage\ocalhost:2005_appStorage.json
[RCC LocalStorage] LocalStorage failed to load: ../../../LocalStorage\ocalhost:2005_appStorage.json
[RCC RCCServiceJobs] Opened JobItem Test
[RCC RCCServiceJobs] DataModel: 0477CF68
[RCC Output] Started network server 127.0.0.1|2005
[RCC Output] Initialised RFD server scripts.
[RCC Error] Failed to load sound rbxassetid://2882282690: Unable to download sound data
[RCC Error] Failed to load sound rbxassetid://697442734: Unable to download sound data
[RCC Error] Failed to load sound rbxassetid://147451482: Unable to download sound data
[RCC Error] Failed to load sound rbxassetid://147451482: Unable to download sound data
[RCC Output] New connection from 127.0.0.1|50501
[RCC Output] Player 2 added
[RCC Output] Loaded All Time leaderboard stats
[RCC Output] loaded Yuri's data
[RCC Output] Loaded Cur Month leaderboard stats
[RCC Error] Flag UserUseSoundDispatcher does not exist
[RCC Error] Animation "rbxassetid://3190001064" failed to load in "Animation.AnimationId": Animation failed to load
[RCC Error] Animation "rbxassetid://3189996724" failed to load in "Animation.AnimationId": Animation failed to load

other info

launch args: RFD.exe server -u Yuri --run_client

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions