Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Cubelands

Pages: 1 ... 8 9 10 11 12 [13] 14 15 16 17 18 ... 219
181
Gallery / Re: Brian Smith's Terrain Generator v4
« on: January 23, 2013, 05:36:39 AM »
If i added octaves and erosion, it would look better. I was thinking of making something that generated 10 Octaves of Simplex Noise that has been Thermally and Hydraulically Eroded that animals overtime have morphed paths on realistic sides of mountains. Also adding in a splash of 3D Simplex to give it some really nice cliffs. Then I would add something to merge bricks so that it isn't brick costly.

But this would take more time then I am willing to spend.
awesome!

182
Off Topic / Re: New Wi-Fi router, post speedtests
« on: January 21, 2013, 09:32:11 PM »

183

My frist sccessful finish GUI Calculator.

New problem issues:
X close will not work.

How the number button (click any the numbers) put in text box?

  • number
  • addition
  • subtraction
  • multiplication
  • division
  • equality
above list need put in text box too.

184
Change calculatorBasicGui(%val) to calculatorBasic(%val)
It worked! I did open GUI full screen.


Code: [Select]
new GuiWindowCtrl(Calculatorbasic) {
   profile = "GuiWindowProfile";
   horizSizing = "width";
   vertSizing = "height";
   position = "0 0";
   extent = "136 175";
   minExtent = "8 2";
   enabled = "0";
   visible = "1";
   clipToParent = "1";
   command = "Canvas.popDialog(Calculatorbasic);";
   text = "Calculator-Furling";
   maxLength = "255";
   resizeWidth = "0";
   resizeHeight = "0";
   canMove = "1";
   canClose = "1";
   canMinimize = "0";
   canMaximize = "0";
   minSize = "50 50";
It should be extent = "136 175"; Not full screen :( How I am going fix it?

Update EDIT:
Code: [Select]
Client checking Add-On: GUI_Calculator
Loading Add-On: GUI_Calculator (CRC:850202123)
Executing Add-Ons/GUI_Calculator/client.cs.
Add-Ons/GUI_Calculator/Calculatorbasic.gui Line: 380 - Syntax error.
>>> Some error context, with ## on sides of error halt:
      buttonType = "PushButton";

      bitmap = "base/client/ui/button2";

      lockAspectRatio = "0";

      alignLeft = "0";

      alignTop = "0";

      overflowImage = "0";

      mKeepCached = "0";

      mColor = "255 255 255 255";

   };

};

//--- OBJECT WRITE END ---

##
>>> Error report complete.

Executing Add-Ons/GUI_Calculator/Calculatorbasic.gui.
Add-Ons/GUI_Calculator/Calculatorbasic.gui Line: 380 - Syntax error.
>>> Some error context, with ## on sides of error halt:
      buttonType = "PushButton";

      bitmap = "base/client/ui/button2";

      lockAspectRatio = "0";

      alignLeft = "0";

      alignTop = "0";

      overflowImage = "0";

      mKeepCached = "0";

      mColor = "255 255 255 255";

   };

};

//--- OBJECT WRITE END ---

##
>>> Error report complete.


Client checking Add-On: GUI_Calculator/GUI_Calculator
    nested add-on - will not execute

Code: [Select]
Add-Ons/GUI_Calculator/client.cs (11): Unable to find object: 'Calculatorbasic' attempting to call function 'isAwake'
BackTrace: ->Calculatorbasic

185
Console
Code: [Select]
Client checking Add-On: GUI_Calculator
Loading Add-On: GUI_Calculator (CRC:-1141803747)
Executing Add-Ons/GUI_Calculator/client.cs.
Executing Add-Ons/GUI_Calculator/Calculatorbasic.gui.

Client checking Add-On: GUI_Calculator/GUI_Calculator
    nested add-on - will not execute

Client
Code: [Select]
exec("./Calculatorbasic.gui");
$remapdivision[$remapcount] = "Calculator Basic";
$remapname[$remapcount] = "Calculator Toggle";
$remapcmd[$remapcount] = "Calculatorbasic";
$remapcount++;

