Register for your free account! | Forgot your password?

You last visited: Today at 10:08

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

Advertisement



[Release]Talisman in Coemu V2 Source

Discussion on [Release]Talisman in Coemu V2 Source within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 06/02/2009, 16:36   #46
 
TheLeGend209's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 157
Received Thanks: 15
Talking

Quote:
Originally Posted by felipeboladao View Post
look Img its works...



In game Server Source go to Handles, ItemEquip
Search for

Code:
            else if ((ItemID >= 181300 && ItemID <= 192000 || ItemID >= 930000 && ItemID <= 940000) && EquipLocation == 9)//Returns Garment Position
            {
                return 9;
            }
Add down this code:
Code:
            else if ((ItemID >= 201003 && ItemID <= 201009) && EquipLocation == 10)//Returns Heaven Position
            {
                return 10;
            }
            else if ((ItemID >= 202003 && ItemID <= 202009) && EquipLocation == 11)//Returns Tower Position
            {
                return 11;
            }
Working??, give me Tranks...
Ill throw this into the Coemu source and ill release it for the peeps lol
TheLeGend209 is offline  
Old 06/02/2009, 17:20   #47


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 793
Quote:
Originally Posted by TheLeGend209 View Post
Ill throw this into the Coemu source and ill release it for the peeps lol
Please, quit. Now.
KraHen is offline  
Old 06/12/2009, 03:23   #48
 
WHITELIONX's Avatar
 
elite*gold: 0
Join Date: Apr 2006
Posts: 532
Received Thanks: 66
public static void InitialItems(int CharID, int Class)
{
try
{
switch(Class)
{
case 10:
{
MySqlCommand Cmd = new MySqlCommand("INSERT INTO items(CharID, Position, ItemID, Plus, Minus, Enchant, Soc1, Soc2, Dura, MaxDura) VALUES(" + CharID + "," + 4 + "," + 410302 + "," + 0 + "," + 0 + "," + 0 + "," + 0 + "," + 0 + "," + 10 + "," + 10 + ")", DatabaseConnection.NewConnection());
Cmd.ExecuteNonQuery();
Cmd.Connection.Close();
Cmd.Dispose();
MySqlCommand Cmd2 = new MySqlCommand("INSERT INTO items(CharID, Position, ItemID, Plus, Minus, Enchant, Soc1, Soc2, Dura, MaxDura) VALUES(" + CharID + "," + 3 + "," + 132003 + "," + 0 + "," + 0 + "," + 0 + "," + 0 + "," + 0 + "," + 10 + "," + 10 + ")", DatabaseConnection.NewConnection());
Cmd2.ExecuteNonQuery();
Cmd2.Connection.Close();
Cmd2.Dispose();
break;
}

And until I know how to sort these four errors out I can not rebuild solution

Three are the same error (void and the two MySqlcommand) all three are saying Error 1 Expected class, delegate, enum, interface, or struct C:\Documents and Settings\alan\My Documents\CoEmu v2\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 142 23 CoEmu v2 GameServer

And fourth error is saying
Error 4 Type or namespace definition, or end-of-file expected C:\Documents and Settings\alan knight\My Documents\CoEmu v2\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs 159 7 CoEmu v2 GameServer

Anybody know how I can sort this error otherwise I can not rebuild to equip fan and tower

And ids I have for fan and tower would be
201007 HeavenFan
201008 HeavenFan
201009 HeavenFan
202007 StarTower
202008 StarTower
202009 StarTower
WHITELIONX is offline  
Old 06/12/2009, 05:24   #49
 
Rulzan's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 220
Received Thanks: 29
Thanks it worked 100%
Rulzan is offline  
Old 06/12/2009, 19:06   #50
 
n0mansland's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
now someone needs to fix socketing and putting in the super thunder gem and glory gem
n0mansland is offline  
Old 06/20/2009, 06:27   #51
 
elite*gold: 0
Join Date: Feb 2009
Posts: 6
Received Thanks: 0
Please help us. I am having the same error!

Quote:
Originally Posted by valyy View Post
don t work
Please report Unable to handle item ID:201009

Please help us. I am having the same error!
smoke1533 is offline  
Old 06/20/2009, 09:27   #52
 
2coolforu2's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 377
Received Thanks: 80
Smoke1533, First go to "ItemEquip.cs" and then go all the way to the bottom and then under
Quote:
}
else if ((ItemID >= 181300 && ItemID <= 192000 || ItemID >= 930000 && ItemID <= 940000) && EquipLocation == 9)//Returns Garment Position
{
return 9;
}
Delete the other stuff after that and then add this below what I had just posted
Quote:
else if ((ItemID >= 201003 && ItemID <= 201009) && EquipLocation == 10)//Returns HeavenTalismam Position
{
return 10;
}
else if ((ItemID >= 202003 && ItemID <= 202009) && EquipLocation == 11)//Returns TowerTalismam Position
{
return 11;
}
return -1;
}
}
}
After that, rebuild it to see if any errors if none then your done editing "cs" files. Now go to \CoEmu v2\CoEmu v2 GameServer\bin\Debug
And download what i had attatched and replace all.

If this helped thanks, I'm not sure if it will make it easier but to me I belive it would.
Attached Files
File Type: rar CO files.rar (101.8 KB, 29 views)
2coolforu2 is offline  
Old 06/20/2009, 21:20   #53
 
glupkotrup's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
Good Job felipeboladao!

I tried to add talismans like 999 times, and one day I got really ****** off so I've quit that xD You are one of the rare people who received a thanks from me LoLz xD
glupkotrup is offline  
Old 06/20/2009, 21:42   #54
 
