|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days. |
 |
|
 |

07-14-2004, 08:03 AM
|
Fire Beetle
|
|
Join Date: Jul 2004
Posts: 4
|
|
AA fix
i Hope this helps,
case 36:
MemorizeSpell(8,2738,3);
CastToMob()->CastSpell(2738,this->GetID());
timermod=7200;
break;
case 37:
MemorizeSpell(8,1427,3);
CastToMob()->CastSpell(1427,this->GetID());
timermod=7200;
break;
case 38:
MemorizeSpell(8,2740,3);
CastToMob()->CastSpell(2740,this->GetID());
timermod=7200;
break;
case 39:
MemorizeSpell(8,2690,3);
CastToMob()->CastSpell(2690,this->GetID());
timermod=7200;
break;
case 40:
MemorizeSpell(8,2776,3);
CastToMob()->CastSpell(2776,this->GetID());
timermod=7200;
break;
case 46:
MemorizeSpell(8,2642,3);
CastToMob()->CastSpell(1427,this->GetID());
timermod=7200;
break;
case 47:
MemorizeSpell(8,2749,3);
CastToMob()->CastSpell(2749,this->GetID());
timermod=7200;
break;
case 53:
MemorizeSpell(8,2945,3);
CastToMob()->CastSpell(2945,this->GetID());
timermod=7200;
break;
case 58:
MemorizeSpell(8,2654,3);
CastToMob()->CastSpell(2654,this->GetID());
timermod=7200;
break;
case 60:
MemorizeSpell(8,2754,3);
CastToMob()->CastSpell(2754,this->GetID());
timermod=7200;
break;
case 61:
MemorizeSpell(8,2795,3);
CastToMob()->CastSpell(2795,this->GetID());
timermod=7200;
break;
case 62:
MemorizeSpell(8,2798,3);
CastToMob()->CastSpell(2798,this->GetID());
timermod=7200;
break;
case 63:
MemorizeSpell(8,2792,3);
CastToMob()->CastSpell(2792,this->GetID());
timermod=7200;
break;
case 64:
MemorizeSpell(8,2789,3);
CastToMob()->CastSpell(2789,this->GetID());
timermod=7200;
break;
case 65:
MemorizeSpell(8,331,3);
CastToMob()->CastSpell(331,this->GetID());
timermod=7200;
break;
case 66:
MemorizeSpell(8,2691,3);
CastToMob()->CastSpell(2691,this->GetID());
timermod=7200;
break;
case 68:
MemorizeSpell(8,2488,3);
CastToMob()->CastSpell(2488,this->GetID());
timermod=7200;
break;
case 69:
MemorizeSpell(8,2706,3);
CastToMob()->CastSpell(2706,this->GetID());
timermod=7200;
break;
case 70:
MemorizeSpell(8,2707,3);
CastToMob()->CastSpell(2707,this->GetID());
timermod=7200;
break;
case 73:
MemorizeSpell(8,3284,3);
CastToMob()->CastSpell(3284,this->GetID());
timermod=7200;
break;
case 74:
MemorizeSpell(8,2738,3);
CastToMob()->CastSpell(2738,this->GetID());
timermod=7200;
break;
case 76:
MemorizeSpell(8,2775,3);
CastToMob()->CastSpell(2775,this->GetID());
timermod=7200;
break;
case 77:
MemorizeSpell(8,2782,3);
CastToMob()->CastSpell(2782,this->GetID());
timermod=7200;
break;
case 78:
MemorizeSpell(8,,3);
CastToMob()->CastSpell(3212,this->GetID());
timermod=7200;
break;
case 80:
MemorizeSpell(8,2765,3);
CastToMob()->CastSpell(2765,this->GetID());
timermod=7200;
break;
case 85:
MemorizeSpell(8,2783,3);
CastToMob()->CastSpell(2783,this->GetID());
timermod=7200;
break;
case 86:
MemorizeSpell(8,2964,3);
CastToMob()->CastSpell(2964,this->GetID());
timermod=7200;
break;
case 87:
MemorizeSpell(8,610,3);
CastToMob()->CastSpell(610,this->GetID());
timermod=7200;
break;
case 97:
MemorizeSpell(8,3328,3);
CastToMob()->CastSpell(3328,this->GetID());
timermod=7200;
break;
timer is the only thing that should be left broken, ty for your time, any suggestions/comments would be helpful, also i want to give credit for Doodman2 he helped alot throughout this.
|
 |
|
 |

