[src] Magic Weapons
@Diuudie
whats the problem... L2J have it... i think the scourse code on L2J forums..
its easy to get.. also WoW codes... whats the problem..?
but this games borred.. L2 CRAP WoW MORE CRAP i playd L2 1 year had server and thets SUX GAME
whats the problem... L2J have it... i think the scourse code on L2J forums..
its easy to get.. also WoW codes... whats the problem..?
but this games borred.. L2 CRAP WoW MORE CRAP i playd L2 1 year had server and thets SUX GAME
<img src='http://img357.imageshack.us/img357/505/eyecopy7ng.gif' border='0' alt='user posted image' />
i know it sux... that's why i'm coding HB...
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
The interfase and gameplay are easy and fun to play with, it's just the game itself isn't wide-scaled enough and that's exactly what we're working on.
Besides providing alot of new things to explore for the players, it's also fun for us to expand this game, it's not hard at all and it most of the time pays off when you work hard and things seems successfull
*Neuken, you've always been a criticiser and I don't blame you for it. In the end we all need to get pushed back in our shoes before we start thinking too much of ourselfs.
Besides providing alot of new things to explore for the players, it's also fun for us to expand this game, it's not hard at all and it most of the time pays off when you work hard and things seems successfull
*Neuken, you've always been a criticiser and I don't blame you for it. In the end we all need to get pushed back in our shoes before we start thinking too much of ourselfs.
Helbreath II Project Manager & All round Developer. <br><i>(Don't worry, we're not dead)</i>
Serious? Shit, I better fix that.. It's supposed to shoot magicjonisan wrote: this code rocks!
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
Lol
Just would it be fun to get some wep what cast's gm kill when hit ? xP
Just would it be fun to get some wep what cast's gm kill when hit ? xP
<img src='http://i72.imagethrust.com/i/160466/newww.png' border='0' alt='user posted image' /><br><br><img src='http://img154.imageshack.us/img154/9360/tagi7wk.png' border='0' alt='user posted image' /><br><br><img src='http://img446.imageshack.us/img446/6094/uusi0xr.png' border='0' alt='user posted image' /><br><br><img src='http://img73.imageshack.us/img73/9738/xpuser3xy.png' border='0' alt='user posted image' /><br><br><b><u><span style='color:red'>Noobie List:</span></u></b><br><span style='color:blue'><i>BlueChristmas</i></span>
Yes it's possible to actualy cast spells with weapons. I believe Shetar did somthing like that at HB2. The only issue with that is when you hit with the sword and magic at the same time you don't see how much damage they both did because the client only shows the most recent damage above the victim's head. But if you don't mind dealing with this drawback then you're more then welcome to code it yourselfjonisan wrote: Lol
Just would it be fun to get some wep what cast's gm kill when hit ? xP
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
Disadvantage of executing a spell next to a weapon's damage indeed is the fact you don't get to see both damages. Besides, the weapon is completely useless if the target has PFM / AMP. This ofcourse can be avoided but negatives the reality behind the weapons and eventually behind the gameplay..
My advice is to give those magical weapons a slight damage bonus (and a possibility, another magic sprite and a bigger damage bonus when using dash / critical attack)
My advice is to give those magical weapons a slight damage bonus (and a possibility, another magic sprite and a bigger damage bonus when using dash / critical attack)
Helbreath II Project Manager & All round Developer. <br><i>(Don't worry, we're not dead)</i>
i think, it would be very fun, if add the magic dmg too to magic weapons, that they do extra dmg, like Shetar sayd. And the fun thing about it is that do some weapon, thats magic effect is "recall" and if u hit with that someone, it recalls him to his town.. - I am not sure, that it is possible or not.. Becouse recall has any effect only, if u recall urself.
But one good thing is witf Cancellation. U use magic weap. with canc on someone, who is AMPed/PFMed/PFAed and it cancs him.. Or with invisible effect . Hit someone, and he goes inv
<span style='color:red'>only some ideas :rolleyes: </span>
But one good thing is witf Cancellation. U use magic weap. with canc on someone, who is AMPed/PFMed/PFAed and it cancs him.. Or with invisible effect . Hit someone, and he goes inv
<span style='color:red'>only some ideas :rolleyes: </span>
Sorry for doublepost, but i cant find that ---> <span style='font-size:8pt;line-height:100%'>thats last line of code.</span>
from 2.24c client.cpp
Someone please help me! :unsure:
Code: Select all
(m_pClientList[iClientH]->m_bIsInsideOwnTown == FALSE)) {
from 2.24c client.cpp
Someone please help me! :unsure:
Search for other code fragments from that snippet. If you still cant find it then try the 2.24b download off helbreathss.tk, i think that is the one i used.Alz wrote: Sorry for doublepost, but i cant find that ---><span style='font-size:8pt;line-height:100%'>thats last line of code.</span>Code: Select all
(m_pClientList[iClientH]->m_bIsInsideOwnTown == FALSE)) {
from 2.24c client.cpp
Someone please help me! :unsure:
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
I put my code under :
and above in 2.24c source.
Code: Select all
} else if (var_AC != FALSE) {
sItemIndex = m_pClientList[iClientH]->m_sItemEquipmentStatus[ DEF_EQUIPPOS_TWOHAND ];
if (sItemIndex != -1) {
if (m_pClientList[iClientH]->m_pItemList[sItemIndex] == NULL) return 0;
if (m_pClientList[iClientH]->m_pItemList[sItemIndex]->m_sIDnum == 845) {
cDir = m_Misc.cGetNextMoveDir(sX, sY, dX, dY);
if ((m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->bCheckFlySpaceAvailable(sX, sY, cDir, sOwner)) != FALSE) {
wType = 0;
}
} else {
if ((sAbsX > 1) || (sAbsY > 1)) wType = 0;
}
} else {
if ((sAbsX > 1) || (sAbsY > 1)) wType = 0;
}
} else {
if ((sAbsX > 1) || (sAbsY > 1)) wType = 0;
}
}
Code: Select all
ClearSkillUsingStatus(iClientH);
m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->ClearOwner(0, iClientH, DEF_OWNERTYPE_PLAYER, sX, sY);
m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->SetOwner(iClientH, DEF_OWNERTYPE_PLAYER, sX, sY);
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
Edit
------
Tafka Add me to msn - Alz@DickMySuck.com
i cant understand ur code.. Like where is the magic effect id or smth?
btw.. i didnt find the text in 2.24b source too
SOMEONE HELP ME!!
------
Tafka Add me to msn - Alz@DickMySuck.com
i cant understand ur code.. Like where is the magic effect id or smth?
btw.. i didnt find the text in 2.24b source too
SOMEONE HELP ME!!
i made a /showdmg command that the players can invoke so that they can see the damage of hits >127, as well as stacking hits for things like blizz. I got lazy and still have it showing magic damage on targets that are invisible so im going to need to change that slightly before i post it.. meh screw it
the command to set the i_showdmg var (needs to be added in client.h)
and create the calls to this in the chat handler (you know how to do that)
this function is the one that you call from the damage functions (preferable right before or after it as actually applyed to the targets health)
put the invis check code right where the comment is if you feel like it
sorry for the code parts that suck, i only have old code on here so its a little off, dont really need the ZeroMemory(cInfoString, sizeof(cInfoString)); with the wsprintf's =/ i dont feel like fixing that right now
the command to set the i_showdmg var (needs to be added in client.h)
and create the calls to this in the chat handler (you know how to do that)
Code: Select all
void CGame::AdminOrder_ShowDmg(int iClientH)
{
char cStatMessage[80];
if (m_pClientList[iClientH] == NULL) return;
if(m_pClientList[iClientH]->i_showdmg == 1)
{
m_pClientList[iClientH]->i_showdmg = 0;
}else{
m_pClientList[iClientH]->i_showdmg = 1;
wsprintf(cStatMessage, "Command: ShowDmg Enabled");
ShowClientMsg(iClientH, cStatMessage);
}
return;
}
void CGame::AdminOrder_ShowDmgLog(int iClientH)
{
char cStatMessage[80];
if (m_pClientList[iClientH] == NULL) return;
if(m_pClientList[iClientH]->i_showdmg == 2)
{
m_pClientList[iClientH]->i_showdmg = 0;
}else{
m_pClientList[iClientH]->i_showdmg = 2;
wsprintf(cStatMessage, "Command: ShowDmgLog Enabled");
ShowClientMsg(iClientH, cStatMessage);
}
return;
}
put the invis check code right where the comment is if you feel like it
the DEF_NOTIFY_IPACCOUNTINFO shows the text in the top left hand corner in white, i think it stands out not to obtrusive and doesnt flood your chatbox, thats what showdmglog is forvoid CGame::ShowClientDmg(int iClientH,char cTargetType, int iTargetH ,int iDamage){
char cInfoString[80];
if(m_pClientList[iClientH]->i_showdmg == 0)return;
ZeroMemory(cInfoString, sizeof(cInfoString));
// if target is invisible return and do nothing
if(cTargetType == DEF_OWNERTYPE_PLAYER){
wsprintf(cInfoString, "Player(%s) Level(%i) Damage(%i)",m_pClientList[iTargetH]->m_cCharName,
m_pClientList[iTargetH]->m_iLevel, iDamage);
}else if(cTargetType == DEF_OWNERTYPE_NPC){
wsprintf(cInfoString, "Npc(%s) Damage(%i)",m_pNpcList[iTargetH]->m_cNpcName, iDamage);
}
if( m_pClientList[iClientH]->i_showdmg == 1)
{
SendNotifyMsg(NULL, iClientH, DEF_NOTIFY_IPACCOUNTINFO, NULL, NULL, NULL, cInfoString);
}else{
ShowClientMsg(iClientH, cInfoString);
}
return;
}
sorry for the code parts that suck, i only have old code on here so its a little off, dont really need the ZeroMemory(cInfoString, sizeof(cInfoString)); with the wsprintf's =/ i dont feel like fixing that right now
-><-
Your talking about client and sprites up there? wtf this thread has gone
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />