Staredit Network > Forums > Modding Assistance > Topic: Two Advanced Questions
Two Advanced Questions
Feb 24 2009, 10:24 pm
By: A_of-s_t  

Feb 24 2009, 10:24 pm A_of-s_t Post #1

aka idmontie

I have two advaqnced questions for the more experienced modders:

If the minimap is removed from the HUD and map previews removed from the lobby, would odd sized maps work without playing a regular sized map before hand? I'm trying to get a map around 500x500 to work in SC.

I wish to communicate a bit of information from text files from player to player in SC. I wanted to take some info from Player 1's computer and update the map with it, and then take P2's and so on. How can I accomplish this without any desync?



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Feb 24 2009, 10:32 pm Excalibur Post #2

The sword and the faith

If you get 500x500 to work I want to know everything you did. Srsly.




SEN Global Moderator and Resident Zealot
-------------------------
The sword and the faith.

:ex:
Sector 12
My stream, live PC building and tech discussion.

Feb 24 2009, 10:38 pm Falkoner Post #3



Quote
If the minimap is removed from the HUD and map previews removed from the lobby, would odd sized maps work without playing a regular sized map before hand? I'm trying to get a map around 500x500 to work in SC.

I've always heard it's the minimap that crashes, I see no reason why the large map size would crash it otherwise, since your screen is still displaying the same amount...

Quote
I wish to communicate a bit of information from text files from player to player in SC. I wanted to take some info from Player 1's computer and update the map with it, and then take P2's and so on. How can I accomplish this without any desync?

Leaderboard changes don't desync, so you might be able to like transfer text via leaderboard(1-26 for letters) however I'm not sure if that would work for you.. Although, maybe since they're not shared, the other players won't be able to detect it.. hm..



None.

Feb 24 2009, 10:45 pm A_of-s_t Post #4

aka idmontie

Can deaths be updated? I don't see why they can't me? Or maybe kills? If so, then I'm sure I can make a workaround.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Feb 24 2009, 10:56 pm Falkoner Post #5



Nevermind, just tested leaderboard, while it doesn't desync, the numbers remain the same for the other players, even if yours are different..



None.

Feb 24 2009, 10:58 pm A_of-s_t Post #6

aka idmontie

Quote from Falkoner
Nevermind, just tested leaderboard, while it doesn't desync, the numbers remain the same for the other players, even if yours are different..
Thanks, that's a bummer though.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Feb 24 2009, 11:37 pm Syphon Post #7



Quote from A_of-s_t
I have two advaqnced questions for the more experienced modders:

If the minimap is removed from the HUD and map previews removed from the lobby, would odd sized maps work without playing a regular sized map before hand? I'm trying to get a map around 500x500 to work in SC.

I wish to communicate a bit of information from text files from player to player in SC. I wanted to take some info from Player 1's computer and update the map with it, and then take P2's and so on. How can I accomplish this without any desync?

Odd sized maps, maybe, but maps larger than 256x256 never work.

Only possible way without plugins is EUD conditions and actions that you make to read the files. And I'm not even sure it's possible to pass data like that without desynching.



None.

Feb 24 2009, 11:42 pm A_of-s_t Post #8

aka idmontie

Quote from name:Richard Nixons Head
Odd sized maps, maybe, but maps larger than 256x256 never work.
I know maps can be bigger than 256x256, its just that they crash SC. A map once existed that was 1024x1024.

Quote from name:Richard Nixons Head
Only possible way without plugins is EUD conditions and actions that you make to read the files. And I'm not even sure it's possible to pass data like that without desynching.
I was think more along the lines of my R.A.W.R. plugin.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Feb 24 2009, 11:46 pm poiuy_qwert Post #9

PyMS and ProTRG developer

Unless you say what you actually want to do there is no way to tell if it will desync or how to stop it. Generally though since you are using a plugin just hook into the packet sending/receiving functions, then you can create a custom packet to send the data between players. You could also just use the basic player text sending/receiving functions with a special formatted message.




Feb 24 2009, 11:53 pm A_of-s_t Post #10

aka idmontie

Hiennerman told me that packets can't edit information, unless it sends out at the same time and acts as if its a constant in SC. If locations didn't crash, I don't see why this really shouldn't crash. I guess I have some testing to do.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Feb 24 2009, 11:55 pm poiuy_qwert Post #11

PyMS and ProTRG developer

Like i said, you have to explain what you want to do.




Feb 25 2009, 1:11 am Heinermann Post #12

SDE, BWAPI owner, hacker.

I thought 512x512 maps were just "unplayable", not crashing. ??
Either way I might have a look into it. :O

BTW the MTXM(terrain) section of a CHK doesn't validate if the size is greater than 0x20000 bytes. (256x256 map)
So a checklist of patches would include

0x004CD0B3 -> Fill with 9 NOPs (disable the size check on the MTXM section)
0x0042BC61 -> Possibly change to Push 400000h // memory allocation
*0x004BD709 -> Possibly change to Push 800000h // memory allocation
*0x004BD72B -> Possibly change to Push 800000h // memory allocation
*0x004BD75F -> Possibly change to Push 1000000h // memory allocation

Other notes:
0x004A4400 for the minimap sizing function.




Feb 25 2009, 1:23 am A_of-s_t Post #13

aka idmontie

What patch are those for? I'm guessing 1.16.0.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Feb 27 2009, 3:45 am O)FaRTy1billion[MM] Post #14

👻 👾 👽 💪

As long as the information isn't being used by everyone (same restrictions as EUDs and running mods with people who aren't), it wont desync. You can successfully move locations, change switches and deaths, etc. without desync, as long as any major action doesn't occur based on them.



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!

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
Please log in to shout.


Members Online: Roy