Kronzky – User talk

From Bohemia Interactive Community
Jump to navigation Jump to search
m (cleared spam)
 
(35 intermediate revisions by 12 users not shown)
Line 1: Line 1:
== JIP and init.sqs ==


{{Bug priority|2|Players who join mid-game (JIP) on a ''non-dedicated server'' will not go through the init file (init.sqf or .sqs) ([http://www.kronzky.info/misc/noinit.zip demo mission]) [1.02] [[User:Kronzky|Kronzky]]}}
I think you're seeing this because 'player' is null when init.sq(s|f) is run as a player JIPs, it's very confusing.. --[[User:Salisan|Salisan]] 12:21, 13 January 2007 (CET)
:But then, why is player ''not'' null if he's there during the briefing already?
:And even ''if'' player was null in those particular cases, then I would consider ''that'' to be a bug. After all, it would make the use of init.sqs for player initialization useless... --[[User:Kronzky|Kronzky]] 17:45, 13 January 2007 (CET)
::Agreed, but it seems it's only null in JIP. :) I solved it with an '@!isNull player' as player gets assigned after a short delay, but it would be good if it was really fixed (or documented). --[[User:Salisan|Salisan]] 21:07, 13 January 2007 (CET)
:::Oh, so it ''does'' get assigned after a while? How long is the delay normally?
:::I haven't done any further testing after your report, regarding whether the init file is actually activated on JIP, but you say it definitely is? How did you test it?
:::I guess in that case I can remove my bug report then. --[[User:Kronzky|Kronzky]] 21:20, 13 January 2007 (CET)
::::It's entirely possible your bug report is correct also as all my testing is on a dedicated server. It's very odd that your readme says the mission actually worked correctly for you on a dedicated though? Perhaps there is some sort of race condition. (I don't know exactly how long the delay is before player was set, but it seems to be very short.) This is certainly something BI should look into, so it's probably a good idea to let the bug report stand. :) --[[User:Salisan|Salisan]] 21:51, 13 January 2007 (CET)
:::::Yeah, I ''never'' had that problem on a dedicated server (but that may be because I tested it on a LAN, where I don't have to worry about bad connections). Only if you started the server from the normal game file did this problem occur. And even then only if a player joined ''after'' the briefing was done.
:::::So, pretty weird and specific circumstances. Guess I'll leave the report, and let BIS figure out what actually is going on here... ;) --[[User:Kronzky|Kronzky]] 21:56, 13 January 2007 (CET)
== Discussion at Plaintiff1 ==
You might want to comment  my suggestion at [[User talk:Plaintiff1]]. Thanks --[[User:Boecko|Boecko]] 23:31, 24 January 2007 (CET)
Thanks for your help with the wiki mark-up!  --[[User:Plaintiff1|Plaintiff1]] 02:46, 25 January 2007 (CET)

Latest revision as of 04:32, 22 August 2012