function CalculatorbasicGUI(%val)
{
if(%val)
{
if(!Calculatorbasic.isAwake())
{
canvas.pushDialog(Calculatorbasic);
}
else
{
canvas.popDialog(Calculatorbasic);
}
}
}

GUI
Code: [Select]
//--- OBJECT WRITE BEGIN ---

new GuiWindowCtrl(Calculatorbasic) {
   profile = "GuiWindowProfile";
   horizSizing = "width";
   vertSizing = "height";
   position = "0 0";
   extent = "136 175";
   minExtent = "8 2";
   enabled = "0";
   visible = "1";
   clipToParent = "1";
   command = "Canvas.popDialog(Calculatorbasic);";
   text = "Calculator-Furling";
   maxLength = "255";
   resizeWidth = "0";
   resizeHeight = "0";
   canMove = "1";
   canClose = "1";
   canMinimize = "0";
   canMaximize = "0";
   minSize = "50 50";

   new GuiBitmapButtonCtrl(0) {
      profile = "BlockButtonProfile";
      horizSizing = "right";
      vertSizing = "top";
      position = "7 141";
      extent = "30 30";
      minExtent = "8 2";
      enabled = "1";
      visible = "1";
      clipToParent = "1";
      command = "Canvas.popDialog(Calculatorbasic);";
      text = "0";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "base/client/ui/button2";
      lockAspectRatio = "0";
      alignLeft = "0";
      alignTop = "0";
      overflowImage = "0";
      mKeepCached = "0";
      mColor = "255 255 255 255";
   };
   new GuiTextEditCtrl(CAL) {
      profile = "GuiTextEditProfile";
      horizSizing = "center";
      vertSizing = "center";
      position = "8 27";
      extent = "122 18";
      minExtent = "8 2";
      enabled = "1";
      visible = "1";
      clipToParent = "1";
      maxLength = "255";
      historySize = "0";
      password = "0";
      tabComplete = "0";
      sinkAllKeyEvents = "0";
   };
   new GuiBitmapButtonCtrl(clear) {
      profile = "BlockButtonProfile";
      horizSizing = "right";
      vertSizing = "top";
      position = "37 141";
      extent = "30 30";
      minExtent = "8 2";
      enabled = "1";
      visible = "1";
      clipToParent = "1";
      command = "CALC.settext(\"\"); GUI1.settext(\"\"); GUI2.settext(\"\");";
      text = "C";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "base/client/ui/button2";
      lockAspectRatio = "0";
      alignLeft = "0";
      alignTop = "0";
      overflowImage = "0";
      mKeepCached = "0";
      mColor = "255 255 255 255";
   };
   new GuiBitmapButtonCtrl(1) {
      profile = "BlockButtonProfile";
      horizSizing = "right";
      vertSizing = "top";
      position = "7 110";
      extent = "30 30";
      minExtent = "8 2";
      enabled = "1";
      visible = "1";
      clipToParent = "1";
      command = "Canvas.popDialog(Calculator);";
      text = "1";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "base/client/ui/button2";
      lockAspectRatio = "0";
      alignLeft = "0";
      alignTop = "0";
      overflowImage = "0";
      mKeepCached = "0";
      mColor = "255 255 255 255";
   };
   new GuiBitmapButtonCtrl(2) {
      profile = "BlockButtonProfile";
      horizSizing = "right";
      vertSizing = "top";
      position = "38 110";
      extent = "30 30";
      minExtent = "8 2";
      enabled = "1";
      visible = "1";
      clipToParent = "1";
      command = "Canvas.popDialog(Calculator);";
      text = "2";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "base/client/ui/button2";
      lockAspectRatio = "0";
      alignLeft = "0";
      alignTop = "0";
      overflowImage = "0";
      mKeepCached = "0";
      mColor = "255 255 255 255";
   };
   new GuiBitmapButtonCtrl(3) {
      profile = "BlockButtonProfile";
      horizSizing = "right";
      vertSizing = "top";
      position = "69 110";
      extent = "30 30";
      minExtent = "8 2";
      enabled = "1";
      visible = "1";
      clipToParent = "1";
      command = "Canvas.popDialog(Calculator);";
      text = "3";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "base/client/ui/button2";
      lockAspectRatio = "0";
      alignLeft = "0";
      alignTop = "0";
      overflowImage = "0";
      mKeepCached = "0";
      mColor = "255 255 255 255";
   };
   new GuiBitmapButtonCtrl(CALminus) {
      profile = "BlockButtonProfile";
      horizSizing = "right";
      vertSizing = "top";
      position = "100 110";
      extent = "30 30";
      minExtent = "8 2";
      enabled = "1";
      visible = "1";
      clipToParent = "1";
      command = "CALC.settext(GUI1.getValue() - GUI2.getValue());";
      text = "-";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "base/client/ui/button2";
      lockAspectRatio = "0";
      alignLeft = "0";
      alignTop = "0";
      overflowImage = "0";
      mKeepCached = "0";
      mColor = "255 255 255 255";
   };
   new GuiBitmapButtonCtrl(4) {
      profile = "BlockButtonProfile";
      horizSizing = "right";
      vertSizing = "top";
      position = "7 79";
      extent = "30 30";
      minExtent = "8 2";
      enabled = "1";
      visible = "1";
      clipToParent = "1";
      command = "Canvas.popDialog(Calculator);";
      text = "4";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "base/client/ui/button2";
      lockAspectRatio = "0";
      alignLeft = "0";
      alignTop = "0";
      overflowImage = "0";
      mKeepCached = "0";
      mColor = "255 255 255 255";
   };
   new GuiBitmapButtonCtrl(5) {
      profile = "BlockButtonProfile";
      horizSizing = "right";
      vertSizing = "top";
      position = "38 79";
      extent = "30 30";
      minExtent = "8 2";
      enabled = "1";
      visible = "1";
      clipToParent = "1";
      command = "Canvas.popDialog(Calculator);";
      text = "5";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "base/client/ui/button2";
      lockAspectRatio = "0";
      alignLeft = "0";
      alignTop = "0";
      overflowImage = "0";
      mKeepCached = "0";
      mColor = "255 255 255 255";
   };
   new GuiBitmapButtonCtrl(6) {
      profile = "BlockButtonProfile";
      horizSizing = "right";
      vertSizing = "top";
      position = "69 79";
      extent = "30 30";
      minExtent = "8 2";
      enabled = "1";
      visible = "1";
      clipToParent = "1";
      command = "Canvas.popDialog(Calculator);";
      text = "6";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "base/client/ui/button2";
      lockAspectRatio = "0";
      alignLeft = "0";
      alignTop = "0";
      overflowImage = "0";
      mKeepCached = "0";
      mColor = "255 255 255 255";
   };
   new GuiBitmapButtonCtrl(CALtimes) {
      profile = "BlockButtonProfile";
      horizSizing = "right";
      vertSizing = "top";
      position = "100 79";
      extent = "30 30";
      minExtent = "8 2";
      enabled = "1";
      visible = "1";
      clipToParent = "1";
      command = "CAL.settext(GUI1.getValue() * GUI2.getValue());";
      text = "X";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "base/client/ui/button2";
      lockAspectRatio = "0";
      alignLeft = "0";
      alignTop = "0";
      overflowImage = "0";
      mKeepCached = "0";
      mColor = "255 255 255 255";
   };
   new GuiBitmapButtonCtrl(7) {
      profile = "BlockButtonProfile";
      horizSizing = "right";
      vertSizing = "top";
      position = "7 48";
      extent = "30 30";
      minExtent = "8 2";
      enabled = "1";
      visible = "1";
      clipToParent = "1";
      command = "Canvas.popDialog(Calculator);";
      text = "7";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "base/client/ui/button2";
      lockAspectRatio = "0";
      alignLeft = "0";
      alignTop = "0";
      overflowImage = "0";
      mKeepCached = "0";
      mColor = "255 255 255 255";
   };
   new GuiBitmapButtonCtrl(8) {
      profile = "BlockButtonProfile";
      horizSizing = "right";
      vertSizing = "top";
      position = "38 48";
      extent = "30 30";
      minExtent = "8 2";
      enabled = "1";
      visible = "1";
      clipToParent = "1";
      command = "Canvas.popDialog(Calculator);";
      text = "8";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "base/client/ui/button2";
      lockAspectRatio = "0";
      alignLeft = "0";
      alignTop = "0";
      overflowImage = "0";
      mKeepCached = "0";
      mColor = "255 255 255 255";
   };
   new GuiBitmapButtonCtrl(9) {
      profile = "BlockButtonProfile";
      horizSizing = "right";
      vertSizing = "top";
      position = "69 48";
      extent = "30 30";
      minExtent = "8 2";
      enabled = "1";
      visible = "1";
      clipToParent = "1";
      command = "Canvas.popDialog(Calculator);";
      text = "9";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "base/client/ui/button2";
      lockAspectRatio = "0";
      alignLeft = "0";
      alignTop = "0";
      overflowImage = "0";
      mKeepCached = "0";
      mColor = "255 255 255 255";
   };
   new GuiBitmapButtonCtrl(CALdivide) {
      profile = "BlockButtonProfile";
      horizSizing = "right";
      vertSizing = "top";
      position = "100 48";
      extent = "30 30";
      minExtent = "8 2";
      enabled = "1";
      visible = "1";
      clipToParent = "1";
      command = "CAL.settext(GUI1.getValue() / GUI2.getValue());";
      text = "/";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "base/client/ui/button2";
      lockAspectRatio = "0";
      alignLeft = "0";
      alignTop = "0";
      overflowImage = "0";
      mKeepCached = "0";
      mColor = "255 255 255 255";
   };
   new GuiBitmapButtonCtrl(CALPLUS) {
      profile = "BlockButtonProfile";
      horizSizing = "right";
      vertSizing = "top";
      position = "100 141";
      extent = "30 30";
      minExtent = "8 2";
      enabled = "1";
      visible = "1";
      clipToParent = "1";
      command = "CAL.settext(GUI1.getValue() + GUI2.getValue());";
      text = "+";
      groupNum = "-1";
      buttonType = "PushButton";
      bitmap = "base/client/ui/button2";
      lockAspectRatio = "0";
      alignLeft = "0";
      alignTop = "0";
      overflowImage = "0";
      mKeepCached = "0";
      mColor = "255 255 255 255";
   };
};