07-14-2004, 11:49 AM
|
Fire Beetle
|
|
Join Date: Jul 2004
Posts: 4
|
|
re
Should be added into client.cpp
Code:
void Client::ActivateAA(int activate){
int32 timermod=0;
switch(activate){
case 50:
MemorizeSpell(8,2750,3);
CastToMob()->CastSpell(2750,this->GetID());
timermod=7200;
break;
case 51:
MemorizeSpell(8,2751,3);
CastToMob()->CastSpell(2751,target->GetID());
timermod=112;
break;
case 80:
MemorizeSpell(8,2765,3);
CastToMob()->CastSpell(2765,this->GetID());
timermod=7;
break;
}
|
 |
|
 |

07-14-2004, 12:42 PM
|
Fire Beetle
|
|
Join Date: Jul 2004
Posts: 4
|
|
update
Last of the aa's i found
Code:
case 170:
MemorizeSpell(8,3255,3);
CastToMob()->CastSpell(3255,this->GetID());
timermod=7200;
break;
case 171:
MemorizeSpell(8,3274,3);
CastToMob()->CastSpell(3274,target->GetID());
timermod=112;
break;
case 172:
MemorizeSpell(8,3338,3);
CastToMob()->CastSpell(3338,this->GetID());
timermod=7;
break;
case 173:
MemorizeSpell(8,3258,3);
CastToMob()->CastSpell(3258,this->GetID());
timermod=7200;
break;
case 174:
MemorizeSpell(8,3265,3);
CastToMob()->CastSpell(3265,target->GetID());
timermod=112;
break;
case 175:
MemorizeSpell(8,3268,3);
CastToMob()->CastSpell(3268,this->GetID());
timermod=7;
break;
case 177:
MemorizeSpell(8,3283,3);
CastToMob()->CastSpell(3283,this->GetID());
timermod=7200;
break;
case 178:
MemorizeSpell(8,3250,3);
CastToMob()->CastSpell(3250,target->GetID());
timermod=112;
break;
case 179:
MemorizeSpell(8,3264,3);
CastToMob()->CastSpell(3264,this->GetID());
timermod=7;
break;
case 180:
MemorizeSpell(8,3261,3);
CastToMob()->CastSpell(3261,this->GetID());
timermod=7200;
break;
case 184:
MemorizeSpell(8,3271,3);
CastToMob()->CastSpell(3271,target->GetID());
timermod=112;
break;
case 185:
MemorizeSpell(8,3279,3);
CastToMob()->CastSpell(3279,this->GetID());
timermod=7;
break;
case 199:
MemorizeSpell(8,3282,3);
CastToMob()->CastSpell(3282,this->GetID());
timermod=7200;
break;
case 204:
MemorizeSpell(8,2039,3);
CastToMob()->CastSpell(3265,target->GetID());
timermod=112;
break;
case 207:
MemorizeSpell(8,3288,3);
CastToMob()->CastSpell(3288,this->GetID());
timermod=7;
break;
case 212:
MemorizeSpell(8,5243,3);
CastToMob()->CastSpell(5243,this->GetID());
timermod=7200;
break;
case 214:
MemorizeSpell(8,1059,3);
CastToMob()->CastSpell(1059,target->GetID());
timermod=112;
break;
case 226:
MemorizeSpell(8,2751,3);
CastToMob()->CastSpell(2751,this->GetID());
timermod=7;
break;
case 244:
MemorizeSpell(8,5112,3);
CastToMob()->CastSpell(5122,this->GetID());
timermod=7200;
break;
case 246:
MemorizeSpell(8,2272,3);
CastToMob()->CastSpell(2272,target->GetID());
timermod=112;
break;
case 247:
MemorizeSpell(8,4788,3);
CastToMob()->CastSpell(4788,this->GetID());
timermod=7;
break;
case 253:
MemorizeSpell(8,4546,3);
CastToMob()->CastSpell(4546,this->GetID());
timermod=7200;
break;
case 254:
MemorizeSpell(8,4551,3);
CastToMob()->CastSpell(4551,target->GetID());
timermod=112;
break;
case 255:
MemorizeSpell(8,4790,3);
CastToMob()->CastSpell(4790,this->GetID());
timermod=7;
break;
case 257:
MemorizeSpell(8,4796,3);
CastToMob()->CastSpell(4796,this->GetID());
timermod=7200;
break;
case 266:
MemorizeSpell(8,5478,3);
CastToMob()->CastSpell(5478,target->GetID());
timermod=112;
break;
case 272:
MemorizeSpell(8,4688,3);
CastToMob()->CastSpell(4688,this->GetID());
timermod=7;
break;
case 285:
MemorizeSpell(8,3299,3);
CastToMob()->CastSpell(3299,this->GetID());
timermod=7200;
break;
case 289:
MemorizeSpell(8,3565,3);
CastToMob()->CastSpell(3565,target->GetID());
timermod=112;
break;
case 297:
MemorizeSpell(8,4826,3);
CastToMob()->CastSpell(4826,this->GetID());
timermod=7;
break;
case 300:
MemorizeSpell(8,4925,3);
CastToMob()->CastSpell(4925,this->GetID());
timermod=7200;
break;
case 303:
MemorizeSpell(8,4833,3);
CastToMob()->CastSpell(4833,target->GetID());
timermod=112;
break;
case 304:
MemorizeSpell(8,4834,3);
CastToMob()->CastSpell(4834,this->GetID());
timermod=7;
break;
case 305:
MemorizeSpell(8,4835,3);
CastToMob()->CastSpell(4835,this->GetID());
timermod=7200;
break;
case 308:
MemorizeSpell(8,5245,3);
CastToMob()->CastSpell(5245,target->GetID());
timermod=112;
break;
case 175:
MemorizeSpell(8,3268,3);
CastToMob()->CastSpell(3268,this->GetID());
timermod=7;
break;
working on timers now, ill wait until im coplemtly finished with the timers before i post the final product!
|
 |
|
 |
 |
|
 |

07-14-2004, 02:30 PM
|
Fire Beetle
|
|
Join Date: Jul 2004
Posts: 4
|
|
Final edition
Here is the final edition of the aa's this is non planar aa's. I will post the planar activated aa's as soon as i get them, but please, give me some feedback lol!
Code:
void Client::ActivateAA(int activate){
int32 timermod=0;
switch(activate){
// ======Cleric Abilitie's=======
// Divine Resurrection, reuse time 18hours
case 36:
MemorizeSpell(8,2738,3);
CastToMob()->CastSpell(2738,this->GetID());
timermod=64800;
break;
// Innate invis to Undead, reuse time 7 secs
case 37:
MemorizeSpell(8,1427,3);
CastToMob()->CastSpell(1427,this->GetID());
timermod=7;
break;
// Celestial Regeneration, reuse time 15 mins
case 38:
MemorizeSpell(8,2740,3);
CastToMob()->CastSpell(2740,this->GetID());
timermod=8640;
break;
// Bestow Divine Aura, reuse time 2 hour 24 mins
case 39:
MemorizeSpell(8,2690,3);
CastToMob()->CastSpell(2690,this->GetID());
timermod=7200;
break;
// Turn Undead, reuse time 1 hour 12 mins
case 40:
MemorizeSpell(8,2776,3);
CastToMob()->CastSpell(2776,this->GetID());
timermod=4320;
break;
// Purify Soul, resuse time 30 mins
case 46:
MemorizeSpell(8,2642,3);
CastToMob()->CastSpell(1427,this->GetID());
timermod=1800;
break;
// ===========Druid===========
// Exodus, reuse time 1 hour 20 mins
case 43:
MemorizeSpell(8,2771,3);
CastToMob()->CastSpell(2771,this->GetID());
timermod=4800;
break;
// ==========Shaman===========
// Cannibalization, reuse time 30 seconds
case 47:
MemorizeSpell(8,2749,3);
CastToMob()->CastSpell(2749,this->GetID());
timermod=4180;
break;
// Rabid Bear, reuse time 2 hours
case 50:
MemorizeSpell(8,2750,3);
CastToMob()->CastSpell(2750,this->GetID());
timermod=7200;
break;
// =========Wizard===========
// Manaburn, reuse time 2hour 24 mins
case 51:
MemorizeSpell(8,2751,3);
CastToMob()->CastSpell(2751,target->GetID());
timermod=8640;
break;
// Nexus Gate, reuse time 1 hour 12 mins
case 53:
MemorizeSpell(8,2945,3);
CastToMob()->CastSpell(2945,this->GetID());
timermod=4320;
break;
// =========Enchanter=========
// Gather Mana, reuse time 2 hour 24 mins
case 57:
MemorizeSpell(8,2753,3);
CastToMob()->CastSpell(2753,this->GetID());
timermod=8640;
break;
// =========Mage==============
// Mend Companion, reuse time 2 hour 24 mins
case 58:
MemorizeSpell(8,2654,3);
CastToMob()->CastSpell(2654,this->GetID());
timermod=8640;
break;
// Frenzied Burnout, reuse time 1 hour 12 mins
case 60:
MemorizeSpell(8,2754,3);
CastToMob()->CastSpell(2754,this->GetID());
timermod=4320;
break;
// Elemental form fire, reusetime 1 hour 12 mins
case 61:
MemorizeSpell(8,2795,3);
CastToMob()->CastSpell(2795,this->GetID());
timermod=4320;
break;
// Elemental form water, reuse time 1 hour 12 mins
case 62:
MemorizeSpell(8,2798,3);
CastToMob()->CastSpell(2798,this->GetID());
timermod=4320;
break;
// Elemental form earth, reuse time 1 hour 12 mins
case 63:
MemorizeSpell(8,2792,3);
CastToMob()->CastSpell(2792,this->GetID());
timermod=4320;
break;
// Elemental form Air, reuse time 1 hour 12 mins
case 64:
MemorizeSpell(8,2789,3);
CastToMob()->CastSpell(2789,this->GetID());
timermod=4320;
break;
// Turn summoned, reuse time 1 hour 12 mins
case 66:
MemorizeSpell(8,2691,3);
CastToMob()->CastSpell(2691,this->GetID());
timermod=4320;
break;
// ===========Necromancer=============
// Lifeburn. reuse time 2 hours, 24 mins
case 68:
MemorizeSpell(8,2488,3);
CastToMob()->CastSpell(2488,this->GetID());
timermod=8640;
break;
// Dead Mesmerization, reuse time 1 hour 12 mins
case 69:
MemorizeSpell(8,2706,3);
CastToMob()->CastSpell(2706,this->GetID());
timermod=4320;
break;
// Fearstorm, reusetime 1 hour 12 mins
case 70:
MemorizeSpell(8,2707,3);
CastToMob()->CastSpell(2707,this->GetID());
timermod=4320;
break;
// Flesh to bone, reusetime 7 seconds
case 71:
MemorizeSpell(8,2772,3);
CastToMob()->CastSpell(2772,this->GetID());
timermod=7;
break;
// Call to corpse, reuse time 1 hour 12 mins
case 72:
MemorizeSpell(8,3284,3);
CastToMob()->CastSpell(3284,this->GetID());
timermod=4320;
break;
// =======Palidin========
// Act of Valor, reuse time 1 hour 12 mins
case 76:
MemorizeSpell(8,2775,3);
CastToMob()->CastSpell(2775,this->GetID());
timermod=4320;
break;
// Holy Steed, reuse time 7 secs
case 77:
MemorizeSpell(8,2782,3);
CastToMob()->CastSpell(2782,this->GetID());
timermod=7;
break;
// ==========Ranger========
// Innate Camouflage, reusetime 1 second
case 80:
MemorizeSpell(8,2765,3);
CastToMob()->CastSpell(2765,this->GetID());
timermod=1;
break;
// ========Shadow Knight===
// Unholy Steed, reusetime 7 secs
case 85:
MemorizeSpell(8,2783,3);
CastToMob()->CastSpell(2783,this->GetID());
timermod=7;
break;
// Improved harm touch, reusetime 1 hour 30 mins
case 86:
MemorizeSpell(8,2964,3);
CastToMob()->CastSpell(2964,this->GetID());
timermod=5400;
break;
// Leech Touch, reuse time 1 hour 30 mins
case 87:
MemorizeSpell(8,610,3);
CastToMob()->CastSpell(610,this->GetID());
timermod=5400;
break;
// =========Monk===========
// Purify Body, reuse time, 1 hour 12 mins
case 98:
MemorizeSpell(8,2742,3);
CastToMob()->CastSpell(2742,this->GetID());
timermod=4320;
break;
// ========Rogue==========
// Escape, reuse time 1 hour 12 mins
case 102:
MemorizeSpell(8,5244,3);
CastToMob()->CastSpell(5244,this->GetID());
timermod=4320;
break;
// Purge Posion, reuse time 1 hour 12 mins
case 107:
MemorizeSpell(8,5232,3);
CastToMob()->CastSpell(5232,this->GetID());
timermod=4320;
break;
// ========Beast Lord========
// Hobble of Spirits, reuse time 10 mins
case 126:
MemorizeSpell(8,3280,3);
CastToMob()->CastSpell(3280,this->GetID());
timermod=600;
break;
// Frenzy of Spirit, reuse time 15 mins
case 127:
MemorizeSpell(8,3289,3);
CastToMob()->CastSpell(3289,this->GetID());
timermod=900;
break;
// Paragon of Spirit, reuse time 15 mins
case 127:
MemorizeSpell(8,3291,3);
CastToMob()->CastSpell(3291,this->GetID());
timermod=900;
break;
}
|
 |
|
 |

07-14-2004, 02:34 PM
|
Fire Beetle
|
|
Join Date: Aug 2004
Location: Outside. Pressing my nose up against the window. YOUR window.
Posts: 0
|
|
Very hot, sir.
Assuming they work, excellent job.
|

07-14-2004, 05:48 PM
|
Demi-God
|
|
Join Date: May 2004
Posts: 1,177
|
|
wtfh. no bard love?
=(
|

07-14-2004, 06:08 PM
|
Fire Beetle
|
|
Join Date: Aug 2004
Location: Outside. Pressing my nose up against the window. YOUR window.
Posts: 0
|
|
Do bards even work on official CVS? Like, at all?
|

07-15-2004, 01:13 AM
|
Demi-God
|
|
Join Date: May 2004
Posts: 1,177
|
|
ya. with the exception of a few songs that don't do what they are supposed too and instruments not having correct modifiers.
Guildmasters work, if you edit the sql properly
Wish somebody would show them a little notice instead of simply leaving them out of all their fixes. getting quite annoying.
but nice job anyways on this aa work =)
|

07-15-2004, 02:05 AM
|
Fire Beetle
|
|
Join Date: Aug 2003
Location: Sacramento, CA USA
Posts: 14
|
|
Quote:
Originally Posted by sotonin
Wish somebody would show them a little notice instead of simply leaving them out of all their fixes. getting quite annoying.
|
That someone could be you. Nothing stopping you from hacking at the code yourself 
__________________
--------
jam^
--------
|

07-15-2004, 02:10 AM
|
Demi-God
|
|
Join Date: May 2004
Posts: 1,177
|
|
Just the fact that i can't program. Small thing.
|

07-15-2004, 02:58 AM
|
Demi-God
|
|
Join Date: Mar 2004
Posts: 1,066
|
|
The patch ain't done, till bards can't run :P
|
 |
|
 |

07-17-2004, 09:42 PM
|
Sarnak
|
|
Join Date: May 2004
Posts: 58
|
|
I've been playing with this and most of them work fine with minor issues such as they all report they couldnt find an item in inventory slot0 and case 53 should be spell id 2734 instead of 2945 along with a few other spells that i personally dont believe to be correct.
the big issue however is that they all only cast to client which is fine in most cases but things like divine rezz, manaburn etc wont work.
so if anyone more knowledgeable of the project or c in general could explain a way to define the client's target as ct or something of the like so we could place it in CastSpell(5555, ? .this->GetID());
it would be greatly appreciated.
also i spent some time playing around with manaburn and stole some of the code from the #manaburn command and eventualy got
this kinda working, well atleast doing the manaburn command from the button,
case 226:
{
Mob* target=CastToClient()->GetTarget();
if (CastToClient()->GetTarget() == 0)
CastToClient()->Message(0, "No Target.");
else {
if(CastToClient()->IsAttackAllowed(target));
{
int nukedmg=(CastToClient()->GetMana())*2;
if (nukedmg>0)
CastToClient()->SetMana(0);
{
target->Damage(CastToClient(), nukedmg, 2751,240);
}
}
}
}
but this just does it as a command so theres no cast time or casting animations, my question is in the case of manaburn where the actual spell information says only 1 damage is there a way within the CastSpell command or another command to add nukedmg to the spells base damage value?
if its not already obvious, i have no programming skills. and im sorry if this post doesnt belong in this section however i couldnt think of anywhere else to put it, also i understand most of the questions are probably more about C than they are the project, my bad, but currently my only method of learning it is through the internet and books from the 80's so i figure id ask a question or two here and maybe save some time. anyway all comments/suggestions will be appreciated even just the recomendation of a good book on the subject.
|
 |
|
 |

07-24-2004, 10:33 AM
|
Fire Beetle
|
|
Join Date: Jun 2004
Posts: 22
|
|
Client.Cpp
just add it to the Client in world or zone or both really want aa to work. I know this isnt the help board.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 07:15 AM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |