Author Topic: Awards  (Read 17131 times)

0 Members and 1 Guest are viewing this topic.

Offline squiddy

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 333
  • Flagger assassin
    • SoldatX
Re: Awards
« Reply #20 on: July 16, 2010, 07:56:43 pm »
I strongly recommend to stick with writing the text to every player, because it doesn't make much sense to write "You were the Mr. Agressive!" when you can see exactly that anyway. You wouldn't believe it, but most Soldat players know their own name!

Meh. It was just an idea. I wouldn't like to see what freaking award has Kruger won in the round. I'd pretty much care about my own, anyways.

Well, it was a suggestion.
Suggestions were made to be accepted or declined.

In regards to the WorldText..
It has the hability to send multiple Texts in the screen, without deleting the previous messages (like DrawText), right?
'Coz I don't have this much experience with WorldText, anyways.

Good job, ZYX.
www.soldatx.com.br - The brazilian Soldat community.

Offline zyxstand

  • Veteran
  • *****
  • Posts: 1106
  • Mother of all Bombs
Re: Awards
« Reply #21 on: July 17, 2010, 03:01:46 am »
holy wow! so much feedback! but regarding all suggestions: i'm taking copious notes.

@all:
i will keep it at DrawText! it has too many perks imo over writeconsole. i'm gonna

