Multiplayer
Before I begin this post, I would like to apologize for how long it has been since my last posting. I have been busy as a bee working on many projects, and I have many things to blurt out! For those of you who still check my blog, thanks for keeping hope…
A while ago, I tried for the first time, multiplayer gaming. Things were ok, untill…. DUH DUH DUH!!!!! The Unfixable Bug
I found that all players controlled each other! :/ I tried, and tried, and tried, not knowing what I was doing. I eventually gave up – or did I?
Over the months, my brain was assimilating data, and comprehending what multiplayer really was, and how it worked. Almost before I gave up, I did a little bit of reading on the subject… I had spent two months semi-consciously thinking, and understanding multiplayer. The more I thought about it, the more I knew that my last idea would fail. In fact I was so sure I never even tried it – to this day! Eventually I asked…. DUH DUH DUH!!!!! The Unity…community!
After that, in about three days, I got my brilliant, well cooked, and delicious answer…..
I was thinking in terms of make a script ignore other player’s input! However, since all scripts are un-synched across the network without a network view, one can actually view it in terms of this: make all other scripts ignore me! (scripts turn them self off on the clients computer if they were not actually spawned by the clients computer – this is un-synched, so on your screen the other players script is turning off. But on their screen YOUR script is turning off!).
I was absolutely exited about this, and thought the reversed logic was GENIUS! In a way, I still do lol.
Anywho, ever since, I have not had that problem – though I once thought I did – it turned out that my player was not being controlled by someone else – but instead, I was seeing someone else’s camera LOL.
~ Geo
AlienAbduction.com!
Well, I cannot really call it Alien Abduction.com… Actually the page’s true name is index.php LOL
http://geiodo.com/msl/index.php
lol, yup…. Just complete, utter, silliness LOL!
Actually, I have decided to integrate my PHP/MySQL learning into the website, have fun trying to convince the aliens to abduct you! Actually… the whole site is just a skeleton LOL, only the mainpage is operational. That, however, is soon to change, however I probably won’t update the post when it has lol.
So, yup, that is the theme… This is not actually a steal off of someone else, but I did do some searching, and found out that the exact same concept had all ready been done LOL.
Ok, so that makes for three LOL’s – wait make that four, in a single post! LOL! Wait…. Wow! Five!
~Geo
StrandBeest
With a little bit of searching (randomly lol) I found this!
It is apparently called a strand beest; That’s right, strand beest, not strand beast lol. The you tube video I was watching about it had a narrator who talks far to fast for the show’s own good, and I kept thinking tramphese…. I eventually gathered the wit to look at the description, and find out that it was actually strand beest LOL. After having found the REAL name, I was able to find the “Ted, Ideas worth spreading” video below. Apparently, this thing will be able to “survive” on it’s own on the beaches, and learn to navigate them. I am not so sure about the “learning” part, but surviving on its own looks pretty possible! It has a simple “brain” Which is around six – 8 (probably 8 as that is one byte), bits; Yup, it is binary, and mechanical. It has a strange water sensor (I am, sadly, I am unsure as to how it works); This sensor detects water, and tells the “Organism” to go the opposite direction. I am a bit skeptic about it simply reversing direction, as that would end up making it simply go back, and fourth. Also, Also it does not really fall under the category of an Organism……. However I just find it dang cool LOL. The mechanics involved in it are just amazing!
PHP & MySQL
YAY!!!!!!! Hehehehhehehhe……… Well, I just recently (a few days ago) Got my VERY OWN MYSQL DATABASE!!!
Yeah… Hehehe….. Ok, well for a programmer, that can be a big thing. Have you ever done a multiplication table? something like this:
| 1 | 2 | 3 |
| 2 | 4 | 6 |
| 3 | 6 | 9 |
Well, that is essentially what a database is, just a giant… GIANT spreadsheet. Except, there is a twist, each cell can contain a file! That, or around two billion letters of text…. hehehhehehe…. Yup, this is big for me!
Now, I am reading a pretty decent book (not THAT long, about an inch thick) on how to use PHP to control a database. Right now, I have not even gotten through the part that teaches me how to use PHP lol. I all ready know PHP, but I am reading through the ENTIRE book so that I can build the files it will need later on, and learn techniques that I may not have know before. In fact, it has been a bit of a jackpot on arrays! I knew what they were : a variable that contains multiple values, which can be accessed via a key, but I did not know I could make them in such simple ways, I can create an array, now, using one line of code (which has about 10 characters in it)! SImplicity is beauty in the programming world! Even cooler, is that the same length of code can be used to generate a n array as long as I want. It only creates an array containing a range of numbers (say 1-31) good for day-of-the-month selections, in fact, in about five lines of code, I can create a PHP script that iterates through the array, and turns it into a selection drop down! Imagine, only about ten lines of code instead of over thirty!
Any who, I am just happy pappy happy yay! Hehehheh.. Yes, just very VERY happy about this… The use of a MySQL database will allow me to store data using a PHP, which I can get to work hand-in-hand with a video game I make in Unity. Lets say I create a system for making custom levels, I could possible make it an option to upload your level to the internet!! With a full understanding of MySQL, that would be an even closer possibility!
Welp, I have successfully posted two things in thirty minutes LOL!
~Geo Larsnick
The evil… Hair cut?
Ok, well, I just find this funny… No… Hysterical!