//--- OBJECT WRITE END ---


I made keybind, but it doesn't work of pop up :(

It should look like this. I made this GUI finish.

186
Ok, for your first project, make a calculator with a GUI. That shouldn't be too hard, if you have any questions, just post here.
errr... why you gave me hardest one?

187
Off Topic / Thailand man is loving crazy!
« on: January 21, 2013, 12:53:19 PM »
http://www.youtube.com/watch?v=dnyLOH_40Rw&NR=1
I am not tell you what it is? I perfer you will find out.
anyway I did watch whole 8 mintues. stuff!

188
Off Topic / Re: The Blue Dragon (Glaucus atlanticus)
« on: January 21, 2013, 09:51:25 AM »
http://en.wikipedia.org/wiki/Glaucus_atlanticus

Quote
Like almost all heterobranchs, Glaucus is a hermaphrodite, having both male and female reproductive organs. Unlike most nudibranchs, which mate with their right sides facing, sea swallows mate with ventral sides facing.[8] After mating, both animals produce egg strings.

facebook fan
https://www.facebook.com/pages/Glaucus-Atlanticus/116454301710146

189
Off Topic / Don't Judge Too Quickly
« on: January 21, 2013, 08:59:14 AM »
http://www.youtube.com/watch?v=tQ6lE8bbWek
Quote
We need to be careful not to judge others. Get all the facts before you judge others...
Do not jump to conclusions... SMILE

