CoEMU (Source) SVN (Now Public)

11/03/2006 16:50 Hyberkill#61
even if i configured my config.ini file i still get unable to connect.... can you tell exactly where to change the ip?
11/03/2006 16:50 Hyberkill#62
Sorry for double post.... Great Work Andy,Ranny,Ideo and all coemu team !!!!
11/03/2006 18:01 blazinglion#63
At which point are you getting this error. I need a little more details. Is it when you start the server and the black dos type windows comes up, or is the server running fine and your clients just not logging in.

From what your saying im assuming the server isnt logging into postgres. Double check your db name it has to be Conquer it is case sensitive. Also if you are running a firewall of any kind make sure something isnt getting blocked if your not using a loopback address.

There are 3 places where ips are stored. In config.ini, the servers table in the db and the server.dat file. The first 2 are the ones that have to be changed to get the server running.
11/03/2006 21:42 unknow2005#64
I dunno if some1 is working already on this, but heres the DB w/ all BI portals (Except the quest npc´s) working like the CO.
11/03/2006 22:30 aidas2004#65
unknow2005> nice, i have no time for this to check but it seams that must work =]
11/04/2006 03:55 JoshuaX#66
i fixed the authserv error on my postgres i forgot to change the server name and IP
11/04/2006 13:10 aidas2004#67
JoshuaX> thats good... =]
11/04/2006 17:17 amaka#68
Hyberkill try to find old server files that worked and copy all the data from that bin release file to youre new server bin release and dont overwrite anything its just missing some files thats all i had same error and this fixed it


i forgot to mention here is 2 fixes i worked out

first in packethandler paste this string under the 2031

case 2032:
{
if (data.Length == 0x10)
{
msg = new RequestNPCTalk(data, client);
}
break;



And then here is lil conductress script for TC placed in the world.cs



if (npc_id_2 == 10050)
{
if (npc_type_v == 0)
{
Client.SendData(PacketBuilder.NPCsay("Hi where do you want to go today"));
Client.SendData(PacketBuilder.NPCanswer("Phoenix Castle", Convert.ToInt32(1)));
Client.SendData(PacketBuilder.NPCanswer("Ape Mountain", Convert.ToInt32(2)));
Client.SendData(PacketBuilder.NPCanswer("Bird Island", Convert.ToInt32(3)));
Client.SendData(PacketBuilder.NPCanswer("Dessert City", Convert.ToInt32(4)));
Client.SendData(PacketBuilder.NPCanswer("Market", Convert.ToInt32(5)));
Client.SendData(PacketBuilder.NPCanswer("Maybe later", Convert.ToInt32(255)));
NPC.Final(Client);
}
if (npc_type_v == 1)
{
Client.SendData(PacketBuilder.CharacterInfo(Client .Char));
Character Char1 = Client.Char;
string Target;
byte[] SpawnData = PacketBuilder.SpawnEntity(Char);
Target = "PC";
int x = 232; int y = 260;
Char.CurrentLoc = new Location(x, y);
Char.Map = World.Maps.MapleForest;
World.SpawnCharacter(Client);
}
if (npc_type_v == 2)
{
Client.SendData(PacketBuilder.CharacterInfo(Client .Char));
Character Char1 = Client.Char;
string Target;
byte[] SpawnData = PacketBuilder.SpawnEntity(Char);
Target = "AM";
int x = 566; int y = 565;
Char.CurrentLoc = new Location(x, y);
Char.Map = World.Maps.ApeMoutain;
World.SpawnCharacter(Client);
}
if (npc_type_v == 3)
{
Client.SendData(PacketBuilder.CharacterInfo(Client .Char));
Character Char1 = Client.Char;
string Target;
byte[] SpawnData = PacketBuilder.SpawnEntity(Char);
Target = "BI";
int x = 723; int y = 573;
Char.CurrentLoc = new Location(x, y);
Char.Map = World.Maps.BirdIsland;
World.SpawnCharacter(Client);
}
if (npc_type_v == 4)
{
Client.SendData(PacketBuilder.CharacterInfo(Client .Char));
Character Char1 = Client.Char;
string Target;
byte[] SpawnData = PacketBuilder.SpawnEntity(Char);
Target = "DC";
int x = 496; int y = 649;
Char.CurrentLoc = new Location(x, y);
Char.Map = World.Maps.DesertCity;
World.SpawnCharacter(Client);
}
if (npc_type_v == 5)
{
Client.SendData(PacketBuilder.CharacterInfo(Client .Char));
Character Char1 = Client.Char;
string Target;
byte[] SpawnData = PacketBuilder.SpawnEntity(Char);
Target = "MA";
int x = 211; int y = 196;
Char.CurrentLoc = new Location(x, y);
Char.Map = World.Maps.Market;
World.SpawnCharacter(Client);
}
}
11/04/2006 22:08 unknow2005#69
Now the Conductress is working, how bout make the market controller work also? lol, im still trying to figure how to make her send u back to the right map from where u entered in mkt.
11/05/2006 10:07 GodSaints#70
Hi everyone,

I am a noob to make a own server, can qnyone guide me through of it? CoEMU, does it include the private server file to setup server? What would I need to setup the server? Thanks alot.
11/05/2006 11:19 aidas2004#71
unknow2005> lol it's simple could u figure out something by-urself... ?

Lets say, u whant to go to the market from TC
& u will use Conductress to teleport u'r char to.

Create new table like "Market" insert rows "CharName" or "CharID" & "FromMap"

then write simple script that if u click in Conductress Dialog "Market" after teleporting u to market, insert script wich would:
- did query by inserting to the table Char ID & from what MAP that char came from, if u'r from TC then would be 1002

and in Conductress wich would be in Market, write simpel script, wich would check by u'r Char ID from what map u came from, and teleport it back to that map =]

Thats how simple it works... =]

P.S. this idea have cons and prons 1th - is that in that table will be alot of lines, coz for every char will be needed 1 line, to put that char id and every time u teleporting to market, changing from what map u came from. =]

i will post all querys and scripts soon, coz right now i'am not at Home.
11/05/2006 11:58 ramiz#72
hi nice guide and easy too i made it all but got this prob at the end
can any1 help
11/05/2006 15:52 unknow2005#73
Quote:
Originally posted by ramiz@Nov 5 2006, 07:58
hi nice guide and easy too i made it all but got this prob at the end
can any1 help
I dont know if some1 who is working on the server files is using Vista on his comp. I used to have some problems w/ this OS once and i had to go back to XP.
11/06/2006 05:42 leavemealone#74
I need help these are my Following errors, i got 3 screenshots of 3 diff ones.

BTW Can SomeOne Please Put R9 On SVN UPDATE.

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

For that last screenshot its saying it cant find NPCSpawns or something in backenddb.cs on that line do i have a older version of the backenddb.cs i just ran the autoupdate thing im on R8.
11/06/2006 12:30 leavemealone#75
Never Mind guys got my worked out now im having problems logging in, it says that error connecting after going to the connecting screen, in my log it says was dropped intentionally.