Register for your free account! | Forgot your password?

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

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

Advertisement



[Questions] another Fail... :D

Discussion on [Questions] another Fail... :D within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2008
Posts: 94
Received Thanks: 19
[Questions] another Fail... :D

well .... im trying to code new source( everybody does now ,so im trying ... ) .
coded Npc Item Monster client map
each is a class has no relation to another
the question is ... how can i put those as an Object for Map class
no code needed . just hint what should i do .
romeoromeo is offline  
Old 07/06/2012, 18:00   #2
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
What do you mean?
I don't have a username is offline  
Thanks
1 User
Old 07/06/2012, 18:46   #3
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
From the looks of it, he created an NPC with the lookface of a monster. He wants to make it a map object or static object instead.
Zeroxelli is offline  
Thanks
1 User
Old 07/06/2012, 18:59   #4


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
I think its much simpler than that, he just wants to store objects on a map, such as monsters, players, npcs, items etc.
Korvacs is offline  
Thanks
1 User
Old 07/07/2012, 00:44   #5
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
His usage of words confuses me, seriously. I don't think he even understand the words he's using rofl.
I don't have a username is offline  
Old 07/07/2012, 09:54   #6
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by romeoromeo View Post
well .... im trying to code new source( everybody does now ,so im trying ... ) .
coded Npc Item Monster client map
each is a class has no relation to another
the question is ... how can i put those as an Object for Map class
no code needed . just hint what should i do .
Well All i understood from This is :-

You Coded Npc , Items , Monster , Client , Map as Ceparate Classes that arent connected to each other and you asking How to connect them with each other so u can use em .. Here You Are

In Client Class you can make Smthing like that

Code:
Npc NewInstance;
This would Allow you to use the Npc Class inside Client One And Dont forget to set NewInstance to New Npc(); once u would like to use it
shadowman123 is offline  
Old 07/07/2012, 12:49   #7
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
Quote:
Originally Posted by shadowman123 View Post
Well All i understood from This is :-

You Coded Npc , Items , Monster , Client , Map as Ceparate Classes that arent connected to each other and you asking How to connect them with each other so u can use em .. Here You Are

In Client Class you can make Smthing like that

Code:
Npc NewInstance;
This would Allow you to use the Npc Class inside Client One And Dont forget to set NewInstance to New Npc(); once u would like to use it
Not when he wants to use it, but when his class is initialized, hence why constructors exist.
I don't have a username is offline  
Old 07/07/2012, 17:09   #8
 
elite*gold: 0
Join Date: Aug 2008
Posts: 94
Received Thanks: 19
Greetings , thanks for all who replyed ...
exactly like Korvacs explained .
how to store (npc , mob , client , flooritem) as objects on map .
incase if i want to count all objects on map (for example ) i count all as map_object Not as npc + mob + ...........

i think i found the answer ........ which is :
make class object and inherit from it for all (player, mob , npc ... )
if that is it ... then
#request close ...
romeoromeo is offline  
Old 07/07/2012, 19:33   #9
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by romeoromeo View Post
Greetings , thanks for all who replyed ...
exactly like Korvacs explained .
how to store (npc , mob , client , flooritem) as objects on map .
incase if i want to count all objects on map (for example ) i count all as map_object Not as npc + mob + ...........

i think i found the answer ........ which is :
make class object and inherit from it for all (player, mob , npc ... )
if that is it ... then
#request close ...
Hmm Inherting 4 Classes ?? Y So you could set Instances from their Classes then use em Insted of Inherting ...idk which is better but thats what came into my mind anyways GL Dude
shadowman123 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Intervention Fail | Quickscope Fail | Lobby Fail
08/11/2011 - Call of Duty - 16 Replies
Hallo Leute, Zuerst zum Intervention Fail: ich habe seit einiger Zeit in MW2 das Problem, dass ich nurnoch Hitmaker bekomme. Ich benutze eine Intervention mit Vollmantelgeschoss und Feuerkraft(Pro) Egal ich ich stundenlang ziele, oder einen Quickscope mache, ich bekomme einfach nur einen Hitmaker. Eines meiner neusten Probleme ist, dass die Intervention garnicht mehr trifft. Egal ob Quickscope oder Hardscope, der Schuss geht daneben. In 70% der Fälle. selbst wenn ich genau vor dem...
GRÖSSTER FAIL EINES MODERATOREN ! SO EIN EPIC FAIL WIE NOCH NIE !
08/10/2011 - Off Topic - 5 Replies
.



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


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.