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.


Topics - MARBLE MAN

Pages: 1 [2] 3 4 5 6 7 ... 10
16
Add-Ons / Vehicle Spawning GUI & Music Setting GUI
« on: September 22, 2013, 11:10:21 PM »


/spawnVehicle command brings up a Vehicle Spawn GUI for anyone who uses the command
Vehicles take on current paint can color
if the paint can is set to FX - Rainbow, the vehicle will be rainbow

>>Download<<

If someone made a GIF of the rainbow setting, that would be great




/setmusic pops up this gui that lets player's put music on their bodies!

>>Download<<

17
Modification Help / [Resource] Brain F*ck implementation
« on: September 21, 2013, 03:51:59 PM »
Code:

function ord(%c)
{
   if(!strLen(%c))
      return 0;
   return strPos(mT(),%c)+1;
}
function chr(%c)
{
   if(%c==0)
      return "";
   return getSubStr(mT(),%c-1,1);
}
function mH(%i)
{
   %m="0123456789ABCDEF";
   while(mFloor(%i))
   {
      %s=%s@getSubStr(%m,%i%16,1);
      %i/=16;
   }
   return(strLen(%s<2)?"0":"")@%s;
}
function mT()
{
   for(%i=1;%i<255;%i++)
      %s=%s@"\\x"@mH(%i);
   return collapseEscape(%s);
}
function brain_interpret(%str,%in,%max)
{
   %cells=(strLen(%max)?mFloor(%max):30000);
   for(%i=0;%i<strLen(%str);%i++)
      if(strPos("+-<>[].,",getSubStr(%str,%i,1))!=-1)
         %strip=%strip@getSubStr(%str,%i,1);
   for(%i=0;%i<strLen(%strip);%i++)
   {
      switch$(getSubStr(%strip,%i,1))
      {
         case "+" :
            if(%cell[%pointer] < 255)
               %cell[%pointer]++;
         case "-" :
            if(%cell[%pointer] > 0)
               %cell[%pointer]--;
         case ">" :
            if(%pointer + 1 < %cells)
               %pointer++;
         case "<" :
            if(%pointer - 1 > 0)
               %pointer--;
         case "." :
            %out=%out@chr(mFloor(%cell[%pointer]));
         case "," :
            if(strLen(%in))
            {
               %cell[%pointer]=ord(getSubStr(%in,0,1));
               %in=getSubStr(%in,1,strLen(%in)-1);
            }
         case "[" :
            if(%cell[%pointer] <= 0)
            {
               for(%a=%b=0;%b+%i<strLen(%strip);%b++)
               {
                  if(getSubStr(%strip,%i+%b+1,1)$="[")
                     %a++;
                  if(getSubStr(%strip,%i+%b+1,1)$="]" && !%a)
                  {
                     %i+=%b+2;
                     break;
                  }
                  if(getSubStr(%strip,%i+%b+1,1)$="]" && %a)
                     %a--;
               }
            }
         case "]" :
            if(%cell[%pointer] > 0)
            {
               for(%a=%b=0;%i-%b-1>0;%b++)
               {
                  if(getSubStr(%strip,%i-%b-1,1)$="]")
                     %a++;
                  if(getSubStr(%strip,%i-%b-1,1)$="[" && !%a)
                  {
                     %i=%i-%b-1;
                     break;
                  }
                  if(getSubStr(%strip,%i-%b-1,1)$="[" && %a)
                     %a--;
               }
            }
      }
   }
   return %out;
}



Implementation:
String brain_interpret ( String code )
String brain_interpret ( String code , String input )
String brain_interpret ( String code , String input , Integer maxCells )

Max Cells default to 30000

Information:
Code consists of these characters
+-><,.

Each character has a specific role

Character         C equivalent
(Start)char array[30000];char *ptr=array;
>++ptr;
<--ptr;
+++*ptr;
---*ptr;
.putchar(*ptr);
,*ptr=getchar();
[while (*ptr) {
]}

Examples:
brain_interpret(",[.>,]","brain"); Returns "brain"
brain_interpret("++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>."); Returns "Hello"

More Information:
Wikipedia article

