CoEmu v2 5095: Errors, help, problems... POST HERE

06/01/2009 03:05 0129494105#106
Hi all When i Try To Join my server i can't cuz i dont have a account and i not understand any thing of Reg page if any one tell me how can i make reg page white Good Site for Put reg page at it setup by Setup please it's my only Problem Any help
06/01/2009 06:20 Shayne93#107
Quote:
Originally Posted by $HaDoW View Post
wtf is going on why I'm I the most famous dude right now -_- fucking noobs everywhere ! ^_^
just try something ! why did it worked for me ? CUS I FUCKING READ ALL POSTS AND USED GUIDES !
dude i tried helping these newbs but they keep asking the exect thing..... do u think i should have this thread closed, or let it alive?, if you think i should let it alive then i will update this and edit shits, etc. etc.

Quote:
Originally Posted by Zeroxelli View Post
I answered that already,
[Only registered and activated users can see links. Click Here To Register...]
lol i also answered that several times.... very annoying question actually....
06/01/2009 08:45 nuhali#108
[Only registered and activated users can see links. Click Here To Register...] i get this error
06/01/2009 10:26 cloudwind360#109
Quote:
Originally Posted by nuhali View Post
[Only registered and activated users can see links. Click Here To Register...] i get this error
yup im trying to figure it out too lolz
06/01/2009 11:36 yuko#110
Quote:
Originally Posted by ~*Dutchess*~ View Post
I never had this problem b4 but when i logged in a new char. the guards would kill me when i wasnt flashing. =/ Any reason why that is? i remember seeing someone having similar problem never read the post. and now i cant seem to find it.


EDIT: I figured out why it does it. When you edit the Guards name it. I just tested it. I went into the db monsters, change CoEmuGuard to Guard1 and logged on they would kill me each time i revived and moved. So i changed it back and they didnt kill me. So i guess u cant change with names. =/
you can change the names if you want but you'll have to change it in the source aswel
if you search you'll find something like this
Code:
if(Attacked.Info.Name != "Guard" && Attacked.Info.Name != "Patrol" && Attacked.Info.Name != "GuildPatrol" && Attacked.Info.Name != "GuardReviver")
you'll need to change the names everywhere you can find CoEmuGuards


//------------------------------

i was wondering if anyone knows why the bridges won't give valide coords.
i did load all the maps but it still won't work

thanks for reply
06/01/2009 11:40 nuhali#111
Quote:
Originally Posted by nuhali View Post
[Only registered and activated users can see links. Click Here To Register...] i get this error
Quote:
Originally Posted by cloudwind360 View Post
yup im trying to figure it out too lolz

Someone knows how to fix this?
06/01/2009 12:29 yuko#112
can you read the error thats writen??
or you didn't make a good ID/username
or you didn't put the right password

