[172] Can't spawn
<div class="IPBDescription">something changed.</div>Maybe the rules got a little more strict (as i don't have all my power nodes or ground/air waypoints in, nor have i placed all my tech point egg spawns) but since 172, i can't test my map anymore, it won't let me join a team from readyroom either from console or running into my teamjoin entities.
anybody getting this?
anybody getting this?
Comments
<img src="http://i.imgur.com/ZU3Ni.jpg" border="0" class="linked-image" />
No idea if this helps you, although I do have port 27015 open so, the game did something wrong me thinks.
No idea if this helps you, although I do have port 27015 open so, the game did something wrong me thinks.<!--QuoteEnd--></div><!--QuoteEEnd-->
Well that clearly states (UDP) port 27015 is already occupied, chances are you still have an old NS2.exe\Server.exe lingering about.
ill have to go and put in my waypoints and then try it. thanks
wasn't the eggs, wasn't the readyroom, wasn't the team_location(s).
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Loading 'maps/ns2_skyfalls.level'
No gamerules set, using default gamerules. - Server
Script Error: lua/Structure_Server.lua:260: attempt to call method 'GetAutobuild' (a nil value)
OnInit lua/Structure_Server.lua:260
OnInit lua/PowerPoint.lua:75
OnLoad lua/Actor.lua:94
OnLoad lua/ScriptActor.lua:96
OnLoad lua/Structure_Server.lua:272
OnLoad lua/PowerPoint_Server.lua:60
LoadEntityFromValues lua/Utility.lua:1333
lua/Server.lua:66
Location:GetIsPointInside(): No physics body, returning false. - Server
teamNumber - Value is outside expected range (0.00, 2.00), clamping to 2.00:
Location:GetIsPointInside(): No physics body, returning false. - Server
Location:GetIsPointInside(): No physics body, returning false. - Server
Script Error: lua/PowerPoint_Server.lua:199: attempt to index local 'team' (a nil value)
DetermineTeamNumber lua/PowerPoint_Server.lua:199
UpdatePoweredStructures lua/PowerPoint_Server.lua:234
OnConstructionComplete lua/PowerPoint_Server.lua:107
SetConstructionComplete lua/Structure_Server.lua:639
OnInit lua/PowerPoint.lua:87
OnLoad lua/Actor.lua:94
OnLoad lua/ScriptActor.lua:96
OnLoad lua/Structure_Server.lua:272
OnLoad lua/PowerPoint_Server.lua:60
LoadEntityFromValues lua/Utility.lua:1333
lua/Server.lua:66
Location:GetIsPointInside(): No physics body, returning false. - Server
Location:GetIsPointInside(): No physics body, returning false. - Server
Location:GetIsPointInside(): No physics body, returning false. - Server
Location:GetIsPointInside(): No physics body, returning false. - Server
Location:GetIsPointInside(): No physics body, returning false. - Server
Location:GetIsPointInside(): No physics body, returning false. - Server
Location:GetIsPointInside(): No physics body, returning false. - Server
Location:GetIsPointInside(): No physics body, returning false. - Server
Couldn't open file 'models/alien/skulk_old/skulk.model'
Script Error: lua/PowerPoint_Server.lua:199: attempt to index local 'team' (a nil value)
DetermineTeamNumber lua/PowerPoint_Server.lua:199
UpdatePoweredStructures lua/PowerPoint_Server.lua:234
OnConstructionComplete lua/PowerPoint_Server.lua:107
SetConstructionComplete lua/Structure_Server.lua:639
OnInit lua/PowerPoint.lua:87
OnLoad lua/Actor.lua:94
OnLoad lua/ScriptActor.lua:96
OnLoad lua/Structure_Server.lua:272
OnLoad lua/PowerPoint_Server.lua:60
LoadEntityFromValues lua/Utility.lua:1333
lua/Server.lua:66<!--c2--></div><!--ec2-->
and then when i tried to join a team from readyroom:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Script Error: lua/InfantryPortal.lua:64: attempt to index local 'team' (a nil value)
QueueWaitingPlayer lua/InfantryPortal.lua:64
lua/InfantryPortal.lua:315
Script Error: lua/Egg.lua:72: attempt to index local 'team' (a nil value)
QueueWaitingPlayer lua/Egg.lua:72
lua/Egg.lua:166
Script Error: lua/Egg.lua:72: attempt to index local 'team' (a nil value)
QueueWaitingPlayer lua/Egg.lua:72
lua/Egg.lua:166
Script Error: lua/Egg.lua:72: attempt to index local 'team' (a nil value)
QueueWaitingPlayer lua/Egg.lua:72
lua/Egg.lua:166<!--c2--></div><!--ec2-->
is this because i don't have a power node in every location? i didn't think i had to have one in every location, but i'll check that next...
Also make sure your "Team_Location" and your "tech_point" entity are matching (marine/alien).
Also make sure your "Team_Location" and your "tech_point" entity are matching (marine/alien).<!--QuoteEnd--></div><!--QuoteEEnd-->
still can't figure it out. everything looks to be in order, i even went and gave the tech points an extra eggspawn to make it 8 cuz i saw tram had that now.
anyways, i sent you a pm with a link to the level installer, let me know if you find anything.
I deleted all entities and placed the "must have" basics in got some lua errors still with the same results. Joining team just turn you into that team in the rr....sooooo....
I put my fresh set of entities into a layer and hid them, then i deleated everything....and i mean Everything except what i added...all geometry...yad yada yada. It works fine.
I am thinking there is something(entity duplicate) hidden within the walls(layers) of this level.
Before I go any farther i am going to change the cinematics to stock content, i dunno if a corrupt cinematic will fubar things but just the same i think i will remove all custom content piece by piece. Hope to have you a solution by the weekend.
You have done sooo much to this level and it's looking great! Do you have an older version (backup) you can run to see if it's the build or something you have added or changed in the last month or so?
yeah, i have 100 backup saves i can look at. its weird that you had to delete my entities and place fresh ones. how do entities get corrupted? and thanks, i've put a ton of work into the level so far, i just want to get it finished so people can play it and i can balance it.
i did start messing with the waterfall cinematics on the helipad in the custom waterfall cinematic. it was flickering randomly so i was trying to figure out how to properly set keyframes so it wouldn't flicker and i might have messed that up. cuz i can get very very weird things to happen like this:
<img src="http://nicholashillyard.com/images/ns2_skyfalls/waterfallglitch.jpg" border="0" class="linked-image" />
you can't get out of your readyroom either?
ns2_sample-build160_01 is a fully featured map, so I guess you need everything in there...
Here is the new map I made to figure out what was wrong with my old map.
<a href="http://www.nicholashillyard.com/dl/ns2_wtf.exe" target="_blank">Map Installer</a>
A million thanks to anyone who can tell me what is going wrong.
I'm pretty sure it has to do with this error:
<b>Script Error: lua/Structure_Server.lua:264: attempt to call method 'GetAutobuild' (a nil value)</b>
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Loading 'maps/ns2_wtf.level'
No gamerules set, using default gamerules. - Server
Script Error: lua/Structure_Server.lua:264: attempt to call method 'GetAutobuild' (a nil value)
OnInit lua/Structure_Server.lua:264
OnInit lua/PowerPoint.lua:75
OnLoad lua/Actor.lua:94
OnLoad lua/ScriptActor.lua:96
OnLoad lua/Structure_Server.lua:282
OnLoad lua/PowerPoint_Server.lua:60
LoadEntityFromValues lua/Utility.lua:1344
lua/Server.lua:66
teamNumber - Value is outside expected range (0.00, 2.00), clamping to 2.00:
TechPoint:OnMapPostLoad(): Couldn't find any egg spawn entities near "Marine Start" tech point, hives built here won't create eggs. - Server
Connecting to server 127.0.0.1:27015
Client connected (127.0.0.1).
Script Error: lua/PowerPoint_Server.lua:199: attempt to index local 'team' (a nil value)
DetermineTeamNumber lua/PowerPoint_Server.lua:199
UpdatePoweredStructures lua/PowerPoint_Server.lua:234
lua/PowerPoint_Server.lua:70
No gamerules set, using default gamerules. - Server
Script Error: lua/InfantryPortal.lua:64: attempt to index local 'team' (a nil value)
QueueWaitingPlayer lua/InfantryPortal.lua:64
lua/InfantryPortal.lua:317
Script Error: lua/InfantryPortal.lua:64: attempt to index local 'team' (a nil value)
QueueWaitingPlayer lua/InfantryPortal.lua:64
lua/InfantryPortal.lua:317
Script Error: lua/InfantryPortal.lua:64: attempt to index local 'team' (a nil value)
QueueWaitingPlayer lua/InfantryPortal.lua:64
lua/InfantryPortal.lua:317
Script Error: lua/Egg.lua:80: attempt to index local 'team' (a nil value)
QueueWaitingPlayer lua/Egg.lua:80
lua/Egg.lua:174
Script Error: lua/Egg.lua:80: attempt to index local 'team' (a nil value)
QueueWaitingPlayer lua/Egg.lua:80
lua/Egg.lua:174
Script Error: lua/Egg.lua:80: attempt to index local 'team' (a nil value)
QueueWaitingPlayer lua/Egg.lua:80
lua/Egg.lua:174<!--c2--></div><!--ec2-->
seems like the gamerules are broken or whatever and autobuild fails in Structure_Server.lua causing the teams to fail to be set properly and thus breaking my ability to join a team from the readyroom.
here's the relevant code that breaks in Structure_Server.lua:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->if GetGamerules():GetAutobuild() then
self:SetConstructionComplete()
end<!--c2--></div><!--ec2-->
I'm stuck and stumped.
cause: broken ns2_gamerules entity.
left to try to fix: copy from older working map from one builder window to another builder window.
Out of curiosity i loaded a few test levels as well as my ns2_tempest level and got some strange errors also. I'm fearing my current level may be broken in future builds so i am backing up more often that usual.
I'll have a go at copying it on my xp machine and see what happens tomorrow evening.
NOTE: after deleting all cinematic content,sounds,reverbs and geometry i was able to spawn then 173 came and it broke again....hmmm, maybe just a fluke but i'm not giving up.
The only thing I can think is that I do not have a completely enclosed map but I have read that for pure testing purposes you do not need one.
Besides that I can not think of a reason that I can't join from my ready room. Pretty lame.
The only thing I can think is that I do not have a completely enclosed map but I have read that for pure testing purposes you do not need one.
Besides that I can not think of a reason that I can't join from my ready room. Pretty lame.<!--QuoteEnd--></div><!--QuoteEEnd-->
As Tig posted here and on GS: ns2_gamerules is broken whenever you add a new one in a map or start a new map (as of build 172/173). If you've started a map before this build version and do not touch the ns2_gamerules, you can run the map normally. But we don't have a flux capacitor in this day and age to get this to work...
Also by "completely enclosed map" do you mean, not having any leaks into the void? FYI, Spark doesn't leak so there is no need for this, however it is good to keep an eye on holes in walls you can see trough. Just to make sure the stuff behind the wall isn't rendered (occlusion culling booboo :P)
Nope, we actually tried it. It does let you spawn, but doesn't know which entities belong to which team. It spawns you in the Ready Room instead and everything else freaks out...
Check out the link Tig posted
<!--quoteo(post=1842050:date=Apr 23 2011, 12:52 AM:name=Tig)--><div class='quotetop'>QUOTE (Tig @ Apr 23 2011, 12:52 AM) <a href="index.php?act=findpost&pid=1842050"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec--><a href="http://getsatisfaction.com/unknownworlds/topics/_172_173_the_rules_have_changed" target="_blank">http://getsatisfaction.com/unknownworlds/t...es_have_changed</a>
cause: broken ns2_gamerules entity.
left to try to fix: copy from older working map from one builder window to another builder window.<!--QuoteEnd--></div><!--QuoteEEnd-->
[edit]
If you're just starting on a map, you could perhaps download <a href="http://www.unknownworlds.com/ns2/wiki/index.php/Ns2_sample" target="_blank">ns2_sample</a> and delete everything you don't need except the ns2_gamerules entity. Heck it's a long shot, but this could be a temporary fix when starting on a new map or perhaps a fairly new map (copy pasting everything into ns2_sample). I'm guessing all the texture work has to be repositioned, so this might not be the best option for maps which are already more developed and have a ns2_gamerules added after build172/173. Might want to wait for them to fix the issue instead, unless the texture work does not go crazy during the copypaste...
Saving a map created before 172/173 apparently doesn't cause this issue, it's only when you create a new ns2_gamerules, while a copy pasted ns2_gamerules from a working map introduces even funkier things <img src="http://members.home.nl/m.borgman/ns-forum/smileys/tongue.gif" border="0" class="linked-image" />
Could this be our fix?
First, I tried copy and pasting the ns gamerules ent inbetween two running instances of spark ed with the ns2_clandestine_A108. This did not work, in fact this is where I mysteriously started falling through the floor of the level (after already spawning so it is not the heighth off of the floor). So this way is a fail.
Second, I tried to copy and paste the gamerules ent from ns2_sample_160_01. This did not work either. This is where I started to fall through the floor on spawning into the ready room.
Third, tried simply making a box that you spawn into with a ready room start ent and 1 light. This worked fine.
Fourth, Tried deleting everything in my level except ready room start (now used to spawn into marine start as a temp fix) and a light with basic level geometery and some props. I still fall through the level where my old redy room was.. as if I spawn in the void where it used to be and just fall. As a point of humor I made a giant flat plane to land on.
So. Seeing as my level is just at the start and that I will not really miss much of it I will just start editing ns sample.
Hope they fix this soon cause I was ready to delete NS2 entirely.