[(Awesome)RELEASE] CoEmuv2.Nano(5095) Source Code

06/14/2009 01:03 Kiyono#751
Quote:
Originally Posted by danielachraf View Post
lol i got everything good but i want to know how to show the vip icon ? :P isGm and IsPM can't
edit: show the icon not the vip code
It appears if you have alot of CPs in your inventory.
06/14/2009 01:06 felipeboladao#752
Hi.. How to Update IP from this serv.dat?

Code:
<?xml version="1.0"?>
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<database name="cq2">
	<table_structure name="outenserver">
		<field Field="id" Type="smallint(1) unsigned zerofill" Null="NO" Key="PRI" Default="0" Extra="" />
		<field Field="ServerName" Type="varchar(32)" Null="YES" Key="" Extra="" />
		<field Field="ServerIP" Type="varchar(15)" Null="YES" Key="" Extra="" />
		<field Field="ServerPort" Type="int(1) unsigned" Null="YES" Key="" Extra="" />
		<field Field="FlashName" Type="varchar(32)" Null="YES" Key="" Extra="" />
		<field Field="FlashIcon" Type="varchar(32)" Null="YES" Key="" Extra="" />
		<field Field="FlashHint" Type="varchar(128)" Null="YES" Key="" Extra="" />
		<field Field="Child" Type="tinyint(1) unsigned zerofill" Null="NO" Key="" Default="0" Extra="" />
		<key Table="outenserver" Non_unique="0" Key_name="id" Seq_in_index="1" Column_name="id" Collation="A" Cardinality="97" Null="" Index_type="BTREE" Comment="" />
		<options Name="outenserver" Engine="MyISAM" Version="10" Row_format="Dynamic" Rows="97" Avg_row_length="58" Data_length="5644" Max_data_length="281474976710655" Index_length="2048" Data_free="0" Create_time="2008-11-26 08:33:09" Update_time="2008-12-18 08:39:35" Collation="latin1_swedish_ci" Create_options="" Comment="" />
	</table_structure>
	<table_data name="outenserver">
	<row>
		<field name="id">0</field>
		<field name="ServerName"></field>
		<field name="ServerIP"></field>
		<field name="ServerPort">0</field>
		<field name="FlashName"></field>
		<field name="FlashIcon"></field>
		<field name="FlashHint"></field>
		<field name="Child">1</field>
	</row>
	<row>
		<field name="id">1</field>
		<field name="ServerName"></field>
		<field name="ServerIP"></field>
		<field name="ServerPort">0</field>
		<field name="FlashName">Group1</field>
		<field name="FlashIcon">Group11.swf</field>
		<field name="FlashHint"></field>
		<field name="Child">1</field>
	</row>
	<row>
		<field name="id">101</field>
		<field name="ServerName">Sparks</field>
		<field name="ServerIP">201.1.206.4</field>
		<field name="ServerPort">9958</field>
		<field name="FlashName">Sparks</field>
		<field name="FlashIcon">Group3/server2.swf</field>
		<field name="FlashHint"></field>
		<field name="Child">0</field>
	</row>
	
	</table_data>
</database>
</mysqldump>
Have Ideas??
06/14/2009 01:15 danielachraf#753
hmm
06/14/2009 01:17 felipeboladao#754
Yeah, i need Idea to Update IP from my DNS.

Have Idea?
06/14/2009 01:19 WHITELIONX#755
The ip should have been 127.0.0.1 >.< And only changed to YOUR hamachi or IP when giving the client to somebody else!
<?xml version="1.0"?>
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<database name="cq2">
<table_structure name="outenserver">
<field Field="id" Type="smallint(1) unsigned zerofill" Null="NO" Key="PRI" Default="0" Extra="" />
<field Field="ServerName" Type="varchar(32)" Null="YES" Key="" Extra="" />
<field Field="ServerIP" Type="varchar(15)" Null="YES" Key="" Extra="" />
<field Field="ServerPort" Type="int(1) unsigned" Null="YES" Key="" Extra="" />
<field Field="FlashName" Type="varchar(32)" Null="YES" Key="" Extra="" />
<field Field="FlashIcon" Type="varchar(32)" Null="YES" Key="" Extra="" />
<field Field="FlashHint" Type="varchar(128)" Null="YES" Key="" Extra="" />
<field Field="Child" Type="tinyint(1) unsigned zerofill" Null="NO" Key="" Default="0" Extra="" />
<key Table="outenserver" Non_unique="0" Key_name="id" Seq_in_index="1" Column_name="id" Collation="A" Cardinality="97" Null="" Index_type="BTREE" Comment="" />
<options Name="outenserver" Engine="MyISAM" Version="10" Row_format="Dynamic" Rows="97" Avg_row_length="58" Data_length="5644" Max_data_length="281474976710655" Index_length="2048" Data_free="0" Create_time="2008-11-26 08:33:09" Update_time="2008-12-18 08:39:35" Collation="latin1_swedish_ci" Create_options="" Comment="" />
</table_structure>
<table_data name="outenserver">
<row>
<field name="id">0</field>
<field name="ServerName"></field>
<field name="ServerIP"></field>
<field name="ServerPort">0</field>
<field name="FlashName"></field>
<field name="FlashIcon"></field>
<field name="FlashHint"></field>
<field name="Child">1</field>
</row>
<row>
<field name="id">1</field>
<field name="ServerName"></field>
<field name="ServerIP"></field>
<field name="ServerPort">0</field>
<field name="FlashName">Group1</field>
<field name="FlashIcon">Group11.swf</field>
<field name="FlashHint"></field>
<field name="Child">1</field>
</row>
<row>
<field name="id">101</field>
<field name="ServerName">ServerName</field>
<field name="ServerIP">127.0.0.1</field>
<field name="ServerPort">9958</field>
<field name="FlashName">ServerName</field>
<field name="FlashIcon">Group3/server2.swf</field>
<field name="FlashHint"></field>
<field name="Child">0</field>
</row>

