Jump to content


lolmaker2002's Content

There have been 21 items by lolmaker2002 (Search limited from 01-November 19)


By content type

See this member's

Sort by                Order  

#271347 Krist - Minable currency that works across servers (paste updated)

Posted by lolmaker2002 on 28 October 2017 - 07:32 PM in Programs

View PostSquidDev, on 28 October 2017 - 03:52 PM, said:

View Postlolmaker2002, on 28 October 2017 - 02:58 PM, said:

If anyone here is stuck with integrated graphics or just can't get OpenCL to work, here's a good alternative:
https://www.kristminer.cf
It's a simple website on which you can essentially mine KST with your CPU at about the same speed as someone with a GPU.
I'm going to be honest, entering a krist password on any site seems slightly suspect. I'm not saying that you are storing anything, it just might be worth explaining why you need the password submitted to your server. And it's the krist address instead. Ignore everything I said. Though having it submit to a website before redirecting still seems rather strange.
The krist address is used to create a user within the coinhive system, which will then keep track of how many hashes you have mined, are able to withdraw, have been accepted, etc...

This also get's rid of having to log in on every page. (since it makes a cookie for the PHP session)

EDIT: I also want to note that i keep track of nothing, except the stats i can see on coinhive.
This includes: The date you mined your first hash, your account name (your address) and how many hashes you have mined in total.



#271343 Krist - Minable currency that works across servers (paste updated)

Posted by lolmaker2002 on 28 October 2017 - 02:58 PM in Programs

If anyone here is stuck with integrated graphics or just can't get OpenCL to work, here's a good alternative:

https://www.kristminer.cf

It's a simple website on which you can essentially mine KST with your CPU at about the same speed as someone with a GPU.

Donations are always welcome: kmineqokuz

View PostBeeskee, on 24 August 2017 - 11:43 PM, said:

That's what I meant, the compressed parts. Thanks! (I'm a huge nerd and I like to print out the programs in Minecraft with a CC printer)

And it works with http instead of https - This is running on an older client/server pair so I can't change anything else.


Edit: Anyone know what PaySafeKrist is?

I found the Krist API for it: https://github.com/atenfyr/kristapi
but not the generator API

View PostLgaming, on 02 September 2017 - 04:12 PM, said:

View PostBeeskee, on 24 August 2017 - 11:43 PM, said:

That's what I meant, the compressed parts. Thanks! (I'm a huge nerd and I like to print out the programs in Minecraft with a CC printer)

And it works with http instead of https - This is running on an older client/server pair so I can't change anything else.


Edit: Anyone know what PaySafeKrist is?

I found the Krist API for it: https://github.com/atenfyr/kristapi
but not the generator API

I found this compiled PaySafeKrist program, decompile it and maybe you may find something useful. https://pastebin.com/nW2KGF7C

View PostLignum, on 04 September 2017 - 08:22 PM, said:

View PostLgaming, on 02 September 2017 - 04:12 PM, said:

View PostBeeskee, on 24 August 2017 - 11:43 PM, said:

...

I found this compiled PaySafeKrist program, decompile it and maybe you may find something useful. https://pastebin.com/nW2KGF7C

No need to decompile, I found this by just googling.

PaySafeKrist is a program of mine. it's a PaySafeCard clone for the Krist cryptocurrency. you can try it out if you want.

And Beeskee, i did not use atenfyr's API, i used mine: github.com/lolmaker2002/luakrist



#268611 Krist - Minable currency that works across servers (paste updated)

Posted by lolmaker2002 on 27 July 2017 - 01:00 PM in Programs

View Postlolmaker2002, on 24 July 2017 - 12:54 PM, said:

KristWeb seems to be down. i get stuck in an redirect loop. (which my browser then breaks)
It's up again! \o/



#268504 Krist - Minable currency that works across servers (paste updated)

Posted by lolmaker2002 on 24 July 2017 - 12:54 PM in Programs

KristWeb seems to be down. i get stuck in an redirect loop. (which my browser then breaks)



#266220 Krist - Minable currency that works across servers (paste updated)

Posted by lolmaker2002 on 11 April 2017 - 12:30 AM in Programs

View Post3d6, on 10 April 2017 - 04:41 PM, said:

View PostHerobrine2Nether, on 31 March 2017 - 05:03 PM, said:

Umm... Guys? Did I break something? The work is at 100,000.
Posted Image
100000 is the easiest possible work number (larger is easier)

View Postlolmaker2002, on 10 April 2017 - 04:28 PM, said:

krist has been down for 16+ hours now, (there replacing the hardware apparently so it should be up at the end of today)
Our dedicated server's hard drive is failing, so krist and some 100 other services will be down today
We don't expect any data loss
is the a ETA for when it will be back?



#266214 Krist - Minable currency that works across servers (paste updated)

Posted by lolmaker2002 on 10 April 2017 - 04:28 PM in Programs

krist has been down for 16+ hours now, (there replacing the hardware apparently so it should be up at the end of today)



#265624 [2019] [1.12.2] [Survival] LurCraft : We're back, and better than ever!

Posted by lolmaker2002 on 17 March 2017 - 10:40 PM in Servers

IGN: lolmaker2002
Programming knowledge: 7.5-8


Age (optional): (rather not)




#265500 trying to convert PNG to drawable image

Posted by lolmaker2002 on 11 March 2017 - 03:27 PM in Ask a Pro

I've been looking arround for a API/Library/Program that is able to convert PNG / GIF / JPEG / .. to a drawable image in-game. but with no success.

if anyone could like me a API or something that could help me further, that would be kindly appreciated!

(if your wondering why, i found a website that will generate QR codes with a http.get request, and will download the image)



#265498 PasteUpdate: A simple way of implementing updating into your program

Posted by lolmaker2002 on 11 March 2017 - 03:20 PM in APIs and Utilities

this is pretty cool, is there any way you could make it work from external sites? (for example: make it pull it of github rather than pastebin)



#265380 Titanium - Graphical User Interface (GUI) Framework [Beta 1] - XML

Posted by lolmaker2002 on 05 March 2017 - 05:28 AM in APIs and Utilities

Best framework i've seen so far! definatly going to use this for one of my projects!



#265365 trying to convert string gotten from HTTP.GET to table

Posted by lolmaker2002 on 04 March 2017 - 10:11 PM in Ask a Pro

what Incinirate sais works, but whenever i type the private key of the address, it uses a completely different address to do the transaction, even tho i encoded the url and used the same password as on Lemmmy's web wallet



#265344 trying to convert string gotten from HTTP.GET to table

Posted by lolmaker2002 on 04 March 2017 - 03:42 AM in Ask a Pro

View PostIncinirate, on 04 March 2017 - 03:29 AM, said:

View Postlolmaker2002, on 04 March 2017 - 02:45 AM, said:

View PostBomb Bloke, on 04 March 2017 - 02:35 AM, said:

Threads merged, please keep your questions about the one project in the one place.

It's generally bad practise to post and readAll all in one go. Doing so means you're unable to close the final handle, as you didn't hang on to its pointer anywhere.

In regards to your stated problem, it's possible that you need to make your string URL-safe:

local handle = http.post( textutils.urlEncode( "http://krist.ceriat.net/transactions?to=k5n6r931i1&privatekey=xxxxxxxx&amount="..payamm.."&metadata=test" ) )
local pay = handle.readAll()
handle.close()

print(pay)

this just returns a nil value index attempt error. it might not be able to find the url? (im quite new to working with the HTTP API)

Yeah you're using the http post method incorrectly, the correct usage is this:
http.post(url, postData)
so in your case
http.post("http://krist.ceriat.net/transactions", "to=k5n6r931i1&privatekey=xxxxxxxxx&amount=" .. payamm .. "&metadata=test")
i'll test this tommorrow. its currently 5 in the night



#265342 trying to convert string gotten from HTTP.GET to table

Posted by lolmaker2002 on 04 March 2017 - 02:45 AM in Ask a Pro

View PostBomb Bloke, on 04 March 2017 - 02:35 AM, said:

Threads merged, please keep your questions about the one project in the one place.

