diff --git a/public/asset/400 b/public/asset/400 new file mode 100644 index 0000000..6a600d8 Binary files /dev/null and b/public/asset/400 differ diff --git a/public/game/join.php b/public/game/join.php index 3b85fab..113638b 100644 --- a/public/game/join.php +++ b/public/game/join.php @@ -1,5 +1,5 @@ diff --git a/resources/views/client/CharacterFetch.blade.php b/resources/views/client/CharacterFetch.blade.php index e28874f..20c325a 100644 --- a/resources/views/client/CharacterFetch.blade.php +++ b/resources/views/client/CharacterFetch.blade.php @@ -2,13 +2,23 @@ header("content-type:application/xml"); ob_start(); $userId = addslashes($_GET["userId"]); -$hat1 = 300; -$hat2 = 0; -$hat3 = 0; -$shirt = 0; -$pants = 0; -$shirtgraphic = 303; -$face = 0; +if ($userId == 0) { + $hat1 = 300; + $hat2 = 0; + $hat3 = 0; + $shirt = 400; + $pants = 0; + $shirtgraphic = 0; + $face = 0; +} else { + $hat1 = 300; + $hat2 = 0; + $hat3 = 0; + $shirt = 0; + $pants = 0; + $shirtgraphic = 303; + $face = 0; +} //TODO: add catalog + avatar system @endphp http://morblox.us/Asset/BodyColors.ashx?userId=@php echo $userId @endphp;http://morblox.us/asset/?id=@php echo $hat1 @endphp;http://morblox.us/asset/?id=@php echo $hat2 @endphp;http://morblox.us/asset/?id=@php echo $hat3 @endphp;http://morblox.us/asset/?id=@php echo $shirt @endphp;http://morblox.us/asset/?id=@php echo $pants @endphp;http://morblox.us/asset/?id=@php echo $shirtgraphic @endphp;http://morblox.us/asset/?id=@php echo $face @endphp \ No newline at end of file diff --git a/resources/views/client/stampertools.blade.php b/resources/views/client/stampertools.blade.php index e21f244..f398114 100644 --- a/resources/views/client/stampertools.blade.php +++ b/resources/views/client/stampertools.blade.php @@ -30,4 +30,4 @@ echo "Copy failed."; $textbox = ($id . "+" . $width[1] . "+" . $height[1] ); header("Location: http://www.morblox.us/stamper/icons/{$textbox}"); exit(); -@endphp \ No newline at end of file +@endphp \ No newline at end of file