This video made me laugh so hard!

190
Off Topic / Re: The Blue Dragon (Glaucus atlanticus)
« on: January 21, 2013, 05:28:54 AM »
This is a nice change, actually.
:D

191

I like this way better!
Hint: No gay image editing
You are silly, If He had approved to be friend, then you would see him as online. We had not see him online, I think Badspot's other friend were approved already maybe five people limts.

192
Anyone ideas what you want to make yet?
anything as smiple script.

I am waiting for Elm post here.

193
Off Topic / Re: The Blue Dragon (Glaucus atlanticus)
« on: January 21, 2013, 02:00:21 AM »
But this is actually really neat. Where did you hear fnd out about this creature?
Fixed.
I was read at facebook thur to my friend did posted it.

194
Off Topic / Re: The Blue Dragon (Glaucus atlanticus)
« on: January 20, 2013, 03:20:08 PM »

195
Off Topic / The Blue Dragon (Glaucus atlanticus)
« on: January 20, 2013, 02:55:42 PM »
The Blue Dragon (Glaucus atlanticus): one of the rarest and most beautiful molluscs [VIDEO]


The Glaucus atlanticus is a mollusc that belongs to the ocean-dwelling group called nudibranchs. They have muscular feet and rhinophores, or the tentacles. The Blue Sea Slug has adapted physically to suit its needs. One great adaptation is the sac located in its stomach filled with gas, helping it stay afloat as drifting along the ocean waves is its only real mode of transportation.


