Thursday, December 28, 2017

Yenten new crypto mining guide

Hi i noticed very weird cpu minable coin in my cryptoradar. There is not much about this crypto in internets but google it yourself but here is mining guide.

Download Yenten wallet from

https://github.com/conan-equal-newone/yenten/releases

wait wallet to synchronise

Now mining from wallet is simple
GO TO
Help->Debug window->Console
and type
setgenerate true -1 
-1 is using all threads on cpu but feel free to use 1/2/3/4 depends how many cores you want to use

Now make sure you are mining by typing
getmininginfo
now your 
"hashespersec" : 573
should be bigger than 0 depending on how many cores and cpu speed

Now you are mining


Mining with minerd
download yenten minerd from

https://github.com/conan-equal-newone/yenten/releases

now extract that zip and make new text file

for pooled mining textfile should be like this

minerd.exe -a yescryptr16 -o stratum+tcp://pool.yentencoin.com:6234 -u <wallet address>

if you want to control threads use command -t 2
this will use 2 cores
and replace pooladdress "pool.yentencoin.com" for whatever pool you want to
here is my line for example

minerd.exe -a yescryptr16 -o stratum+tcp://yescryptR16.n-engine.com:6233 -t 2 -u YSaRwsySAKysayi3kNqnz18XiUHy9aAbNv

i moved to n-engine because its bigger but sometimes i still mine on yentencoin


IN NOTEPAD CLICK SAVE AS AND THEN CHOOSE ALL FILES AS TYPE AND SAVE IT AS start.bat

then just start the start.bat

Solo mining with minerd

go to C://users/"pc username HERE"/AppData/Roaming/Yenten

and create new textfile

server=1
rpcuser=user
rpcpassword=password
rpcallowip=127.0.0.1
rpcport=9982

p2pport=9981

now save this like the .bat file but save this as yenten.conf

now back to minerd and creating solomining.bat

minerd.exe -a yescryptr16 -o localhost:9982 -u user -p password -t 2 --coinbase-addr="YOUR WALLET ADDRESS GOES HERE"

yenten wallet must be running when solo mining so start that first and then start solomining.bat

HAPPY MINING

IF YOU WANT TO DONATE yenten HERE IS MY ADDRESS

YSaRwsySAKysayi3kNqnz18XiUHy9aAbNv


Wednesday, January 11, 2017

Gamemaker tips for top down shooter

I have played around with Gamemaker for sometime and heres few tips for top down shooter.


1. Movement


I like to movement towards cursor and with WASD keys so here is how i did it.

W

move_towards_point(mouse_x,mouse_y,speed);


speed should be positive because you should move towards mouse cursor



S

move_towards_point(mouse_x,mouse_y,speed);



and here speed should be negative example -20 so char would walk away from cursor



A,D keys should not be done with this and i think they should just be strafe, so postive and negative speed on x-axis



2. Weapons, shooting and switching



I like to do this with scripts and just switch the shooting script



On your hero,char,shooter you would have

Equipped variable and to that you can store script

example

Equipped=pistol;



on mouseleft or your shooting key you just execute Equipped

script_execute(Equipped);



on a pistol script you create bullets and shoot



3. Switching weapons



So if do switching with 1,2,3.... keys, you can just make that key to switch

the Equipped script



example when 2 is pressed

Equipped=Shotgun



example when 1 is pressed

Equipped=Pistol


Now when 1,2,3... is pressed it changes the script what mouseleft then executes.

4. Gun with kick

So at shooting script (Pistol,Shotgun)script i have the shooting and movement... yes movement so the gun will have a littlebit of kick

example in shotgun
move_towards_point(mouse_x,mouse_y,speed);
and speed should be negative in this one so it moves away from cursor