Staredit Network

Staredit Network -> UMS Assistance -> [SOLVED] Disabling Leader Board
Report, edit, etc...Posted by PyroDog on 2006-12-03 at 23:33:44
Hm... I have a switch that turns on the leader board for custom points. I turn off the switch, the leader board still stays up there. Any way to remove the leader board once it gets put up?
Report, edit, etc...Posted by doodle3000 on 2006-12-03 at 23:43:30
Nope. You can disable use of computers on leader boards, or u could switch leader boards, but u cant get rid of it once it set it.
Report, edit, etc...Posted by PyroDog on 2006-12-03 at 23:53:05
QUOTE(doodle3000 @ Dec 3 2006, 08:43 PM)
Nope. You can disable use of computers on leader boards, or u could switch leader boards, but u cant get rid of it once it set it.
[right][snapback]599068[/snapback][/right]


Damn. I hate SC's editors... map revealers are retarded, they only use .wav files (instead of mp3s), and they are fickle. Still... it's more like a love hate relationship. Useful lil illegitimate childs, but annoying.
Report, edit, etc...Posted by Heimdal on 2006-12-04 at 00:14:44
Hm, I wonder...

*goes to check SC's assembly*
CODE

Action_LeaderBoard     ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
Action_LeaderBoard      
Action_LeaderBoard      
Action_LeaderBoard      Action_LeaderBoard proc near           ; CODE XREF: triggerExecuteActions+66p
Action_LeaderBoard                                             ; sub_4DE1D0+2Ep ...
Action_LeaderBoard      mov     al, [ecx+Action.id]
Action_LeaderBoard+3    cmp     al, 18                         ; leaderboard control at
Action_LeaderBoard+5    mov     word_64ED24, 1
Action_LeaderBoard+E    jz      short loc_4C4624
Action_LeaderBoard+10   cmp     al, 34                         ; leaderboard goal control at
Action_LeaderBoard+12   jz      short loc_4C4624
Action_LeaderBoard+14   cmp     al, 40                         ; leaderboard greed
Action_LeaderBoard+16   jnz     short loc_4C4635
Action_LeaderBoard+18   mov     leaderBoardActionID, al
Action_LeaderBoard+1D   mov     eax, [ecx+Action.param1]
Action_LeaderBoard+20   mov     leaderBoardGoal, eax
Action_LeaderBoard+25   mov     leaderBoardType, 2
Action_LeaderBoard+2E   mov     eax, 1
Action_LeaderBoard+33   retn
Action_LeaderBoard+34  ; ---------------------------------------------------------------------------
Action_LeaderBoard+34  
Action_LeaderBoard+34   loc_4C4624:                            ; CODE XREF: Action_LeaderBoard+Ej
Action_LeaderBoard+34                                          ; Action_LeaderBoard+12j
Action_LeaderBoard+34   mov     al, byte ptr [ecx+Action.location]
Action_LeaderBoard+36   test    al, al
Action_LeaderBoard+38   jz      short loc_4C4659
Action_LeaderBoard+3A   cmp     al, 0FFh
Action_LeaderBoard+3C   ja      short loc_4C4659
Action_LeaderBoard+3E   dec     al
Action_LeaderBoard+40   mov     leaderBoardControlLocation, al
Action_LeaderBoard+45  
Action_LeaderBoard+45   loc_4C4635:                            ; CODE XREF: Action_LeaderBoard+16j
Action_LeaderBoard+45   mov     dl, [ecx+Action.id]
Action_LeaderBoard+48   mov     leaderBoardActionID, dl
Action_LeaderBoard+4E   mov     ax, [ecx+Action.param2]
Action_LeaderBoard+52   mov     leaderBoardType, ax
Action_LeaderBoard+58   mov     edx, [ecx+Action.param1]
Action_LeaderBoard+5B   mov     leaderBoardGoal, edx
Action_LeaderBoard+61   mov     eax, [ecx+Action.string]
Action_LeaderBoard+64   mov     leaderBoardLabel, eax
Action_LeaderBoard+69  
Action_LeaderBoard+69   loc_4C4659:                            ; CODE XREF: Action_LeaderBoard+38j
Action_LeaderBoard+69                                          ; Action_LeaderBoard+3Cj
Action_LeaderBoard+69   mov     eax, 1
Action_LeaderBoard+6E   retn
Action_LeaderBoard+6E   Action_LeaderBoard endp

Nope...looks like word_64ED24 is the thing that controls whether or not the leaderboard is shown. And there's no place in the code that sets it to 0, save the map initialization code. So...if you had EUD actions, the answer would have been yes.
Report, edit, etc...Posted by Kenoli on 2006-12-04 at 01:49:54
The best you could do is change it to something else.
Report, edit, etc...Posted by spinesheath on 2006-12-04 at 08:08:55
pff, Heimdal, don't post forbidden stuff tongue.gif
Report, edit, etc...Posted by CheatEnabled on 2006-12-04 at 08:56:54
EUDs aren't fobidden, they're just not wanted. As for your problem Pyro, I wouldn't add EUDs. They are hard, and they often get screwed up, like when blizzard updates starcraft.
Report, edit, etc...Posted by spinesheath on 2006-12-04 at 09:14:49
I didn't talk about EUDs pinch.gif

I was talking about the disassembly, which is explicitly forbidden in the EULA.
But SF, SCMD2, modding and whatsoever is also forbidden tongue.gif
Report, edit, etc...Posted by KABOOM on 2006-12-07 at 13:33:37
Lethal_Illusion had the same problem and concluded with not possible. But i suggested to him that if you get it to change really fast maybe it wouldnt show. Now he never tried or I but i think its worth a shot.

Addition:
Actually i just tried it and all it does is bug up the leaderboard, but i did notice a way to hide it good. Make it show some stats that no one has like units at a location and make it have no explaination text and ull just see the players colors at top left
Report, edit, etc...Posted by CheatEnabled on 2006-12-07 at 14:12:03
They player colour thing will piss random b.net people off, as they don't know what the leaderboard shows. Also, this works best on certain tilesets for certain colours, like brown for ashworld.
Next Page (1)