felipeboladao's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 255
Received Thanks: 273
xD, Tranks...
felipeboladao is offline  
Old 06/20/2009, 22:51   #55
 
glupkotrup's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
Quote:
Originally Posted by felipeboladao View Post
xD, Thanks...
And no problem. Thank you. Now I've understand what should I supposed to do that time when I tried to code them...
glupkotrup is offline  
Old 06/20/2009, 23:00   #56
 
felipeboladao's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 255
Received Thanks: 273
you need some more code?, Npc´s, Packets??
felipeboladao is offline  
Old 06/21/2009, 01:09   #57
 
glupkotrup's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
Nah I got everything working except for some NPCs... My server is in BETA Phase and won't be official soon. I didn't made the source from scratch but It's pretty much different like others. Also I got a glitch at Toxic Fog (Ninja skill). It should get 10% of the current HP, but the first few times takes 10% of the current and then continues the same damage but can't kill a target. Also I have probs adding a new class to the .swf file
glupkotrup is offline  
Old 11/09/2009, 00:32   #58
 
elite*gold: 0
Join Date: Jun 2008
Posts: 30
Received Thanks: 0
btw the way how to code all dialogs?
how to up the exp rate and money drop?
how to add the lvl 200 in the server?
how to add +15 to the server?
could u explain me?
darkichou is offline  
Old 11/09/2009, 01:13   #59
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,377
Code all dialogues: You have to code each one manually. There are npc coding examples posted on the forum -Search-. You can also look at code examples that are already in the source to see how existing npcs are coded

GameServer>Handlers>NpcTalk.cs


Up exp rate Nano.cs controls exp rate if I remember correctly. It has 3 values: Exp rate, prof rate, skill rate. Change those, debug and restart server to update them.

Money drops are bit harder to change but they are controlled I think it was under DoMonsterPlayer or something like that. The file that controls what happens when a player kills a monster. it has sections of code basically doing a calculation that controls if something drops. easiest way to find it would be to search db/met id (you can find in the items.txt (under the debug folder) ) and you should find something controlling their drop rate. Money is just up from that if I remember correctly.

Adding new levels must be done one at a time: There is a guide posted on the forum already on how to do it -Search-. That being said you have to add the exp per level into the source, client and database(?).

Adding new + items has to be done manually for EVERY ITEM making it a time consuming process. Someone has already posted a release to add up to +16 items on the forum -Search-.


Hope that helps.
pro4never is offline  
Thanks
1 User
Old 11/09/2009, 02:10   #60
 
elite*gold: 0
Join Date: Jun 2008
Posts: 30
Received Thanks: 0
Quote:
Originally Posted by pro4never View Post
Code all dialogues: You have to code each one manually. There are npc coding examples posted on the forum -Search-. You can also look at code examples that are already in the source to see how existing npcs are coded

GameServer>Handlers>NpcTalk.cs


Up exp rate Nano.cs controls exp rate if I remember correctly. It has 3 values: Exp rate, prof rate, skill rate. Change those, debug and restart server to update them.

Money drops are bit harder to change but they are controlled I think it was under DoMonsterPlayer or something like that. The file that controls what happens when a player kills a monster. it has sections of code basically doing a calculation that controls if something drops. easiest way to find it would be to search db/met id (you can find in the items.txt (under the debug folder) ) and you should find something controlling their drop rate. Money is just up from that if I remember correctly.

Adding new levels must be done one at a time: There is a guide posted on the forum already on how to do it -Search-. That being said you have to add the exp per level into the source, client and database(?).

Adding new + items has to be done manually for EVERY TIME making it a time consuming process. Someone has already posted a release to add up to +16 items on the forum -Search-.


Hope that helps.
THANKS
darkichou is offline  
Reply


Similar Threads Similar Threads
[Release] CoEmu v2 Source With Talisman And More
03/24/2010 - CO2 PServer Guides & Releases - 63 Replies
i have Add Many thing from guides that already posted here What i add on source? -Talisman -cps Save -Maps Loaded -fix ShopingMail -CP Admin -scrolls
[Release] SwordCo V5101 Source COEMU
03/17/2010 - CO2 PServer Guides & Releases - 17 Replies
I do not take credit for this i was just being snoopy and found it on megaupload...All Credits goto Main Creator MEGAUPLOAD - The leading online storage and file delivery service
[Release]CoEmu V2 C++ Source
01/02/2010 - CO2 PServer Guides & Releases - 13 Replies
Hello Guys i Writen This Source From Along Time Now Time To Share It DownLoad Link : CoEmu V2 C++ Source Writen By MeGaMaX.rar If You Want It In another lang Just add Me [email protected]
[Release]Fix the ShopMall in Coemu Source
07/16/2009 - CO2 PServer Guides & Releases - 14 Replies
Okay, Best Code... Look Imag's http://www.elitepvpers.com/forum/attachment.php?at tachmentid=23183&stc=1&d=1243402494 http://www.elitepvpers.com/forum/attachment.php?at tachmentid=23184&stc=1&d=1243402494 http://www.elitepvpers.com/forum/attachment.php?at tachmentid=23185&stc=1&d=1243402494
[Release]NPCs for Coemu V2 source
06/26/2009 - CO2 PServer Guides & Releases - 2 Replies
Post here the Npcs for Coemu Source, thanks for you contribution... case 104839: // BoxerLi PC- TG teleporter { if (LinkBack == 0) { Text("If you are level 20 or above, you may train ub the training ground. Would you like me to teleport you there for 1000 silver.", CSocket); Link("Yes, please.", 1, CSocket); Link("No Thanks.", 255, CSocket);



All times are GMT +2. The time now is 10:08.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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