Jump to content


davidgumazon's Content

There have been 31 items by davidgumazon (Search limited from 10-February 22)


By content type

See this member's


Sort by                Order  

#226776 The ban game

Posted by davidgumazon on 21 July 2015 - 09:15 AM in Forum Games

Banned for being nausea in minecraft

weeds



#226569 CCDrop - Advanced Directory And File Transfer

Posted by davidgumazon on 20 July 2015 - 11:52 AM in Programs

View PostHbomb_79, on 06 April 2015 - 02:21 AM, said:

Update To Come:

Known bugs:
  • If a directory is empty, the computer will hang and the waiting computer will never stop waiting until reboot/shutdown.
  • Directory selection is limited by alphanumerics.
  • element API is incorrectly configured.
  • frame buffer causes flickering while transfering files on some machines.
These bugs will be fixed soon! Along with the Security Suite update.
Looks like the bugs may hard to fix cuz ur performing good code



#226567 Getting file size of current program?

Posted by davidgumazon on 20 July 2015 - 10:33 AM in Ask a Pro

View PostRadiationAlert, on 07 June 2015 - 04:28 PM, said:

local Disk = shell.dir ();
local DiskContents = fs.list (Disk);

local DiskSize = 0

for index, file in pairs (DiskContents) do
print ("Previous Space Calculated: "..DiskSize);
print ("Current File: "..file);
***** DiskSize = DiskSize + fs.getSize (file); ***** Line 9
end

wow! i learn new code in LUA i finally get it how for index, var in pairs(val) do end it works :D thank you for the Code T_T
-- i test this code and it works :D/>
test={'xxd','xdx','xdd'}
for var1, var2 in pairs(test) do
if var2=='xdd' then
  print(var1) print(var2)
end
end
+1 Like

This Code for my OS ;D



#223472 NEI Required? and Return Table (Function) Error

Posted by davidgumazon on 27 June 2015 - 07:20 AM in Ask a Pro

View Postwieselkatze, on 24 June 2015 - 04:14 PM, said:

I don't know if you got it, but the names I used are just sample names for variables. It could aswell just be the following:

local a, b, c, d, e, f, g, h = unpack( yourTable )

or

local f1, g2, h3, i4, j5, k6, l7 = unpack( yourTable )

As the name says - they are variable. Just the same as your 'param1,param2,param3' etc.
k, for me i use loadstring for infinitely results and i get ERROR cuz i didn't add local variable

View PostBomb Bloke, on 25 June 2015 - 01:03 AM, said:

View Postdavidgumazon, on 24 June 2015 - 10:45 AM, said:

cuz after hear NEI on my bug Report in http://www.computerc...799#entry210799 you can see Comments Scenes are ..., @Dan200 says "...NEI recipe bug... fixed..." that's why made me think it was required -__-

Apparently mods have to tell NEI what their recipes are, so NEI can show those recipes to players. Dan had made a mistake causing the Advanced Computer recipe to display an incorrect component. It only affected people who actually had NEI installed.
i use CraftGuide Mod but before i report Recipe Bug in this forum, craftguide mod tells me advance computer's recipe normally when i tried to craft advance computer nothing happens then i double check craftguide it doesn't work again -_- so i report the bug, i hope @Dan200 fix that recipe bug

#imbadgrammur



#223471 The ban game

Posted by davidgumazon on 27 June 2015 - 07:06 AM in Forum Games

Banned for being common sense

MEME ◕‿◕



#223115 The ban game

Posted by davidgumazon on 25 June 2015 - 10:57 AM in Forum Games

Banned for getting LUA ERROR
print(print())

NeoCoder , New-Coder ==> Newbie Coder



#223024 NEI Required? and Return Table (Function) Error

Posted by davidgumazon on 24 June 2015 - 03:14 PM in Ask a Pro

View PostKingofGamesYami, on 24 June 2015 - 02:22 PM, said:

unpack is not limited. It returns the number of items in a table; if that's 200, you get 200 results.
i know ._. , i talking about ---> local val_1,val_2,val_3 <--- #Limited
hmm unpack might be useful for my API Project

3 Parameters, triangle has 3 sides, 3+3=6, 6/2=3, pizza has 3 sides and 3 hunger regen
*it can be i was fool again* #illumipizza_confirmed



#223004 NEI Required? and Return Table (Function) Error

Posted by davidgumazon on 24 June 2015 - 10:45 AM in Ask a Pro

View Postwieselkatze, on 23 June 2015 - 06:05 PM, said:

So you basically want you table split up in separate values? The following code would do aswell:

local yourTable = {
	"value 1";
	"value 2";
	"value 3";
}

local val_1, val_2, val_3 = unpack( yourTable )

unpack() is a builtin lua function, you can find some information here - bottom half of the page.

I don't really know what you mean with 'Is NEI required to fix others' mods recipes' - NEI is just there to display all the registered recipes. Also it lets you do some tweaks, e.g. changing weather, time etc..
local val_1, val_2, val_3 = unpack( yourTable )
ur Code Returns Limited but i need Returns Infinitely it Returns How much Table is there
example : #var1 is 4, #var2 is 18 then i do
param1,param2,param3,param4=returnTable(var1)
param_1,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,param_10,param_11,param_12,param_13,param_14,param_15,param_16,param_17,param_18=returnTable(var2)
so the API i talk about is how much Table Stored in Variable it returns How Much Stored Tables there, ill try ur code later (cuz ill update my minecraft forge & mods)

View PostHPWebcamAble, on 23 June 2015 - 11:51 PM, said:

View Postdavidgumazon, on 23 June 2015 - 01:05 PM, said:

Hey Guys! i'm Confuse about this Things (cuz i'm not familiar this acronym)

is NEI is Really Required?

What made you think it was required?

You shouldn't need it, but it is by far the best mod for recipes, since it can automatically determine vanilla recipes, and plugins allow it to display modded machine recipes

It stands for Not Enough Items, which is a word play on the mod Too Many Items, which had the ability to only cheat in items (Don't think it can show recipes)
cuz after hear NEI on my bug Report in http://www.computerc...799#entry210799 you can see Comments Scenes are ..., @Dan200 says "...NEI recipe bug... fixed..." that's why made me think it was required -__-
and Thanks for the Acronym , i feel refresh about "NEI"
(o_o) wait NEI is 3, Not Enough Items is 3 Sentence, it means 6, NEI's acronym "Enough" col is 6, so it says ENOUGH, and NEI word was Weird and i heard this word from song *..Watch me NEI NEI..* 2 NEI in that song my costomers in my Cafe dont stop playing that song so i want to tell them "Enough", it means 0_0 i was Fool, ... , #illumiPizza_Confirmed

View PostBomb Bloke, on 23 June 2015 - 11:55 PM, said:

wieselkatze is right, you should be using the unpack() function.

But as to why your function doesn't work, the "retset" string it constructs would end up looking like this:

return blabal,lololol,just example ;)/>/>,

Whereas you would want it to look like this:

return "blabal","lololol","just example ;)/>/>"

The last line, "ls()", should also've been written as "return ls()".
Thanks ;D ill Fix my Code Later (cuz ill update my Minecraft Forge & Mods)



#222848 NEI Required? and Return Table (Function) Error

Posted by davidgumazon on 23 June 2015 - 01:05 PM in Ask a Pro

Hey Guys! i'm Confuse about this Things (cuz i'm not familiar this acronym)

is NEI is Really Required? to fix other recipe's mods? for ComputerCraft
i'm Confuse cuz Alot of People use this Acronym :// and i dont understand

please anyone answer my simple question...

and

if i do this Function it gives nil, im confuse i need this function
function returnTable(...) ... end --Load Function for..
example={"blabal","lololol","just example ;)/>"}
local param1,param2,param3=returnTable(example)
--example hav 3 table or more param for returnTable(...)
this my returnTable Code
function returnTable(_)
retset="return "
for i=1,#_ do
  retset=retset.._[i]..','
end
ls=loadstring(retset)
ls()
end



#218858 Pastebin Login User Key and Login as Google Account?

Posted by davidgumazon on 27 May 2015 - 06:32 AM in Ask a Pro

View PostMKlegoman357, on 26 May 2015 - 03:59 PM, said:

You have to separate each parameter with a &:

http://example.com/?param1=value1&param2=value2

If you are going to use pastebin as a message-transfer API then it won't quite work as pastebin is not meant for that. It will probably stop responding after a few messages because it will think it's spam, which will be quite true when you think about it. If you're posting message then at least make them expire, so they won't be floating in pastebin forever.
like this?
http://pastebin.com/api/api_post.php?param1=value&param2=value2
or
http://pastebin.com/api/api_post.php?i=param1=value&param2=value2
wat code ill use?
___________________________________________________________
and about my IRC for ComputerCraft:

Advertising IRC : is in Pastebin Site : 1 Server
  • is Added to Allow any User Advertise Before a User Entering to Chat Areas
  • There's No Cooldown Storage
  • 1 Hour Advertise Cooldown/Expiration
Global IRC : is in Another Site : 3 Servers (ChatArea,Blacklist,Whitelist)
  • Blacklist is in Pastebin Site and Whitelist & ChatArea is in Another Site
  • There's no Cooldown Storage
  • 5 Seconds Reply Cooldown
  • 30 Minutes Reply Expiration
Local IRC : is in Another Site : 2 Servers
  • Added Ban Player System is Blacklist and ur Current Blacklist in IRC is saved to ur ComputerStorage
  • is for User want to make own Private IRC or IRC's some players is entering ur own Chat Area
  • 3 Servers Created by User can't be Float in Another Site (3 Servers is 1 Day Expiration)
  • Making Own IRC and 3 Servers Created for Blacklist and Whitelist and Chat Area
  • Reply Cooldowns is same as Global IRC and No Cooldown Storage
  • Added Every Player is added to Whitelist to check user's INFO
  • 15 Minutes IRC Cooldown
  • 1 Day IRC Expiration
I Change Decision Private IRC to Advertising IRC
this is my flowchart outdated
http://linkshrink.net/7NO6PN
___________________________________________________________

View PostCranium, on 26 May 2015 - 05:34 PM, said:

Take a look at how the default pastebin program uses the API, and try to build from there.
but Another Pastebin's API ill used



#218755 Pastebin Login User Key and Login as Google Account?

Posted by davidgumazon on 26 May 2015 - 07:51 AM in Ask a Pro

CC 1.73

i trying to decode pastebin's api system it gets me errors -_-

file source: http://pastebin.com/UHvi7TNH

function getUser(username,password)
write("Login to pastebin.com...")
local response=http.post(login,
api_dev_key..key.._n..
api_user_name..textutils.urlEncode(username).._n..
api_user_password..textutils.urlEncode(password))
if response then
  local sResponse=response.readAll() response.close()
  print("Success.")
  print("user key: "..sResponse)
  return response
else
  print("Failed.") print(sResponse) return false
end
end

"test" file to debug my api
os.loadAPI("papi")
print(papi.getUser(blablablabla,blablabal))

list usernames i test: red color is result
[email protected]<script cf-hash='f9e31' type="text/javascript"> /* */</script>
Error
davidgumazon03
Invalid Post Parameters

how can i Valid Post Parameters and Login as Google Account?
someone help me i'm confused i dont like to be alone in my SinglePlayer D: i'm making CC's IRC project



#210906 1.73 Bug Alert LOL can't craft xD

Posted by davidgumazon on 25 March 2015 - 01:45 AM in Bugs

 Cranium, on 24 March 2015 - 02:43 PM, said:

Make sure you're crafting as such: http://www.computerc.../Turtle#Recipes
sure but i can't craft i'm Creative Mod now :'( i cheat to get advance mining turtle



#210799 1.73 Bug Alert LOL can't craft xD

Posted by davidgumazon on 24 March 2015 - 05:13 AM in Bugs

VERSION:
CC 1.73

DESCRIPTION:
i want to Craft Advance Turtle (LAN/Single Player)
latest Forge Version

EXPECTED RESULT:
and Lol i can't Craft Advance Turtle and i throw my gold, redstone,and computer in Lava for Luck XD

REPRODUCTION STEPS:
1. Resources
2. Craft
3. Bug
4. LOL

SCREENSHOT/VIDEO:
No!!! 0_0' Just Craft it
and Fix the Bug



#210099 FileX: a powerful file eXplorer with GUI![Big Update!][Open with...]

Posted by davidgumazon on 18 March 2015 - 04:42 PM in Programs

View PostCreator, on 15 March 2015 - 04:02 PM, said:

View Postdavidgumazon, on 15 March 2015 - 04:39 AM, said:

Nice Explorer ;) not much eating free space

Thanx.

What do you mean by "not much eating free space"?
yep im using default free space not infinite cuz i like normal :lol:
ill Decompile everyone's Idea and insert to my Super Computer



#209676 How many valid characters in CC

Posted by davidgumazon on 15 March 2015 - 10:10 AM in Ask a Pro

Hi Guys i want to know how many Characters valid in CC to read file safely?
cuz i want make ID Generator for ComputerCraft Adds-On. ;)

Aa,Bb,Cc,Dd,Ee,Ff,Gg,Hh,Ii,Jj,Kk,Ll,Mm,Nn,Oo,Pp,Qq,Rr,Ss,Tt,Uu,Vv,Ww,Xx,Yy,Zz (26x2)
0,1,2,3,4,5,6,7,8,9 (10)
!@#$%^&*()-=_+{}:"<>?|[]\;',./ (30)
Unknown? (??)

like Copyright mark,Registered mark, and ?



#209672 LyqydOS Beta/Development

Posted by davidgumazon on 15 March 2015 - 05:33 AM in Operating Systems

Lyqyd 2015 is this still updating ? i like this OS :lol:



#209668 FileX: a powerful file eXplorer with GUI![Big Update!][Open with...]

Posted by davidgumazon on 15 March 2015 - 04:39 AM in Programs

Nice Explorer ;) not much eating free space



#209662 ComputerCraft IRC while playin minecraft, PB expiration, HB spam

Posted by davidgumazon on 15 March 2015 - 03:54 AM in Ask a Pro

View PostHPWebcamAble, on 14 March 2015 - 07:02 PM, said:

I think someone made an IRC client, check the 'programs' section of the forums


Pastebin has an API, which the 'pastebin' program uses. Here's a link to it:
http://pastebin.com/api#6


Your third question doesn't really seem to be a question
i get it now! thnkx :) ill make Paste Software for CC soon after minecraft revelation
lol my third question is not question it's opinion? :P



#209534 ComputerCraft IRC while playin minecraft, PB expiration, HB spam

Posted by davidgumazon on 14 March 2015 - 01:42 PM in Ask a Pro

1st Question
there's anyone make IRC for Chat Public while playing minecraft computercraft mod?
using "http"? somebody getting bored while programming there own CC project, because only singleplayer no friendz no chat :(

2nd Question :
how to upload pastebin file with expiration

3rd Question :
dont much spam uploading file in Hastebin if free space is low then Hastebin will delete all files and i lost my old file few years ago ;_;



#204394 Redstone API File and CloudFlare Security

Posted by davidgumazon on 29 January 2015 - 12:29 AM in Ask a Pro

View PostLyqyd, on 27 January 2015 - 06:44 AM, said:

The redstone API isn't going to be a file you can look at (without decompiling ComputerCraft), since it's exposed to ComputerCraft on the Java side of things.
Ok! ... How about CloudFlare ? this security always annoy me



#204221 Redstone API File and CloudFlare Security

Posted by davidgumazon on 27 January 2015 - 03:33 AM in Ask a Pro

Does Redstone API File Really Exists in this ComputerCraft? i can't find it i'm curious :blink:
and
This CloudFlare Security Always Annoyed me Every i go in http://www.computercraft.info/forums2/ or http://www.computercraft.info/ Link This CloudFlare Security Always Popup i don't know how to remove it! :mellow:



#203998 ComputerCraft RAM (Random Access Memory) Idea!

Posted by davidgumazon on 24 January 2015 - 03:15 PM in Suggestions

View Postvalithor, on 17 January 2015 - 04:52 PM, said:

Computercraft as I understand is suppose to be simple enough for anyone to come in and pick it up. You making that statement makes it obvious that adding ram makes it more complicated and thus harder to learn. Adding ram goes against what this mod is suppose to be, so is not likely to be added.

local comp = regular computer
gold comp = advanced computer

ps. the constant use of bold actually makes what you write incredibly hard to read.

View PostDannySMc, on 19 January 2015 - 03:53 PM, said:

Also RAM is a type of random access memory, not a storage memory? Also this should really be moved as it's not a help question just a "poor idea".

I'm Not English i'm from philippines and it's not simple to understand some english for me but i can understand some english and k no more Bold that RAM i talking about it's just Local or Global Variable that Another Computer will Handel Data everything he received and i'm not trying to plss add Ram in ComputerCraft mod, i just call Local is Regular and Gold is Advance Computers so i need to call This Computer's Reg Computer and Adv Computer?, \_(o.o)_/ iknow this is Poor Idea that my 2nd Question is to... does anyone have any Better Idea for RAM but

View PostDannySMc, on 19 January 2015 - 03:53 PM, said:

Them specs are pretty poor, I mean 1GB of RAM? That is near the BARE minimum to run minecraft itself, I am pretty sure a 1 core computer can't actually run minecraft? without terrible lag?:S like above I don't think that's even slightly a gaming computer, that probably won't run any new games? I am sure you're probably struggling to run Minecraft?
i'm not Aware from New Games and it's not much popular in my Country, New Games more fun for me no! my and minecraft doesn't lag much i dont need to increase Distance that maybe can reach my Limit but i'm very careful to add new mods in my minecraft that doesn't make me lag :)



View PostElvishJerricco, on 19 January 2015 - 11:48 AM, said:

I'm not convinced you know what RAM is if you're talking about the max storage config. RAM and file storage are very different, and file storage is already expandable with disk drives. RAM simply can't expanded by the nature of how the mod works.
i'm not talking about Storage Config but i talking about i know Local or Global Variable that Handel Data using
Variable = {} like
-- Handler
local var1 = {}
while true do
local var2 = fname.waitForRequest()
if var2 == "cmd" then
  rednet.send(id,[str]cmd)
  local var2 = fname.waitForRequest()
  local var1 = var2
elseif [another condition]
  [same]
else
  [do nothing]
end
end
-- Main
rednet.send(id,cmd)
var1 = rednet.receive()
rednet.send(id,data)
That's All

View PostMr. Bateman, on 19 January 2015 - 02:43 PM, said:

And no offense, those specs would've been considered a "gaming" computer roughly around 5-10 years ago. 6-8GB of RAM and 4 cores have become the norm now.
umm.. What did you say ?? :wacko: ??

View PostMr. Bateman, on 19 January 2015 - 02:43 PM, said:

That simply isn't possible. Without the debug library, you wouldn't be able to know how much RAM local variables take up, meaning it would be very easy to circumnavigate that, and I don't think programmers will cripple the style of their code just to adhere to this very limiting suggestion. Sorry.
you wouldn't be able to know how much RAM local variables take up
jajaja :D i gonna try this > :) i will use 6 Variables in Handler dont mad :( i tryin what i can do of my intelligence

View PostDannySMc, on 19 January 2015 - 03:53 PM, said:

Also RAM is a type of random access memory, not a storage memory? Also this should really be moved as it's not a help question ...
Disk Ram Rom and etc. are all Storage Memory i know that u know ram is just a temporary storage
Also this should really be moved as it's not a help question
and Where i gonna Move This can u see there's 3 Question that 3rd Question is just a Question for a Question and another Question

This my PC i use is my Gift from my Uncle on 2011 this my PC i know 4-5 years Computer Life Span :mellow: but How Computer will Die My Computer into Rust , in this Year 2015 now my Computer is in Danger My Computer is 4 Years Old

Edit :
:blink: No Reply ?



#203354 I Need Help , Text Processing and [for state do body end]

Posted by davidgumazon on 17 January 2015 - 08:47 AM in Ask a Pro

View PostBomb Bloke, on 16 January 2015 - 10:23 PM, said:

ComputerCraft uses a LuaJ build based on 5.1.

It supports :sub() (which is short for substring, not subtract, if that's what you're thinking), and so does Coding Ground. Neither, on the other hand, have a definition for "fname" built in.

For example:

local myVar = "Whatever"
print(string.sub(myVar,1,4))  --> What
print(myVar:sub(5,8))		 --> ever

See this guide for more info.

If I wanted to convert a boolean into a number, I guess I'd do this:

myVar = myVar and 1 or 0  -- Sets myVar to 1 if it was true, or to 0 if it was false.
oh Cool :o sub() supports ComputerCraft Language now i will never get Problem for Get SubString
myVar = myVar and 1 or 0
will it work ? for me i need to do this :huh:
myVar = false
if myVar == true then
myVar=1
else
myVar=0
end



#203352 ComputerCraft RAM (Random Access Memory) Idea!

Posted by davidgumazon on 17 January 2015 - 08:38 AM in Suggestions

View PostLignum, on 16 January 2015 - 04:57 PM, said:

Um, what? We already have memory, do we not? It's one of the most essential elements of a program.
:lol: ikr This Topic Ram in CC It is for users used Default Max Storage in ComputerCraft and uses big file size and to run it

View PostLemonLake, on 16 January 2015 - 05:06 PM, said:

What is a Local Computer? In what update are Gold Computers?
Local Computers are Normal Computers but Color API is Restricted and Color API is available for Gold Computers , Gold Computers is Unlock All APIs

View Postardera, on 16 January 2015 - 06:47 PM, said:

Your PC has enough RAM. I think computercraft doesn't need a peripheral for something that the whole concept of a computer wouldn't work without.
umm... My Computer Specs : 1GB Ram, 1Core, AMD Athlon™ II X2 245, 2.45GHz, 32-bit, NVIDIA
My Computer is for Gaming :) Minecraft and Mods Works Faster
i talking about RAM in ComputerCraft

View PostBomb Bloke, on 16 January 2015 - 09:58 PM, said:

OpenComputers already implement variable-sized RAM modules, to my understanding, which in my opinion is reason enough for ComputerCraft not to.
I'm Confused to Understand How OpenComputer's Mod Works but soon i will understand how it work so i will create APIs that Compatible to all CC and OC APIs

Quote

i'm Working to Create RAM APIs and Utils of Complete Controls and Functions but i need to finish my BIOL API first and i will modify BIOS in ComputerCraft



#203245 I Need Help , Text Processing and [for state do body end]

Posted by davidgumazon on 16 January 2015 - 10:06 AM in Ask a Pro

i try using
[b]var:sub([num],[num])[/b]
on Coding Ground , but doesn't work , i notice this sub only works on Lua Version 5.4 and that Coding Site is using Lua v5.2
what is Computercraft's Current Lua Version Used ?

KingofGamesYami says :


It only works on a variable holding a string though, if you tried to do this:
local var = true
var:sub( 1, 1 )


Convert boolean into Number :lol:
local var = true
local var = fname.converter(var)
new_var = var:sub([num],[num])