Jump to content


mibac138's Content

There have been 52 items by mibac138 (Search limited from 10-February 22)


By content type

See this member's


Sort by                Order  

#172059 [Question] Multithreading ?

Posted by mibac138 on 06 April 2014 - 02:03 PM in Ask a Pro

How to do something like, running 2 programs at once and if any will error then save the error to file (ex.) "/.log" ?



#167599 Guess Who's Below

Posted by mibac138 on 09 March 2014 - 05:18 PM in Forum Games

Nope, ZudoHackz



#167598 GitHubAPI

Posted by mibac138 on 09 March 2014 - 05:02 PM in APIs and Utilities

Actually you can do something like this:
GitHubFileDownload( _GitHubFileName, _GitHubSourceURL, _GitHubUserName, _GitHubRepoName, _GitHubBranchName)

@Edit
Any value, can be nil



#166770 GitHubAPI

Posted by mibac138 on 03 March 2014 - 03:56 PM in APIs and Utilities

No problem! :)



#164768 [Question] Math

Posted by mibac138 on 13 February 2014 - 01:25 PM in Ask a Pro

Do something like a calculator - u give input (ex. "12-2*2") and it counts how much it is.



#164762 [Question] Math

Posted by mibac138 on 13 February 2014 - 12:52 PM in Ask a Pro

Hello!

Is there a posibility to do math calculations in a string ? (ex. tArgs[1] = 12-2*2)



#164487 If you won 10 million dollars, what would you do?

Posted by mibac138 on 11 February 2014 - 01:03 PM in General

Lets say 2-3 companys for max 90% of the hull money



#164451 Skynet database, Missile Defence System. LOAD, Launch on Detection.

Posted by mibac138 on 11 February 2014 - 08:15 AM in Ask a Pro

Spoiler

How long u were posting this post

Spoiler



#164448 If you won 10 million dollars, what would you do?

Posted by mibac138 on 11 February 2014 - 07:54 AM in General

I, would walk and laught xD

And ... buy some big companys, to have some big earnings! :D



#164446 Skynet database, Missile Defence System. LOAD, Launch on Detection.

Posted by mibac138 on 11 February 2014 - 07:45 AM in Ask a Pro

How long u were writing it? :blink:



#164439 Skynet database, Missile Defence System. LOAD, Launch on Detection.

Posted by mibac138 on 11 February 2014 - 06:54 AM in Ask a Pro

Nice idea :)



#164206 King of the Hill

Posted by mibac138 on 08 February 2014 - 11:20 AM in Forum Games

* Writes *

CHAT:

misson20000 was banned by mibac138. Reason: Hill is mine!

* Climbs up on top of the hill *

Now i am King Of The Hill!



#163815 String to table

Posted by mibac138 on 06 February 2014 - 05:23 AM in Ask a Pro

Oh, thanks! :)



#163686 String to table

Posted by mibac138 on 05 February 2014 - 01:36 PM in Ask a Pro

Soooo why this doesnt work? (It should give 21 but it doesnt change)
data = {}
data[1] = 21
a = 1
b = string.gsub(a, "%d1", tostring(data[1]))
--> b
1

--> a
1



#163685 String to table

Posted by mibac138 on 05 February 2014 - 01:24 PM in Ask a Pro

Thanks!



#163682 String to table

Posted by mibac138 on 05 February 2014 - 12:52 PM in Ask a Pro

Do any one know how to do that string.gsub(string, "%" .. i, data[i]) will work with % .. number (ex. 1) ?



#163633 GitHubAPI

Posted by mibac138 on 05 February 2014 - 06:06 AM in APIs and Utilities

Version 1.2 released! New upgraded and lighter version of my GitHubAPI released! Enjoy! :)



#163491 String to table

Posted by mibac138 on 04 February 2014 - 08:41 AM in Ask a Pro

I know about your API already, and it was my inspiration, i wanted to do something on my own :)
BTW. it didnt work (lol?) i did:
api = dofile("timeapi")
api.printTime([...])



#163361 String to table

Posted by mibac138 on 03 February 2014 - 02:17 PM in Ask a Pro

Oh, thanks! I didnt see it before :P



#163352 String to table

Posted by mibac138 on 03 February 2014 - 01:41 PM in Ask a Pro

Hey!

Im trying to get table from this site, using this.

local httpAddress = "http://www.timeapi.org/a/now?format={[%22sec%22]=%25S,%20[%22time%22]=%25H:%25M,%20[%22day%22]=%25d,%20[%22month%22]=%25b,%20[%22year%22]=%25Y}"
local websiteData = http.get(httpAddress).readAll() or "Err"

And my problem is that i tried using textutils.unserialize(websiteData), i was trying as hard as i can, but i cant do from websiteData table.
Can anyone help me?

BTW. i used a (www.timeapi.org/a/now), becouse its my local time (UTC / GMT +1)



#163309 Problems with loadstring

Posted by mibac138 on 03 February 2014 - 10:50 AM in Ask a Pro

Crash proof:
--Main Loop--
	while true do
		ok, err = pcall(parallel.waitForAll(
			function()
				while true do
					loot()
					sleep(0)
				end
			end,
			function()
				while true do
					ping()
					sleep(0)
				end
			end
		))
				if not ok then print(err) end
		sleep(0)
	end



#159343 GitHubAPI

Posted by mibac138 on 05 January 2014 - 06:04 AM in APIs and Utilities

Oh, ok i will add documentation :)



#159220 GitHubAPI

Posted by mibac138 on 04 January 2014 - 07:01 AM in APIs and Utilities

Why here is soo small count of replies?! ;c



#158780 Jyzarc Utils

Posted by mibac138 on 01 January 2014 - 08:58 AM in APIs and Utilities

View PostZudo, on 01 January 2014 - 08:06 AM, said:

View Postmibac138, on 31 December 2013 - 06:26 PM, said:

LoL

League of Legends?
Nope xD
Normal lol



#158702 Jyzarc Utils

Posted by mibac138 on 31 December 2013 - 06:26 PM in APIs and Utilities

LoL