@VTT:
I like Chuck Norris and Sniper.  also: I like criticism! I was expecting you to yell about my poorly organized code :P (though it's not currently really bad)

@Mittsu
regarding survival: I will still like using cumulative alive time.

@L[One]R:
thnx a ton for the list. i took down many that i liked.

@squiddy:
thanks for your opinion! i think it should remain at showing awards to everyone. a lot of players get off from showing off their awards, plus if you play with people you know, you can comment on each other's awards (which is really what the awards are meant to do). also, i would have waited for 2.7.0 to go public - but who knows how long that's gonna take. plus adopting this code shouldn't be too hard - it's good to get the nittygritty aspect out of the way!
also, regarding WorldText: Here's enesce's help doc on it:  WorldText - there'd be no problem using WorldText, except for its inpracticality for my purposes.

@DarkCrusade:
why use WorldText and teleport when drawtext already displays it well on your screen?  :P

@BoneCrusher:
i will trim people's names to something reasonable when displaying awards (maybe 15-20 chars? wat u guys think?) i'm definitely gonna rename most awards. I knew going into this that they were totally uncreative.

Again, thanks a lot guys - someone who knows, please address my questions in the mainpost!
« Last Edit: July 18, 2010, 01:35:19 pm by zyxstand »
Can't think of anything original to put here...

DarkCrusade

  • Guest
Re: Awards
« Reply #22 on: July 18, 2010, 06:14:42 am »
Mr Aggressive is bugged. I know I am a raging troll but why do I get the award for being spectator for a round?

Also add a noob award for the player with the worst rate.
« Last Edit: July 18, 2010, 06:16:52 am by DarkCrusade »

Offline zyxstand

  • Veteran
  • *****
  • Posts: 1106
  • Mother of all Bombs
Re: Awards
« Reply #23 on: July 18, 2010, 03:37:02 pm »
New version 1.2
you can read the changelog in the "awards v1.1.pas" for a list of fixes, modifications, and new features.
also, like i said, i can't really test if the awards work correctly, though i'm quite confident they should.  Please let me know if you think that something is messed up.
Can't think of anything original to put here...

DarkCrusade

  • Guest
Re: Awards
« Reply #24 on: July 24, 2010, 10:14:43 am »
I found a little but annoying error: You forgot to remove one line that you probably used to debug your script in OnPlayerKill() that spams the console...

Offline Centurion

  • Flagrunner
  • ****
  • Posts: 699
Re: Awards
« Reply #25 on: July 24, 2010, 10:35:07 am »
I think that the awards are not displayed long enough. You can't actually read all all awards during the 1 or 2 second till next map starts. Could you extend that time?

DarkCrusade

  • Guest
Re: Awards
« Reply #26 on: July 24, 2010, 11:13:26 am »
On Zabijaka CTF we use WriteConsole() instead so it's displayed as normal text. Works fine ;)

Offline VirtualTT

  • Veteran
  • *****
  • Posts: 1026
Re: Awards
« Reply #27 on: July 24, 2010, 11:28:25 am »
How about adding Rocket Man award for most jet used?

Offline squiddy

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 333
  • Flagger assassin
    • SoldatX
Re: Awards
« Reply #28 on: July 24, 2010, 06:11:32 pm »
How about adding Rocket Man award for most jet used?

I don't think there is a way to check if the player is using jets. I do know is that there is a way to return the Jet Ammount.

I'd say "add Flying-Man for the player with most time off the ground!"

Rocket Man would be kinda of hard to do, but even so, possible. If we knew the Standard-Jet-Ammount for each map, it's easy. If not, then it shall be harder.

Good luck.
www.soldatx.com.br - The brazilian Soldat community.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Awards
« Reply #29 on: July 24, 2010, 07:49:12 pm »
squiddy i never tried so i don't know, maybe GetPlayerStat the jet amount OnPlayerRespawn or OnJoinGame / Team; if any of those have a full jet, you can use that (except on map change, you require somebody joining / changing teams in order for somebody to gain the achievement, if OnPlayerRespawn doesnt work that is)

and ofc u can always just check apponidle everybody's jet amount; have 1 variable for "largest jet amount" (if somebodys is max on an apponidle, then you got the right number)

or just make max jet not needed; change in jet every apponidle, total jet use can still be calculated (not 100% accurate, like almost anything done in apponidle)
« Last Edit: July 24, 2010, 07:51:07 pm by DorkeyDear »

Offline zyxstand

  • Veteran
  • *****
  • Posts: 1106
  • Mother of all Bombs
Re: Awards
« Reply #30 on: July 24, 2010, 09:43:54 pm »
i got demotivated with this project when i didn't see a strong response. i'll clear up some code and hopefully have good system for awarding these only under superior performance...
gonna add more time to the display time. i guess it wouldn't hurt seeing the text well into the next round for those that wanna see it...
i'll keep you up to date with this
Can't think of anything original to put here...

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: Awards
« Reply #31 on: July 26, 2010, 08:19:00 am »
Code: [Select]
(15:18:09)  [*] [Error] awards -> (OnPlayerDamage): Out of Global Vars range
(15:18:09)  [*] [Error] awards -> (OnPlayerSpeak): Access violation at address 080A0B43, accessing address 0000010D
(15:18:09)  [*] [Error] awards -> (AppOnIdle): Access violation at address 080A0BCC, accessing address 0000010D
(15:18:09)  [*] [Error] awards -> (OnPlayerRespawn): Access violation at address 080A0BCC, accessing address 00000120
(15:18:09)  [*] [Error] awards -> (OnPlayerDamage): Access violation at address 080A0BCC, accessing address 00000130
(15:18:09)  [*] [Error] awards -> (OnPlayerDamage): Access violation at address 080A0BCC, accessing address 00000140
(15:18:09)  [*] [Error] awards -> (OnPlayerDamage): Access violation at address 080A0BCC, accessing address 00000150
(15:18:09)  [*] [Error] awards -> (OnPlayerDamage): Access violation at address 080A0BCC, accessing address 00000160
(15:18:09)  [*] [Error] awards -> (OnPlayerDamage): Access violation at address 080A0BCC, accessing address 00000170
(15:18:10)  [*] [Error] awards -> (OnPlayerKill): Access violation at address 080A0BCC, accessing address 00000180
(15:18:10)  [*] [Error] awards -> (OnPlayerDamage): Access violation at address 080A0BCC, accessing address 00000190
(15:18:10) [*] Too many script errors! Recompiling "awards"
(15:18:10)  [*] [Error] awards -> (OnCommand): Access violation at address 080A0BCC, accessing address 000001A0

Im chill like that

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1011
Re: Awards
« Reply #32 on: January 25, 2017, 10:30:11 am »
Code: [Select]
17-01-25 16:15:16 186
17-01-25 16:15:17  [*] [Error] awards v1.1 -> AppOnIdle(343:3) Out Of Range
17-01-25 16:15:17  [*] [Error] awards v1.1 -> OnPlayerRespawn(172:3) Out Of Range
17-01-25 16:15:17  [*] [Error] awards v1.1 -> OnPlayerRespawn(172:3) Out Of Range
17-01-25 16:15:18  [*] [Error] awards v1.1 -> AppOnIdle(293:3) Out Of Range
17-01-25 16:15:19  [*] [Error] awards v1.1 -> OnPlayerRespawn(172:3) Out Of Range
17-01-25 16:15:19  [*] [Error] awards v1.1 -> OnPlayerRespawn(172:3) Out Of Range
17-01-25 16:15:20  [*] [Error] awards v1.1 -> AppOnIdle(343:3) Out Of Range
17-01-25 16:15:20  [*] [Error] awards v1.1 -> OnPlayerDamage(281:2) Out Of Range