commit d35dea6fce557b7388852649a3b080fb2b469f8a Author: iceyrazor Date: Tue Feb 11 19:11:49 2025 -0600 init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea1a1c2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +iceyrazor.gpg.pub +assets/img/** +mmd/* +mcupdatejson.php diff --git a/LICENSE b/LICENSE new file mode 100755 index 0000000..115d8fa --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 iceyrazor + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/ModGuideLine.html b/ModGuideLine.html new file mode 100755 index 0000000..57067a6 --- /dev/null +++ b/ModGuideLine.html @@ -0,0 +1,45 @@ + + + mod guide line + + +

what the hell is this and why was i sent this?

+

all mods on my discord server will now follow these guide lines

+
+

why

+

mod abuse

+
+

ew this is soo basic

+

deal with it

+

+
+Enforcement +

go here to see commands, before every reason leave "strike [strike num]"

+

you as a enforce + are not allowed to be hostile in any way and must show +full restraint and be very patient when dealing with users, as if you were in retail

+ +

when a person breaks the rules for the first time you do not mute, it all +depends on how everyone behaves, so for instance when a user breaks the rules +for the first time, and he doesn't get mad at all, he gets strike one, a warning. +how ever if he is rude he instantly gets strike two, 20 min mute.
+the reason for this is because i wont tolerate dicks on my server. +if the user has previously received strike one and he breaks other rule, +you guessed it its strike two even if he isn't rude. +on strike three the user gets one of the following. +

  • kick
  • +
  • 24 hour mute or ban

  • +on strike four it is a three day ban no matter what, on strike 5 its perm ban.

    +

    you as a mod can give as many strikes as you want or see fit when a user breaks a rule, such as if you fell the person +does not need a strike 2 after a strike 1 has been made. you can do another waring with a strike 1.2, but once it goes to +a strike 2 you can not go down, and you can not go from strike 1 and jump to a strike 3 just because you see fit

    +

    and thats all she wrote

    +
    + +

    gmod

    +
    +

    so strike one is the same as discord, and gmod logging goes into +the discord chat #moderation, strike two is a 120 second jail, on strike +three it is a kick or 24 hour ban depending on the users hostility, +strike four is a 3 day ban, and strike 5 is a perm ban.... thats it

    + + \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..a31ac3d --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# iceyfox.xyz +just decided to post my websites files on a git repo. cuz why not +not everything here is on the website. for instance. stuff with plain text passwords diff --git a/TOS and privacy.html b/TOS and privacy.html new file mode 100755 index 0000000..53e8fff --- /dev/null +++ b/TOS and privacy.html @@ -0,0 +1,28 @@ + + +iceyfox servers tos + + + +

    note this is pretty much just a disclaimer as of right now for what information you give

    +

    terms and conditions

    +

    information givien

    +

    you agree that i (the user) are solely responsible for any and all information entered to iceyfox servers. +you agree that the information given can be viewed at anytime by anyone acessing x10host.com + (wither it be administrators or someone acessing the files illegaly), +witch is not limited to

    +
  • passwords
  • +
  • usernames
  • +
  • any and all form data
  • +

    simply put, do not give personal information that you would not trust to this site as it (the site) is +not complete

    +

    the site will ask for passwords, just use one you dont normally use


    +

    bans and adminstrative action

    +

    you agree that i (the user) can and will be banned by any administrators at anytime for any reason up to the +judgement of said adminstrator

    +

    to make a ban appeal emal me iceyfoxservers@gmail.com

    +

    pls no sue

    + + + + \ No newline at end of file diff --git a/account_data/guest.png b/account_data/guest.png new file mode 100755 index 0000000..424f5b7 Binary files /dev/null and b/account_data/guest.png differ diff --git a/arma3.html b/arma3.html new file mode 100755 index 0000000..f9b99e5 --- /dev/null +++ b/arma3.html @@ -0,0 +1,67 @@ + + +arma 3 rules and info + + + +

    iceyfox servers, arma 3

    + +
    +
    +go home (hint click me) + +

    rules

    +
  • any 93rd NINJA members are allowed to tell you what to do
  • +
  • no hacking/exploiting
  • +
  • no stream sniping
  • +
  • civis and independant can call a raid in text chat to raid main base, and after being granted +you can raid either solo or in a group, doesn't matter. if you are not granted and you raid the +might of zeus will be stricken upon you
  • + +

    info

    +
  • the discord here
  • +
  • there is a arsenal at the civi spawn for player customization
  • +
  • if you wanna visit the military base you can, just wait outside the gate and ask in global channel
  • +
  • if you wanta normal vehicle ask a admin to spawn one, +it will be spawned at civ spawn or independent spawn depening on what team you are on(global channel)
  • +
  • if you do wanna rp and not force respawn, call a "DOCTOR!" in global channel and wait, +the unit will send a medic.. or admin with ace 3 knowledge
  • + +
    + + \ No newline at end of file diff --git a/assets/CozetteVector.ttf b/assets/CozetteVector.ttf new file mode 100644 index 0000000..0a5fa15 Binary files /dev/null and b/assets/CozetteVector.ttf differ diff --git a/assets/fetch-content-list.php b/assets/fetch-content-list.php new file mode 100755 index 0000000..7a37db9 --- /dev/null +++ b/assets/fetch-content-list.php @@ -0,0 +1,32 @@ + diff --git a/assets/gmod.css b/assets/gmod.css new file mode 100755 index 0000000..f74e622 --- /dev/null +++ b/assets/gmod.css @@ -0,0 +1,79 @@ +body { +background-image: url("img/gmod.jpg"); +background-size: cover; +background-attachment: fixed; +} +h1 { +text-align: center; +color: rgb(255,255,255); +text-shadow: 1px 1px 2px #000000; +} +fieldset { +background-color: rgba(255,255,255,0.7); +} +li { +font-size: 23px; +} +h2 { +color: rgb(50,50,50); +text-shadow: 3px 3px 4px #ffffff; +} +.info { +float: right; +overflow: hidden; +margin-left: 50.1%; +margin-right: 5%; +border-radius: 15px; +position: absolute; +} +.rules { +float: left; +overflow: hidden; +margin-right: 50.1%; +margin-left: 5%; +border-radius: 15px; +} +a { +text-decoration: none; +color: rgb(240,240,240); +background-color: rgba(250,250,250,1); +border-color: rgb(200,200,200); +border-style: inset; +border-width: 3px; +text-shadow: 1px 1px 2px #000000; +padding: 0px 4px; +} +a:hover { +text-shadow: 2px 2px 3px #000000; +border-style: outset; +} +.loadbar { +background-color: rgb(230,230,230); +border: 3px solid white; +padding: 10px 10px; +position: absolute; +right: 30px; +bottom: 20vh; +width: 40vw; +font-size: 20px; +} +.filename { +background-color: rgb(150,150,150); +border: 1px solid white; +padding: 3px; +position: absolute; +left: 70px; +top: 6px; +right: 4px; +height: 28%; +} +.map { +background-color: rgb(150,150,150); +border: 1px solid white; +padding: 3px; +} +.fileneeded { +font-size: 20px; +position: absolute; +right: 20px; +} \ No newline at end of file diff --git a/assets/index.css b/assets/index.css new file mode 100755 index 0000000..6a3451f --- /dev/null +++ b/assets/index.css @@ -0,0 +1,120 @@ +@font-face { + font-family: 'cozette'; + src: url('CozetteVector.ttf') format('truetype'); + font-weight: 400; /* or 700 for bold, etc. */ + font-style: normal; /* or italic */ +} + +::-webkit-scrollbar { + width: 0px; + background: transparent; +} + +html{ + padding: 0px; + margin: 0px; + color: white; + font-size: 18px; + background-color: #303030; + background-image: url('./img/index-background-v2.png?v=2'); +} + +.main{ + font-family: cozette; + border: 2px solid #0050e0; + padding: 20px; + + display: grid; + grid-template-columns: 1fr; + width: 90%; + min-height: 100vh; + justify-items: center; + margin-bottom: 100px; + background-color: #333333; +} +.main-text{ + min-width: 50%; + max-width: 100%; +} + +code{ + font-family: cozette; + background-color: #282828; + padding-right: 1px; + padding-left: 1px; +} + +.spacer1{ + min-height: 300px; + overflow: hidden; +} +.line-break{ + min-height: 20px; + min-width: 90%; + border-radius: 30px; + background-image: linear-gradient(to right, #333333, #2d2d2d, #272727, #212121, #1b1b1b, #1b1b1b, #1b1b1b, #1b1b1b, #212121, #272727, #2d2d2d, #333333); +} + + +@keyframes Up-header { + from {min-height:10px; padding: 80px 0; max-height:200px; top: 0px} + to {min-height:0px; padding: 0; max-height:0px; top: -5px} +} +@keyframes Down-header { + from {min-height:0px; padding: 0; max-height:0px; top: -5px} + to {min-height:10px; padding: 80px 0; max-height:200px; top: 0px} +} + +.header{ + overflow: hidden; + position: fixed; + + padding: 80px 0; + min-height: 10px; + width: 100vw; + left: 0px; + font-size: 80px; + color: white; + text-shadow: 2px 2px 2px black; + top: 0px; + + background-image: url("./img/index_banner.png"); + + background-attachment: fixed; + background-position: 0px -120px; + background-repeat: no-repeat; + background-size: cover; + text-align: center; + border-bottom: 4px solid black; + + animation-duration: 1s; + animation-fill-mode: forwards; + animation-name: Down-header; +} + + +a{ + color: #009ff9; + font-size: 20px; +} + +.videos{ + position: relative; + top: 10%; + height: 80%; +} + + +.social-tray img{ + width: 50px; + height: 50px; +} + +.social-tray .yt{ + width: 71px; + height: 50px; +} + +.social-tray .discord{ + width: 67px; +} diff --git a/assets/index.js b/assets/index.js new file mode 100755 index 0000000..f7cc7af --- /dev/null +++ b/assets/index.js @@ -0,0 +1,118 @@ +let side_bar=document.getElementById('side_bar') +let width=side_bar.clientWidth +side_bar.style.left=-(width)+'px' + +function animate({timing,draw,duration,on_done}){ + start = performance.now(); + requestAnimationFrame(function animate(time){ + let timeFraction = (time - start) / duration; + if (timeFraction>1) timeFraction = 1; + let progress = timing(timeFraction) + draw(progress); + if(timeFraction<1){ + requestAnimationFrame(animate) + } else { + if(typeof on_done === "function") on_done(); + } + }) +} + +function open_sb(){ + side_bar.style.opacity="1"; + animate({ + duration: 400, + timing(timeFraction){ + return Math.pow(timeFraction,2); + }, + draw(progress){ + side_bar.style.left=(progress*width)-width+'px' + } + }); +} +function close_sb(){ + animate({ + duration: 800, + timing(timeFraction){ + return Math.pow(timeFraction, 2); + }, + draw(progress){ + document.getElementById("side_bar").style.left=((1-progress)*width)-width+'px' + }, + on_done(){ + side_bar.style.opacity="0"; + } + }); +} + + +fetch('assets/fetch-content-list.php?type=partial',{ + cache:'no-cache' +}) +.then(response=>response.json()) +.then(res=>{ + let folder='assets/' + input_str='' + for(i in res){ + if(res[i].match(/.png|.PNG|.jpg|.JPG|.jpeg|.JPEG|.gif|.GIF/g)){ + input_str+='
    ' + } else if(res[i].match(/.mp4|.MP4/g)){ + input_str+='
    '+ + '
    '; + } + } + + document.getElementById('image_box_container').innerHTML=input_str +}) + +image_container_child_width=0 +image_container_child_count=0 +function set_size(){ + let img_wrap=document.getElementsByClassName("image_box_img_wrap") + image_container_child_width=img_wrap[0].clientWidth + image_container_child_count=img_wrap.length-1 + setTimeout(set_size,1000) +} +setTimeout(set_size,1000) + + +last_index=0 +last_pos=0 +index=0 +move_image_box_locked=false +function move_image_box(dir){ + if(move_image_box_locked==false){ + move_image_box_locked=true + let direction='' + let sub='' + if(dir=="+"){ + index=index+1 + direction='' + sub='' + } else { + direction='1-' + index-=1 + sub='-'+image_container_child_width + } + animate({ + duration:800, + timing(TF){ + return Math.pow(TF,2); + }, + draw(Prog){ + document.getElementById("image_box_container").scrollLeft=(eval(direction+Prog)*(image_container_child_width))+eval(last_pos+sub)+(10*index) + }, + on_done(){ + last_pos=(image_container_child_width*index); + if(index<0){ + index=0; + last_pos=0; + } + if(index>image_container_child_count){ index=image_container_child_count; last_pos=(image_container_child_width*index); } + move_image_box_locked=false + } + }) + } + +} diff --git a/assets/indexold2.css b/assets/indexold2.css new file mode 100755 index 0000000..7362273 --- /dev/null +++ b/assets/indexold2.css @@ -0,0 +1,193 @@ +/*::-webkit-scrollbar { + width: 0px; /* Remove scrollbar space + background: transparent; /* Optional: just make scrollbar invisible +}*/ +html{ + font-size: 25px; + padding: 0px; + margin: 0px; + margin-left: 0px; +} + +.side-bar-button{ + + user-select: none; + width: 50px; + +} +.float-button{ + position: fixed; + left: 20px; + top: 40%; + background-color: rgba(255,255,255,0.1); +} +.side-bar-button:hover{ + background-color: rgb(200,200,200,0.5); +} + +.main-wrap > .side-bar-button{ + position: absolute; + left: 10px; + top: 550px; +} +.side-bar-button > svg{ + width: inherit; + height: inherit; +} + +#side_bar{ + z-index: 3; + display: grid; + grid-template-columns: 1fr; + grid-auto-rows: min-content; + position: fixed; + width: 18%; + height: 100vh; + min-width: 280px; + opacity: 0; + top: 0px; + padding: 10px; + padding-right: 20px; + border-right: 2px solid black; + background-color: white; + overflow: scroll; + margin-bottom: 200px; +} + + +#side_bar > div{ + padding: 10px; + position: relative; + text-align: center; + display: grid; + grid-template-columns: 1fr; + grid-auto-rows: min-content; +} +#side_bar > div:nth-child(1){ + text-align: left; +} +#side_bar > div > div{ + height: 30px; +} +#side_bar a{ + font-size: 20px; + text-decoration: none; + color: black; +} +#side_bar > div > div:hover{ + background-color: rgb(230,230,230); +} + +.main-wrap{ + margin: auto; + display: grid; + grid-template-columns: 1fr; + width: 95%; + justify-items: center; + justify-content: center; +} +.footer{ + position: relative; + background-color: black; + color: white; + padding: 20px; + width: 100%; +} +.body{ + display: grid; + grid-template-columns: 1fr; + width: 95vw; + padding: 0px; + min-height: 100vh; + justify-items: center; + margin-bottom: 100px; +} + +#image_box{ + position: relative; + overflow: hidden; + height: 500px; + width: 90%; + padding: 10px; +} +#image_box_container{ + position: relative; + overflow-x: hidden; + white-space: nowrap; + height: 90%; + width: 100%; + padding-left: 10px; + padding-right: 10px; +} +#image_box_container > div{ + overflow: hidden; + display: inline-block; + width: 98%; + height: 98%; + margin-right: 10px; + text-align: center; + vertical-align: middle; +} +#image_box_container > div > div{ + height: 98%; + width: 95%; + display: flex; + margin: auto auto; + align-items: center; + justify-content: center; +} +#image_box_container img{ + width: auto; + max-width: 100%; + max-height: 100%; + text-align: center; +} +.image-box-fader{ + pointer-events: none; + position: absolute; + left: 0px; + top: 0px; + width: 100%; + height: 100%; + background: linear-gradient( + to right, + white, + 5%, + rgba(137,255,241,0) 50%, + 95%, + white 100% + ); +} + +#image_box_arrow_left, #image_box_arrow_right{ + z-index: 2; + position: absolute; + top: 50%; +} +#image_box_arrow_left{ + left: 10px; +} +#image_box_arrow_right{ + right: 10px; +} + +.title-bar-wrap > div{ + background-image: url("./img/index_banner.png"); + /* Set a specific height */ + padding: 150px 0; + min-height: 10px; + width: 100vw; + left: 0px; + font-size: 80px; + color: white; + text-shadow: 2px 2px 2px black; + + + /* Create the parallax scrolling effect */ + background-attachment: fixed; + background-position: center; + background-repeat: no-repeat; + background-size: cover; + text-align: center; + +} \ No newline at end of file diff --git a/chat/chat.php b/chat/chat.php new file mode 100755 index 0000000..72d7a07 --- /dev/null +++ b/chat/chat.php @@ -0,0 +1,315 @@ + + + + + + + +user);$i++){ + if($statusf->user[$i]==$_SESSION['username']){ + $userexist=true; + break; + } + if($userexist==true){break;} + } + $i=0; + fwrite($file, ''."\n".''."\n"); + $wrote=false; + foreach($statusf as $status){ + if(($statusf->user[$i]==$_SESSION['username'])||($userexist==false)){ + if($userexist==false){ + fwrite($file, ' '.$statusf->user[$i]."\n"); + } + if($wrote==false){fwrite($file, ' '.$_SESSION['username']."\n"); $wrote=true;} + } else { + fwrite($file, ' '.$statusf->user[$i]."\n"); + } + $i++; + } + fwrite($file, ''); + fclose($file); +} +$xml=simplexml_load_file("../account_data/".$_SESSION['username'].".xml"); +$ban="false"; +for($i=count($xml->history->action);$i>=0;$i--){ + if(($xml->history->action[$i]['page']=="simplychat")&&($xml->history->action[$i]['type']=="ban")){ + $ban="true"; + $reason=strval($xml->history->action[$i]); + break; + } + if($ban=="true"){break;} +} +?> +welcome <?php echo $_SESSION['username']; ?> +
    + +
    +go home +
    + + +
    + +
    + +
    + +
    + + + +
    + +
    + + +
    + +../account_data/guest.png +
    logged in as
    +
    +
    + + + + +
    +
    + + + + + \ No newline at end of file diff --git a/chat/chat.txt b/chat/chat.txt new file mode 100755 index 0000000..b592d35 --- /dev/null +++ b/chat/chat.txt @@ -0,0 +1,3 @@ +
    Welcome To Simply Chatty




    + + diff --git a/chat/chatposter.php b/chat/chatposter.php new file mode 100755 index 0000000..c2bcafc --- /dev/null +++ b/chat/chatposter.php @@ -0,0 +1,147 @@ + + +user);$i++){ + if($statusf->user[$i]==$_SESSION['username']){ + $userexist=true; + break; + } + if($userexist==true){break;} + } + $i=0; + fwrite($file, ''."\n".''."\n"); + $wrote=false; + foreach($statusf as $status){ + if(($statusf->user[$i]==$_SESSION['username'])||($userexist==false)){ + if($userexist==false){ + fwrite($file, ' '.$statusf->user[$i]."\n"); + } + if($wrote==false){fwrite($file, ' '.$_SESSION['username']."\n"); $wrote=true;} + } else { + fwrite($file, ' '.$statusf->user[$i]."\n"); + } + $i++; + } + fwrite($file, ''); + fclose($file); +} + +//get users color +if($_SESSION['username']!="guest"){ + $userxml=simplexml_load_file("../account_data/".$_SESSION['username'].".xml"); + $color=$userxml->color; +} else { + $color="#ffffff"; +} + +//read file +$get_chat_file=file_get_contents("chat.txt"); +//manage text eg image parsing and link parsing ect +$usertext=str_replace(array("<",">"),"",$_POST['text']); +$usertext_split=explode(" ",$usertext); +$usertext=""; +foreach($usertext_split as $text){ + + if(substr($text,0,29)=="https://www.youtube.com/watch"){ + $text=' + + + + + '; + } + elseif(substr($text,0,4)=="http"||substr($text,0,5)=="https"){ + if(strpos($text,".jpg")||strpos($text,".png")||strpos($text,".gif")){ + $text=' + + + + + '; + } else { + $text=''.$text.''; + } + } + if($text=="nigger"){ + $text="ERROR. N**** TRIED TO BYPASS"; + } + $usertext=$usertext.$text." "; +} + +//tags +$tags=""; +if($_SESSION['username']=="iceyrazor"){ + $tags=$tags.'site owner'; +} +$chatfile=fopen("chat.txt","w"); +$chat_file_send_content=$get_chat_file.' +
    + + + + + '.$tags.' + '.$_SESSION['username'].': + '.$usertext.' + +
    +
    +'; + +//cheak perms and run commands +$bot_tag='site bot'; +$perm_clear=false; +$perm_mute_guest=false; +$perm_mute=false; +$perm_lock_chat=false; +$perm_bypass_lock=false; +foreach($userxml->permissions->perm as $perm){ + if($perm=="simplychatty.clear"){ $perm_clear=true; }; + if($perm=="simplychatty.mute-guest"){ $perm_mute_guest=true; }; + if($perm=="simplychatty.mute"){ $perm_mute=true; }; + if($perm=="simplychatty.lock-chat"){ $perm_lock_chat=true; }; + if($perm=="simplychatty.bypass-lock"){ $perm_bypass_lock=true; }; +} +if($perm_clear==true&$usertext=="/clear "){ + $chat_file_send_content=' +
    + Welcome To Simply Chatty +




    '; +} +$chatstat=file_get_contents("chatstat.txt"); +if($perm_lock_chat==true&$usertext=="/lock chat "){ + $file_chatstat=fopen("chatstat.txt","w"); + if($chatstat=="locked"){ + $chat_file_send_content=$get_chat_file.'
    '.$bot_tag." ". + $_SESSION['username'].' unlocked the chat

    '; + fwrite($file_chatstat,"unlocked"); + } else { + $chat_file_send_content=$get_chat_file.'
    '.$bot_tag." ". + $_SESSION['username'].' locked the chat

    '; + fwrite($file_chatstat,"locked"); + } + fclose($file_chatstat); +} +if($perm_bypass_lock==false&$chatstat=="locked"){ + $chat_file_send_content=$get_chat_file.""; +} +if(false==true){ + //unfinished mute + $chat_file_send_content=$get_chat_file.'
    '.$bot_tag." ". + $_SESSION['username']." muted ".$usertext_split[1].'

    '; +} +// +fwrite($chatfile,$chat_file_send_content); +fclose($chatfile); + +?> + + + \ No newline at end of file diff --git a/chat/hardr.wav b/chat/hardr.wav new file mode 100755 index 0000000..f71b2ec Binary files /dev/null and b/chat/hardr.wav differ diff --git a/chat/profile.php b/chat/profile.php new file mode 100755 index 0000000..2388429 --- /dev/null +++ b/chat/profile.php @@ -0,0 +1,213 @@ + + + +<?php echo $_GET['username']; ?> profile + + + +prepare("select username,password from ".$dbc_ver_accounts." where username=?"); + $stmt->execute([$_SESSION['username']]); + $getuser=$stmt->fetch(); + if($getuser[0]==$_SESSION['username']){ + if(password_verify($_SESSION['password'],$getuser[1])){ + $pass="pass"; + } + } +} +if($_GET['username']=="guest"){ + $pass="guest"; +} else { + $stmt=$dbc->prepare("select username,discord,email from ".$dbc_ver_accounts." where username=?"); + $stmt->execute([$_GET['username']]); + $getuser=$stmt->fetch(); + $get_username=$getuser[0]; + $get_discord=$getuser[1]; + $get_email=$getuser[2]; + if(file_exists("../account_data/".$_GET['username'].".xml")){ + $xml=simplexml_load_file("../account_data/".$_GET['username'].".xml"); + } else { + $pass="not exist"; + } + if(file_exists("../account_data/".$_GET['username'].".png")){ + $user_pfp="../account_data/".$_GET['username'].".png"; + } elseif(file_exists("../account_data/".$_GET['username'].".jpg")){ + $user_pfp="../account_data/".$_GET['username'].".jpg"; + } elseif(file_exists("../account_data/".$_GET['username'].".gif")){ + $user_pfp="../account_data/".$_GET['username'].".gif"; + } else { + $user_pfp="../account_data/guest.png"; + } +} +//get history +for($i=0;$ihistory->action);$i++){ + $gethistory[$i][0]=strval($xml->history->action[$i]); + $gethistory[$i][1]=strval($xml->history->action['page'][$i]); + $gethistory[$i][2]=strval($xml->history->action['type'][$i]); + $gethistory[$i][3]=strval($xml->history->action['datetime'][$i]); + $gethistory[$i][4]=strval($xml->history->action['attime'][$i]); +} +?> + + + + +
    +
    +
    + + +
    + +
    +
    username:
    +
    discord:
    +
    email:
    +
    color: +
    +
    +
    + history
    +

    m=minute, h=hour, d=day

    + + + + + +
    pagedatetypeforreason
    +
    +
    + + +
    +
    + + + + + + + \ No newline at end of file diff --git a/chat/profile_update.php b/chat/profile_update.php new file mode 100755 index 0000000..8139560 --- /dev/null +++ b/chat/profile_update.php @@ -0,0 +1,33 @@ + + + + + + + \ No newline at end of file diff --git a/chat/status.xml b/chat/status.xml new file mode 100755 index 0000000..c63b596 --- /dev/null +++ b/chat/status.xml @@ -0,0 +1,4 @@ + + + iceyrazor + \ No newline at end of file diff --git a/dmu/dmu map queue.png b/dmu/dmu map queue.png new file mode 100644 index 0000000..9afc220 Binary files /dev/null and b/dmu/dmu map queue.png differ diff --git a/dmu/map_queue.json b/dmu/map_queue.json new file mode 100644 index 0000000..49a5d50 --- /dev/null +++ b/dmu/map_queue.json @@ -0,0 +1,11 @@ +{ + "todo":[ + + {"name":"wheezebob","words":"wheezer","color":"undefined", + "status":"inactive","comments":"need to define color","issue_date":"8/29/2023"} + ], + "done":[ + {"name":"iceyrazor","words":"SWD","color":"pink", + "comments":"public buyable map 2777B","issue_date":"8/31/2023","finished_date":"8/31/2023"} + ] +} diff --git a/dmu/mapqueue.html b/dmu/mapqueue.html new file mode 100644 index 0000000..7a1aadb --- /dev/null +++ b/dmu/mapqueue.html @@ -0,0 +1,105 @@ + + +dmu map queue + + + +
    +
    + main page +

    +

    this site updates by itself. do not spam refresh!

    +

    this shows what orders are in queue

    +


    +

    in queue

    +
    + +

    +

    done maps

    +
    + +
    +
    + + + + diff --git a/full_art.html b/full_art.html new file mode 100755 index 0000000..02cfd63 --- /dev/null +++ b/full_art.html @@ -0,0 +1,62 @@ + + + + + + + +
    + +
    + + + + diff --git a/gmod.html b/gmod.html new file mode 100755 index 0000000..962c089 --- /dev/null +++ b/gmod.html @@ -0,0 +1,35 @@ + + +gmod rules + + + +

    iceyfox servers

    +
    +go home (hint click me) +

    rules

    +
    1. dont mess with other peoples spawned items without there permission (ramming them counts)
    2. +
    3. dont noclip into peoples bases without there permission
    4. +
    5. dont go outside the map walls and the skybox (tardis does not count)
    6. +
    7. no mic or text spamming
    8. +
    9. no racism or sexism
    10. +
    11. use common sense
    12. +
    13. no advertising
    14. +
    15. dont use the sonic screwdriver on players
    16. +
    17. no prop killing
    18. +
    19. no noclip killing what so ever
    20. +
    21. if someone ask you to stop killing them.. stop
      1. +
    + +
    +

    info

    +
  • if you can not read all the shit here now, you can when you load in
  • +
  • you can rp (role play) if you want to, you dont have to, its sandbox
  • +
  • there is no specific uptime for the server, it will be up at random times
  • +
  • if you want the Member rank you have to join the discord server which is on the home page and can only be obtained by +being trusted by a enforcer +(the home button is on the top left of rules)(rank is not mandatory)
  • +
  • if your in a sit (frozen/jailed) for breaking a rule dont leave until the admin says you are free to go.
  • +
  • server collection
  • +
    + + \ No newline at end of file diff --git a/gmodloadscreen.html b/gmodloadscreen.html new file mode 100755 index 0000000..52b5bb3 --- /dev/null +++ b/gmodloadscreen.html @@ -0,0 +1,51 @@ + + +gmod rules + + + +

    iceyfox servers

    +
    +
    1. dont mess with other peoples spawned items without there permission (ramming them counts)
    2. +
    3. dont noclip into peoples bases without there permission
    4. +
    5. dont go outside the map walls and the skybox (tardis does not count)
    6. +
    7. no mic or text spamming
    8. +
    9. no racism or sexism
    10. +
    11. use common sense
    12. +
    13. no advertising
    14. +
    15. dont use the sonic screwdriver on players
    16. +
    17. no prop killing
    18. +
    19. no noclip killing what so ever
    20. +
    21. if someone ask you to stop killing them.. stop
      1. +
    + +
    +

    info

    +
  • if you can not read all the shit here now, you can when you load in
  • +
  • you can rp (role play) if you want to, you dont have to, its sandbox
  • +
  • there is no specific uptime for the server, it will be up at random times
  • +
  • if you want the Member rank you have to join the discord server which is on the home page and can only be obtained by +being trusted by a enforcer +(the home button is on the top left of rules)(rank is not mandatory)
  • +
  • if your in a sit (frozen/jailed) for breaking a rule dont leave until the admin says you are free to go.
  • +
    + +
    + status:

    + map: + +
    + + + + + \ No newline at end of file diff --git a/hls.html b/hls.html new file mode 100644 index 0000000..8345c64 --- /dev/null +++ b/hls.html @@ -0,0 +1,86 @@ + + + + + Live Streaming + + + + +
    + +
    + +
    +






    + + + + + + diff --git a/index.html b/index.html new file mode 100755 index 0000000..7936214 --- /dev/null +++ b/index.html @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + frost box + + + +
    +
    The Frost Box
    +
    +
    + + +
    + +
      +
    • contact me by email iceyfoxservers@gmail.com. or on discord iceyrazor
    • +
    • GPG key for encrypting messages if you know how, download here or just run:
    • +
        +
      • curl -sL http://iceyfox.xyz/iceyrazor.gpg.pub | gpg --import
      • +
      • Fingerprint: A2C2 FAA5 6038 665F 1E51 BCDB 1726 AA27 638B FDD5
      • +
      • All legitimate emails from me will be signed with my GPG key. Probably
      • +
      +
    + checkout my blog
    + get updates +

    +
    +

    about me

    +

    Im interested in coding, networking technologies, 3d modeling, as well as 3d CGI.

    +

    Programming in bash, Clang, Javascript, Nodejs, lua, and beginning with web design.

    +

    My main focus is web sockets, mysql, and anything really that involves connecting devices to other devices. Typically through web sockets.

    +

    Previous work experience? none, i do this as a hobby.

    +

    And i use arch btw. :)

    +

    See more of my art here

    +
    +

    Games. Love games.

    +
      +
    • I've mainly been into minecraft
    • +
    • metal gear rising revengeance
    • +
    • resonite > vrchat
    • +
    • space engineers
    • +
    • no mans sky
    • +
    +
    + +
    +

    low quality render of a my boi jumpin

    +

    this site is bad at serving videos. play it on repeat till it loads

    +
    + +
    +
    + +
    +
    +

    discord

    + +

    +
    +

    +
    +
    +
    + + + + diff --git a/indexold.html b/indexold.html new file mode 100755 index 0000000..308c646 --- /dev/null +++ b/indexold.html @@ -0,0 +1,103 @@ + + +iceyfox servers + + + + +
    +
    +

    the ice box

    + +
    +
    +
    +

    if you have any ideas, feel free to contact me at the gmail below. (dont spam my gmail or leave stupid s*** there)

    + +

    if button doesn't work here ya go (copy and paste): https://discord.gg/6bSre9V

    +
    +
    + +
    + + \ No newline at end of file diff --git a/indexold2.html b/indexold2.html new file mode 100755 index 0000000..c0de02c --- /dev/null +++ b/indexold2.html @@ -0,0 +1,84 @@ + + + + + + + + + +
    + +
    +
    iceyrazor's.... thing
    +
    +
    +

    about me

    +

    Im just a guy intrested in 3d modeling, and coding

    +

    I do the above, 3d modeling, as well as CGI, Javascript, Nodejs, a bit of C#, and + beginning with webdesign. (as you can tell XD)

    +

    And im working with linux, debian

    +

    Some art i have made

    +
    +
    + + + + + + + + + + + +
    + see more art +
    + +
    + + + + + + diff --git a/linuxinfo/index.html b/linuxinfo/index.html new file mode 100644 index 0000000..1cd9b78 --- /dev/null +++ b/linuxinfo/index.html @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + linux info + + + +
    +

    linux info

    +

    this is a collection of links and info on running games and vr on linux

    + +

    running linux. You're going to run into quite a lot of issues.
    + Most of them solvable with a quick google search and pasting in a command. But often enough you get into a issue hell hole.
    + Here's a video that has a bit that pretty much shows the issue rabbit hole you can run into.
    + My Experience with Arch Linux (GNOME) +

    +

    playlist

    +

    i have a whole playlist on a bunch of linux stuffs

    + Linux is Too Hard - A Solution +

    Vr

    + +
      +
    • + Here's a site with a ton of info on running VR. + I recommend envision with WiVrn over using alvr + steamvr. async with steamvr is shit. + lvra.gitlab.io +
    • +
    +
    +

    Privacy

    +

    A lot of people say "why should i care about privacy, i have nothing to hide". Would you be okay letting many strangers + watch you use the bathroom in your own home every time? Would you let me look through every one of your emails? + on every account if you have multible?

    +

    You don't always have to sacrifice a whole lot for privacy. You can choose what fits your model, but don't use that thinking above + to make stupid decisions

    +

    here's a playlist on privacy starting off with why it matters + Glenn Greenwald: Why Privacy Matters +

    +
    + + diff --git a/login/login.js b/login/login.js new file mode 100755 index 0000000..65fd246 --- /dev/null +++ b/login/login.js @@ -0,0 +1,45 @@ +/*
    + + +
    */ + + +//removed until database is fixed +/*document.write('
    '+ +''+ +'
    ');*/ + +loginboxtext='
    '+ +'
    '+ +'
    '+ +''+ +'
    '; +if(username!="guest"){ + $("#loginbox").html(loginboxtext); + $("#loginbutton").html("logout ▼"); +} + +function hidetoggle(data){ + if($("#"+data).css("display")=="none"){ + $("#"+data).css("display","block"); + } else { + $("#"+data).css("display","none"); + } +} diff --git a/login/login.php b/login/login.php new file mode 100755 index 0000000..46e8764 --- /dev/null +++ b/login/login.php @@ -0,0 +1,86 @@ +user);$i++){ + if($statusf->user[$i]==$_SESSION['username']){ + $userexist=true; + break; + } + if($userexist==true){break;} + } + $i=0; + fwrite($file, ''."\n".''."\n"); + $wrote=false; + foreach($statusf as $status){ + if(($statusf->user[$i]==$_SESSION['username'])||($userexist==false)){ + if($userexist==false){ + fwrite($file, ' '.$statusf->user[$i]."\n"); + } + if($wrote==false){fwrite($file, ' '.$_SESSION['username']."\n"); $wrote=true;} + } else { + fwrite($file, ' '.$statusf->user[$i]."\n"); + } + $i++; + } + fwrite($file, ''); + fclose($file); + } + } + $_SESSION['username']=""; + $_SESSION['password']=""; +} + + +if($_SESSION['username']==""||$_SESSION['username']=="guest"){ + if($_POST['username']==""){ + $_SESSION['username']="guest"; + $_SESSION['password']="password"; + } else { + $_SESSION['username']=$_POST['username']; + $_SESSION['password']=$_POST['password']; + } +} +$_POST['username']=""; +$_POST['password']=""; + +if($_SESSION['username']!="guest"){ + $stmt=$dbc->prepare("select username,password from ".$dbc_ver_accounts." where username=?"); + $stmt->execute([$_SESSION['username']]); + $getuser=$stmt->fetch(); + if($getuser[0]==$_SESSION['username']){ + if(password_verify($_SESSION['password'],$getuser[1])){ + $login_correct="true"; + } else { + $_SESSION['username']="guest"; + $_SESSION['password']="password"; + $_SESSION['errormsglogin']="login info is incorrect"; + $login_correct="false"; + } + } else { + $_SESSION['username']="guest"; + $_SESSION['password']="password"; + $_SESSION['errormsglogin']="login info is incorrect"; + $login_correct="false"; + } +} +$stmt=null; +$getuser=null; +if(file_exists("../account_data/".$_SESSION['username'].".png")){ + $_SESSION['profilepicture']="../account_data/".$_SESSION['username'].".png"; +} elseif(file_exists("../account_data/".$_SESSION['username'].".jpg")){ + $_SESSION['profilepicture']="../account_data/".$_SESSION['username'].".jpg"; +} elseif(file_exists("../account_data/".$_SESSION['username'].".gif")){ + $_SESSION['profilepicture']="../account_data/".$_SESSION['username'].".gif"; +} else { + $_SESSION['profilepicture']="../account_data/guest.png"; +}*/ +?> \ No newline at end of file diff --git a/mcjsonupdate.php b/mcjsonupdate.php new file mode 100755 index 0000000..7d51cd2 --- /dev/null +++ b/mcjsonupdate.php @@ -0,0 +1,18 @@ + + +"], "", $json); +$data = json_decode($json); +if($data->pass=="ejhwkreyhu82eyhuv8ebnjkelwhj3k"){ + unset($data->pass); + $data->mods[0]=str_replace("<", "",$data->mods[0]); + $data->mods[0]=str_replace(">", "",$data->mods[0]); + file_put_contents("minecraft_mod_list.json", json_encode($data)); +} else { + echo "pass incorrect"; +} +?> + + + \ No newline at end of file diff --git a/minecraft.html b/minecraft.html new file mode 100755 index 0000000..4f163d7 --- /dev/null +++ b/minecraft.html @@ -0,0 +1,175 @@ + + +iceyfox servers mc + + + +

    iceyfox servers minecraft

    + +
    +rules +
  • no swpamming
  • +
  • no griefing
  • +
  • no hacking
  • +
  • no x-ray cheats or scripts outside what is allready a mod <o<
  • +
  • no advertising
  • +
  • don't mess spawn/spawn city in any way
  • +
  • do not make claimes around your ship.
    you tend to forget and then start claiming the sky. so dont. stations are ok
  • +
  • if you enter a claim they can deal with you how ever the claimer pleases, +they can also ignore most rules but entering a mods claim, the mod still cant put a strike on you for entering it and +no one can hack because someone entered a claim
  • +
    + +
    +info +go home (hint click me)

    +forge + Forge: 1.16.5 36.2.39

    +here is the mods to join the server

    +
  • ip: private server

  • +
  • buyable things (not irl money)
    + these are things you can get ingame by asking staff, that i think is.. fair. staff do not keep diamonds +
      + +
    1. dragon reroll, you can reroll a dragons gender for breeding if you meet the following criteria +
        +
      1. you must have 2 dragons of the same type be stage 5 or higher
      2. +
      3. you must NOT have apposing gender of the same type allready. eg if you have one male and one female, you can not do this. and if you have 2 male and one female you can not do this. you can only do this if all are the same gender
      4. +
      5. you can only do this once every 15 hours
      6. +
      + for 5 diamonds and the sacrafice of 1 dragon you want to re roll. you will get the same color and type back, as an egg. +
    2. +
    3. dragon revive, you can revive a dragon if you meet the following criteria +
        +
      1. DO NOT loot the corpse, also have some sort of proof you did have a dragon
      2. +
      3. the dragon amount you had before your dragon died must be less than 3, eg if you have 2 remaning after your dragon dies. you can not do this
      4. +
      5. you can only do this 2 times every 15 hours
      6. +
      + for 5 diamonds. +
    4. +
    + dragon types by color +
  • type fire=Red, Emerald, Bronze, gray
  • +
  • type ice=Blue, White, Sapphire, Silver
  • + +
    + +
    + + +
    +mod list +

    a list of mods that i use currently

    + +

    + +
    +
    + + + \ No newline at end of file diff --git a/register/loginM.php b/register/loginM.php new file mode 100755 index 0000000..7b16bf0 --- /dev/null +++ b/register/loginM.php @@ -0,0 +1,18 @@ + + + + + +
    + + + +
    + + \ No newline at end of file diff --git a/register/manage.php b/register/manage.php new file mode 100755 index 0000000..9a0330c --- /dev/null +++ b/register/manage.php @@ -0,0 +1,104 @@ + + + + + + +prepare("select * from accounts where username=?"); + $stmt->execute([$username]); + $getpass=$stmt->fetch()['password']; + if(password_verify($password,$getpass)){ + $passwordc="true"; + } else { + $passwordc="false"; + } +} +$stmt = $dbc->query("select username,discord,email from unver_accounts"); + +$getusername=array(); +$getdiscord=array(); +$i=0; +while($row = $stmt->fetch()){ + $getusername[$i]=$row['username']; + $getdiscord[$i]=$row['discord']; + $i++; +} +$dbc=null; +?> + +
    + + +
    userdiscord

    +
    +action:

    +

    + +
    + + + + \ No newline at end of file diff --git a/register/poster.php b/register/poster.php new file mode 100755 index 0000000..4acb5ae --- /dev/null +++ b/register/poster.php @@ -0,0 +1,83 @@ + + + + + +query("select username from ".$dbc_unver_accounts); + $response2 = $dbc->query("select username from ".$dbc_ver_accounts); + $uexist=false; + if($response){ + //cheak if exist + while($row = $response->fetch(PDO::FETCH_ASSOC)){ + if($row['username']==$_POST['usernameR']){ + $uexist=true; + break; + } + } + while($row = $response2->fetch(PDO::FETCH_ASSOC)){ + if($row['username']==$_POST['usernameR']){ + $uexist=true; + break; + } + } + //creation + if($uexist==true){ + $_SESSION['message'] = "user allready exist"; + } else { + //send data + $query="INSERT INTO ".$dbc_unver_accounts." (username, password, + discord, email) VALUES (?,?,?,?)"; + $stmt=$dbc->prepare($query); + $password=password_hash($_POST['passwordR'], PASSWORD_DEFAULT); + $stmt->execute([$_POST['usernameR'],$password,$_POST['discord'], + $_POST['email']]); + $_SESSION['message']="complete"; + } + } else { + $_SESSION['message'] = "internal server error"; + } +} +if(isset($_POST['manageconfirm'])){ + if($_POST['action']=="deny"){ + $stmt=$dbc->prepare("delete from ".$dbc_unver_accounts." where username=?"); + $stmt->execute([$_POST['user']]); + $action="denied"; + } + if($_POST['action']=="accept"){ + $getinfo=$dbc->prepare("select * from ".$dbc_unver_accounts." where username=?"); + $getinfo->execute([$_POST['user']]); + $getinfoarr=array(); + while($row=$getinfo->fetch()){ + $getinfoarr=array($row['username'],$row['password'],$row['discord'],$row['email']); + } + $drop=$dbc->prepare("delete from ".$dbc_unver_accounts." where username=?"); + $drop->execute([$_POST['user']]); + $stmt=$dbc->prepare("INSERT INTO ".$dbc_ver_accounts." + (username, password, discord, email, date_created, primary_key) + VALUES (?,?,?,?,NOW(),NULL)"); + $stmt->execute($getinfoarr); + $file=fopen("../account_data/".$_POST['user'].".xml","w"); + fwrite($file,''."\n\n #ffffff\n \n \n"); + fclose($file); + $action="confirmed"; + } + $xml=simplexml_load_file("log.xml"); + $file = fopen("log.xml","w"); + fwrite($file,''); + fwrite($file,"\n"); + fwrite($file,"\n".''.$_POST['reason'].''); + for($i=0;$i<=4;$i++){ + fwrite($file,"\n".''.$xml->user[$i].''); + } + fwrite($file,"\n"); + fclose($file); +} +$dbc=null; +?> + + + + \ No newline at end of file diff --git a/register/register.php b/register/register.php new file mode 100755 index 0000000..f1a6912 --- /dev/null +++ b/register/register.php @@ -0,0 +1,99 @@ + + + + + + + + +user[$i]); + $logfname[$i]=strval($xml->user[$i]['name']); + $logfaction[$i]=strval($xml->user[$i]['action']); + $i++; +} +?> + +
    +
    +username:

    +password:

    +discord name (with #numbers):

    +(optional, for contact if discord goes down, also will be used as verifing you if you +lose your password)
    +email:

    +

    note: that when registering, +your account will be validated by a mod, you will have to wait

    + + +
    +
    +terms of service

    + +
    +
    + + +



    +
    +verified log + + +
    useractionreason

    +
    manager




    + + + + \ No newline at end of file diff --git a/smallscripts/2otpal.php b/smallscripts/2otpal.php new file mode 100755 index 0000000..e9422ba --- /dev/null +++ b/smallscripts/2otpal.php @@ -0,0 +1,124 @@ + + +2 of these people are lieing + + + +console.log('Debug Objects: " . $output . "' );"; +} +$string = file_get_contents("2otpal.json"); +$Jfile = json_decode($string, true); +if($_POST['doing']=="add"&&$_POST['Name']!=""){ + if(count($Jfile['names']) + +
    +

    this is a page for my game by tom scott,
    two of these people are lying

    +

    see his playlist here



    +

    +
    + +wiki page name:

    + +
    +


    +
    +

    +

    admin/host stuff below

    +
    +

    +password:

    +players: (if setting players):

    + +
    +
    + + + + + \ No newline at end of file diff --git a/spaceengineers.html b/spaceengineers.html new file mode 100755 index 0000000..fc902ec --- /dev/null +++ b/spaceengineers.html @@ -0,0 +1,98 @@ + + +se rules & info + + + +

    iceyfox server's space engineers


    + +
    +rules +go home (hint click me)

    + +
  • dont mess with other peoples grids or sectors (without permission), if you are in someone else's sector they can +do what they want to your grids as long as it is a private sector
  • +
  • if your going to build on sector 0-20-0-0 (spawn) make shure its 200m away from the main building
  • +
  • be careful how fast your going, because if you run into my stuff ill kick you on the spot
  • +
  • dont be a dick
  • +
  • no extream racism or sexism in chat
  • +
  • don't spam
  • +
    + +
    + info / q & a + +
  • admins can deal with rule breakers the way they please
  • +
  • sec is the same as saying sector
  • +
  • before you ask no you cant have a planet, that is for {A31} +
  • +
  • the link to joining the discord is back on the home page
  • +
  • no you cant have enforcer you must be recommended by a fabulous fox +
  • +
  • if your ship is too laggy dont get mad that it just randomly disappeard, a admin deleted it
  • +

    - how my sector system works -

    + +

    the works of it :p

    +

    sec 0-20-0-0 is somewhat near spawn, i will give a short explaination on how this works +if you have more question on how this works feel free to ask.

    +sec sectorID-range-private-planet, the sector id is well. the id of said sector (it would typicly be 3-5 digits), +0 would be spawn

    +the range is how far the sectors claim is in KM

    +private would be if the sector is private or not, 1 being private

    +planet would be if the sector is a planet 1 being it is a planet, if it is a planet range is to be ignored/set to 0 and +the entire planet is claimed, if it is not a planet then that means it is range and any planets in that sector are +still claimed + +

    making a sector

    +

    having your own sector is perfectly fine as long as your sector has the center pole or beacon on planet, +and you are not intersecting with another sector, and you have a max range of 30km, as well it needing a antenna/beacon +with (sec 3to5digitID-range-private-planet) make sure your id has not been taken, +GPS's would help, only {A31}+ can have private non planet sector's, fiannly your sector must be registerd at +spawn have a mod register it for you.

    + +you are allowed to have your own station without having to have a sec.

    +
    + + \ No newline at end of file diff --git a/tardisproject/assets/arrow-left.png b/tardisproject/assets/arrow-left.png new file mode 100755 index 0000000..bb7694a Binary files /dev/null and b/tardisproject/assets/arrow-left.png differ diff --git a/tardisproject/assets/arrow-right.png b/tardisproject/assets/arrow-right.png new file mode 100755 index 0000000..9fbcdd1 Binary files /dev/null and b/tardisproject/assets/arrow-right.png differ diff --git a/tardisproject/assets/button-back-red.png b/tardisproject/assets/button-back-red.png new file mode 100755 index 0000000..1bfbec0 Binary files /dev/null and b/tardisproject/assets/button-back-red.png differ diff --git a/tardisproject/assets/button-back-white.png b/tardisproject/assets/button-back-white.png new file mode 100755 index 0000000..5036cd2 Binary files /dev/null and b/tardisproject/assets/button-back-white.png differ diff --git a/tardisproject/assets/button-back.png b/tardisproject/assets/button-back.png new file mode 100755 index 0000000..5013614 Binary files /dev/null and b/tardisproject/assets/button-back.png differ diff --git a/tardisproject/assets/button.png b/tardisproject/assets/button.png new file mode 100755 index 0000000..3baf84b Binary files /dev/null and b/tardisproject/assets/button.png differ diff --git a/tardisproject/assets/lever-back.png b/tardisproject/assets/lever-back.png new file mode 100755 index 0000000..d043a1b Binary files /dev/null and b/tardisproject/assets/lever-back.png differ diff --git a/tardisproject/assets/lever-forward.png b/tardisproject/assets/lever-forward.png new file mode 100755 index 0000000..d96472e Binary files /dev/null and b/tardisproject/assets/lever-forward.png differ diff --git a/tardisproject/assets/lever-left.png b/tardisproject/assets/lever-left.png new file mode 100755 index 0000000..60e9588 Binary files /dev/null and b/tardisproject/assets/lever-left.png differ diff --git a/tardisproject/assets/lever-mobile-buttons.png b/tardisproject/assets/lever-mobile-buttons.png new file mode 100755 index 0000000..a671731 Binary files /dev/null and b/tardisproject/assets/lever-mobile-buttons.png differ diff --git a/tardisproject/assets/lever-right.pdn b/tardisproject/assets/lever-right.pdn new file mode 100755 index 0000000..8c69891 Binary files /dev/null and b/tardisproject/assets/lever-right.pdn differ diff --git a/tardisproject/assets/lever-right.png b/tardisproject/assets/lever-right.png new file mode 100755 index 0000000..a3c2bf1 Binary files /dev/null and b/tardisproject/assets/lever-right.png differ diff --git a/tardisproject/assets/lever.png b/tardisproject/assets/lever.png new file mode 100755 index 0000000..3d43b18 Binary files /dev/null and b/tardisproject/assets/lever.png differ diff --git a/tardisproject/assets/panel.png b/tardisproject/assets/panel.png new file mode 100755 index 0000000..ef15acd Binary files /dev/null and b/tardisproject/assets/panel.png differ diff --git a/tardisproject/assets/switch-down.png b/tardisproject/assets/switch-down.png new file mode 100755 index 0000000..02a6ebd Binary files /dev/null and b/tardisproject/assets/switch-down.png differ diff --git a/tardisproject/assets/switch-up.png b/tardisproject/assets/switch-up.png new file mode 100755 index 0000000..9c9cb4d Binary files /dev/null and b/tardisproject/assets/switch-up.png differ diff --git a/tardisproject/assets/switch.png b/tardisproject/assets/switch.png new file mode 100755 index 0000000..e648fce Binary files /dev/null and b/tardisproject/assets/switch.png differ diff --git a/tardisproject/assets/text-panel.png b/tardisproject/assets/text-panel.png new file mode 100755 index 0000000..842b958 Binary files /dev/null and b/tardisproject/assets/text-panel.png differ diff --git a/tardisproject/assets/throttle-lever-base.png b/tardisproject/assets/throttle-lever-base.png new file mode 100755 index 0000000..02d0ab2 Binary files /dev/null and b/tardisproject/assets/throttle-lever-base.png differ diff --git a/tardisproject/assets/throttle-lever-handle.png b/tardisproject/assets/throttle-lever-handle.png new file mode 100755 index 0000000..c3b598e Binary files /dev/null and b/tardisproject/assets/throttle-lever-handle.png differ diff --git a/tardisproject/classes.js b/tardisproject/classes.js new file mode 100755 index 0000000..24f2685 --- /dev/null +++ b/tardisproject/classes.js @@ -0,0 +1,372 @@ +class Panel{ + constructor(x,y,width,height){ + this.width=width; + this.height=height; + this.pos={ + x: x, + y: y + }; + } + draw(){ + ctx.drawImage($("#img_panel")[0],this.pos.x,this.pos.y,this.width,this.height); + } +} +class Throttlelever{ + constructor(panel,x,y,scale){ + this.panel=panel; + this.scale=scale; + this.name="throttle lever"; + this.desc="changes the power when teleporting"; + this.handlescale=scale*1.6; + this.pos={ + x: setwidth/2-this.scale/2+x, + y: setheight/2-this.scale/2+y + }; + this.min=(this.pos.y-(this.scale+80)/5).toFixed(2); + this.max=(this.pos.y+(this.scale+80)/2.4).toFixed(2); + this.handlepos={ + x: setwidth/2-this.handlescale/2+x, + y: this.max + } + this.mouseisdown=false; + this.mouseisover=false; + } + draw(){ + if(panelnum==this.panel){ + if(this.handlepos.ythis.max){ + this.handlepos.y=this.max; + } + if(power.ison==false){ + this.handlepos.y=this.max + } + this.value=100-(((this.handlepos.y-this.pos.y+26).toFixed())/80*100).toFixed(); + ctx.drawImage($("#img_throttle_base")[0],this.pos.x,this.pos.y,this.scale,this.scale+80); + ctx.drawImage($("#img_throttle_handle")[0],this.handlepos.x,this.handlepos.y,this.handlescale,this.handlescale+20); + if(power.ison==true){ + ctx.fillStyle = "#0df"; + ctx.font = "13px Ariel"; + ctx.fillText(this.value,this.pos.x+15,this.pos.y+this.scale+72) + } + if(telepathicChover.ison==true&&this.mouseisover==true){ + ctx.fillStyle = "#000"; + ctx.globalAlpha = 0.8; + ctx.fillRect(globalcx,globalcy,150,100) + ctx.globalAlpha = 1; + ctx.font = "15px Ariel"; + ctx.fillStyle = "#fff"; + ctx.fillText(this.name,globalcx+20,globalcy+20,149) + ctx.font = "12px Ariel"; + ctx.fillText(this.desc,globalcx,globalcy+40,149) + } + } + } + mouseon(cx,cy){ + if(panelnum==this.panel){ + if(cx>this.pos.x&&cxthis.pos.y&&cythis.pos.x&&cxthis.pos.y&&cythis.pos.x&&cxthis.pos.y&&cythis.pos.x&&cxthis.pos.y&&cythis.pos.x&&cxthis.pos.y&&cythis.pos.x&&cxthis.pos.y&&cythis.pos.y+(this.scale/3)&&cythis.pos.y+(this.scale/3*2)&&cythis.pos.x&&cxthis.pos.y&&cythis.pos.x&&cxthis.pos.y&&cy4)panelnum=1; + } + if(type=="down"){ + panelnum--; + if(panelnum<1)panelnum=4; + } + } + } +} +class Flever{ + constructor(panel,x,y,scale){ + this.panel=panel; + this.state="#img_flever"; + this.scale=-120; + this.name="flight lever" + this.desc="allows you to move when flightmode is enabled" + this.pos={ + x: setwidth/2-(this.scale+260)/2+x, + y: setheight/2-(this.scale+409)/2+y + }; + this.buttonpos={ + x: ((this.pos.x+(this.scale+260)/2)-(this.scale+239)/2)+6, + y: this.pos.y+(this.scale+409)-90 + } + this.mouseisover=false; + this.mobilebuttons=false; + } + draw(){ + if(panelnum==this.panel){ + ctx.drawImage($(this.state)[0],this.pos.x,this.pos.y,this.scale+260,this.scale+409); + if(this.mobilebuttons==true){ + ctx.drawImage($("#img_flever_mobile")[0],this.buttonpos.x,this.buttonpos.y,this.scale+239,this.scale+191); + } + } + } + drawhover(){ + if(telepathicChover.ison==true&&this.mouseisover==true){ + ctx.fillStyle = "#000"; + ctx.globalAlpha = 0.8; + ctx.fillRect(globalcx,globalcy,160,100) + ctx.globalAlpha = 1; + ctx.font = "15px Ariel"; + ctx.fillStyle = "#fff"; + ctx.fillText(this.name,globalcx+20,globalcy+20,this.pos.y+this.scale) + ctx.font = "12px Ariel"; + ctx.fillText(this.desc,globalcx,globalcy+40,this.pos.y+this.scale+20) + ctx.fillText("use arrow keys on keyboard",globalcx,globalcy+80,this.pos.y+this.scale) + } + } + toggle(cx,cy){ + if(panelnum==this.panel&&cx>this.pos.x&&cxthis.pos.y&&cy((this.buttonpos.x)+6)+(this.scale+227)/3&&cy>this.buttonpos.y&&cx<(((this.buttonpos.x)+6)+(this.scale+227)/3)+(this.scale+227)/3&&cy((this.buttonpos.x)+6)+(this.scale+227)/3&&cy>this.buttonpos.y+(this.scale+155)&&cx<(((this.buttonpos.x)+6)+(this.scale+227)/3)+(this.scale+227)/3&&cy((this.buttonpos.x)+6)&&cy>this.buttonpos.y+(this.scale+155)&&cx<(((this.buttonpos.x)+6)+(this.scale+227)/3)+(this.scale+227)/3&&cy((this.buttonpos.x)+6)+(this.scale+227)/1.5&&cy>this.buttonpos.y+(this.scale+155)&&cythis.pos.x&&cxthis.pos.y&&cy1){ + var size=(this.height/1.8-0.5)/(this.text.length-0.5); + } else { + var size=(this.height/1.8-0.5)/1; + } + ctx.font = size+"px Ariel"; + if(power.ison==true){ + for(var i=0; i + + + + + + + + + + + + + + + + + + + + + + + + +
    +go home + + + + +

    +
    + +

    the box below allows mobile users to enter text to things one the game without having to + plug in a keyboard

    +
    + + diff --git a/twitchvideo/requestor.php b/twitchvideo/requestor.php new file mode 100755 index 0000000..a29edba --- /dev/null +++ b/twitchvideo/requestor.php @@ -0,0 +1,33 @@ + + +video requestor + + +"],"",$_POST['videourl']); + $text="https://youtube.com/embed/".explode("=",$text)[1]; + $file=fopen("url.txt","w"); + fwrite($file,$text); + fclose($file); + } else { + $message="password is not right"; + } + } +?> + +

    +
    + +


    +
    +
    +url:

    +password:

    + +
    + + + \ No newline at end of file diff --git a/twitchvideo/url.txt b/twitchvideo/url.txt new file mode 100755 index 0000000..4b03bf5 --- /dev/null +++ b/twitchvideo/url.txt @@ -0,0 +1 @@ +https://youtube.com/embed/zViYpS3BIqY \ No newline at end of file diff --git a/twitchvideo/video.php b/twitchvideo/video.php new file mode 100755 index 0000000..5266748 --- /dev/null +++ b/twitchvideo/video.php @@ -0,0 +1,27 @@ + + + + + + + + + + + \ No newline at end of file