It's generally bad practise to post and readAll all in one go. Doing so means you're unable to close the final handle, as you didn't hang on to its pointer anywhere.

In regards to your stated problem, it's possible that you need to make your string URL-safe:

local handle = http.post( textutils.urlEncode( "http://krist.ceriat.net/transactions?to=k5n6r931i1&privatekey=xxxxxxxx&amount="..payamm.."&metadata=test" ) )
local pay = handle.readAll()
handle.close()

print(pay)

this just returns a nil value index attempt error. it might not be able to find the url? (im quite new to working with the HTTP API)



#265340 trying to convert string gotten from HTTP.GET to table

Posted by lolmaker2002 on 04 March 2017 - 02:09 AM in Ask a Pro

this might not be the right place to post this, but i dont know where to put it elsewhere.

so, i've been trying to make a transaction through computercraft, since im working on a shop, but whenever i try to pass my privatekey through the http.post, it just errors the following:

{"ok":false,"error":"missing_parameter","parameter":"privatekey"}


even tho i posted the key with the http.post
code used to send request:

pay = http.post("http://krist.ceriat.net/transactions?to=k5n6r931i1&privatekey=xxxxxxxx&amount="..payamm.."&metadata=test").readAll()
print(pay) -- checking for errors

if there is anything im doing wrong here please tell me, i've been looking over the internet for more than an hour.

Krist Documentation: http://krist.ceriat.net/docs



#265339 trying to convert string gotten from HTTP.GET to table

Posted by lolmaker2002 on 04 March 2017 - 12:47 AM in Ask a Pro

UPDATE: IT WORKED! thanks for this, i've been looking for something like this for quite a while :D



#265313 trying to convert string gotten from HTTP.GET to table

Posted by lolmaker2002 on 03 March 2017 - 04:25 AM in Ask a Pro

seems pretty good! thanks for the help, ill give it a shot.



#265306 trying to convert string gotten from HTTP.GET to table

Posted by lolmaker2002 on 03 March 2017 - 02:54 AM in Ask a Pro

so, im working on a program to do transaction with Krist, i've figured out how to get the info about the adress, but i cant convert it from a string(which is also a table) to a table. any ideas?

Program:
https://hastebin.com/yolorapeco.lua

--EDIT: thought i might link the API documentation of the Krist currency aswell: http://krist.ceriat.net/docs/

--EDIT2: this is the output i get when i run it:
{"ok":true,"address":{"address":"k5n6r931i1","balance":0,"totalin":612,"totalout":4726,"firstseen":"2016-12-02T21:10:56.000Z"}}



#265130 Please Delete.

Posted by lolmaker2002 on 26 February 2017 - 03:27 PM in Servers

IGN: lolmaker2002
Programming for: over 2 years. (not to active on forums tho)



#262359 CCFormat - A simple way to format your current computer

Posted by lolmaker2002 on 30 November 2016 - 06:02 PM in APIs and Utilities

View PostTheRockettek, on 30 November 2016 - 04:12 PM, said:

Sorry to say this, but cant you just do
shell.run("rm *")
:P
thats true actually, but my goal was to make it so it doesn't remove the file its being executed from, and also to learn how to work with tables.



#262358 CCFormat - A simple way to format your current computer

Posted by lolmaker2002 on 30 November 2016 - 05:52 PM in APIs and Utilities

View PostAle32bit, on 30 November 2016 - 05:46 PM, said:

Spoiler
Made it better
thanks! i dont know how the for loop works, so i did the best i could, but if its ok ill use this instead of mine.
EDIT: i've been using computercraft for a long while now but i still dont get half of it, i usually just get lucky with my programs and just roll with it.



#262353 CCFormat - A simple way to format your current computer

Posted by lolmaker2002 on 30 November 2016 - 03:56 PM in APIs and Utilities

this is just a thing i wrote in like 40 mins (with no idea what i was going to make, so i was brainstorming for like an hour),

i also wrote this when i had to go, so i cant add screens or anything, file is in desc

PASTEBIN URL: AaWnayNL

EDIT: this was also a little test for me to see if i could work with tables (never worked with them before, or at least not intensively) and i think it worked out pretty well.