EUD help
Mar 23 2008, 9:56 pm
By: I)eathBringer
Pages: 1 2 34 >
 

Mar 23 2008, 9:56 pm I)eathBringer Post #1



I made a map that uses EUDs to detect the current selected unit for player 1 but doesn't work.
To find the offset I've used Artmoney and to find the other values (player and unitID) I've used EUDTrig.
Can anyone help me?



None.

Mar 23 2008, 11:42 pm Viett Post #2



I don't really have an answer for you, but to piggy back off of your topic:

Is it possible to purposefully desync a player with EUDs in conjunction with regular conditions?

For example:

Conditions:
Player has 100 minerals
EUD Condition only true for P1

Actions
Anything (P1 will drop, because this trigger is not executed locally by other players)



None.

Mar 23 2008, 11:53 pm NudeRaider Post #3

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

I doubt you can desynch a player with EUD conditions, as it's not an action, but you can place a unit in P1's vision which will crash his game. You wouldn't need EUD's for that.




Mar 24 2008, 2:14 am O)FaRTy1billion[MM] Post #4

👻 👾 👽 💪

Quote from Viett
Is it possible to purposefully desync a player with EUDs in conjunction with regular conditions?
Yes. :mad: I've posted it like 5 times how to desync-ban.

Quote from NudeRaider
I doubt you can desynch a player with EUD conditions, as it's not an action, but you can place a unit in P1's vision which will crash his game. You wouldn't need EUD's for that.
You'd be wrong. Most values are not shared between the players, such as screen pos or cursor pos, so unless the other players show the exact same value you desync.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 24 2008, 2:36 am Viett Post #5



Quote from FaRTy1billion
Yes. :mad: I've posted it like 5 times how to desync-ban.

Could you refer me to one of these posts, or at least some kind of reference?



None.

Mar 24 2008, 3:09 am O)FaRTy1billion[MM] Post #6

👻 👾 👽 💪

Quote from Viett
Quote from FaRTy1billion
Yes. :mad: I've posted it like 5 times how to desync-ban.

Could you refer me to one of these posts, or at least some kind of reference?
I don't know if they were on this site... Lemme find my map.

Found one.

Attachments:
EUD-desync ban.scm
Hits: 16 Size: 25.36kb



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 24 2008, 7:41 am NudeRaider Post #7

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

Hm I checked the triggers but I don't get why one player would be banned (when you kill his cocoon, right?). Why is it a problem when one player's screen pos is changed or why should the other player's not recognize it?

Btw. do you know what happened to Maplantis or when or if it will be back up?




Mar 24 2008, 6:01 pm O)FaRTy1billion[MM] Post #8

👻 👾 👽 💪

Quote from NudeRaider
Hm I checked the triggers but I don't get why one player would be banned (when you kill his cocoon, right?). Why is it a problem when one player's screen pos is changed or why should the other player's not recognize it?
Screen pos is not shared. When you kill it, the banned player gets moved to (0,0) and a death is set (or is it just the death of the cocoon?) If you have the banned death and the screen pos at (0,0), it creates a unit. I think I made it so if you don't have the ban death and you are at (0,0) it moves the screen elsewhere.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 24 2008, 10:48 pm Brontobyte Post #9



What do you mean by desync? I know what the word means, but I don't see how it works in StarCraft, nor how you would preform this.



None.

Mar 24 2008, 10:49 pm Falkoner Post #10



It drops the person from the game because they are desync'd from the other players, B.net syncs all the players together and that's how you can play online without great connection speeds, desyncing drops them without the other players having to see the drop screen.



None.

Mar 24 2008, 11:11 pm NudeRaider Post #11

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

Quote from FaRTy1billion
Screen pos is not shared. When you kill it, the banned player gets moved to (0,0) and a death is set (or is it just the death of the cocoon?) If you have the banned death and the screen pos at (0,0), it creates a unit. I think I made it so if you don't have the ban death and you are at (0,0) it moves the screen elsewhere.
When I understand it right you say if he has a death of cocoon, move his screen to (0,0) else move it elsewhere.
That is done in many maps for cutscenes without EUDs. I don't understand why checking for a death of cocoon would be different for the other players. Maybe my problem is I don't understand all effects of "Unit ID: x" Can you elaborate?
I just know you can only have this unit ID died once (without modifying the dc) until it is (randomly?) replaced with another unit.




Mar 24 2008, 11:13 pm Brontobyte Post #12



How would you even test for something like that? If its even possible.



None.

Mar 24 2008, 11:41 pm O)FaRTy1billion[MM] Post #13

👻 👾 👽 💪

Quote from Brontobyte
What do you mean by desync? I know what the word means, but I don't see how it works in StarCraft, nor how you would preform this.
When you do something 'illegal' (cannot be done normally) or something happens arbitrarily that doesn't happen to the other players, you will just drop immediately. It is what happens if you were to play a mod with someone who doesn't have that mod.

Quote from NudeRaider
Quote from FaRTy1billion
Screen pos is not shared. When you kill it, the banned player gets moved to (0,0) and a death is set (or is it just the death of the cocoon?) If you have the banned death and the screen pos at (0,0), it creates a unit. I think I made it so if you don't have the ban death and you are at (0,0) it moves the screen elsewhere.
When I understand it right you say if he has a death of cocoon, move his screen to (0,0) else move it elsewhere.
That is done in many maps for cutscenes without EUDs. I don't understand why checking for a death of cocoon would be different for the other players. Maybe my problem is I don't understand all effects of "Unit ID: x" Can you elaborate?
I just know you can only have this unit ID died once (without modifying the dc) until it is (randomly?) replaced with another unit.
It uses an EUD in addition to the death. The death is just to allow a way for other players not to desync. It sets the screen pos to (0,0) an reads it. Because it does not allow anyone else to look at (0,0), the trigger only runs for that person causing them to desync when it creates a unit.

Quote from Brontobyte
How would you even test for something like that? If its even possible.
Create a map and have other people join and then ban someone?


Do you want me to specify the triggers?

Player has been banned: Set death. If you use the death of a unit to ban, skip this trigger.
Trigger
Players

  • Force, All Players, whatever. (Same for all blocks)
  • Conditions

  • <Condition to determine bannage>
  • Actions

  • Set Deaths for Current Player.


  • Prepare ban for banned.[TRIGGER]
    [CONDITIONS]
    [*]Current Player suffered Exactly 1 Death of lolwut
    [/CONDITIONS]
    [ACTIONS]
    [*]Center View [top left location]
    [/ACTIONS]
    [/TRIGGER]

    Prepare for the not banned to not be banned.[TRIGGER]
    [CONDITIONS]
    [*][Force, all players, whatever] suffers at least one death of lolwut
    [*][EUD] Screen Pos X is Exactly 0
    [*][EUD] Screen Pos Y is Exactly 0
    [/CONDITIONS]
    [ACTIONS]
    [*]Center View [some non-topleft location]
    [*]Preserve Trigger.
    [/ACTIONS]
    [/TRIGGER]

    BANNAGE![TRIGGER]
    [CONDITIONS]
    [*]Current Player has suffered exactly 1 death of lolwut
    [*][EUD] Screen Pos X is Exactly 0
    [*][EUD] Screen Pos Y is Exactly 0
    [/CONDITIONS]
    [ACTIONS]
    [*]Display Text Message 'BANNED!'
    [*]<Any action other than display text, center view, minimap ping, playwav, show portrait (there may be more)>
    [*]Any other action you want. Want to defeat them? Fine.
    [/ACTIONS]
    [/TRIGGER]

    It desyncs because for everybody else the screen pos is not (0,0), and then it runs some trigger to create a unit or something. None of the other clients see that trigger happening, so that user just desyncs.

    Note that trigger order matters...
    Set the death.
    Make sure that innocent people are not looking. (If you had this after forcing the banned to look, they'd move away, too, because this is general. You could specify 'Current player has 0 deaths of lolwut', but that is a little bit more work and we all know everyone is lazy. :P)
    Make sure that the banned views top left.
    If the current player is viewing top left, kill, create, order, show a leaderboard, whatever.

    Edit: Ew. Didn't show my descriptions.

    Post has been edited 4 time(s), last time on Mar 24 2008, 11:54 pm by FaRTy1billion.



    TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
    EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
    EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
    MapSketch - New image->map generator!
    EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
    SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
    \:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

    Mar 25 2008, 2:16 am Viett Post #14



    Thanks, that is very helpful! I only have one question: will the EUD condtion specifying screen position change if SC were ever to be updated? If so, how would one retreive the new EUD condition? I don't know how offsets work, but I have read about them changing.

    Also, have you thought about writing a formal guide? I would be interested in seeing one.



    None.

    Mar 25 2008, 4:08 am rockz Post #15

    ᴄʜᴇᴇsᴇ ɪᴛ!

    Quote from I)eathBringer
    I made a map that uses EUDs to detect the current selected unit for player 1 but doesn't work.
    To find the offset I've used Artmoney and to find the other values (player and unitID) I've used EUDTrig.
    Can anyone help me?
    So, what doesn't work about it? You found the offsets, right? You have the player and unitID, now plug it in the chk and go. I told you how to do this already. You can also just export the trigger. Uberation, mapkit/hex, or export are your 3 choices, so I suggest you use them. If you need SPECIFIC help, we can definitely help you, but general stuff like "halp, my EUD trigger doesn't work" is impossible to render aid.



    "Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

    Mar 26 2008, 1:12 am O)FaRTy1billion[MM] Post #16

    👻 👾 👽 💪

    Quote from Viett
    Thanks, that is very helpful! I only have one question: will the EUD condtion specifying screen position change if SC were ever to be updated? If so, how would one retreive the new EUD condition? I don't know how offsets work, but I have read about them changing.

    Also, have you thought about writing a formal guide? I would be interested in seeing one.
    Well, if it helps to answer your question, the offsets have not changed between 1.15.0 and 1.15.2. If the relative distance between the offset and death table remains the same, you wont have to update either (That happened with some things in 1.14 to 1.15, I believe.) They usually only change in major patches. If it stops working in the new patch, all you have to do is find the death table (you can poke me for that because I'd need to for EUDTrig anyway) and the new screen position offsets.

    Eh. I've considered writing a full and formal guide... Often I am writing quick little 'how-to's for people and tutorials. I think there is a mini-guide in EUDTrig. Maybe I coul spice that up, too (basically all it is now is an internally functioning calculator with cheap functions to write it to a .trg file.) I guess I can do it during school tomorrow as I am always trying to think of things to do to pass the time. :P



    TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
    EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
    EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
    MapSketch - New image->map generator!
    EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
    SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
    \:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

    Mar 26 2008, 6:48 pm I)eathBringer Post #17



    I want that my EUD detect the current selected unit but I don't understand how to find death values for different kinds of units.



    None.

    Mar 26 2008, 7:30 pm rockz Post #18

    ᴄʜᴇᴇsᴇ ɪᴛ!

    A Marine has a unitid of 0. So if you have a marine currently selected, search for 0. I don't know the others offhand, but there is the list of unitids in the maplantis wiki. If somoene knows SEN's version, please post a link.



    "Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

    Mar 26 2008, 7:34 pm I)eathBringer Post #19



    I'll try this



    None.

    Mar 26 2008, 7:45 pm I)eathBringer Post #20



    I've opened my map and artmoney, I've tryed to search '32'(unit ID for firebat) but I have over 3000 results and I don't know what I have to do.
    help me,pls :-(



    None.

    Options
    Pages: 1 2 34 >
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [2024-4-14. : 9:21 pm]
    O)FaRTy1billion[MM] -- there are some real members mixed in those latter pages, but the *vast* majority are spam accounts
    [2024-4-14. : 9:21 pm]
    O)FaRTy1billion[MM] -- there are almost 3k pages
    [2024-4-14. : 9:21 pm]
    O)FaRTy1billion[MM] -- the real members stop around page 250
    [2024-4-14. : 9:20 pm]
    O)FaRTy1billion[MM] -- look at the members list
    [2024-4-12. : 12:52 pm]
    Oh_Man -- da real donwano
    da real donwano shouted: This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
    it's pretty common
    [2024-4-11. : 9:53 pm]
    da real donwano -- This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
    [2024-4-11. : 4:18 pm]
    IlyaSnopchenko -- still better than "Pakistani hookers in Sharjah" that I've seen advertised in another forum
    [2024-4-11. : 4:07 pm]
    Ultraviolet -- These guys are hella persistent
    [2024-4-11. : 3:29 pm]
    Vrael -- You know, the outdoors is overrated. Got any indoor gym and fitness equipment?
    [2024-4-10. : 8:11 am]
    Sylph-Of-Space -- Hello!
    Please log in to shout.


    Members Online: C(a)HeK, jun3hong, Revenant