|
You last visited: Today at 02:57
Advertisement
[Help]Alot How To
Discussion on [Help]Alot How To within the CO2 Private Server forum part of the Conquer Online 2 category.
09/18/2008, 15:59
|
#1
|
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
|
[Help]Alot How To
hii all
I regret if my questions many something
But I largely canceled out in the Junior C Sharp(I'm beginner at C# code) and I want to learn a lot about
1 - How can the data retrieved (get data)from the row on the agenda(Table) in the database and how it can be developed with data / not change its (how i can add with/out change data in this row)[i know it wit SQl but i need it with C#]
2 - looked for the reason why the skills transfer, or call one or a monster with no given that only white smoke, but lest conversion
3 - How to Get the name of the killer, such as when to die
player a has killed by baler b??
4 - if you can help me on C-Sharp here or via MSN or YAHOO Thank you
Thank you for all
translate By Google translator
|
|
|
09/18/2008, 16:12
|
#2
|
elite*gold: 0
Join Date: Aug 2006
Posts: 227
Received Thanks: 57
|
SendPacket(General.MyPackets.Vital(MyChar.UID, <ID>, <VALUE>));
Quote:
Unknown1 = 1,
MP = 2,
Unknown = 3,
Gold = 4,
Exp = 5,
PKP = 6,
JobClass = 7,
Blessed = 8,
Stamina = 9,
HP = 10,
StatPoints = 11,
Model = 12,
Level = 13,
Spirit = 14,
Vitality = 15,
Strength = 16,
Agility = 17,
BlessedTime = 18,
DoubleExpTime = 19,
CursedTime = 21,
SecondRebornRings = 23,
AllTheCall = 26,
Hair = 27,
XpCircle = 28,
LuckyTime = 29,
Cp = 30,
|
|
|
|
09/18/2008, 16:47
|
#3
|
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
|
Quote:
Originally Posted by keving
SendPacket(General.MyPackets.Vital(MyChar.UID, <ID>, <VALUE>));
|
alot thanks for this
this is all vitals?
what u mean by "All the call"???
and r u know how i can add or call some thing from row ??
|
|
|
09/18/2008, 18:28
|
#4
|
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
|
elragal, before your next post, please refer to my first response at:
|
|
|
09/18/2008, 20:25
|
#5
|
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
|
Quote:
Originally Posted by Rechocto
elragal, before your next post, please refer to my first response at:

|
First :
thanks for this idea
but you are Wrong
Because Google translate is not good
it can't translate sentence
i'm Arabic and your Google translate is mean nothing
so i use IE Spell checking but only we use Co Short words lol
but thanks any way
|
|
|
09/18/2008, 21:16
|
#6
|
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
|
google translate does arabic.
يمكنك استخدام صور للترجمة العربية. وهذا مثال على هذا الاساس. انا لا اتكلم العربية على الاطلاق ، ولا يمكن قراءة ما يقال هنا. وكان هذا المتولده عن صور.
|
|
|
09/18/2008, 22:00
|
#7
|
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
|
Quote:
Originally Posted by Rechocto
google translate does arabic.
يمكنك استخدام صور للترجمة العربية. وهذا مثال على هذا الاساس. انا لا اتكلم العربية على الاطلاق ، ولا يمكن قراءة ما يقال هنا. وكان هذا المتولده عن صور.
|
hey i don't say that google don't translate Arabic
but ask any arabic one if he understand what you say at your another post ,tell me
Google translate word by Word so it not use grammar and also don't affect with Sentence form
see when i translate you Arabic to English with Google
Quote:
|
The attention of everyone: for future reference - if you do not speak English type your message * true at the pictures in language interpretation and translation of the English .. It will be better than doing Rules (statistically speaking to this forum, not discrimination or prejudice against non-English speakers) - Thank you.
|
it is low different but believe me that in Arabic it is meaningless because one Word at English have alot different meaning in Arabic and Google cannot know what mean u want
|
|
|
09/18/2008, 22:41
|
#8
|
elite*gold: 0
Join Date: Aug 2008
Posts: 77
Received Thanks: 63
|
Quote:
Originally Posted by keving
SendPacket(General.MyPackets.Vital(MyChar.UID, <ID>, <VALUE>));
|
thanks
|
|
|
09/19/2008, 11:18
|
#9
|
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
|
Quote:
Originally Posted by elragal_30
hey i don't say that google don't translate Arabic
but ask any arabic one if he understand what you say at your another post ,tell me
Google translate word by Word so it not use grammar and also don't affect with Sentence form
see when i translate you Arabic to English with Google
it is low different but believe me that in Arabic it is meaningless because one Word at English have alot different meaning in Arabic and Google cannot know what mean u want
|
however going back TO English from Arabic, statistically speaking.. it should have better grammar ad sentence structure than a lot of not-very-well-English-speaking Arabs =)
|
|
|
09/19/2008, 17:45
|
#10
|
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
|
Thank you for your suggestion
I hope that everyone is doing it
I start myself and I Use Google translator now
But there are those who speak English and do not use rules and using abbreviations
Overall: Thank you once again
This is not about that but I ask for help
Will re-write the subject again through an interpreter Google
|
|
|
09/19/2008, 21:32
|
#11
|
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
|
Quote:
|
1 - How can the data retrieved (get data)from the row on the agenda(Table) in the database and how it can be developed with data / not change its (how i can add with/out change data in this row)[i know it wit SQl but i need it with C#]
|
Check out Character.GetCharInfo() for an example
Quote:
|
2 - looked for the reason why the skills transfer, or call one or a monster with no given that only white smoke, but lest conversion
|
In most sources that's all that has been coded in. You will have to change their model (MyChar.Model = ) and then their stats, and at the end of the skill (You will have to determine when the skills add and code that in yourself) set the model back to the original (will either be 1001 (small male) 1002 (large male) 2001 (small female) or 2002 (large female)) and also turn the stats back to normal.
after changing the model you will want to:
Code:
SendPacket(General.MyPackets.Vital(MyChar.UID, 12, ulong.Parse(MyChar.Avatar.ToString() + MyChar.Model.ToString())));
World.UpdateSpawn(MyChar);
and when updating stats don't forget:
Code:
SendPacket(General.MyPackets.Vital(MyChar.UID, 26, MyChar.GetStat()));
Quote:
3 - How to Get the name of the killer, such as when to die
player a has killed by player b??
|
find PTarget.GetHitDie(); in your "Attack" and where damage is calculated in your UseSkill(), and add it there.. Or putting it inside GetHitDie() would require you to add a "string AttackerName" variable to the GetHitDie() function and adding that in to everywhere that GetHitDie() is called
hope this helped
|
|
|
09/20/2008, 02:20
|
#12
|
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
|
thanks
about attacker
i know that i have to add string variable at Die() or GetHitDie() but
i want to know how i can get this name
i try to put PTarget and TGtarget both not Work
(i think Ptarget >> me that attacked not attacker ,and TGTarget is may about TG stacks and scarecrow )
sorry i search alot on all variable and i can't find it
i also want to know how i can make quest work at specified time ???
sorry for if it is noob questions
thanks all
|
|
|
09/20/2008, 02:33
|
#13
|
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
|
GetHitDie(uint Damage, string AttackerName)
now rightclick GetHitDie and click Find All References..
now double click them 1 by 1, and each one will have somthign like "Target.GetHitDie(DMG)", change it to "Target.GetHitDie(DMG, Name)"
|
|
|
09/20/2008, 04:32
|
#14
|
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
|
i make this but it not work
i try but it say :
Quote:
|
Error 2 The name 'AttackerName' does not exist in the current context
|
i note that GetHitDie
is some times
Quote:
public bool GetHitDie(uint Damage)
or
Target.GetHitDie((uint)DMG,Name)
|
and if i put string AttackerName i think i must put it again to get it value
like AttackerName= ***
that is what i mean where i can get its value
thanks
|
|
|
09/20/2008, 04:37
|
#15
|
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
|
Quote:
Originally Posted by elragal_30
i make this but it not work
i try but it say :
Quote:
|
Error 2 The name 'AttackerName' does not exist in the current context
|
i note that GetHitDie
is some times
Quote:
public bool GetHitDie(uint Damage)
or
Target.GetHitDie((uint)DMG,Name)
|
and if i put string AttackerName i think i must put it again to get it value
like AttackerName= ***
that is what i mean where i can get its value
thanks
|
Code:
public bool GetHitDie(uint Damage)
needs to be
Code:
public bool GetHitDie(uint Damage, string AttackerName)
|
|
|
 |
|
Similar Threads
|
Who think this will help us alot?
04/23/2009 - CO2 Programming - 13 Replies
Well i just wantw to post 2 of my ideas...
-What about if someone make a hack like asian2 did but without keylogger?=/ it was cool cept ppl found the file had keylogger...it let u use (free) items on ur talis :o
-What about someone make something like CID for lvling =/ i still wanted to try that bot but since TQ patched the client doesnt let me try and after that CID is not longer available...only for sell...Wonder why everyone share their bot...and he decide to sell it >_<
P.S: Thnx for...
|
dc if lure alot alot
03/01/2008 - Dekaron - 5 Replies
i lure alot alot and got dc always (if lure alot) thas kinda bad
som 1 know how fix
|
How to get alot of gem !!!!!
12/25/2007 - CO2 Guides & Templates - 12 Replies
i found out if u are training u get alot of gem and +1s i trained me 1 lvl 93-94 i found 7 gem and 4 mets and 1 +1 and it took only 1 hour :D goodluck
|
How to get alot of $$.
08/29/2007 - CO2 Guides & Templates - 27 Replies
The way to get more cash iis to follow my steps. It only works on servers depending on how much mets cost. ok i'll start. first get mets or buy them for cheap prices. after go to market and sell them for higher prices(do not sell them for cheap prices) for thunder server 450k would be good. keep trying tht and u will hav 999kk in no time. if u hav any questions just repost on this.thanks
|
All times are GMT +1. The time now is 03:00.
|
|