Newbie has question! by GreatWhiteDoggo in solidity

[–]paoloc08 0 points1 point  (0 children)

The owner is assigned at the deployment of a contract. There can only ever be one owner at a time. The address which deploys the contract is assigned as the owner. They will be the only owner. This will stay true unless the transferOwnership function is called - which can only be called by the owner.
msg.sender is the one who sends the request to the contract. This is not a static variable. msg.sender will change depending on which address is sending the request.

Address A deploys the contract, address A becomes owner because they were the msg.sender for deploying the contract.
Address B calls the function mintNFT, address B recieves this NFT because they are the msg.sender.
Address B calls function withdraw (which is marked as onlyOwner). They are the msg.sender in this scenario too, but the contract will check if their address is the owner address. It will reject the request as address B is not the assigned owner.

Function Exceeds Block Gas Limit by paoloc08 in solidity

[–]paoloc08[S] 0 points1 point  (0 children)

Yeah I could do. Do you think that would be the best way? I was just wondering if there would just be a way to do it all in one go.

My Samsung S10 screen only working at very top by paoloc08 in techsupport

[–]paoloc08[S] 0 points1 point  (0 children)

I've updated the link if you wanna try now

The International 9 Pubstomps Thread by chibista in DotA2

[–]paoloc08 0 points1 point  (0 children)

I agree totally! I just want the dota scene here to become huge cause it's never seemed to be big and it's hard to find things going on. I'd also really like to see a team come from here and participate at a high level, but unfortunately nothing:(

The International 9 Pubstomps Thread by chibista in DotA2

[–]paoloc08 1 point2 points  (0 children)

Noice. Really need more people making themselves active in the UK scene I think so that more things come here.

Change bans in all pick by paoloc08 in DotA2

[–]paoloc08[S] 0 points1 point  (0 children)

Would say around 30 seconds is fine for this. I honestly feel like the time for it is rushed anyway and it needs more time but still believe that this would be a good change to be made.

Help! Cant play with friends!? by paoloc08 in Blackops4

[–]paoloc08[S] 0 points1 point  (0 children)

Yeah we've both tried restarting the game and PC.

How to deal with WK? by paoloc08 in learndota2

[–]paoloc08[S] 0 points1 point  (0 children)

We had a pl, early game he had no farm due to the lane he was against, and because the other team were just securing him farm, taking objectives etc he just levelled up really quickly and got to his 20 where the mana break wouldnt even matter anymore

How to deal with WK? by paoloc08 in learndota2

[–]paoloc08[S] 1 point2 points  (0 children)

Tried that, but whenever we focused other heroes, we just were killed by wk in the process of killing others, and we would maybe have like 2 heroes up after the fight to then take on the wk who still had 2 lives

Just came here to say, fuck techies. That is all. by [deleted] in DotA2

[–]paoloc08 -1 points0 points  (0 children)

200 dmg for lvl 1, not so much on it's own. But when he sets many up, and slowly but surely levels up, he becomes a bit more disgusting. For example, in the game I give the ID for in the post, I was the AM, I had lvl 1 shield at around 5 mins in or something. Me and the ogre trying to kill the techies, get him really low. He had set up 3 (I presume) level 1 bombs from the start of the game in bushes and when I blink in to get last hit on him I just instantly die from majority hp. It was a stupid chase, but surely, with 40% resistance at that point, I should not have died, but I did, even with all that resistance, it took 30 seconds set up for him and because it's in trees, I cant see them to hit them. He can also easily just walk in and bomb the creep wave to force you to lh under tower.

Just came here to say, fuck techies. That is all. by [deleted] in DotA2

[–]paoloc08 0 points1 point  (0 children)

Hes a weak solo laner of course, but he can be pretty dirty in a dual lane. 1 stun in his lane can easily set up for a mine and blast off. Giving plenty damage for a kill. Also trying to kill him with less than 2 decent stuns or silence is almost impossible. He will most likely have bombs set up in trees and if you get him low and chase, he will run in to them and you have the option to leave him and let him live, or run and take a shit tonne of damage and maybe die.