|
You last visited: Today at 23:02
Advertisement
Plz i need the id for this map
Discussion on Plz i need the id for this map within the CO2 Private Server forum part of the Conquer Online 2 category.
03/09/2010, 19:43
|
#16
|
elite*gold: 20
Join Date: Oct 2008
Posts: 328
Received Thanks: 43
|
LoL they make it theirself but it's not really hard,, i should make your own too keep a good name on those forums, but you're the one who choose,,
|
|
|
03/09/2010, 20:55
|
#17
|
elite*gold: 0
Join Date: May 2009
Posts: 84
Received Thanks: 54
|
Quote:
Originally Posted by .Arco
No this is a tq map.
It's from their event when they had that little parade.
|
yea its a tq map i need the id for it
|
|
|
03/09/2010, 21:31
|
#18
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
|
I think its:1844
|
|
|
03/10/2010, 10:29
|
#19
|
elite*gold: 0
Join Date: May 2009
Posts: 84
Received Thanks: 54
|
Quote:
Originally Posted by Korvacs
I think its:1844
|
Omg thx Korvacs its it
|
|
|
03/10/2010, 13:50
|
#20
|
elite*gold: 0
Join Date: Aug 2009
Posts: 424
Received Thanks: 108
|
Quote:
Originally Posted by zozozozozozo
Omg thx Korvacs its it
|
Do you know if the early clients had it?
|
|
|
03/12/2010, 17:19
|
#21
|
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
|
Quote:
Originally Posted by CompacticCo
Do you know if the early clients had it?
|
No, they did not, however tell me your client version. I'll create a gamemap.dat and include all the required files. So you can use it on your client, you'll just have to redistribute it to your players in a patch.
If your using tq binaries etc, you'd have to add all the info into cq_map. Basically too much hassle unless your running actual source files.
|
|
|
03/12/2010, 17:52
|
#22
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 924
|
Quote:
Originally Posted by © Haydz
No, they did not, however tell me your client version. I'll create a gamemap.dat and include all the required files. So you can use it on your client, you'll just have to redistribute it to your players in a patch.
If your using tq binaries etc, you'd have to add all the info into cq_map. Basically too much hassle unless your running actual source files.
|
Can't you just replace the older one with one from a newer client?
|
|
|
03/12/2010, 17:55
|
#23
|
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
|
Quote:
Originally Posted by Kiyono
Can't you just replace the older one with one from a newer client?
|
Really, depends how big of a distance between the versions is.
5017 -> 5200
Is obviously a huge distance, and would cause a lot of problems, regarding missing map files and you would basically have to add the whole map folder from the new client. Which I suppose you could do, but my memory tells me that the map folder is rather large size, I wouldn't like distributing that via a patch =D.
I'd much prefer to just add the ones I need, you can basically do that though, just add the gamemap.dat, then follow the debug log in the CO2 folder and add the files that are missing. I did the same thing when I wanted the icecrypt maps in my 4351 source
|
|
|
03/12/2010, 17:57
|
#24
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 924
|
Well I didn't mean replacing map folders I meant replacing the gamemap.dat and then adding the map files you need.
|
|
|
03/12/2010, 18:00
|
#25
|
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
|
Quote:
Originally Posted by Kiyono
Well I didn't mean replacing map folders I meant replacing the gamemap.dat and then adding the map files you need.
|
Basically, the gamemap.dat specifies which map files to load, if you completely replace the gamemap.dat, then its going to be trying to load map files which don't exist. Which won't really cause many problems other than an error in the debug log that the file couldn't be found. You can add the ones you want but unless you add them all then your going to get errors.
So, yeah you can do what you said, just it's not very practical.
-I seem to write an essay in response to just about everything, LOL
|
|
|
03/12/2010, 18:07
|
#26
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
|
i want it in my 4351 source haydz
|
|
|
03/12/2010, 18:22
|
#27
|
elite*gold: 0
Join Date: Jul 2009
Posts: 88
Received Thanks: 5
|
342/213
|
|
|
03/12/2010, 18:31
|
#28
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 924
|
Quote:
Originally Posted by © Haydz
Basically, the gamemap.dat specifies which map files to load, if you completely replace the gamemap.dat, then its going to be trying to load map files which don't exist. Which won't really cause many problems other than an error in the debug log that the file couldn't be found. You can add the ones you want but unless you add them all then your going to get errors.
So, yeah you can do what you said, just it's not very practical.
-I seem to write an essay in response to just about everything, LOL
|
Well an extra entry in the debug log won't do any harm and you could always use dummy files right?
//edit How do you edit the gamemap.dat anyway?
|
|
|
03/12/2010, 20:13
|
#29
|
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
|
Quote:
Originally Posted by Kiyono
Well an extra entry in the debug log won't do any harm and you could always use dummy files right?
//edit How do you edit the gamemap.dat anyway?
|
Well, as you know the gamemap file is binary, and the structure as follows:
TotalMaps = UInt32();
loop(TotalMaps)
{
MapID = Uint32();
length = Uint32();
name = str(length);
Uint32();
}
SO Basically, as your reading it, write it to a new file using BinaryWriter, just increment TotalMaps by one, and then write the map info for the new map to it.
|
|
|
03/12/2010, 23:22
|
#30
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 924
|
Now that we're on this topic anyway, I tried to make something that reads the gamemap.dat and writes it to a text file but I kinda failed (I really suck at coding)
Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
List<string> Maps = new List<string>();
if (File.Exists(@"C:\Users\Administrator\Documents\Visual Studio 2010\Projects\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\GameMap.dat"))
{
FileStream FS = new FileStream(@"C:\Users\Administrator\Documents\Visual Studio 2010\Projects\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\GameMap.dat", FileMode.Open);
BinaryReader BR = new BinaryReader(FS);
uint MapID;
uint MapLength;
string MapName;
MapID = BR.ReadUInt32();
MapLength = BR.ReadUInt32();
MapName = BR.ReadString();
Maps.Add(MapLength + " " + MapName + " " + MapID);
BR.Close();
FS.Close();
TextWriter TW = new StreamWriter("Gamemap.txt");
foreach (string maplist in Maps)
{
TW.WriteLine(maplist);
}
MessageBox.Show("Done");
TW.Close();
}
else
{
MessageBox.Show("File not found!");
}
}
private void button2_Click(object sender, EventArgs e)
{
MessageBox.Show("Under construction.");
}
}
}
But since I don't know how to loop through the gamemap.dat it failed.
|
|
|
All times are GMT +2. The time now is 23:02.
|
|