Register for your free account! | Forgot your password?

Go Back   elitepvpers › MMORPGs › Conquer Online 2 › CO2 Private Server › CO2 PServer Guides & Releases
You last visited: Today at 19:42

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Some needed stuff for Coemu

Discussion on [Release] Some needed stuff for Coemu within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #166
 
elite*gold: 0
Join Date: Jan 2009
Posts: 84
Received Thanks: 9
Quote:
Originally Posted by gad-legion View Post
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 =(

i believe i have to add this:

CSocket.Client.Inventory.Remove(uid);
CSocket.Send(ConquerPacket.ItemUsage(uid, 255, Struct.ItemUsage.RemoveItem));
Database.Database.DeleteItem(uid);


into it, but i get this error:

Error 2: The name 'uid' does not exist in the current context.

i fixed my last error which was the same, but this one is different becuase its a ConquerPacket.ItemUsage... which i cannont find atm.

EDIT 2:
nevermind those problems i solved them, cept, the armour wont stay black! rofl
lukejonesy is offline  
Old   #167
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 782
Received Thanks: 459
need to update the item in the database when use black tulip.....
12tails is offline  
Old   #168

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,297
Received Thanks: 928
Quote:
Originally Posted by 12tails View Post
????

who said i'm using alex source???

lol i'm using the coemu clean source with my edits......
Oh, I thought that you said that you used Alex's source.
Kiyono is offline  
Old   #169
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
Quote:
Originally Posted by killerdiggs View Post
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 View Post
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 View Post
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

Code:
Item.MaxDura = Item.Dura = NewItem.Dura;
samehvan is offline  
Thanks
1 User
Old   #170
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 782
Received Thanks: 459
no.... i already saw his coded source..... but i don't use it have too many bugs .... : X

@samehvan
thanks
12tails is offline  
Old   #171
 
elite*gold: 0
Join Date: Jan 2009
Posts: 84
Received Thanks: 9
forget shop boy for now lol,

i've been trying to get reborn to work, but i seem to have this error:

Error 1 'CoEmu_v2_GameServer.Structs.Struct.SkillIds.Cruel Shade': cannot declare instance members in a static class

anyways, off to work for 5 hours ><

see what i can do after work =)


EDIT:
Nevermind!

fixed the reborn! =D

had to add this:

public class SkillIds
{
public static int (skill name) lol, which i found easy once i figured out how =)


awwws... reborn kinda works, it dont reborn me, only gives me the gem ><
lukejonesy is offline  
Old   #172
 
killerdiggs's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 46
Received Thanks: 1
[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
killerdiggs is offline  
Old   #173
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
[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
search for
Code:
public int Color = 4;
after it add
Code:
public int SocketProgress = 0;
samehvan is offline  
Old   #174
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
Quote:
Originally Posted by lukejonesy View Post
forget shop boy for now lol,
><
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
samehvan is offline  
Thanks
1 User
Old   #175
 
elite*gold: 0
Join Date: Jan 2009
Posts: 84
Received Thanks: 9
lols, if i knew u in real life samehvan i would kiss you! LOL

ur the best!

EDIT:
OMG!!!! my friend deleted mySQL local host connection!! ><
gotta get that up and running again ><
lukejonesy is offline  
Old   #176
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
anyone knows a good packet logger ? ,i heard about them but never try one ,i think it would make it much easier r8?
samehvan is offline  
Old   #177
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 782
Received Thanks: 459
yes..... i think so!

i've heard that too ...

i just don't maked one yet because i stopped tgo code for a little time : D
12tails is offline  
Old   #178

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,297
Received Thanks: 928
Quote:
Originally Posted by samehvan View Post
anyone knows a good packet logger ? ,i heard about them but never try one ,i think it would make it much easier r8?
JProxy has a packet logger.
Kiyono is offline  
Old   #179
 
elite*gold: 0
Join Date: Jan 2009
Posts: 84
Received Thanks: 9
Quote:
Originally Posted by samehvan View Post
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)
lukejonesy is offline  
Old   #180
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
Quote:
Originally Posted by lukejonesy View Post
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
samehvan is offline  
Reply


Similar Threads Similar Threads
[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



All times are GMT +1. The time now is 19:42.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.