|
You last visited: Today at 15:22
Advertisement
some problems 5517
Discussion on some problems 5517 within the CO2 Private Server forum part of the Conquer Online 2 category.
05/01/2012, 18:49
|
#1
|
elite*gold: 0
Join Date: Aug 2008
Posts: 144
Received Thanks: 18
|
some problems 5517
i want a code to call the monster by its id not the name for trinity source
and when i talk to the npc who put the souls into items the windows open and close immeditly (was working fine)
|
|
|
05/01/2012, 19:09
|
#2
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
|
Look how the name is added, based on that add the part for the id.
|
|
|
05/01/2012, 20:30
|
#3
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Replace Name with UID its too much simple ..u couldnt even try to work on it
just Implenet it from any other working source
|
|
|
05/01/2012, 20:37
|
#4
|
elite*gold: 0
Join Date: Nov 2009
Posts: 342
Received Thanks: 17
|
totally agreed with shadowman123
|
|
|
05/01/2012, 21:23
|
#5
|
elite*gold: 0
Join Date: Aug 2008
Posts: 144
Received Thanks: 18
|
i want only to be sure that is the right way to make it
i mainly make that post for the second problem
thanks shadowman123 and |xabi| u know always Egyption like the easy way.
|
|
|
05/01/2012, 21:40
|
#6
|
elite*gold: 0
Join Date: Mar 2012
Posts: 286
Received Thanks: 71
|
Quote:
|
Originally Posted by zoro7070
always Egyption like the easy way.
|
You shouldn't say..
|
|
|
05/01/2012, 21:55
|
#7
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
|
Quote:
Originally Posted by shadowman123
Replace Name with UID its too much simple ..u couldnt even try to work on it
just Implenet it from any other working source
|
No, that won't change anything but naming it different.
It won't affect anything else and he will probably end up making a new thread asking for help, instead of reading my reply...
|
|
|
05/02/2012, 00:26
|
#8
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Quote:
Originally Posted by turk55
No, that won't change anything but naming it different.
It won't affect anything else and he will probably end up making a new thread asking for help, instead of reading my reply...
|
you miss understood what he want to do he said calling Monster using another Variable rather than name so UID or Mesh would be His Choise and i go for UID ...so Through monster UID Would work Efficiently
Quote:
Originally Posted by zoro7070
i want only to be sure that is the right way to make it
i mainly make that post for the second problem
thanks shadowman123 and |xabi| u know always Egyption like the easy way.
|
i dont like easy ways btw i like the most efficient way which create what i want
Beisde that No Egyptians only would do that every1 in this world would do the same
Your 2nd Problem ... try to check how it works in other sources and implement it in Your source
|
|
|
05/02/2012, 00:44
|
#9
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
|
Quote:
Originally Posted by shadowman123
you miss understood what he want to do he said calling Monster using another Variable rather than name so UID or Mesh would be His Choise and i go for UID ...so Through monster UID Would work Efficiently
i dont like easy ways btw i like the most efficient way which create what i want
Beisde that No Egyptians only would do that every1 in this world would do the same
Your 2nd Problem ... try to check how it works in other sources and implement it in Your source
|
As far as i understood he wants do to this basically
Code:
if (monster.id == 4152)
{
}
and that wont happen with what you said
|
|
|
05/02/2012, 01:29
|
#10
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Quote:
Originally Posted by turk55
As far as i understood he wants do to this basically
Code:
if (monster.id == 4152)
{
}
and that wont happen with what you said
|
UID is Already Existed in The Database so he can Call it using UID
|
|
|
05/02/2012, 08:51
|
#11
|
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
|
You should never get a monster by its name anyway, unless it was for a cmd that GM's could use to spawn or something, but even then you shouldn't.
Checking up for an integer is much faster than checking up a string.
@OP
Your monster class must have something like Mob.ID instead Mob.Name. It would be weird if you only stored monsters by name in a dictionary.
|
|
|
05/02/2012, 16:04
|
#12
|
elite*gold: 0
Join Date: Aug 2008
Posts: 144
Received Thanks: 18
|
i make it by using the id thanks all
but i want the solve for the second problem
|
|
|
05/03/2012, 03:04
|
#13
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Quote:
Originally Posted by I don't have a username
You should never get a monster by its name anyway, unless it was for a cmd that GM's could use to spawn or something, but even then you shouldn't.
Checking up for an integer is much faster than checking up a string.
@OP
Your monster class must have something like Mob.ID instead Mob.Name. It would be weird if you only stored monsters by name in a dictionary.
|
y i shouldnt do this .. in the monstertable in impulse source it Checks the monster using its Name
|
|
|
05/06/2012, 15:16
|
#14
|
elite*gold: 0
Join Date: Aug 2008
Posts: 144
Received Thanks: 18
|
any idea about how to solve my second problem
that window open and close immediately
|
|
|
Similar Threads
|
help me source 5517 plz :(
10/20/2012 - CO2 Private Server - 11 Replies
http://img5.pimp-my-profile.com/i57/5/9/30/f_a9b54 b44b2ca.jpg
hello need help with that mistake a person who knows how
repair it if you could tell me how to fix it
I will appreciate endlessly only error is that I
Please ask him to give me help with that
58 errors and error screen time GameState.cs 842 help me plz :(
|
SOURCE 5517 SHUTDOWN
12/21/2011 - CO2 Private Server - 5 Replies
----Exception message----
Source array was not long enough. Check srcIndex and length, and the array's lower bounds.
----End of exception message----
----Stack trace----
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Collections.Generic.Queue`1.SetCapacity(Int 32 capacity)
at System.Collections.Generic.Queue`1.Enqueue(T item)
at...
|
All times are GMT +1. The time now is 15:23.
|
|