Text Condition
Apr 12 2008, 9:02 pm
By: Abc123  

Apr 12 2008, 9:02 pm Abc123 Post #1



is it possible to have displayed text as a condition?

What program do I use to do EUD triggers? Starforge, SCMDraft, Uber@tion ?

please please please help me.

ty

Post has been edited 3 time(s), last time on Apr 15 2008, 5:26 am by Abc123.



None.

Apr 12 2008, 9:03 pm Falkoner Post #2



I'm not even sure if you can detect text using EUDs...



None.

Apr 12 2008, 9:07 pm Abc123 Post #3



i'm pretty sure u can, i remember my friend making a map with it as a condition



None.

Apr 12 2008, 9:14 pm Symmetry Post #4

Dungeon Master

It's possible, but you have to take into consideration the person's name who is typing. I remember once someone made a game where the person could whisper into a game and actually ban people from outside :P



:voy: :jaff: :voy: :jaff:

Apr 12 2008, 9:17 pm Abc123 Post #5



Quote from name:Killer_Kow
It's possible, but you have to take into consideration the person's name who is typing. I remember once someone made a game where the person could whisper into a game and actually ban people from outside :P

yea i know. I want to do something like that. Could you please write a tutorial or send me a link to one? thx



None.

Apr 12 2008, 9:20 pm O)FaRTy1billion[MM] Post #6

👻 👾 👽 💪

This is very possible, but it has major flaws: usernames are variable length and included in the string, the string could occupy one of many string table slots, and the table slots are offset if one user gets a whisper or has a display text that only they (or, specifically, not everyone) can see.



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!

Apr 12 2008, 9:20 pm Abc123 Post #7



this will just be my user name



None.

Apr 12 2008, 9:21 pm O)FaRTy1billion[MM] Post #8

👻 👾 👽 💪

That solves one flaw out of three. Two more to overcome. :P You could read every slot or spam the text until it detects it... but there really isn't much you can do about the third.



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!

Apr 12 2008, 9:24 pm Abc123 Post #9



Quote from O)FaRTy1billion[MM]
This is very possible, but it has major flaws: usernames are variable length and included in the string, the string could occupy one of many string table slots, and the table slots are offset if one user gets a whisper or has a display text that only they (or, specifically, not everyone) can see.

could you tell me the EUD command anyways?

also, what program should i use for EUD's, Starforge or Uberation, or something else?

thx



None.

Apr 12 2008, 9:26 pm O)FaRTy1billion[MM] Post #10

👻 👾 👽 💪

StarForge works. I don't know if Uberation works, it used to because it had them built in (for an old version). EUDTrig can export *.trg files.

I guess I could go and find the offsets for text...



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!

Apr 12 2008, 9:30 pm Abc123 Post #11



thx man ur cool

and btw, do i need a plugin for starforge 2.2 to do EUB's?



None.

Apr 12 2008, 9:51 pm O)FaRTy1billion[MM] Post #12

👻 👾 👽 💪

You need to modify Conditions.lst in the data folder.

Find this line:
Code
Condition Deaths(Player Player, Comparison Comparison, Number Number, Unit Unit)

and replace it with:
Code
Condition Deaths(Player Player, Comparison Comparison, Number Number, Number Unit)


Also here are the addresses:
0x00640B48 - Line 1
0x00640C22 - Line 2
0x00640CFC - Line 3
0x00640DD6 - Line 4
0x00640EB0 - Line 5
0x00640F8A - Line 6
0x00641064 - Line 7
0x0064113E - Line 8
0x00641218 - Line 9
0x006412F2 - Line 10
0x006413CC - Line 11
You can only read 4 bytes at a time, so you must read the string in segments. It is everything-sensitive (:P case-sensitive) and the string must match up exactly. Half of these don't line up to 4-byte increments so the string data must start with 0x0000.

Edit:
Apparently it (like SC loves to do) starts at 11. It should go in a top-down order, though, as when I was finding them it was.

Post has been edited 2 time(s), last time on Apr 12 2008, 10:17 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!

Apr 12 2008, 10:05 pm Abc123 Post #13



alright so the condition would look like....

Deaths(P1, Exactly, hexed-number of 4 letter word, 0x00640B48);

???????????

edit: and if my word is more than 4 letters, what do i do?



None.

Apr 12 2008, 10:11 pm The_z0r Post #14



Quote from iCafe.Moto
Deaths(P1, Exactly, hexed-number of 4 letter word, 0x00640B48);
No. You have to use something like EUDTrig in order to come up with the appropriate trigger.



None.

Apr 12 2008, 10:13 pm O)FaRTy1billion[MM] Post #15

👻 👾 👽 💪

Not exactly. :P Use EUDTrig to convert an address into a player number and unit ID.

Input 0x00640B48 into Memory Offset. Ignore Object ID/Len. and hit the down arrow.
You should get Player 4 and Unit ID 15573.
You can use the Exporter (top right) or write your own SF triggers... but in the end it should look like this:
Deaths(P4, Exactly, <4-letter segment as decimal>, 15573);
(I don't think SF allows for hex... does it?)

If you want to read the next four bytes, put a 1 in the Object ID. box and set the Len. (dropdown box) to 4. That will give you player ID/unit ID for the next segment.



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!

Apr 12 2008, 10:20 pm Kenoli Post #16



If you use text detection in a multiplayer game chances are it'll desync.
See, the different players' line numbers don't necessarily correspond with each other. One player might have a message in "line 4" while another has it in "line 6". If a trigger goes of based on one of those messages, suddenly the different players' games are different, and they get dropped.



None.

Apr 12 2008, 10:26 pm O)FaRTy1billion[MM] Post #17

👻 👾 👽 💪

Quote from Kenoli
If you use text detection in a multiplayer game chances are it'll desync.
See, the different players' line numbers don't necessarily correspond with each other. One player might have a message in "line 4" while another has it in "line 6". If a trigger goes of based on one of those messages, suddenly the different players' games are different, and they get dropped.
(What I meant before as being offset)
... Unless of course all you are doing is displaying text, moving the screen, displaying a portrait, etc.



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!

Apr 12 2008, 10:30 pm Abc123 Post #18



is there any program that can easily give me a decimal of a word ?



None.

Apr 12 2008, 10:32 pm Hug A Zergling Post #19



You can have a EUD where it detects text? Wow, the possiblities are endless with this!



None.

Apr 12 2008, 10:37 pm Kenoli Post #20



When you're reading data directly from memory you can detect pretty much whatever.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[06:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8: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
[2024-5-16. : 5:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[2024-5-16. : 5:24 pm]
lil-Inferno -- poopoo
[2024-5-16. : 5: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?
Please log in to shout.


Members Online: 1lydiac6922yM3