Compact Version (995 bytes) (Compressed: 605 bytes)

function ord(%c){if(!strLen(%c))return 0;return strPos(mT(),%c)+1;}function chr(%c){if(%c==0)return "";return getSubStr(mT(),%c-1,1);}function mH(%i){%m="0123456789ABCDEF";while(mFloor(%i)){%s=%s@getSubStr(%m,%i%16,1);%i/=16;}return(strLen(%s<2)?"0":"")@%s;}function mT(){for(%i=1;%i<255;%i++)%s=%s@"\\x"@mH(%i);return collapseEscape(%s);}function brain_compile(%s,%n,%x){%l=(strLen(%x)?mFloor(%x):30000);for(%i=0;%i<strLen(%s);%i++)if(strPos("+-<>[].,",getSubStr(%str,%i,1))!=-1)%r=%r@getSubStr(%str,%i,1);%c="";for(%i=0;%i<strLen(%r);%i++){switch$(getSubStr(%r,%i,1)){case "+":%c=%c@"if(_p<255)_p++;\n";case "-":%c=%c@"if(_p>0)_p--;\n";case ">":%c=%c@"if(%p+1<%l)%p++;\n";case "<":%c=%c@"if(%p-1>0)%p--;\n";case ".":%c=%c@"%o=%o@chr(mFloor(_p));\n";case ",":if(strLen(%in)){%c=%c@"_p="@ord(getSubStr(%n,0,1))@";\n";%n=getSubStr(%n,1,strLen(%n)-1);}case "[":%c=%c@"while(_p){\n";case "]":%c=%c@"}\n";}}%c=strReplace(%c,"_p","%j[%p]");eval(%c);return %o;}


I can make it a bit smaller, but that would be pointless ;-;

18
Modification Help / Pictionary
« on: September 11, 2013, 07:36:27 PM »
I've been working on pictionary because elm

Here's some pictures of the gui:

Main menu / server list


In a server


How this works:

I have made:
A Client
A Server (That runs on the client, or the server (I included a server mod so you can run a server hosting it)
A Server listing (It's hosted on my website)
The server listing is like the blockland server listing

To host, you need to port forward port 43420

To play, you need 2 people on your server
There are 7 lists of words to pick from:
Easy, Medium, Hard, VeryHard, Idioms, Movies, People

To guess, type ^guessed phrase or word
there has to be a drawing person

You don't become the person who draws if you win, it switches to a random person

>>Download<<

It's still WIP, but this is a stable beta

You can host your own servers if you want
Servers check authentication when you post to the server list and when a player joins

ONE SERVER PER BL_ID

If you spam junk in your server name, I will beat you up
If you spam junk in the chat rooms, I will beat you up

History and presets don't work

You can only draw and erase if you are the drawing person

Have fun playing pictionary!

please post if you find any bugs

19
Modification Help / Pinging a server
« on: September 08, 2013, 04:12:06 PM »
I know of these functions:

querySingleServer(address, flags)
pingSingleServer(address, index)
onSimplePingTimeout()
onSimplePingReceived()


How might I use these so I can ping an IP and get the ping


Working on this, I think I can get it!


Call pingSingleServer(ip:port, index);
Parent onSImplePingTimeout and Recieved

package pingy
{
    function onSimplePingReceived(%host,%ping,%index)
   {
      Parent::onSimplePingReceived(%host,%ping,%index);
   }
   function onSimplePingTimeout(%host,%index)
   {
      Parent::onSimplePingTimeout(%host,%index);
   }
};




I'm getting issues where "onPingTimeout" is being called regardless of whether I can connect to that connection or not.

20
Suggestions & Requests / Took a request
« on: August 31, 2013, 03:39:31 PM »
I'm bored, so I will code the first request that I can actually complete

Request on!

Back!


I'm making an item that shoots lasers from the sky where you look

21
Modification Help / [solved] TCP Help
« on: July 23, 2013, 02:01:33 PM »
I'm trying to authenticate an ip and a name to get a bl_id using the auth.blockland.us server

new TCPObject(authTCP);
%content="NAME="@%name@"&IP="@%ip;
authTCP.send("POST /authQuery.php?"@%content@" HTTP/1.1\r\nHost: auth.blockland.us\r\nUser-Agent: Torque/1.0\r\n\r\n");

(note, ip and name do have values when the code is being run)

When I call this, the "authTCP::onLine" function, it gives me nothing

is the string I'm sending incorrect?
How can I fix this and make it return values?

If it worked correctly, It would return "YES BL_ID"


22
Gallery / Mobiles Disco '99
« on: July 21, 2013, 11:10:42 PM »
I decided to make These Maps and more, but out of static Shapes!!

This is the actual version


This is the map version (before v21)


This is my version


So yeah, look forward to more maps?

23
Modification Help / Client Damage Detection
« on: July 21, 2013, 06:39:31 PM »
I'm looking for several methods of detecting the following this:
  • When you kill/destroy an object (player/vehicle/bot)
  • When you damage an object
  • When you get killed

24
Modification Help / [RESOURCE] Set Minigame Data Command
« on: June 25, 2013, 12:09:17 AM »
function ServerCmdSetMinigameData(%client,%arg0)

This command confused me at first.
everything is sent in one long list separated by TABs

Here's the list of Default Prefs that I picked up:
T String-Minigame Title
IO Bool-Invite Only
UABP Bool-Use All Player's Bricks
PUOB Bool-Player's use Own Bricks
PBB Int-Breaking Brick Points
PPB Int-Planting Brick Points
PKP Int-Killing a player Points
PKB Int-Killing a bot Points
PKS Int-Killing your self Points
PD Int-Dying Points
RT Int-Respawn Time
VRT Int-Vehicle Respawn Time
BRT Int-Brick Respawn Time
BtRT Int-Bot Respawn Time
USB Bool-Use Spawn Bricks
FD Bool-Falling Damage
WD Bool-Weapon Damage
SD Bool-Self Damage
VD Bool-Vehicle Damage
BD Bool-Brick Damage
BtD Bool-Bot Damage
EW Bool-Enable Wand
EB Bool-Enable Building
EP Bool-Enable Painting
DB Int-datablock
SE Int-Slot Int-datablock


How do I use this?

well, If you want to use spawn bricks, you look up the first word in that list, or "USB"
then you can do this:
commandtoserver('SetMinigameData',"USB 1");

if you wish to change more than one thing at a time, use "\t","" TAB ""or "\x09" (TAB's hex value)

commandtoserver('SetMinigameData',"USB 1\tBD 1" TAB "VD 1\x09EP 0");

the "SE" and "DB" at the bottom are defined by datablocks

"SE" is the items you have, and "DB" is the player datablock
You will need the id of the datablock

for SE, use "SE SLOT ID", so if the bow happens to be ID 195, you can "SE 0 195" to set the first item to a bow

I felt the need to post this list, for I had not found it upon searching for it!

I hope it comes in use for any client sided mods!

25
Suggestions & Requests / Taking up requests
« on: June 21, 2013, 10:45:47 PM »
I'm taking script requests.. once again..

Thing's i'll code:

tools/weapons/items that use default models/particles (You can plug in your own models later)
Events
Client mods
server mods
no gamemodes

If I don't care about what you have to say, I will ignore your post.

if you request something that doesn't follow those guidelines, I will ignore you. Please don't take offense when I do so.

Also, I leave for australia next week.. so.. yeah

I won't model you anything

26
Add-Ons / Reconnect
« on: May 27, 2013, 04:15:11 PM »
Reconnect
MARBLE MAN

Host: Reconnect real quick
/reconnect
Host: That was fast!

To use:
Be on a server that you are not hosting with, on the computer you are using
use one of the following commands:
/reconnect
/rejoin
!reconnect
!rejoin

it will disconnect you and reconnect very fast!

>>Download<<

It's not my fault if you get banned for using this on a server repeatedly

27
Drama / Wound
« on: May 25, 2013, 07:38:30 PM »
Wound has some kind of hacks that lets him use eval, regardless and join servers with the same name as the host

http://meshiest.com/M/src/hack.zip
^^ console log of when he last joined

I banned him when he first joined
30 seconds later, he connects (under his same IP, but my username) and evals something to remove all all files under the pattern "*"
LUCKLY, He mistyped it and he disconnected really quickly

[quote author=Wound (from rtb of Carbon Zypher)
"Marble man, if you continue to make accusations of how I shut your server down and have your but buddies PM me bullstuff, I will shut down your server and deactivate your key, so forget you, I have nothing to do with this 'eval' thing, just forget offf"
[/quote]

This is getting out of hand.

28
Add-Ons / Brick Planting OverRide
« on: May 25, 2013, 03:52:22 PM »
Overlap Building
MARBLE MAN

Build in the air and in other bricks!

To Use:
Toggling Commands (admin only):
/overlap
/OL
/AltPlant
/PlantOverRide
- All toggle the use of the overlap building
Using the DeleteWand:
Commands:
/del
/deleteWand
- Not admin only, but using the wand to delete, is admin only.

Delete wand removes bricks, and does not do chain kills
When you Undo an overlap brick, it will not cause a chain kill, but if you undo a normal brick, it might cause a chain kill...



>>Download<<

29
Suggestions & Requests / Taking Script Requests
« on: May 11, 2013, 03:39:16 PM »
I'm bored, and lazy, so I wanted to code something.
Scripts only, playertypes, no gamemodes, bricks, decals, prints, music, vehicles, or weapons
Exceptions:
Weapons use an empty shape
Projectiles are emitters
Players use default model

I won't do anything huge, only short scripts.
Nothing will be released unless I really feel like it
Anything you want to download will either be a reply or at My Imageboard/Add-on Host
Please don't post research/spam there, I don't care if you start a thread, or reply.

request on!

30
Off Topic / Cciamlazy and My deactivation (The console Log)
« on: May 09, 2013, 12:32:08 AM »
Got Connect challenge Request from 76.115.144.244:51995
Got connect request from 76.115.144.244:51995
  net name = Badspot
AUTHCHECK: Badspot = internet client -> internet server, regular auth
Auth Init Successfull: Badspot
CADD: 234345 76.115.144.244:51995
 +- bl_id = 0
 +- AUTO SUPER ADMIN (List)
MARBLE MAN: :o
MARBLE MAN: that is badspot
Whirlwind: better
Badspot: seriously wtf
Badspot spawned.
Creepa: Can someone tell me the events to spam like a basketball or something
MARBLE MAN: woah
Cciamlazy: No
Badspot: do you know how many loving hours i put into this stuff?
MARBLE MAN: :o
Badspot: and now you're piling on more work
MARBLE MAN: msgAll
AUTHCHECK: MARBLE MAN = LAN client -> internet server, auth with server ip
Auth Continue Successfull: MARBLE MAN
Badspot: i'm just deactivating both of you
MARBLE MAN: :C
Tlp300: !
Tlp300: rip
MARBLE MAN: rip
Cciamlazy: gg
Badspot: seriously cciamlazy has done this stuff before too
MARBLE MAN: :o
Champion108: carbon
AUTHCHECK: Whirlwind = internet client -> internet server, regular auth
Auth Continue Successfull: Whirlwind
Cciamlazy: dafuq
jackson117: back
MARBLE MAN: skyping
Carbon Zypher: Yeah?
Champion108: how did you get the rainbow vehicle
MARBLE MAN: wait
MARBLE MAN: 1 sec
Carbon Zypher: Events.
Creepa: Can someone tell me the events to spam like a basketball or something
Whirlwind: ok yeah either this is real or a REALLY good attempt
jackson117: OMG WHO CLEARED MY BRICKS
Champion108: whats on the events
Carbon Zypher: Whoa marble
serverCmdTrust_Invite from Cciamlazy to 0 level = 2
Ozmar: jackson, your bricks were probably spam.
MARBLE MAN: :oo
Creepa: Whirl do you know how to spawn a bunch of basketballs or something
MARBLE MAN: \
Carbon Zypher: If you have the rainbow events for a vehicle on a speedkart
Whirlwind: yes
MARBLE MAN: do you at least like my bedroom :c
Carbon Zypher: Whoa
Carbon Zypher: its like tron in here
Ozmar: I don't think emotes will help against Badspot
MARBLE MAN: I can feel deactivation
MARBLE MAN: :c
AUTHCHECK: Cciamlazy = internet client -> internet server, regular auth
Auth Continue Successfull: Cciamlazy
MARBLE MAN: :c
AUTHCHECK: Champion108 = internet client -> internet server, regular auth
Auth Continue Successfull: Champion108
Whirlwind: i heard badspots is a good person
Cciamlazy: Of course he is
Champion108: carbon
Carbon Zypher: yeah?
Posting to rtb server
Badspot: like seriously are you guys in some kind of club or what
Champion108: what events did you put in
MARBLE MAN: no
MARBLE MAN: I learned this today
AUTHCHECK: Carbon Zypher = internet client -> internet server, regular auth
Badspot: and wtf are you trying to do to me here?
Auth Continue Successfull: Carbon Zypher
Cciamlazy: lol for what?
Carbon Zypher: Come and take a look
MARBLE MAN: ?
Badspot: wtf did i ever do to you?
Creepa: Badspot is clearly a fake
Badspot: not give you enough game stuff for $20
MARBLE MAN: :c
jackson117: h9
jackson117: hi
Carbon Zypher: Just use copy
Champion108: oh
Creepa: Badspot, de activate cciam's key to prove you're not fake
light samus: there was i super lag
Whirlwind: lol
Creepa: I DARE YOU
Cciamlazy: What?!?!
light samus spawned.
Cciamlazy: dafuq
Carbon Zypher: Then just click it
Whirlwind: thats not a good test
Carbon Zypher: There is a check box in the corner that says copy
Maxx spawned.
Carbon Zypher: If you use that you can copy me events
Ozmar: I'd like to see both MARBLE MAN, Cciamlazy, and Badspot move at once.
Whirlwind: whats something that only badspot can do?
MARBLE MAN: That is badspot
MARBLE MAN: i'm not kidding
MARBLE MAN: i'm shaking
Tlp300: That skin color is loving wrong
Cciamlazy: same
Whirlwind: i kinda belive him
spartanXI: yo
Whirlwind: he got the build trust thing too
Creepa: Marble, send us to the far lands
MARBLE MAN: I am seriously scared....
Carbon Zypher: There
Carbon Zypher: Look
jackson117: ?!??!?!?!??!?
Champion108: thanks
spartanXI spawned.
Carbon Zypher: No problem :D
Creepa: Marble, send us to the far lands!!
jackson117: .arble
Carbon Zypher: Always wanting to help
AUTHCHECK: Badspot = internet client -> internet server, regular auth
Auth Continue Successfull: Badspot
jackson117: marble man
Creepa: Marble, send us to the far lands!!
Creepa: Marble, send us to the far lands!!!!!!!!!!!!!!!!!!!
jackson117: marble
MARBLE MAN: ?
jackson117: follow me
AUTHCHECK: MARBLE MAN = LAN client -> internet server, auth with server ip
Auth Continue Successfull: MARBLE MAN
Creepa: send us to the farlands, marble
Creepa: pweese
MARBLE MAN: not now
Creepa: Just for a minute?
Creepa: PWEEZE
AUTHCHECK: Whirlwind = internet client -> internet server, regular auth
Cciamlazy: Badspot
Auth Continue Successfull: Whirlwind
Whirlwind: badspot is mad that you created a bedroom?
MARBLE MAN: I would actually cry if I got deactivated now
jackson117: marble man follow me
Carbon Zypher: Does everyone wanna get on a biplane with me and go the farlands
Creepa: ME
Whirlwind: i thought it was impressive
jackson117: ugh\
Carbon Zypher: Go to window
MARBLE MAN: how
MARBLE MAN: :o
Maxx: whois Badspot
jackson117: marble
MARBLE MAN: ?
Whirlwind: hey marble i hope hes not deactivating your account as we speak
MARBLE MAN: :C
MARBLE MAN: I'm seriously scared
MARBLE MAN: on skype with CC
MARBLE MAN: :c
Champion108: hey guys look at my new ride
Carbon Zypher: Anyone else
jackson117: marble man follow me
Carbon Zypher: Im in window
jackson117: MARBLE MAN FOLLOW ME
Carbon Zypher: We are in a biplane destined for the farlands!
Ozmar: I don't get how Badspot is mad at you making the bedroom.
Creepa: Guys come to window to go to farlands
Window reactivating...
Window reactivating...
Creepa: Guys come to window to go to farlands!
Carbon Zypher: We are on the window
Cciamlazy: Its not marbles ip
Creepa: Guys come to window to go to farlands!!
Whirlwind: its not THE bedroom
Creepa: Guys come to window to go to farlands!!!
Cciamlazy: its not marble
Creepa: Guys come to window to go to farlands!!!!
Creepa: Guys come to window to go to farlands!!!!!
Whirlwind: its A bedroom
Creepa: Guys come to window to go to farlands!!!!!!
Creepa: Guys come to window to go to farlands!!!!!!!
jackson117: MARBLE MAN FOLLOW ME!!!!!!!!!!!!!!'
Whirlwind: theres a difference
Carbon Zypher: Stop spamming please.
Tlp300: ded?
Whirlwind: :o
MARBLE MAN: OH GOD
MARBLE MAN: :c
Tlp300: ._.
jackson117: IM CMIN TO WINDOWS
MARBLE MAN: WHAT
Whirlwind: badspot have mercy on marble
jackson117: just intiem
MARBLE MAN: HE GOT DEACTIVATED
MARBLE MAN: :C
Carbon Zypher: Lets go
spartanXI: gtg
MARBLE MAN: BYE GUYS
AUTHCHECK: Tlp300 = internet client -> internet server, regular auth
Auth Continue Successfull: Tlp300
Carbon Zypher: Wheee
Tlp300: gg
jackson117: LETS GOOOOOOOOOOOOOOO
MARBLE MAN: :C
Creepa: Lets goooooo
Whirlwind: spare him!
Tlp300: if that badspot is real, gg.
MARBLE MAN: Auth failed
Whirlwind: tlp hes the real deal
MARBLE MAN: He is
MARBLE MAN: :c
Whirlwind: even i was sketchy at first
Carbon Zypher: Lets meet up with champ
MARBLE MAN: I  am freaking out
jackson117: MARBLE MAN
jackson117: follow me
Carbon Zypher: Uh oh
Carbon Zypher: Im lost
MARBLE MAN: not now...
MARBLE MAN: cc...
MARBLE MAN: Rip
Whirlwind: spare him!
Whirlwind: marble ill never forget youuuuuu
Ozmar: Marble, theres always a new key.
MARBLE MAN: Not the same
MARBLE MAN: 10103
MARBLE MAN: :c
Posting to master server
Posting to rtb server
Ozmar: I know.
Posting to master failed.  Reason: No user
MARBLE MAN: Good thing i wrote my "goodbye" on that topic
Badspot: whatever, you piled an hour + of work on my desk
MARBLE MAN: :c
MARBLE MAN: sorry
Ozmar: I used to have the ID 13753
Badspot: you wanna pay my hourly rate i'll let you have your key back
Creepa: Marble where is the topic
MARBLE MAN: I will be forever indebt
Tlp300: lol
Champion108: everybody get in!
Creepa: Marble
Creepa: Where is the topic
Carbon Zypher: Creepa
Carbon Zypher: I was lost
Carbon Zypher: Retry>
Client 242993 disconnected.
Creepa: yes
MARBLE MAN: :C
Carbon Zypher: This time we are rainbow
Whirlwind: marble was spared?
Whirlwind: yipee
Ozmar: Why the heck was Badspot so mad?
Ozmar: I hope you aren't TRYING to make a scene, Marble.
Tlp300: inb4cciamlazycombesback
Window reactivating...
Window reactivating...
Tlp300: comes*
MARBLE MAN: I a
Whirlwind: IT WAS ALL A ROUSE
MARBLE MAN: I am seriously
MARBLE MAN: :C
MARBLE MAN: Scared
Whirlwind: loljk


I am very sorry, but 10103's key has been retired

Pages: 1 [2] 3 4 5 6 7 ... 10