just try root - with the root password
06/01/2009 12:43 random321#113
each time i try to put the server on, with the exe, it opens an error report and closes the program
06/02/2009 19:31 adoptado111#114
Quote:
Originally Posted by sawickas View Post
I using hamachi :)
did it work with ur hamachi?
06/03/2009 02:40 quadruple1#115
I need help with the npc giving +12 items... I found case 390: and pasted this before it
Code:
case 211091:
{
if (LinkBack == 0)
{

Text("Ho i can give you full +12 gea if you wish Just Choose your pro?", CSocket); //Remove one ) and add, CSocket
Link("Trojan", 1, CSocket);
Link("Warrior", 2, CSocket);
Link("Archer", 3, CSocket);
Link("Toa", 4, CSocket);
Link("NiNja", 5, CSocket);
Link("No, I dont need", 255, CSocket);
Face(19, CSocket);
End(CSocket);
}
else if (LinkBack == 1)
{
AddItem(130109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//conquestarmor
AddItem(480339, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//kingsclub
AddItem(480339, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//kingsclub
AddItem(120249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//tornado
AddItem(150249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//thunder
AddItem(160249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//Blizzard
AddItem(118109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//magiccornet
AddItem(202009, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//startower
AddItem(201009, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//heavenfan

}
else if (LinkBack == 2)
{

AddItem(131109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//PhoenixArmor
AddItem(480339, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//kingsclub
AddItem(900109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//dragonshield
AddItem(120249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//tornado
AddItem(150249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//thunder
AddItem(160249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//Blizzard
AddItem(111109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//conquesthelment
AddItem(202009, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//startower
AddItem(201009, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//heavenfan


}
else if (LinkBack == 3)
{

AddItem(133109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//PhoenixJerkin
AddItem(500329, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//shadowbow
AddItem(120249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//tornado
AddItem(150249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//thunder
AddItem(160249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//Blizzard
AddItem(111109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//PhoenixHat
AddItem(202009, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//startower
AddItem(201009, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//heavenfan


}
else if (LinkBack == 4)
{

AddItem(134109, 7, 255, 255, 12, 0, 3, 3, 0, CSocket);//pineRobe
AddItem(421339, 7, 255, 255, 12, 0, 3, 3, 0, CSocket);//KingsOfBackSword
AddItem(121249, 7, 255, 255, 12, 0, 3, 3, 0, CSocket);//SunShine
AddItem(152229, 7, 255, 255, 12, 0, 3, 3, 0, CSocket);//Lightning
AddItem(160249, 7, 255, 255, 12, 0, 3, 3, 0, CSocket);//Blizzard
AddItem(114109, 7, 255, 255, 12, 0, 3, 3, 0, CSocket);//PhoenixHat
AddItem(202009, 7, 255, 255, 12, 0, 3, 3, 0, CSocket);//startower
AddItem(201009, 7, 255, 255, 12, 0, 3, 3, 0, CSocket);//heavenfan

}
else if (LinkBack == 5)
{

AddItem(135109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//pineRobe
AddItem(601339, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//EmperorKatana
AddItem(601339, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//EmperorKatana
AddItem(120249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//SunShine
AddItem(150249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//Lightning
AddItem(160249, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//Blizzard
AddItem(112109, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//PhoenixHat
AddItem(202009, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//startower
AddItem(201009, 7, 255, 255, 12, 0, 13, 13, 0, CSocket);//heavenfan


}
break;
}
Then i am stuck where it says you have to add this
Code:
public static void AddItem(int itemid, int bless, int dura, int enchant, int plus, int position, int soc1, int soc2, int color, ClientSocket CSocket)
{
Struct.ItemInfo Item = new Struct.ItemInfo();
if (dura == 255)
{
Item.Dura = Item.MaxDura;
}
else
{
Item.Dura = dura;
}
Item.Bless = bless;
Item.Enchant = enchant;
Item.ItemID = itemid;
Item.Plus = plus;
Item.Position = position;
Item.Soc1 = soc1;
Item.Soc2 = soc2;
Item.Color = color;
Item.UID = Nano.Rand.Next(1, 9999999);
bool created = Database.Database.NewItem(Item, CSocket);
while (!created)
{
Item.UID = Nano.Rand.Next(1, 9999999);
created = Database.Database.NewItem(Item, CSocket);
}

CSocket.Client.Inventory.Add(Item.UID, Item);
CSocket.Send(ConquerPacket.ItemInfo(Item.UID, Item.ItemID, Item.Plus, Item.Bless, Item.Enchant, Item.Soc1, Item.Soc2, Item.Dura, Item.MaxDura, Item.Position, Item.Color));
}
I have no idea where it goes can someone please tell me?
06/03/2009 05:30 Zeroxelli#116
It can be placed anywhere as long as it's in scope of the Npc Handler.
06/03/2009 16:12 heartlesss#117
how do i connect the mysql and database? ive set'd up mysql root pass: test and it doesnt connect... and ive set'd up both projects in DatabaseConnection.cs, username root pass test..

can anyone help me
06/03/2009 16:27 JoieJones90#118
Quote:
Originally Posted by yuko View Post
can you read the error thats writen??
or you didn't make a good ID/username
or you didn't put the right password

just try root - with the root password
Quote:
public const string USER_NAME = "root";
public const string PASSWORD = "";
public const string SERVER = "127.0.0.1";
public const string DATA_BASE = "conqueremu";
public static MySqlConnection DBConnection = null;
public static MySqlConnection NewConnection()
its my settings but still dont work:o
06/03/2009 16:39 .Dan.#119
Okay dokay. I've got everything up and running. The problem is: I don't know which IP I should put in the server.dat O_O. 127.0.0.1? 192.168.1.** (static one) or just my normal IP adress?. Because all of those aren't working...

If anyone could help

~NubCake.
06/03/2009 16:43 JoieJones90#120
Quote:
Originally Posted by NubCake~ View Post
Okay dokay. I've got everything up and running. The problem is: I don't know which IP I should put in the server.dat O_O. 127.0.0.1? 192.168.1.** (static one) or just my normal IP adress?. Because all of those aren't working...

If anyone could help

~NubCake.
if u can help me with this

Quote:
Error 2 Member 'System.Data.ConnectionState.Open' cannot be accessed with an instance reference; qualify it with a type name instead C:\Documents and Settings\Owner\Desktop\CoEmu v2\CoEmu v2 LoginServer\Database\Database.cs 23 27 CoEmu v2 LoginServer
i can say u should use 127.0.0.1 if only u want to join and ur ip from [Only registered and activated users can see links. Click Here To Register...] if u want other ppls wanna join;)