Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 22:45

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

Advertisement



Thrilling Spook Action !!

Discussion on Thrilling Spook Action !! within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 10/17/2011, 23:26   #16
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by { Angelius } View Post
nope it's not a skill or an effect type. its packet 1101 and it has more than 30 mixed type of effects . i dont remember its like 5 types of ground shakes mixed with screen darkness with different looping times depending on the Sub type you send/screen shifting.
Sorry if I have this backwards but 1101 is ground item/effect packet correct? If so then you're sending effect id's to certain screen locations correct?

I could have sworn certain skills did at least some of what he's talking about... I'm prob wrong though.

Best bet would be to just packet log it from real conquer :P
pro4never is offline  
Old 10/17/2011, 23:56   #17
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by pro4never View Post
Sorry if I have this backwards but 1101 is ground item/effect packet correct? If so then you're sending effect id's to certain screen locations correct?

I could have sworn certain skills did at least some of what he's talking about... I'm prob wrong though.

Best bet would be to just packet log it from real conquer :P
DontSpeakeToMe sent me how to fix summon more than one monster , now can you help me with how to make monster if died chance to drop items ?

i tried with it , so here is my codes.

PHP Code:
            if (this.Name == "ThrillingSpook")
            {
                if (
killer.QQ1 == 0)
                {
                    
Random R = new Random();
                    
int Nr R.Next(15);
                    if (
Nr == 1killer.Owner.Inventory.Add(80061301);
                    
ServerBase.Kernel.SendWorldMessage(new Network.GamePackets.Message(" Congratulations " killer.Name "Has Killed " Owner.Name " And Won Soul 1 Item!"System.Drawing.Color.Yellow2011), ServerBase.Kernel.GamePool.Values);
                    if (
Nr == 2killer.Owner.Inventory.Add(80041501);
                    
ServerBase.Kernel.SendWorldMessage(new Network.GamePackets.Message(" Congratulations " killer.Name "Has Killed " Owner.Name " And Won Soul 2 Item!"System.Drawing.Color.Yellow2011), ServerBase.Kernel.GamePool.Values);
                    if (
Nr == 3killer.Owner.Inventory.Add(80042001);
                    
ServerBase.Kernel.SendWorldMessage(new Network.GamePackets.Message(" Congratulations " killer.Name "Has Killed " Owner.Name " And Won Soul 3 Item!"System.Drawing.Color.Yellow2011), ServerBase.Kernel.GamePool.Values);
                    if (
Nr == 4killer.Owner.Inventory.Add(80051301);
                    
ServerBase.Kernel.SendWorldMessage(new Network.GamePackets.Message(" Congratulations " killer.Name "Has Killed " Owner.Name " And Won Soul 4 Item!"System.Drawing.Color.Yellow2011), ServerBase.Kernel.GamePool.Values);
                    if (
Nr == 5killer.Owner.Inventory.Add(80001701);
                    
ServerBase.Kernel.SendWorldMessage(new Network.GamePackets.Message(" Congratulations " killer.Name "Has Killed " Owner.Name " And Won Soul 5 Item!"System.Drawing.Color.Yellow2011), ServerBase.Kernel.GamePool.Values);
                    
killer.QQ1 += 1;
                }
                else
                {
                    
ServerBase.Kernel.SendWorldMessage(new Network.GamePackets.Message(" you can only claim one a day, even if you kill more than one"System.Drawing.Color.Yellow2011), ServerBase.Kernel.GamePool.Values);
                } 
but its always select

PHP Code:
 if (Nr == 5killer.Owner.Inventory.Add(80001701);
                    
ServerBase.Kernel.SendWorldMessage(new Network.GamePackets.Message(" Congratulations " killer.Name "Has Killed " Owner.Name " And Won Soul 5 Item!"System.Drawing.Color.Yellow2011), ServerBase.Kernel.GamePool.Values); 
abdeen is offline  
Old 10/18/2011, 01:11   #18
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
the way you have that code written will print ALL of the text lines...

Are you sure it's actually passing the Nr == 5 check? Because you're using a string of if statements, it will check them all regardless of what Nr is.

Does it actually DO the killer.Owner.Inventory.Add(800017, 0, 1); line or does it just breakpoint at if (Nr == 5) ?


Honestly you just need to take some time and learn some basic programming...

Your entire problem here is just you not being familiar with BASIC programming knowledge and how C# works.
pro4never is offline  
Old 10/18/2011, 01:16   #19
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by pro4never View Post
the way you have that code written will print ALL of the text lines...

Are you sure it's actually passing the Nr == 5 check? Because you're using a string of if statements, it will check them all regardless of what Nr is.

Does it actually DO the killer.Owner.Inventory.Add(800017, 0, 1); line or does it just breakpoint at if (Nr == 5) ?


Honestly you just need to take some time and learn some basic programming...

Your entire problem here is just you not being familiar with BASIC programming knowledge and how C# works.

i have coded it for 5 chances , and i made the message for each item with number , like :

someone has killed Abdeen, and won soul item 1

someone has killed Abdeen, and won soul item 2

someone has killed Abdeen, and won soul item 3


like that , and its always showing me the 5th message , but not always rewarding me the item .
abdeen is offline  
Old 10/18/2011, 05:29   #20
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Because those are not even part of your check... That's why i'm saying to take a few days>weeks learning BASIC C# syntax.

What you are writing is saying...

if I rolled a 1 give me one item with ID: 800613


Tell the server that they won one soul item

if I rolled a two give me an item with ID:X

tell the server they won two soul items.


They aren't connected statements.

You use { } to show things that belong together. If statements include ONE statement

if X is true then Y happens.


As you have it, Y is just the AddItem statement and does not include the send to server messages... use brackets to combine them into a multi part statement.

I think that's about the simplest way I can describe it.
pro4never is offline  
Old 10/18/2011, 08:44   #21
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 992
Received Thanks: 1,110
Quote:
Originally Posted by pro4never View Post
Sorry if I have this backwards but 1101 is ground item/effect packet correct? If so then you're sending effect id's to certain screen locations correct?
exactly. but.....there is another use for it
you dont need any effect id's to show the effect.
data 4 = 1 - to whatever number of effects it has
data 12 = X
data 14 = Y
data 18 = 13
{ Angelius } is offline  
Thanks
1 User
Old 10/19/2011, 23:36   #22
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by { Angelius } View Post
exactly. but.....there is another use for it
you dont need any effect id's to show the effect.
data 4 = 1 - to whatever number of effects it has
data 12 = X
data 14 = Y
data 18 = 13
can you post the code of it here please ?
abdeen is offline  
Old 09/17/2013, 00:09   #23
 
elite*gold: 0
Join Date: May 2011
Posts: 648
Received Thanks: 413

You mean that?

0 = 20
2 = 0x44D
4 = UID
8 = 1
12 = X
14 = Y
16 = 13

Have fun.
Y u k i is offline  
Thanks
1 User
Old 09/17/2013, 00:23   #24

 
GameHackerPM's Avatar
 
elite*gold: 153
Join Date: Mar 2011
Posts: 634
Received Thanks: 489
Quote:
Originally Posted by Y u k i View Post

You mean that?

0 = 20
2 = 0x44D
4 = UID
8 = 1
12 = X
14 = Y
16 = 13

Have fun.
Haha, you post the important thing!
I think he can do it easily now!
GameHackerPM is offline  
Old 09/17/2013, 00:30   #25
 
elite*gold: 0
Join Date: Feb 2006
Posts: 726
Received Thanks: 271
Well the thread is 2 years old, I kinda doubt they are still working on this issue.
Aceking is offline  
Old 09/17/2013, 00:34   #26
 
elite*gold: 0
Join Date: May 2011
Posts: 648
Received Thanks: 413
Quote:
Originally Posted by GameHacker-PM- View Post
Haha, you post the important thing!
I think he can do it easily now!
Betta be o___o xD

Quote:
Originally Posted by Aceking View Post
Well the thread is 2 years old, I kinda doubt they are still working on this issue.
Im somewhat sure that he still needs that
Y u k i is offline  
Thanks
1 User
Old 09/17/2013, 01:02   #27
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
check ProjectX Source MapSkill or Map Effect

or just use this
abdoumatrix is offline  
Thanks
1 User
Old 09/17/2013, 12:53   #28
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by Y u k i View Post
Betta be o___o xD



I'm somewhat sure that he still needs that
Actually i don't need this code anymore you know ... i left new co O.o

Thank you everybody for trying to help each other .. we all appreciate that .
abdeen is offline  
Old 09/19/2013, 03:34   #29
 
elite*gold: 0
Join Date: Apr 2012
Posts: 58
Received Thanks: 1
It's just a subtype effect = 13 in FloorPacket and effect number is 4 or 5 or 6 just trying to find it by your own
Mero.El.Omda is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
i need help about thrilling spook!!!
09/14/2011 - Conquer Online 2 - 1 Replies
well... 4 days ago i kill the thrilling spook 2 times and i wait for 3 long long days... and still say i already kill it soo... i cant kill more thrilling spook :<.... iam bugged? how can i kiill iot againn plx anyone tellme i really need to kill it :<!!!!
need help to kill trilling spook
02/20/2011 - Conquer Online 2 - 0 Replies
any 1 have trick to kill trilling spook ?
Spook
12/26/2010 - Conquer Online 2 - 0 Replies
does anyone know where the file to the spook image is because i wanna replace or dele so i can see the rock atk better instead of always having to tab



All times are GMT +1. The time now is 22:46.


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