I hereby claim:
- I am alecnunn on github.
- I am alecnunn (https://keybase.io/alecnunn) on keybase.
- I have a public key whose fingerprint is 06B3 DA29 80A1 B5FB F46E AC98 A598 69B8 702B 58C7
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| How to: Create a New Specialty | |
| Author: Sichae (Chris Vorndran) | |
| Contents | |
| Introduction | |
| Before You Start |
| The “How To” Guide for Legend of the Green Dragon: | |
| Mount Editor | |
| Author: JCP | |
| Table of Contents |
| How to: Create Skins | |
| Author: Ben 'blarg' Wong | |
| Contents | |
| How to: Create a New Race | |
| Author: Sichae (Chris Vorndran) | |
| Contents | |
| One Line at a Time - Module Tutorial for Legend of the Green Dragon by SaucyWench | |
| This tutorial uses the file in the core release called findgem.php and explains what is happening in a basic special. You should have a copy of the untouched file open as you read this - I suggest opening that file in Notepad and comparing as you read, so that you can see how it looks without my comments. | |
| This tutorial is probably not for someone who has never, ever seen code before, but should be suitable for a beginner at php / perl. I have attempted to explain each line, and usually I treat things as if the game is a person that the code speaks to - if you are an experienced coder you will probably notice that some of my explanations are not perfectly accurate, but are easier to understand in that kind of teminology. | |
| If you are quite new and find it all very baffling, don't dispair. Just read the next section and try to understand that. Most of this you can simply copy and paste into your own module without breaking anyt |
| if __name__ == '__main__': | |
| DoFunction() |
| INC(8) | |
| LOOP( | |
| SHIFT RIGHT | |
| INC(4) | |
| LOOP( | |
| SHIFT RIGHT | |
| INC(2) | |
| SHIFT RIGHT | |
| INC(3) | |
| SHIFT RIGHT |
| ---------------------------------------------------------------------------------------- | |
| Language files blank comment code | |
| ---------------------------------------------------------------------------------------- | |
| C# 52578 1047674 1343291 5846047 | |
| HTML 3115 212229 73708 815566 | |
| SQL 130 2222 6121 767792 | |
| Visual Basic 3935 95344 173763 616567 | |
| CSS 872 55486 17575 536274 | |
| C++ 1350 99252 50574 518200 | |
| Rust 3908 137 22300 514082 |
| import random, struct | |
| A = 1024 | |
| C = random.randrange(100,25000) | |
| def c(f): | |
| with open(f, 'rb') as f: | |
| b = 0 | |
| d = 0 | |
| while True: | |
| b = f.read(1) | |
| d += 1 |