Yeah… Well, even though it does not exactly look as though I am having the best time of my life, I am actually laughing on the inside. The reason I am not smiling, is because I am preforming a larsnick tradition, the larsnick anti-smile. We are professionals at NOT smiling. However, I need a bit of work, as proven by this photo:

NOTE: I am a BOY NOT a girl, a BOY. BOOOOOOYYYYYYY (I just have long hair lol)
And, thank god, I was not actually going for that style. It is late at the moment, so no picture of me as I am now. Maybe I will upload one later, when it is sunny.
~Geo Larsnick
Oh the sparrows..
Recently I heard my mom yelling “Wow….. Wow… Wow…” She repeated it about ten time until she said “This is just great…” And then she continued wowing. I came upstairs expecting to find her staring at your computer, but instead, sparrows, hundreds of them had swarmed outside the window! I quickly put on my shoes, clicked in my charging camera battery (left on the floor as usual
), and went outside.
The path was like a fractal, small birds fling in small circles, these circles producing and earth-like orbit around an invisible center, the center orbiting like our sun in the outskirts of our tail in the Glaxy, orbits around the central, unknown abyss…
To simplify things…

The bird sub-orbit moving around the swarm orbit, and the swarm orbit moving around the overall orbit.
In other words….
ALL HAIL GIMPP!
Any who, it was overall beautiful, all the birds, all the chirping, the entire randomness, and order of it all…… It was a bit overwhelming. I managed to get some decent video, and on top of that ,got an up-close video of one of them sitting on the roof!
Just something happy to blog about…
Sincerely,
Geo Larsnick
Counter
I am deploying my first ever utility for the mac from Unity today! This is something big because, as a programmer, deploying your first program is phenomenal.As that really did not take you, the reader, much further in understanding it, I am simply exited that I have completed my first utility. The utility has some bugs in it so it will be version 0.1 (A beta) Once I work out all the bugs I will release the final version 1 (1.0) and move on to version two (the betas of which will be 1.1, 1.2, 1.25 if I have that many betas, and so on). Hopefully that explained my numbering system…. Now as I said, the system contains many bugs, which will be the rest of this post; just the funny, silly careless mistakes, I Geo Larsnick, made (I have the same problem in math, I think one number and write the other)
Before I can get into all the funny bugs that I made (accidentally of course) I must give out he basic layout (sorry I lied, it is not JUST the simple, funny mistakes, it is also about where I put them).
The system has four parts, the calculator, timer, number save, and customizer.
Calculator:
A simple calculator capable of all but the memory functions of the native mac widget calculator, aside from making decimals (It can create its own, but you can not create yours) I plan to add decimals soon but not quite yet:

The next aspect, which is probably the only bug free aspect, is the saving system. The saving system is probably the most powerful saving system you will ever find on a calculator, except the VERY professional ones; The only problem is that it can not yet save numbers to your hard drive – a problem I am working on.
The system has four modes of saving, rotate, swap, save, and displace. Save just overrides the number clicked on, swap takes the number that was in the databank previously, and pastes it as the current, then takes what was the current and pastes it into the databank previously clicked. Displace moves each number (below the databank clicked) down by one, and replaces the databank clicked with the current number. when a number is pushed off the bottom is is lost forever. Finally rotate does the same thing, except it rotates all the numbers, and when they are pushed off the bottom that are taken to the top. In rotate, when the number reaches the clicked databank, only then is it removed.

The next area is the timer the MOST tedious part to build. It can take any number and convert it into seconds, hours and minutes. If you have seconds selected and timer input set as 100, then it treats it as 100 seconds, which is one minute and 40 seconds. If you have minutes selected it treats it like 100 minutes, which is one hour, and 40 minutes. If you have it selected for hours it treats it as 100 hours, which is 100 hours. You set the timer by using one of two ways.
1. click on one of the databases below, then select minutes, hours, our seconds, now click convert, and start.
2. Use the speed dials located under convert, minutes, seconds, hours, and start. there are 12 buttons, six speed buttons, and six basic buttons. All the buttons increase the timer by 1, but the speed dials do it far faster (by holding down the button) while the regular button only does it once every time you click.
Here is where one of the bugs is, on the bottom part I got the positions of the speed dials, and regular buttons mixed up! silly me hehehe….

Finally there is the customization feature, which currently only changes the background color, you can use the rgb sliders, or use the other sliders which will control the rgb for you.

