Register for your free account! | Forgot your password?

You last visited: Today at 21:03

  • 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 10/21/2009, 12:43   #211

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Quote:
Originally Posted by lukejonesy View Post
dude! how'd you do that!!!!
whoa! well done!
He coded it?
Kiyono is offline  
Old 10/21/2009, 13:27   #212
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
Quote:
Originally Posted by sawickas View Post
How add timer and makę start up iwents in time?
make a global timer that checks the time let's say every minute or whatever , and put your events in its delegate
samehvan is offline  
Thanks
1 User
Old 10/24/2009, 21:54   #213
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 782
Received Thanks: 458
samehvan my server is getting crash because of TOO MANY MOBs... when i kill a mob born all the spawn..... how can i make for example the mobs spawns only if the max spawns / 2 is less than spawn number?

here is :

Code:
				if(SpawnNumber != MaxSpawnNumber)
				{
                    while (SpawnNumber < MaxSpawnNumber)
                    {
}
}
12tails is offline  
Old 10/24/2009, 22:48   #214
 
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
if(SpawnNumber < MaxSpawnNumber * 2)
{
while (SpawnNumber < MaxSpawnNumber)
{
}
}

Should do it oh and you should never use a != : if not equal so it can be > or <
ImmortalYashi is offline  
Thanks
1 User
Old 10/24/2009, 23:10   #215
 
elite*gold: 0
Join Date: Oct 2009
Posts: 45
Received Thanks: 3
Quote:
Originally Posted by ImmortalYashi View Post
if(SpawnNumber < MaxSpawnNumber * 2)
{
while (SpawnNumber < MaxSpawnNumber)
{
}
}

Should do it oh and you should never use a != : if not equal so it can be > or <
It makes no difference, even if the != statement returns true (say SpawnNumber=31 and MaxSpawnNumber=30)

Although the statement: SpawnNumber != MaxSpawnNumber will return true, and then proceed onto the while loop, the while loops statement SpawnNumber < MaxSpawnNumber returns false, therefore the while loop never executes itself.

+1 on the good practice though.
_Tequila_ is offline  
Old 10/25/2009, 02:10   #216
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 782
Received Thanks: 458
@ImmortalYashi
Thanks for your help.... solved many problems : D ( but i'm goting the crash yet... maybe because the game server spawn 16k mobs in the start.... but i will solve it... )
12tails is offline  
Old 10/25/2009, 09:34   #217
 
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
It's no problem m8.
ImmortalYashi is offline  
Old 10/25/2009, 12:40   #218
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 782
Received Thanks: 458
when i use scatter skill i got blue name... but i don't know why...... also whats the attack type of scatter... maybe i just forgot to add something at do monster...
12tails is offline  
Old 10/25/2009, 12:47   #219
 
elite*gold: 0
Join Date: Sep 2009
Posts: 260
Received Thanks: 59
Post your code and ehh FatalStrike has an attack type too that's what gives you the teleportation i know which one.
ImmortalYashi is offline  
Old 10/28/2009, 21:02   #220
 
killerdiggs's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 46
Received Thanks: 1
I somehow screwed up my source and now when I try to log in im instantly disconnected and i get the standard "Disconnected from server, please log in again" message. If anyone knows how to fix this pls help.
killerdiggs is offline  
Old 10/28/2009, 21:37   #221
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
Quote:
Originally Posted by killerdiggs View Post
I somehow screwed up my source and now when I try to log in im instantly disconnected and i get the standard "Disconnected from server, please log in again" message. If anyone knows how to fix this pls help.
check the last packets u edited or added , normally this happens when u send a packet that has more or less bytes than it should be
samehvan is offline  
Old 10/28/2009, 21:45   #222
 
elite*gold: 0
Join Date: Oct 2006
Posts: 75
Received Thanks: 17
and if the problem isnt in ur C# project check out ur sql
gad-legion is offline  
Old 11/03/2009, 22:16   #223
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
Requested DropMoney has been added
samehvan is offline  
Old 11/08/2009, 05:06   #224
 
elite*gold: 0
Join Date: Jan 2009
Posts: 84
Received Thanks: 9
xD some weird question but i wonna ask anyway lol

anyone wonna be kind enough to release all there public static voids? lol

EDIT:: don't worry about what is said up top.

i have a source that has most skills coded i.e; dagger, sword, blade, poleaxe etc etc

i have almost all ninja skills except fatal strike.

the one thing i am after now is fatal strike, if anyone has it could you please pm me or post it?

Thanks =)
lukejonesy is offline  
Old 12/18/2009, 12:53   #225
 
elite*gold: 0
Join Date: Feb 2009
Posts: 34
Received Thanks: 2
Please can you release more skills?

Good release by the way
itzswifty 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 21:04.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.