eudtrg
Jul 16 2014, 7:31 am
By: trgk  

Jul 16 2014, 7:31 am trgk Post #1



EUDA needed.
Don't confuse with EUDTrig



Original idea
eudtrglib is a library for generating self-modifying trigger.



Features:
- Trigger execution order can be freely manipulated. So, loop & conditional branch is also supported.
- Triggers can be dynamically modified.

- Support functions : you can really reuse your triggers multiple time in SC level.
- Support variables that you can assign, add, subtract to any address.

- Built-in functions. Including
- Multiplication & Division (f_mul, f_div)
- Memory read/write (f_dwread, f_dwwrite)
- Address to EPD Player. (f_epd)
- Extract word/byte inside dword ( f_dwbreak )
- Memory copy / String copy (f_repmovsd, f_memcpy, f_strcpy)

- Built-in Basic control structures (EUDJump, EUDJumpIf, EUDJumpIfNot)




How to install:
1. Install Python 3.x and pip
2. Run following in command line : "pip install eudtrg"
Or you may use PyPI


How to run examples:
1. Download attachment & unzip all of them into somewhere
2. There should be lots of .py files. Run all of them.
3. Example maps should be created at outputmap/. Run those with EUDA enabled



Credits
- Heinermann, EUD dev
- Unit property syntax is borrowed from MacroTrigger.
- Forward() synatx is borrowed from pyparsing.
- Various file formats from modcrafters
- CHK fromat from rpgkdh & SEN.
- SFmpq, Starforge (Trigger condition/actions)



Currently documenting the library. :D

Attachments:
example.zip
Hits: 3 Size: 1233.48kb

Post has been edited 7 time(s), last time on Oct 17 2014, 6:12 am by trgk.



EUD

Jul 16 2014, 3:16 pm NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Suggestion: Rename it. The name is so similar to EUDTrig that they'll get confused despite your disclaimer.

Apart from that it sounds powerful though I have trouble grasping what it actually can be used for. Maybe some examples of what (kinds of) triggers it can generate and how it's different from other trigger generators may be useful.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
[06:38 pm]
Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
Please log in to shout.


Members Online: Moose