The Sea Swallow also feeds on animals with deadly nematocysts (stinging cells) and some of these are dangerous suckers. These dangerous prey are called Blue Bottles or, sometimes, Portuguese Man O' Wars. The Glaucus atlanticus is immune to nematocysts, thus giving it the ability to consume its prey, as well as store its dinner's venom for its own defense! The venom is collected by the tips of the slug's 'fingers', called cerata, and stored in specialized sacs. This is why the Blue Sea Slug is feared more than the Portuguese Man O' War and can leave you with a much deadlier sting, depending on the amount of venom it has stored.


One of the most distinctive characteristics of this animal is the way it lies in the water. Glaucus atlanticus floats upside-down! Its dorsal surface (backside) is actually its 'foot' and belly and is either blue or blueish-white in color. The true dorsal surface of the Sea Swallow is a silvery-greyish color. Both coloration on each side help camouflage and protect it from both underwater and aerial predators. The ocean's surface from above looks blue and white because of the waves, but underwater, darker colors like silver and grey make it harder for prey to be spotted.


When out of water, they tend to roll into little balls and open up again once they are placed back into water. They also slowly turn themselves over in water if their silver-grey surface is facing skyward.


As in the case of most sea slugs, Glaucus atlanticus too are hermaphodite, allowing both slugs to produce egg strings after mating. Glaucus atlanticus can grow up to 40-50mm and are found all over the world in temperate to tropical waters. Glaucuses lay their eggs on driftwood or even the skeletons of their victims or on objects or animals that remain afloat to allow their young to develop until they have their own air sacs.

Washed up in the Surf Zone, thousands of these amazing and beautiful creatures, created great entertainment for the children for the young and old alike. Check out the amazing VIDEO:
http://www.youtube.com/watch?v=shaIcpLBS70&feature=player_embedded

http://www.youtube.com/results?search_query=Glaucus+atlanticus&oq=Glaucus+atlanticus&gs_l=youtube.12..0l9j0i5.2203.2203.0.5161.1.1.0.0.0.0.215.215.2-1.1.0...0.0...1ac.2.CF-9U0v0yhM

Pages: 1 ... 8 9 10 11 12 [13] 14 15 16 17 18 ... 219