ManiaPlanet 2 Beta Server 2013-07-30

Moderator: NADEO

User avatar
fng_thatoneguy
Posts: 722
Joined: 05 Jan 2011, 18:06
Location: That One Place
Contact:

Re: ManiaPlanet 2 Beta Server 2013-07-30

Post by fng_thatoneguy »

mooseman2099 wrote:Not seen much in the line of updates here so servers must be up to date with maniaplanet, So the question i would like to ask is when will forceMods be working for the servers and does anybody know of a good internet storage for the images when it is working.

I want some new signs and images for my servers if this is possible.
I use DreamHost and have had good luck with horns and skins locators. They're relatively inexpensive and continue to increase your bandwidth and file storage allocations the longer you stay with them. Their uptime has been great for me the last 5 years, save a couple of years ago where within a few months time they had some serious problems with a few hours outage at a time. I haven't seen anything like that since though.

Good luck in your search! :thumbsup:
Image
User avatar
w1lla
Posts: 2396
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: ManiaPlanet 2 Beta Server 2013-07-30

Post by w1lla »

Bugreport:

onPlayerInfoChanged; When changing from player -> spec -> player the currenttargetid is always 255.

If i come in a server as spec it shows the correct currenttargetid.

This happens on Elite servers.

Not sure how to fix, or perfection it.

If more is needed i will post my code which i use to test.
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
TheM
Posts: 1446
Joined: 15 Jun 2010, 14:30
Location: Uden, Noord-Brabant, Netherlands
Contact:

Re: ManiaPlanet 2 Beta Server 2013-07-30

Post by TheM »

w1lla wrote:Bugreport:

onPlayerInfoChanged; When changing from player -> spec -> player the currenttargetid is always 255.

If i come in a server as spec it shows the correct currenttargetid.

This happens on Elite servers.

Not sure how to fix, or perfection it.

If more is needed i will post my code which i use to test.
I seem to have kinda like the same problems (also in Elite), it gives me values like:
int(2551110)
int(2551010)
int(2551101)
for isSpectator in the Player object, causing handling the PlayerInfoChanged function into a hell, because I can't check if the player's spectator status changed.
Global moderator | Dutch moderator | Laddermoderator | ManiaWiki moderator
Server Manager/webmaster of Smurfen.net, join us on Canyon, Valley and Royal!
ESL (Game) Staff Head for TrackMania (Stadium, Canyon and Valley).
User avatar
w1lla
Posts: 2396
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: ManiaPlanet 2 Beta Server 2013-07-30

Post by w1lla »

i use that but still it doesnt seem to work for me correctly...
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
User avatar
TMarc
Posts: 15441
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: ManiaPlanet 2 Beta Server 2013-07-30

Post by TMarc »

kremsy wrote:It is not a bug, just check out https://github.com/maniaplanet/dedicate ... Player.php
funny bit mask extraction :lol:
User avatar
Xymph
Posts: 1426
Joined: 15 Jun 2010, 20:35
Contact:

Re: ManiaPlanet 2 Beta Server 2013-07-30

Post by Xymph »

TMarc wrote:
kremsy wrote:It is not a bug, just check out https://github.com/maniaplanet/dedicate ... Player.php
funny bit mask extraction
It's not a bit mask, it has always been a digit mask. ;)
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
User avatar
w1lla
Posts: 2396
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: ManiaPlanet 2 Beta Server 2013-07-30

Post by w1lla »

TheM wrote:
w1lla wrote:Bugreport:

onPlayerInfoChanged; When changing from player -> spec -> player the currenttargetid is always 255.

If i come in a server as spec it shows the correct currenttargetid.

This happens on Elite servers.

Not sure how to fix, or perfection it.

If more is needed i will post my code which i use to test.
I seem to have kinda like the same problems (also in Elite), it gives me values like:
int(2551110)
int(2551010)
int(2551101)
for isSpectator in the Player object, causing handling the PlayerInfoChanged function into a hell, because I can't check if the player's spectator status changed.

After a little bit more investigating i came to the conclusion that:

- When a player joins the server during a match and goes to spectator and back he can only view his teammates and still the server gives back 255 as target id.
- When a spectator joins he can spectate everyone.

It seems to me that when a player is forced to spectate this also happens in the gamemode in this case: Elite as well as the dedicated doesnt seem to see the targetId.

There are 3 cases:

Code: Select all

foreach (Player in Players) {		
		declare UI <=> UIManager.GetUI(Player);
		if (UI == Null) continue;
		
		// Can select defender to spec
		if (Player.CurrentClan != 0) {
			UI.SpectatorForceCameraType = 1;
			UI.SpectatorForcedClan = Player.CurrentClan;
		} else if (Player.RequestedClan != 0) {
			UI.SpectatorForceCameraType = 1;
			UI.SpectatorForcedClan = Player.RequestedClan;
		} else {
			UI.SpectatorForceCameraType = -1;
			UI.SpectatorForcedClan = -1;
		}
	}
The dedicated only recognises the first if and last if.

But it doesnt recognize the switch between players after being a player.

Its a small investigation as its done on both sides.
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 2 guests