Staredit Network

Staredit Network -> UMS Assistance -> Crazy Leaderboard
Report, edit, etc...Posted by 8882 on 2004-08-10 at 20:19:36
I am trying to make a microwars map.
If player 1 kills enemy units on an arena, he gets a point and a computer gets a point (custom points).Custom points belonging to players 1 and 2 are supposed to be showed on a leaderboard called "The score"(duh).
However the score increases rapidly between the fights (despite the fact that I made swiches and it shouldnt). The computer's score used to start rounds seems to work though. I think I need more switches, Im not sure though, I tested it many times, asked other ppl and I still dont know what's wrong :\
Could someone look at the map and tell me how to make it work?
Because now when I start it player 1 gets about 725points and when he wins a round he gets ~900 (player 2 get's some points too o_O). I think it has something to do with the hypertriggers.


BTW. Where do you guys play? I tried op opz(u), staredit.net and op staredit.net on east and all are empty :\
Report, edit, etc...Posted by (U)Bolt_Head on 2004-08-10 at 20:44:20
Clan (U)'s webpage moved to "clan uuu"
Op Staredit.net is normaly pretty empty except on game nights (in my experance anyways)

without looking at the map i would assume you made a trigger with the conditions
"current player kills at least one unit blah"
or something along those lines. The problem is the kills condition works differantly than your thinking. Once you have killed a unit your status of haveing killed that unit will never change. Even after the trigger has fired the condition is still true.

You should proboly try using kill score instead of plain kills. With kill score you can subtract the amount of kill points.
Report, edit, etc...Posted by 8882 on 2004-08-10 at 21:01:28
no I dont use "kill" triggers
I use "bring" triggers.
Report, edit, etc...Posted by DT_Battlekruser on 2004-08-10 at 21:41:32
What editor are you using for leaderboard? Starforge messes up leaderboards so they show "total points".
Report, edit, etc...Posted by Nozomu on 2004-08-10 at 23:35:44
QUOTE(8882 @ Aug 10 2004, 09:01 PM)
no I dont use "kill" triggers
I use "bring" triggers.

Do the units you're killing all belong to the same computer? You could use "deaths" for the computer instead of kills for the players.
Report, edit, etc...Posted by Paella on 2004-08-10 at 23:38:20
test the map and its problems without hyper triggers first, if it is still messed up, then just scrap the triggers completely, leave your comp for a few hours and rewrite it in a different way, sometimes this works because your brain doesnt work in the same way as SC
Report, edit, etc...Posted by (U)Bolt_Head on 2004-08-11 at 00:09:28
lol, nothing is like the blind guess and try try again huh paella?

I realize alot of you don't care but you learn nothing from doing that. I'll have to look at the map when im back on my computer.

of course it proboly has 1000 triggers, and The hardest part will be finding the problem that your talking about lol.
Report, edit, etc...Posted by Burbble on 2004-08-11 at 00:34:48
[marqueeandbereallybigandflashy]

QUOTE
What editor are you using for leaderboard? Starforge messes up leaderboards so they show "total points".


[/marqueeandbereallybigandflashy]


It's another small, but subtle, bug in StarForge. It doesn't assign the correct aliases to the different types of score leaderboards, which results in the unusual numbers you describe.

Solution: Open the map in SCXE, choose the correct leaderboard score type, save the map. Then don't open or edit that trigger in StarForge again.

Edit: I just realized that the map you were referring to was attached. I downloaded it, and I can now confirm that what I described above is exactly your problem. wink.gif
Report, edit, etc...Posted by .Coko[CK] on 2004-08-11 at 06:51:02
You haven't set the points thing correctly! Silly you, and as Bolt rightly said, if you use Kills, unless you subtract, it will always remain True. With the Bring, do those units go away afterwards?
Report, edit, etc...Posted by 8882 on 2004-08-11 at 08:04:28
QUOTE
What editor are you using for leaderboard?  Starforge messes up leaderboards so they show "total points".


THANK YOU!!!!!!! That was the problem!!!!
I didnt know what I was doing wrong because I copied the "idea" of the triggers from my prevoius map.


QUOTE
It's another small, but subtle, bug in StarForge. It doesn't assign the correct aliases to the different types of score leaderboards, which results in the unusual numbers you describe.

Solution: Open the map in SCXE, choose the correct leaderboard score type, save the map. Then don't open or edit that trigger in StarForge again.

Edit: I just realized that the map you were referring to was attached. I downloaded it, and I can now confirm that what I described above is exactly your problem.   wink.gif



thank you

I thought that most of the bugs were removed in 2.0
Report, edit, etc...Posted by .Coko[CK] on 2004-08-11 at 09:13:49
Think about it, the more bugs you fix, the more you create, because no code is perfect, so you make more code to correct that, and then that has errors.
Report, edit, etc...Posted by Burbble on 2004-08-11 at 11:20:42
QUOTE
Think about it, the more bugs you fix, the more you create, because no code is perfect, so you make more code to correct that, and then that has errors.


You shouldn't make more code to fix bad code, you should fix the bad code! wink.gif

Sure, code can be perfect...

CODE
Private Sub cmdTwoPlusTwo_Click()
   Dim intNumber as Integer

   intNumber = 2 + 2
   If intNumber = 4 Then
       MsgBox "2 + 2 = 4"
   End If
End Sub


That's "perfect", isn't it? wink.gif
Report, edit, etc...Posted by DT_Battlekruser on 2004-08-12 at 00:50:44
QUOTE
It's another small, but subtle, bug in StarForge. It doesn't assign the correct aliases to the different types of score leaderboards, which results in the unusual numbers you describe.

Solution: Open the map in SCXE, choose the correct leaderboard score type, save the map. Then don't open or edit that trigger in StarForge again.

Edit: I just realized that the map you were referring to was attached. I downloaded it, and I can now confirm that what I described above is exactly your problem.


I know that... I was just asking if thats his problem.
Report, edit, etc...Posted by Burbble on 2004-08-12 at 10:10:10
I know you know that, I was addressing the questioner wink.gif
Next Page (1)