</table_data>
</database>
</mysqldump>

Error 1 Control cannot fall through from one case label ('case 6001:') to another C:\Documents and Settings\alan knight\My Documents\CoEmu v2\CoEmu v2\CoEmu v2 GameServer\Handlers\Attack.cs 948 21 CoEmu v2 GameServer
Any idea how to fix this error? Nvm I sorted it out lol
06/14/2009 11:33 felipeboladao#756
Help to my code?

case 142:
{
uint Face = Data[12];

if (CSocket.Client.Model == 1 || CSocket.Client.Model == 2)
{
if (Face > 200)
Face += 0;
}
if (CSocket.Client.Model == 3 || CSocket.Client.Model == 4)
{
if (Face > 200)
Face += 0;
}

uint Multiply = (uint)(Data[13] * 56);
Face += Multiply;

CSocket.Client.Avatar = (byte)Face;
CSocket.Client.Money -= 500;
CSocket.Send(ConquerPacket.Status(CSocket, 2, CSocket.Client.Money, Struct.StatusTypes.InvMoney));

break;
06/14/2009 14:02 alexbigfoot#757
case 142:
{
if (CSocket.Client.Money > 499)
{
uint Face = Data[12];
int Model = Convert.ToInt32(CSocket.Client.Model.ToString().Re place(CSocket.Client.Model.ToString().Remove(CSock et.Client.Model.ToString().Length - 4, 4), Face.ToString()));
Handler.Money(-500, CSocket);
CSocket.Client.Model = Model;
ConquerPacket.ToLocal(ConquerPacket.Status(CSocket , 2, Model, Struct.StatusTypes.Model), CSocket.Client.X, CSocket.Client.Y, (int)CSocket.Client.Map, 0, 0);
}
break;
}
06/14/2009 15:21 Kiyono#758
Is potency/battle power coded?
06/14/2009 16:06 alexbigfoot#759
i`m prety sure there is not

Updates: Today, Me and Junior, will finish guild system(i think with branch too), trade partner + start coding all skills
06/14/2009 16:21 yuko#760
[info]
flowers
packet type 1150
data 12 = item

have fun :p
06/14/2009 19:03 grayfox1#761
Quote:
Originally Posted by WHITELIONX View Post
o.0 It is not coded you have to code it yourself and if you have no idea about the first thing of coding it really isn`t worth it because you will cause yourself way to many problems.

Ok so I changed my guards names back and they stopped attacking me but what were the stupid piglets originally called something patrols? or GuardReviver because they are attacking me on big fat ones lol Actually no I have a better idea how do I get rid off them so they are not on there anymore?

Can you tell me where I can start to coded by myself
06/14/2009 19:52 WHITELIONX#762
I have no idea lol probably college would be a good start? I am learning things by myself through trial and error and would never call myself a coder, programmer or anything like that. I just try things and if they work then great that is where the community comes in with advice and help.

yuko where do I add that?

And does anybody know why when I copy and paste my musicregion from ini of my other client to 5095 it doesn`t play the music? Yes I copy and pasted the sound folder also lol.
06/14/2009 19:54 Kiyono#763
Quote:
Originally Posted by WHITELIONX View Post
I have no idea lol probably college would be a good start? I am learning things by myself through trial and error and would never call myself a coder, programmer or anything like that. I just try things and if they work then great that is where the community comes in with advice and help.
Google > Community lol
06/14/2009 20:04 WHITELIONX#764
Google > Community? You mean like me being communist where the community works to help each other?
06/14/2009 20:11 Kiyono#765
No as in Google is more useful than this sections community.