Staredit Network > Forums > SC1 Mapping Tools > Topic: euddraft
Sep 20 2019, 7:35 am
By: Arta(M)  

Sep 20 2019, 7:35 am Arta(M) Post #1

wut's tis

euddraft : Framework for creating & applying various plugins to a map.

Github eudplib(Github)

Basic usage

Download Latest version: (2019-10-19)

Post has been edited 7 time(s), last time on Oct 22 2019, 2:32 am by Arta(M).

maintaining euddraft and eudplib.
Armo#6637 at Discord :teehee:

Sep 20 2019, 8:45 am Arta(M) Post #2

wut's tis

Tons of Changelogs

[] 2019-10-19
  • f_simpleprint is now displayed to AllPlayers.
  • Optimize EUDByteReader/Writer, Remove EUDByteStream.
  • Added f_parse(dst, radix=10)
  • Added formated print functions/methods.
  • Added condition IsUserCP.
  • Optimize f_dbstr_print when # of arguements >= 2.
  • Optimize EUDExecuteOnce.
  • Reduce initialization triggers from 500 to 427.
  • Added EUDLightVariable functionalities.

[] 2019-10-10
  • f_dbstr_print supports epd2s (Fixed error with PColor, ct.color)
  • Added EPDOffsetMap.getdwepd(name).
    Returns f_dwread_epd(offset)
  • Optimize SeqCompute, EUDFunc call.
  • Optimize location functions when location is constant and coordinates are variables. (f_setloc, addloc, dilateloc)

[] 2019-09-25
  • Fix EUDLoopUnit2 has mismatched epd value with EUDContinue.

[] 2019-09-25
  • Temporarily, StringBuffer print to screen directly. (Playing sound does'nt work. fadeIn, fadeOut have 54 bytes limit.)

[] 2019-09-25
  • Preserve CRGB section. Add STRx support for input map.
  • Fix text encoding error with MSQC.

[] 2019-09-20
  • Add f_settbl2(tblID, offset, *contents). f_settbl2 won't write null character, so it is useful for partial replacing stat_txt.tbl.
  • Won't reset hash table/block table when its size is enough for added files.
  • Raise error when fail to add file, or extend block table.
  • Optimize f_dbstr_adddw and loop functions; EUDLoopList, EUDLoopUnit, EUDLoopNewUnit, EUDLoopUnit2, EUDLoopPlayerUnit, EUDLoopSprite.

[] 2019-09-20 (eudplib 0.59.1)
  • Extend hash table/block table based on the number of added files.
  • Optimize freeze: reduce about 500 objects with empty basemap.

[] 2019-09-12
  • Fix autoupdate related error, when there is no internet connection.
  • Fix .edd compiles endlessly.

[] 2019-09-02
  • Fix error when drag-drop map to euddraft.exe for freeze protection.
  • Fix f_strnstr.
  • Fix SetKills action with CurrentPlayer. Fix SetKills not work in epScript.
  • PColor changed; it gets player's current color and returns closest text color code.
  • Text print functions(f_dbstr_print, f_cpstr_print) changed; default behavior with str changed from CPString to ptr2s/epd2s. It slows but occupies less spaces.
  • Input Db in print functions will print Db as ptr2s(Db)/epd2s(EPD(Db)).
  • Add method StringBuffer.printAt(line, *arguments).
  • f_setloc, f_addloc, f_dilateloc now also accepts 4 coordinates (left, top, right, buttom).
  • Stack MRGN PTR/ORT triggers; size reduced from 4816 bytes to 3244 bytes.
  • Optimize _f_mul (multiplication between variables). For example, EUDVariable(100) * EUDVariable(~) runs 41 SetDeaths actions, which is reduced from 62 SetDeaths actions.
  • Location functions (f_setloc, f_addloc, f_dilateloc) uses 1 trigger if all arguments are constants.
  • Add freeze prompt option.

[] 2019-06-11
  • Fix f_raise_CCMU reduced max unit limit when CCMU.
  • pip install eudplib won't require C++ Build Tool.

[] 2019-06-08
  • [MSQC]Fix error with xy syntax when src is constant address.
  • Add plugin [chatEvent].
    How to use:

    Text you want to detect: number at least 2
    @gg: 10
    -> When player send message "@gg", memory address __addr__ SetTo 10. Default __addr__ is 0x58D900, and you can change it by __addr__: address.
    ^start.*middle.*end$: number
    ^Star.*.*$: 5
    -> When player send message start with "Star", address __patternAddr__ SetTo 5. You should assgin __patternAddr__ by __patternAddr__: address.
    -> If __ptrAddr__ is assigned, address __ptrAddr__ SetTo (position of chat message).
    -> If __lenAddr__ is assigned, address __lenAddr__ SetTo (chat message length/bytes)).
    ^.*Edit.*$ : 6
    -> When player send message including "Edit", address __patternAddr__ SetTo 6.
    ^.*.*Network$ : 7
    -> When player send message end with "Netwrok", address __patternAddr__ SetTo 7.

[] 2019-06-06
  • [MSQC]Fix bug QCUnit, QCLoc, QCPlayer won't changed from default values.
  • EUDFunc, EUDMethod uses inspect.getfullargspec instead of inspect.getargspec.
  • Add f_setcurpl2cpcache().
  • Change f_repmovsd_epd to simple and optimized version.
  • Apply FlattenList to VProc.
  • Reduced common EUDByteStream.

