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.
[05:41 am]
Ultraviolet -- 🤔 so inf is in you?
[04:57 am]
O)FaRTy1billion[MM] -- my name is mud
[04:35 am]
Ultraviolet -- mud, meet my friend, the stick
[10:07 pm]
lil-Inferno -- nah
[08:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[05:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[05:24 pm]
lil-Inferno -- poopoo
[05:14 pm]
UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
[03:36 pm]
NudeRaider -- :lol:
[2024-5-16. : 3:02 am]
Ultraviolet -- I'm gonna send inf to have sex with their moms
Please log in to shout.


Members Online: Ultraviolet, 5sophiee58100yp3