[HELP]Ascent Items

Experienced Elementalist
Joined
Jun 22, 2007
Messages
276
Reaction score
0
Hey ... I need help doing something ... ...

Here is my problem ... Im making a server and just got the Warper NPC done :D ... YAY! ... now I want to make an npc that can also do gossip ... but it must contain the lines "Give me my gear!!!" ... and then the NPC's code will add those items that are equivelent to his level ... So < 5 get noob gear ... >20 gets good gear ... >50 gets super gear ... >70 get's tele stone that leads to my super instance ... now Ive made all of that stuff ... but I dont know what the code is to add items to the inventory ...

I need something like this :
Code:
case 1: // Noob gear Add
if(Plr->getLevel() < 5)
           { 
Plr->AddItem(Item_code);}
        break;}

else

 {
                pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Your Not a Noob - U dont qualify" );
                Plr->Gossip_Complete();
            }break;


 
case 1: // Intermediat gear Add
if(Plr->getLevel() > 20)
           { 
Plr->AddItem(Item_code);}
        break;}

else

 {
                pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Your Not Yet Ready To Wield These Weapans - Leve some more ..." );
                Plr->Gossip_Complete();
            }break;
If you could help me with this I would be eternally greatfull to u but as u should know ... there is no script like

{Plr->AddItem()}


Thanx in advance :D ...

~MIZUKI~
 
Can you link a "WarpNpc" program, so I can make them?
Maybe if I look into the program i might get to help you:P
I'm fast at learning stuff:P
 
lol cant link it .... coz... its not a program xD ... u have to compile it with ascent u need visual studio c++ to do this...il post a working warp npc script + the warper.dll file and the sql 4 the npc ... lol or il make a guide <-- this msg took loooong ta write xD im on mobile il upload the stuff 2 morow.
 
Il do that in a moment il add the warp NPC gossip script u can just add that to ur server ... Il do that in about 3 hours -.- ... I have to go write my Physics Exam first *sigh*
 
Well this is something that I don't know if it's a good help to make a warpnpc, I don't even know if it's true:P

 
Back