Game Development Community

SGLP Merge Problems

by Chris Labombard · in Torque Game Engine · 08/14/2005 (11:43 am) · 3 replies

I finally got this thing merged together, after several tries :)

But I can't get it to run properly... It exits with an error.
Quote:
You do not have the correct version of the FPS Starter kit or the related art needed to play please contact server operator (invalid packet)

I have NO dif's in my mission.

common/client/missiondownload.cs
echo("C1");

   if (lightScene("sceneLightingComplete", ""))
   {
   echo("C2");
      error("Lighting mission....");
   echo("C3");
      schedule(1, 0, "updateLightingProgress");
      onMissionDownloadPhase3(%missionName);
      $lightingMission = true;
   }

This is my console output before TGE explodes:
*** Phase 3: Mission Lighting
C1
Missing terrain texture: starter.fps/data/missions/starter.fps/data/terrains/metalPlate
 Successfully loaded mission lighting file: 'starter.fps/data/missions/Bob_304d9a42.ml'
Mission lighting done
Mapping string: MissionStartPhase3Ack to index: 2
0
Mapping string: MissionStart to index: 11

About the author

I have been a professional game programmer for over 5 years now. I've worked on virtually every platform, dozens of games and released a few of my own games, including 2 iPhone titles and a title waiting release on Big Fish Games.


#1
08/15/2005 (9:50 am)
I finally got the merge to work. I was using John V's non-repeating terrain resource which included some terrRender.cc modifications. After taking those out and Rebuilding All (Just building wasn't enough) I got it to run...
#2
08/15/2005 (10:26 am)
I just took a look at the resource - it should work fine with the Lighting Pack. In the resource comments you mentioned a crash, is the resource crashing or just creating invalid packets? If it's crashing where is the crash happening (on what line of code)?

The invalid packet error sounds like it's related to either the packet read or write being added to the terrain block without the other (ie: read and no write or write and no read). If you're interested in using this resource I recommend adding the changes by hand again (I think there were only 3 or 4 changes) to see what happens, chances are it will work fine - just in case make sure to backup your working project before trying it. Again if there's a hard crash use your debugger to locate the source of the crash and maybe it can be fixed.
#3
08/28/2005 (4:15 pm)
Yea after hours of work and checking and double checking and etc. I get the same error as Chris. BUT he makes it farther than I do, I only make it to the beginning of Loading Phase 2 and it gives me the message.
You do not have the correct version of the FPS Starter kit or the related art needed to play please contact server operator (invalid packet)
Please note: My build is currently using Lighting Pack 1.3.5 and it works wonderful with no apparent glitches.
Someone help!! I don't have a lot of time to waste on this, because next is the RTS merge. GEE sure would like to get the code already MERGED since BobTheCBuilder has noted in one of the posts on this forum that he has done BOTH successfully. The merge was really a no-brainer just extreme grunt work.
WOW I need those so I can get back to work on real stuff!! :) like making games.
Bob I sent you an email on this problem and since we at ATOMIX Productions are such good customers and plan on continuing to buy, buy, buy we would appreciate a solution to the LightingPack updates to the different Torque Products (TGE,RTS)