A few TGEA questions...[1 New]
by Timothy Volpe · in Torque Game Engine Advanced · 02/16/2010 (3:27 pm) · 6 replies
I have a few questions, and one issue, that I need help on.
Issue: I don't spawn, missing TONS of files?! [Solved]
I think I might have done something weird, that screwed it up, but I'm not sure. I don't spawn, or I do, but as a camara, and theres no player. I looked in my console and found a horrible mess of errors. It says that its missing files from scriptsAndAssets/server/scripts/player but that file isn't there, and I don't think it ever was. I looked in the projects that come with TGEA, but theres no scripts/players! Here is my console log, its pretty short:
Question:
What is the BEST program to make WAV files with? And what about OGG (I used Audacity)
Question:
I'm not really the kind of scripter that works with online things like chat HUDs, Player Lists, and Server Lists. I didn't expect to make an online game, and I didn't take the time to learn how to, and now that I am making an online game, I need a little help with the stuff.
Player List:
I looked under the code for Stronghold, and changed it around to fit my needs, but when I looked at the list, it was empty (This was udring the issue above, could that effect it?) Here is the code I used (I just changed the variables around to fit the order I needed, but didn't do anything that should cause an issue)
Any issues there? I checked it over and debugged, and found no script errors.
Server List (JoinServerGUI)
1 thing I'm not really clear of is the Master Server. Is that something that the game connects to, or something I have to host on an online server/my computer? I always thought it was a server GG uses, and the game sneds data to it, and takes data back (something like that) but I was never sure.
2nd thing is a tutorial to make a Server List. I'm afraid if I use anything it will connect to a different server, or not work. Once again as I said, client to server script isn't my thing.
Thanks to anyone who can help :)
Issue: I don't spawn, missing TONS of files?! [Solved]
I think I might have done something weird, that screwed it up, but I'm not sure. I don't spawn, or I do, but as a camara, and theres no player. I looked in my console and found a horrible mess of errors. It says that its missing files from scriptsAndAssets/server/scripts/player but that file isn't there, and I don't think it ever was. I looked in the projects that come with TGEA, but theres no scripts/players! Here is my console log, its pretty short:
-snip console-
Question:
What is the BEST program to make WAV files with? And what about OGG (I used Audacity)
Question:
I'm not really the kind of scripter that works with online things like chat HUDs, Player Lists, and Server Lists. I didn't expect to make an online game, and I didn't take the time to learn how to, and now that I am making an online game, I need a little help with the stuff.
Player List:
I looked under the code for Stronghold, and changed it around to fit my needs, but when I looked at the list, it was empty (This was udring the issue above, could that effect it?) Here is the code I used (I just changed the variables around to fit the order I needed, but didn't do anything that should cause an issue)
//-----------------------------------------------------------------------------
// Torque Game Engine
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// Hook into the client update messages to maintain our player list
// and scoreboard.
//-----------------------------------------------------------------------------
addMessageCallback('MsgClientJoin', handleClientJoin);
addMessageCallback('MsgClientDrop', handleClientDrop);
addMessageCallback('MsgClientScoreChanged', handleClientScoreChanged);
//-----------------------------------------------------------------------------
function handleClientJoin(%msgType, %msgString, %clientName, %score, %guid, %clientId, %isAI, %isAdmin, %isSuperAdmin )
{
PlayerList.update(detag(%clientName),%isSuperAdmin, %isAdmin,%isAI,%score, %clientId);
}
function handleClientDrop(%msgType, %msgString, %clientName, %clientId)
{
PlayerList.remove(%clientId);
}
function handleClientScoreChanged(%msgType, %msgString, %score, %clientId)
{
PlayerList.updateScore(%clientId,%score);
}Any issues there? I checked it over and debugged, and found no script errors.
Server List (JoinServerGUI)
1 thing I'm not really clear of is the Master Server. Is that something that the game connects to, or something I have to host on an online server/my computer? I always thought it was a server GG uses, and the game sneds data to it, and takes data back (something like that) but I was never sure.
2nd thing is a tutorial to make a Server List. I'm afraid if I use anything it will connect to a different server, or not work. Once again as I said, client to server script isn't my thing.
Thanks to anyone who can help :)
#2
Well, thats what I thought, but I have no idea how to fix it, because I don't think those files where ever there. There not in any other projects.
EDIT: I think I'm just going to make new ones, seeing this is a good time to add them in. . .
02/17/2010 (2:17 pm)
@MarcusWell, thats what I thought, but I have no idea how to fix it, because I don't think those files where ever there. There not in any other projects.
EDIT: I think I'm just going to make new ones, seeing this is a good time to add them in. . .
#3
02/17/2010 (2:21 pm)
If you still don't know after your "EDIT" you should just install an "vanilla" copy of TGEA and copy the files form there.
#4
02/17/2010 (10:48 pm)
I've been working on it for a really long time, and I think I fixed that issue. Now its just my player causing the issue, which I will fix shortly. No worries =]
#5
It's the preferred practice around here that you don't edit your posts when a problem is solved and remove information about it. This doesn't help people who may have a similar problem in the future. It's also better to make new questions as new posts within the thread if they're relevant, or their own topic all together if they're not. Editing the OP to include a new question doesn't mark it as a new post and thus won't show up as an unread post on the forums.
As for the best audio program to use, that mostly comes down to personal preference. I use Audacity myself, mostly because it's free and it does everything I need it to do.
02/18/2010 (11:23 am)
@PHG CreatorIt's the preferred practice around here that you don't edit your posts when a problem is solved and remove information about it. This doesn't help people who may have a similar problem in the future. It's also better to make new questions as new posts within the thread if they're relevant, or their own topic all together if they're not. Editing the OP to include a new question doesn't mark it as a new post and thus won't show up as an unread post on the forums.
As for the best audio program to use, that mostly comes down to personal preference. I use Audacity myself, mostly because it's free and it does everything I need it to do.
#6
I just learned how to use Audacity, so thats what I am using now.
02/21/2010 (1:11 pm)
I have a horrible computer, and huge pages make my internet slow, often making it strech across the screen "the text" so I had to remove the console to continue for work on this topic.I just learned how to use Audacity, so thats what I am using now.
Torque 3D Owner Marcus L
I think this might be causing your issue:
Where did those files go? Check your scripts folder and your game.cs.