Why some ingame messages appears twice?

Search, find and discuss about Mutators!
Post Reply
Aldebaran
Masterful
Posts: 672
Joined: Thu Jan 28, 2016 7:30 pm

Why some ingame messages appears twice?

Post by Aldebaran » Thu May 12, 2016 2:55 pm

On my server often - but not always - messages like "U-Damage has been exhausted." or "The Jump Boots have drained." are posted twice one after another. Also the message after joining a Jailbreak game that Zeroping is used is posted twice.

Any ideas what can be the cause for this?

EDIT: During this discussion here viewtopic.php?f=15&t=12361 I came to the conclusion that Nali Weapons 3 is the reason for that in the way it handles the damage mutator.
Last edited by Aldebaran on Wed Nov 08, 2017 3:07 pm, edited 1 time in total.

User avatar
Barbie
Godlike
Posts: 1722
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Why some ingame messages appears twice?

Post by Barbie » Thu May 12, 2016 4:31 pm

The ExpireMessage is issued by function UsedUp() which is defined in Pickup. I'd look at the server's code if UsedUp is called twice in a way.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

User avatar
Chamberly
Godlike
Posts: 1755
Joined: Sat Sep 17, 2011 4:32 pm
Personal rank: Dame. Vandora
Location: TN, USA
Contact:

Re: Why some ingame messages appears twice?

Post by Chamberly » Thu May 12, 2016 10:49 pm

Probably the code in the 2 mutators called it once (So we might have 2 here) since they were made like that.
Image
Image
Image

UTX
Skilled
Posts: 214
Joined: Fri Aug 28, 2015 3:39 am

Re: Why some ingame messages appears twice?

Post by UTX » Thu May 12, 2016 11:12 pm

Yeah, I dislike when that happens as well but have not really looked into it yet.

Aldebaran
Masterful
Posts: 672
Joined: Thu Jan 28, 2016 7:30 pm

Re: Why some ingame messages appears twice?

Post by Aldebaran » Fri May 27, 2016 5:26 pm

Barbie wrote:The ExpireMessage is issued by function UsedUp()
Chamberly wrote:Probably the code in the 2 mutators called it once
Other mutators like ZeroPing103 post their messages in some gametypes also twice.
I have now removed ALL mutators and mods from my server testwise except the bonus packs, zeroping and jailbreak mod.

Result:
Zeroping posts its messages in Jailbreak mod still twice, so there is no other mutator responsible for that.
Also I went through the server.ini (server config) and found nothing special that can produce this misbehaviour.
I don't think that i realized this on the server as it was a nearly clean install.

So something strange happens in recent years but I don't know why :shock:

Does somebody has a similar situation perhaps with other mutators and their messages?
Last edited by Aldebaran on Fri May 27, 2016 8:08 pm, edited 1 time in total.

User avatar
Barbie
Godlike
Posts: 1722
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Why some ingame messages appears twice?

Post by Barbie » Fri May 27, 2016 6:54 pm

On my server [...] messages [...] are posted twice
May I ask what kind of server that is respectively how it is set up?
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

Aldebaran
Masterful
Posts: 672
Joined: Thu Jan 28, 2016 7:30 pm

Re: Why some ingame messages appears twice?

Post by Aldebaran » Fri May 27, 2016 8:08 pm

It's a Linux 4.51 server. As I have written before I tested it with bonus packs + zeroping + jailbreak mod or one time with doublejumput instead zeroping.
No other special configuration exists. No XserverQuery, no XC_Core ...
Gamespeed is 1.15 but I don't think that this could trigger it.

User avatar
Barbie
Godlike
Posts: 1722
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Why some ingame messages appears twice?

Post by Barbie » Fri May 27, 2016 9:37 pm

Can you reproduce the double pickup messages? If so, I'd remove ALL mutators and then try again that map. If now the double message is a single one, I'd add the mutators one by one and test again. So you'll find the responsible mutator (assumed the reason is one of the mutators).
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

User avatar
sektor2111
Godlike
Posts: 4138
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Why some ingame messages appears twice?

Post by sektor2111 » Fri May 27, 2016 10:15 pm

See default FlashLight how ends the charge and or an empty weapon at switching attempt. I really don't want to know how many codes are twice called for no purpose: SniperRifle has no ammo, /NewLine/ SniperRifle has no ammo. Aha is a check like at Passwords: Enter New Password, Repeat New PassWord... :ironic:
Player must be convinced twice when has no ammo for desired weapon...
Exist a solution: Keep items charged and weaponry loaded with some like "Unlimited" called stuff. If you don't have such things I can write some dumb stuff against double messages by keeping you loaded constantly...

Post Reply