luke there is a trick on sql table , it doesn't alowe u to change color so go to items table and make the color not null, mine is like this :
Code:
Field
Color
Code:
Type
INT
Code:
Length/Values
5
Code:
Null
not null
Code:
Default
3
i had same problem as u when i implemented black tulip and this is the way i made it works 100%
i think many ppl got this problem im sorry i didnt release it earlier i got a break from this project, dont know if ill continue cuz i got stuck on skills fb, ss all of them , as i work on andys source not on any other source released after that, i guess i have to work more then most ppl so i got bored
thanks bro, with the skills where u stuck? i can implentment them, i just haven't figured out the the exp for them.
thanks again =)
Edit:
ok that solved my item diserpearing, but not the coloring =(
1. i added your talisman socketing but that is missing the definitions for 'SocketProgress' and 'UpdateItem' can your pls post those?
it's the 3rd line in SocketProgress section at post 3, how couldn't u c it just kidding
read it again and u will fix it
and i posted the updateitem void be4 in this thread but here it is again
put it anywhere under Handlers classes (mine at NpcTalk.cs)
Code:
public static void UpDateItem(Struct.ItemInfo Item,ClientSocket CSocket)
{
if (Item.UID == 0)
{
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));
}
else
{
CSocket.Send(ConquerPacket.ItemUsage(Item.UID, Item.Position, Struct.ItemUsage.UpdateItem));
CSocket.Send(ConquerPacket.ItemInfo(Item));
Database.Database.UpdateItem(Item, CSocket.Client.ID);
}
}
Quote:
Originally Posted by killerdiggs
2. I used your codes for the etheral but he doesnt exist in my server. i tried to add him using the mysql database but i dont know the UID or Type
3. how do I change the ip in the Server.dat file because if i change it from my local ip: 127.0.0.1, it says "error could not open server.dat please re-install the game."
someone pls help me!!
Ethereal
Code:
SubType MapID Xcord Ycord Direction Flag
6690 1036 320 228 2 0
the ID and Type any 2 unused numbers , mine are 896 , 450
about the IP and server.dat thing , they killed that answering it u will find the exact question and the answers for it at any Coemu V2 related thread
Quote:
Originally Posted by 12tails
when i buy an item .... this item come's broken (dura 0).... can someone help me?
also i got lag when use the teleport void : X
at ItmeInfo make the default dura/maxdura up to 25 or anything u want ,or u can simply call the real dura (at itembuy.cs there is a line getting the ItemData )
Code:
Struct.ItemData NewItem = Nano.Items[ID];
search there for
Code:
Item.ItemID = NewItem.ID;
then u just need to add after the 2 match lines this line
[QUOTE=samehvan;3146415]it's the 3rd line in SocketProgress section at post 3, how couldn't u c it just kidding
read it again and u will fix it[QUOTE]
well i looked through it and nowhere do u have the solution to this error:
Code:
Error 1 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'SocketProgress' and no extension method 'SocketProgress' accepting a first argument of type 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Diego\Desktop\Diggs\server 5095\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 427 22 CoEmu v2 GameServer
so can u pls explain to me how to fix this because i get errors like this from almost every single post about coemuV2 source code releases
thx
[quote=killerdiggs;3161233][QUOTE=samehvan;3146415]it's the 3rd line in SocketProgress section at post 3, how couldn't u c it just kidding
read it again and u will fix it
Quote:
well i looked through it and nowhere do u have the solution to this error:
Code:
Error 1 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' does not contain a definition for 'SocketProgress' and no extension method 'SocketProgress' accepting a first argument of type 'CoEmu_v2_GameServer.Structs.Struct.ItemInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Diego\Desktop\Diggs\server 5095\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 427 22 CoEmu v2 GameServer
so can u pls explain to me how to fix this because i get errors like this from almost every single post about coemuV2 source code releases
thx
added to the 3rd post :P , i am a dumb at dialogs and this dialoge is a copy of someone dialog as i think so no flames about it ,if anyone know the exact dialog then plz post it , for shopboy or anyother NPC
added to the 3rd post :P , i am a dumb at dialogs and this dialoge is a copy of someone dialog as i think so no flames about it ,if anyone know the exact dialog then plz post it , for shopboy or anyother NPC
shop boy colors my armor, but i have to take armor off and put it back on and when i log off and on, it either diserpears or changes back to its orignal color =(
awwhs wells lol thanks for th epost anyway =)
EDIT:
anyone know how to add npcs? i am using MySQL, if you have any idea how, please help me, coz i wonna get dis city working lol just need the npc's inside (i have solar saint in ac)
shop boy colors my armor, but i have to take armor off and put it back on and when i log off and on, it either diserpears or changes back to its orignal color =(
awwhs wells lol thanks for th epost anyway =)
EDIT:
anyone know how to add npcs? i am using MySQL, if you have any idea how, please help me, coz i wonna get dis city working lol just need the npc's inside (i have solar saint in ac)
it works well with me , i tried it again after reading your post , it works perfectly here , check if ur Updateitem saves the color
[HELP]Error when doing stuff on server CoEmu V2 11/11/2009 - CO2 Private Server - 4 Replies hello i was wandering if anyone understands this problem. I had my friend go on after i added Shopping mall and it took the cps but didn't give him the +6 stone he tryed to buy. At the same time this error occurred.
http://img21.imageshack.us/img21/6930/errorline32 .jpg
all i have added to source from origional (by andyd123) was Wuxing oven with progress
http://www.elitepvpers.com/forum/co2-pserver-discu ssions-questions/260333-release-wuxing-oven.html
and shopping mall
...
[INFO NEEDED] Simple question but where can i find all the monsters in COEMU v2 06/24/2009 - CO2 Private Server - 4 Replies Question 1 :
It is simple yes but i know how to code but i just arent used to this source:P.
Info pls:P where are all the mobs located?
Question 2 :
Can someone pass me a lil sql file where WindSage is in? cuz i dont know how to work with my mysql that good i always screw up kthx:)
Is a website still needed for CoEmu v2 06/15/2009 - CO2 Private Server - 3 Replies Well, sorry for this useless post, but I dont want to waste any time of mine making a website for CoEmu v2 if there are already some decent ones out there. If I spend time making one I would like people to actually use it :P lol. Well, if someone needs a website just say so here, as well as some things you would like on the website that I will add.
[HELP WANTED] CoEmu V2 Partners Needed 06/05/2009 - CO2 Private Server - 0 Replies I got the source will have a host all i need is a few ppl to help me getting this going pm me if you want to help and meet a few requiremtents.
Requirements:
1. has to know a bit of coding using C# (cuz i know very little)
2. spend a decent amount of time online (not asking 24/7)
3. and has to be awesome lol.
CoEmu + all needed Files?? 10/14/2007 - Conquer Online 2 - 0 Replies Hi all,
I want to make my own private server with CoEmu - Now I tried every link at this forum and all!!! Links are dead.
PLS can someone upload this files all i need for CoEmu and CoEmu too?
THX4hrlp