The bug here is that if you drag the purple slider, the yellow slider tag disappears.
Anyway that is the run though, if I find any more bugs I will update the document, if you find any more bugs please leave a comment! Please leave a comment if you have any ideas as well.
Click here to download
specifications:
Only for mac
8.1 megabytes
JS Grr…..
Well recently JS has been giving me some trouble, My current obstacle is a translator that replaces letters in the alphabet to create a simple form of encryption. My problem is that I have a numeric based system that I call Alphabetical Numeric Codec, whenever I invoke L3 of the encryption it treats A as 1, I am deeply confused, here was my first theory:
L3 is a level that transforms the letters into numbers, so, perhaps when A gets transformed it turns into numbers, and then perhaps when numbers get transformed it the encoded A into an encoded 1. I am still rather confused though, because when I deleted the number conversion units the letter A turned into something that was not even specified within the JS function.
I am going to be doing experiments shortly to try and find the problem
~Geo Larsnick
Update:
AHA! It turns out my invoking methods were doing two functions at once! Thus making my original theory semi-correct, in that is it, turning the letters into numbers into letters. It also explains a problem I was having with an invoke method, L4 would not even commence!
Happy coding all whom can understand this
Another Update:
Here:
if (SI2 == 2)
{
if (L == 1)
{
Invoke (”translate3″, 0);
}
if (L == 2)
{
Invoke (”translate4″, 0);
}
if (L == 3)
{
Invoke (”dd”, 0);
}
if (L == 3)
{
Invoke (”translate6″, 0);
}
}
that was my invoke function, if you look closer..
if (L == 3)
{
Invoke (”dd”, 0);
}
if (L == 3)
{
Invoke (”translate6″, 0);
}
You will see that when L = 3 it invoked both dd, and translate 6, I discovered this while pouring over my code to do testing.
this also explains why when L = 4 it was not invoking translate 6.
As I said happy coding! (sorry Aubrey, but your saying is too good not to be stolen
)
~ Geo Larsnick
JavaScript!
Probably my most recent achievement in computer science has to be website JavaScript, what is JavaScript you ask?
Well JavaScript is just on of many script types such as boo, C#, etc, a script is just a bunch of plain text, but the special thing about scripts is that computers can read them. JavaScript is like stage scripting in concept, but not in execution, for example:
lets say you want a box to move from right to left:
Stage Scripting version:
….. then the box moves from right to left …..
JavaScript version (not exactly but similar)
var moveBox = true;
var xPosition = 0;
function Update ()
{
box.position.x = xPosition;
}
function Awake ()
{
xPosition = mathf.lerp (0, 100, 0.6);
}
I can read it, can you? In fact I used a js VERY similar to that one to make a box x position always equal the x position of a ball, I used a math.lerp function to make it go smoothly, so that if the ball is moving fast enough the block can not keep up allowing the ball to pass:
}
var xAxis = false;
var speed = 1.0;
var Marble : GameObject;
var startx = 0.0;
var endx = 0.0;
var starty = 0.0;
var endy = 0.0;
var startz = 0.0;
var endz = 0.0;
var fspeed = 0.0;
function Update ()
{
Invoke (”positionUpdate”,0);
}
function positionUpdate ()
{
fspeed = speed / 100;
startx = transform.position.x;
endx = Marble.transform.position.x;
starty = transform.position.y;
endy = Marble.transform.position.y;
transform.position.y = Mathf.Lerp(starty, endy, 1);
if (xAxis)
{
transform.position.x = Mathf.Lerp(startx, endx, fspeed);
}
}
The key difference though is that all of those are Gaming JS examles not website JS examples
In fact JS was the first programming language that I ever learned (perhaps html came first), I immediately took off upon figuring it out. However only recently I have learned website JS (I will knock off the bolding now).
Website JS was surprisingly different.. yet the same! here is one of the scripts that I made:
var timeleft = 59;
var count = true;
timeout()
mes()
function timeout()
{
if (count == true)
{
setTimeout(”document.getElementById(’M').innerHTML=’you will automatically be redirected in ‘ + timeleft + ‘ seconds’”,1000);
setTimeout(”timeleft = timeleft – 1″,1000);
setTimeout(”timeout()”,1000);
if (timeleft == 0)
{
window.location=’http://menar.plexpedia.com’;
}
}
if (count == false)
{
ab()
}
if (timeleft == 10 – 1)
{
countz()
document.getElementById(’mes’).innerHTML=”10 seconds to go!”;
}
if (timeleft == 5 – 1)
{
document.getElementById(’mes’).innerHTML=”Alert 5 seconds left”;
}
if (timeleft == 30 – 1)
{
document.getElementById(’mes’).innerHTML=”30 seconds!”;
}
}
function countz()
{
var r=confirm(”you have 10 seconds left” + ‘\n’ + “press cancel to abort redirect” + ‘\n’ + “press ok to continue”);
count = r;
}
function ab()
{
setTimeout(”document.getElementById(’M').innerHTML=””,1000);
setTimeout(”document.getElementById(’mes’).innerHTML=’Aborted!’”,1000);
}
I have to say I simply LOVE doing JS, I have a passion for it, just the fun of making a program and seeing it work is enough to satisfy me… But there is more!
Not only is JS fun, but it is useful, you can make popups, bookmarks, program videogames etc, it overall is a POWERFUL thing that can be used to do MANY things, many…. (says in ninja voice) Interactive things! Here is my FIRST ever website script, and this time I will not spam your computer with my craziness, I will just give it to you in action:
Ok for some reason it is not working, just click here instead.
Anywho, hopefully I have successfully expressed my opinions on JavaScript.
~Geo Larsnick
Howdy! I’m back!
After months of neglect to this site I have decided to use it for something other than file storage. In fact, I wish to start blogging again! My interests have changed greatly, as you will soon see (not that anyone is reading this
); as I will be posting over the weeks ahead. If anyone IS still here (which I will be awestruck if anyone is), do feel free to leave a comment. I also hope to improve my writing skill
~ Geo Larsnick