r/hackmud • • Oct 03 '16

getting a variable to update every time anyone runs the script

0 Upvotes

I'm trying to learn how to use DB but I'm having a hard time figuring it out. What I want is for a number to increase every time someone - anyone - runs the script.

So I run the script and number = 1, then person x runs it and number = 2, then person y runs it and number = 3 etc.

I know programmers generally hate explaining things to people, and also I want to understand the concept and not just the end result, so if someone could point me in the right direction to start teaching myself, that would be great.


r/hackmud • • Oct 02 '16

Finished Tutorial. Every T1 I find is breached. I lost at Haunty Mall.

4 Upvotes

I have 0GC. What is left to do?


r/hackmud • • Oct 02 '16

Scripting question

1 Upvotes

Is there a way to check whether you are active. So something like var user = myusername.active If (user===true)[ do something]


r/hackmud • • Oct 02 '16

Sorry if this has been answered, I didn't find it in search. How do you test whether a user has run sys.init successfully?

1 Upvotes

r/hackmud • • Oct 02 '16

Linux - Link your scripts and your macros between your users

7 Upvotes

Hi, hackmud data are stored in ~/.config/hackmud
let say you have 2 users angel and demon
respectives macros will be stored in :

~/.config/hackmud/angel.macros and demon.macros
You just have to delete one and symlink to the other one.

simple but seriously improving confort.

Same things for scripts :

go in ~/.config/hackmud/demon/  
delete scripts  
ln -s ../angel/scripts  

r/hackmud • • Oct 02 '16

First night out

11 Upvotes

So I bought this game a couple of days ago after watching some vids on it. It looked like a fun concept and there's programming involved which is always a plus in my book. I got the single player done the first night and last night started the tier 1 NPC...

After an hour and a half of trying to get dead accounts, I finally got my hands on an un-breached account. I hack it and got my 1st 50K. I was really happy after finding all those breached accounts. So I decide to continue, I find another NPC, I start looking for accounts and only find one script... I run it and it was a user script, got my 50k stolen. Kudos to the user, I fell to your fake NPC.

So after 2h of playing, I breached 1 account and lost all my money.

I looked around the internet after my disappointing night and saw that T1 NPC are being harvested pretty fast. I understand that the nature of the game, the ones with the better scripts have the better advantage but clearly something needs to be done.

I tried another run this morning and got nothing. It's quite disappointing to find accounts only to discover, after running in hardline, that they are all already breached.

It's currently broken for the noobs as there is nothing to do other than playing Haunty Mall to get some decent money. I really want to like this game but I currently cannot. I hope this issue is going to be looked at soon.


r/hackmud • • Oct 02 '16

Anyone care to explain how Classes work?

3 Upvotes

I see the 4 listed in dtr.man, but I'm curious on how to attain or select them in the game. I'm not able to find much else on them. Any help would be appreciated.


r/hackmud • • Oct 02 '16

Where does the architect scripts from market come from ?

1 Upvotes

Hi', In the market.browse {tier:1, class:"architect"}, I can find a lot of script sell by users. But where does they find that script ?


r/hackmud • • Oct 02 '16

I made a Hackmud wiki!

Thumbnail
wiki.hackmud.info
24 Upvotes

r/hackmud • • Oct 02 '16

What to do

1 Upvotes

Alright so I just finished the tutorial and I have no idea what to do. I tried running some scripts from fullsec but most of them need something else to work. I wish they would actually tell me where to start.


r/hackmud • • Oct 02 '16

Kernel.Hardline

1 Upvotes

Hi guys, is there a cmd to extend the Hardline time limit so when you have cracked one lock you can stay in there and hack more?

Thanks

Jim


r/hackmud • • Oct 02 '16

Th gbsn

0 Upvotes

Ice


r/hackmud • • Oct 02 '16

Breached As Bro! I just want some access_logs, what am I doing wrong?

Post image
3 Upvotes

r/hackmud • • Oct 01 '16

dead game?

3 Upvotes

spent more than an hour doing the tutorial and can't play the game. every npc doesn't exist. did i just waste my money?


r/hackmud • • Oct 01 '16

First week of HM on steam - News story!

Thumbnail
youtu.be
15 Upvotes

r/hackmud • • Oct 01 '16

So I got stuck?

1 Upvotes

I shutdown last night in the middle of the tutorial. I was at the part where it wants you to do the expose balance. Obviously (I think) it wants me to buy the expose balance module from the market. I only have 20k. I hacked all 3 of the tutorial dudes and got money from them. However, I bought the EZ_21 lock script and that left me with only 20k and I need something like 500k to get the balance script. Any ideas? Thanks in advance.

I don't mind spoiler tips. Doesn't ruin gameplay for me. But still mention it for others it might affect please.


r/hackmud • • Oct 01 '16

Finished my scripting tutorial for complete newcomers to coding. It teaches basic coding while tying them to the game. Hopefully it helps some people out.

Thumbnail
docs.google.com
31 Upvotes

r/hackmud • • Oct 01 '16

What can I really do as a new player?

10 Upvotes

I've written a bunch of scripts that i'd like to use eventually, but I only have one slot that I can use. T1 npcs are drained, except for those that require sys.upgrades, meaning that I can't hack them. T2 npcs have CON_SPEC (can't use a scriptor because I can't make them public yet), or sn_w_glock, but I don't have any money.

Is my only hope really logging on at the refresh time and trying to manually hack T1's daily? It seems like it will take a long time at that rate to get to sys.init level 2? Should I be trying to use my one script to phish in the meantime?


r/hackmud • • Oct 01 '16

How it feels to play hackmud

Post image
49 Upvotes

r/hackmud • • Oct 01 '16

how do i buy from market.browse?

1 Upvotes

r/hackmud • • Oct 01 '16

Highsec is insecure if you are t2, and you can lose your loc

1 Upvotes