Staredit Network > Forums > SC1 Mapping Tools > Topic: euddraft 0.8.9.0
euddraft 0.8.9.0
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: 0.8.9.0 (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

[0.8.9.0] 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.

[0.8.8.1] 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)

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

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

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

[0.8.7.6] 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.

[0.8.7.5] 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.

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

[0.8.7.3] 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.

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

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

    [chatEvent]
    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.

[0.8.7.0] 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.

[0.8.6.9] 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.

[0.8.6.8] 2019-05-06
  • Remove location name strings, switch name strings, location name string info from output map.
[0.8.6.7] 2019-05-06
  • Fix bug all strings encoded to UTF-8.
[0.8.6.6] 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.

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

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

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

[0.8.6.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.

[0.8.6.0] 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);
TextFX_Remove("FAH");
}


function afterTriggerExec() {
foreach(h : EUDLoopPlayer()) {
setcurpl(h);
texteffect();
}
}


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:

https://warbibleonline.com/maps/euddraft0.8.8.1.7z



None.

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:

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:27 am]
NudeRaider -- GGmano
GGmano shouted: I Like this better than discord tho
you do now. But back when everyone was using it we had severe performance problems. I'm sure they'd return if people moved back.
[05:21 am]
O)FaRTy1billion[MM] -- wob is/was on discord, but you can't use animated ones unless you pay
[04:28 am]
Oh_Man -- Maybe when quantum computing comes around
[04:27 am]
Oh_Man -- The technology just isn't there yet
[01:34 am]
jjf28 -- it would be ridiculously expensive to unlock wobbing in discord tho
[01:34 am]
jjf28 -- :wob:
[11:10 pm]
Zycorax -- :wob:
[10:44 pm]
Suicidal Insanity -- and emote spam
[10:40 pm]
Voyager7456 -- Suicidal Insanity
Suicidal Insanity shouted: shoutbox was used for memes and some content. discord gets used for memes, more memes, and yet more memes
hey to be fair sometimes there's also shitposting
[10:14 pm]
GGmano -- I Like this better than discord tho
Please log in to shout.


Members Online: Roy, NudeRaider, olezu, Generalpie, eherulan