[] 2019-05-24 (eudplib 0.58.9)
  • Fix bug when unit placed with 100% energy has default energy(50) in game.
  • Add EUDVariable.getDestAddr(), .SetDest(epd), .AddDest(epd), .SubtractDest(epd).
  • Optimize f_setcurpl with EUDVariable argument, cut action execution from 15 actions to 10 actions.
  • Optimize functions using CP-trick; ptr/epd memory io functions, EUDByteStream, f_readgen_epd, f_strlen_epd, f_strlen.
  • Optimize f_dwrand, f_rand by removing excess value copying.
  • Remove duplicate dlls, move dlls to lib folder.

[] 2019-05-06
  • Remove location name strings, switch name strings, location name string info from output map.
[] 2019-05-06
  • Fix bug all strings encoded to UTF-8.
[] 2019-05-06
  • Fix colors of text effects was always default color(<02>).
  • Optimize f_randomize and change it to @EUDFunc.
  • VProc now also accepts iterable of EUDVariable for first argument.
  • Now outmap will save as StarCraft: Remastered SCX(VER).
  • Now u2b will encode string, which failed to encode as cp949, to UTF-8.
  • Now strings used for unit name will encoded to UTF-8.
  • Now in epScript, only action before semicolon will changed to trigger.
    It enables DoActions, Trigger in epScript without py_eval.

[] 2019-04-17
  • Add list(...), VArray(...) syntax in epScript.

[] 2019-04-15
  • Fix bug when index of PVariable was contant.
[] 2019-04-15
  • Optimize EUDVArray.
  • Now PVariable can be typecasted.

[] 2019-04-10
  • Fix bug with division by 1.

[] 2019-04-08
  • Fix bug with f_wwrite_epd(epd, subp, w) and f_wwrite(ptr, w), when address is constant and 'w' is EUDVariable, wrote value as 0.
  • Multiplication/division with -1, 0, 1 uses less triggers.
  • Use f_bitlshift when multiply by power of 2.
  • Optimize f_dwbreak, f_dwbreak2.

[] 2019-04-04
  • Change how to use StringBuffer.fadeIn/fadeOut. Add keyword argument 'line'.
  • StringBuffer.fadeIn/fadeOut will return -1 when CurrentPlayer inequal localCurrentPlayer.
  • Add line break(\n) support in TextFX_FadeIn/FadeOut.

example epScript code)

const s = StringBuffer(1023);

function texteffect() {
const tecolor = 4, 2, 0x1E, 5, 0;

const t = s.fadeIn("\x13\x04세상은 \x19하나의 빛\x04으로부터 창조되었다.
\n \n\x13\x04빛은 공허를 두개로 갈라 하늘과 땅을 만들었고
\n\x13\x04그곳을 자신의 이름을 따 \x19아티아월드\x04라고 이름지었다.",
line=6, color=tecolor, wait=2, tag=py_str("FAH")
if(t >= 1) return;

var wait;
wait += 1;
if(wait <= 99) return;

wait = 0;
TextFX_SetTimer("FAH", SetTo, 0);

function afterTriggerExec() {
foreach(h : EUDLoopPlayer()) {

Post has been edited 7 time(s), last time on Oct 22 2019, 3:55 am by Arta(M).

maintaining euddraft and eudplib.
Armo#6637 at Discord :teehee:

Oct 13 2019, 6:47 pm lifebot Post #3

Link of latest version by Arta:


Oct 22 2019, 2:34 am Arta(M) Post #4

wut's tis

Quote from lifebot
Link of latest version by Arta:
Please don't repost and link to old version from warbible site.

maintaining euddraft and eudplib.
Armo#6637 at Discord :teehee:

  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2020-5-25. : 4:12 pm]
lil-Inferno -- ya
[2020-5-25. : 5:32 am]
Ultraviolet -- :teach: *
[2020-5-25. : 5:32 am]
Ultraviolet -- lil-Inferno
lil-Inferno shouted: ya, if the person I found is actually him lmao
creep :prof:
[2020-5-24. : 10:31 pm]
lil-Inferno -- ya, if the person I found is actually him lmao
[2020-5-24. : 5:06 pm]
Voyager7456 -- lil-Inferno
lil-Inferno shouted: youarenotworthy Are you thinking of Tuxlar? I don't remember anyone else who ever made map trailers
isn't he literally a professor now too?
[2020-5-24. : 1:17 pm]
Zycorax -- Is it possible that he went by Professor Tuxlar or something for a brief period?
[2020-5-23. : 10:38 am]
NudeRaider -- youarenotworthy
youarenotworthy shouted: Regarding the other user I'm looking for, I know he was a member of this community but was more involved with the other main map making community at the time (I cant remember what it was called... MM?) but just wondering if anybody remembers him.. Professor something. I don't remember any of his projects.
that's all we got
[2020-5-22. : 6:34 pm]
Vrael -- yeah I can't remember any professor usernames either sry :(
[2020-5-22. : 3:58 pm]
Oh_Man -- I made some youtube vids for my map
[2020-5-22. : 2:22 pm]
lil-Inferno -- I can't think of anyone who went by Professor either
Please log in to shout.

Members Online: Roy, jun3hong, Zincoshine, NudeRaider