ABOUT NPC BUFFSVIP

fabioleda

New member
Messages
22
Points
0
Age
45
Location
brasil
Discord
fabioleda
Emulator
rAthena
Client Version
20180621
good morning i'm having a problem i created my server ragnarok the npc i have buffsvip it is petrifying my ADM i was wondering how do i get my ADM to receive these buffs by clicking npc i went to test with normal player he neither buffa and how i create the account with the vip user in the phpmyadmin table  I went to try to put a video here said that it can only up to 6mb so I give up to put someone else can help me I have been doing this for more than 5 days

 
good morning i'm having a problem i created my server ragnarok the npc i have buffsvip it is petrifying my ADM i was wondering how do i get my ADM to receive these buffs by clicking npc i went to test with normal player he neither buffa and how i create the account with the vip user in the phpmyadmin table  I went to try to put a video here said that it can only up to 6mb so I give up to put someone else can help me I have been doing this for more than 5 days


sorry, i'm not good at english, but i'll try to help you!

First send the script or where the error appears in your buffsvip.txt script file
Example the error appears in the emulator.

because my npc buff vip I use if
to run the Hercules command, and displaying a message to the user that he is not a VIP, if he and VIP happen, the system jumps and buffs the user, without the message appearing.

but there are several ways to make a npc of vip buffs, in the message above I just gave an example.

 
just to explain better I made this npc as an example for you to understand better.

prontera,154,150,5    script    Buffs VIP    4_F_FAIRY,{

    if( getgroupid() < 1 ) {
        mes "["+strnpcinfo(0)+"]";
        mes "Your message.";
        mes "Your message!";
        mes "Site: ^0000FFyoursite.com^000000";
        close;
    }
    if( getgroupid() > 1 )
    // Buffs
        skilleffect 8,0; sc_start SC_ENDURE,360000,10;
        end;
}

screenHercules001.jpg

screenHercules002.jpg

 
just to explain better I made this npc as an example for you to understand better.

prontera,154,150,5    script    Buffs VIP    4_F_FAIRY,{

    if( getgroupid() < 1 ) {
        mes "["+strnpcinfo(0)+"]";
        mes "Your message.";
        mes "Your message!";
        mes "Site: ^0000FFyoursite.com^000000";
        close;
    }
    if( getgroupid() > 1 )
    // Buffs
        skilleffect 8,0; sc_start SC_ENDURE,360000,10;
        end;
}

View attachment 6823

View attachment 6824
try this one, i didnt test it yet but i think you are looking something like this.. hopefully

Code:
prontera,100,100,4	script	BUFFER	4_M_MAYOR,{
	
	// Normal Player can get the buff
	// Filter with group_id.conf (Lv : 0)
	if(getgmlevel() < 1){
		specialeffect(EF_INCAGILITY, AREA, playerattached()); sc_start SC_INC_AGI,240000,10;
		specialeffect(EF_BLESSING, AREA, playerattached()); sc_start SC_BLESSING,240000,10;
		end;
	}
	
	// VIP Player can get the additional HEAL
	// Filter with group_id.conf (Lv : 5)
	else if(getgmlevel() == 5){
		percentheal 100,100;
		specialeffect(EF_INCAGILITY, AREA, playerattached()); sc_start SC_INC_AGI,240000,10;
		specialeffect(EF_BLESSING, AREA, playerattached()); sc_start SC_BLESSING,240000,10;
		end;
	}
	
	// GM Account with Lv : 99 on group_id.conf
	else if(getgmlevel() >= 9){
		mes "[ HEALER ]";
		mes "You are an Admin.";
		// You can put any condition here or content if you want
		close;
	}
	
	else{
		mes "[ HEALER ]";
		mes "Error";
		close;
	}
}
 
desculpe, não sou bom em inglês, mas tentarei ajudá-lo!

Primeiro envie o script ou para onde o erro aparece em seu arquivo de script buffsvip.txt
Exemplo o erro aparece no emulador.

pois meu npc buff vip eu uso se
para rodar o comando Hercules, e exibindo uma mensagem para o usuário que ele não é VIP, se acontecer ele e VIP, o sistema pula e buffa o usuário, sem que a mensagem apareça.

mas existem várias maneiras de fazer um npc de buffs vip, na mensagem acima acabei de dar um exemplo.
bro i'm going to post here my npc then u take a look there i don't know what his problem is i click on it and my character petrifies the ADM when it's normal peronage it doesn't petrify nor buffa

View attachment buffervip.txt

 
mano vi que você fala português e escreve , então vou dizer das duas linguás.
Português.
A skill de agi ta errado,  no arquivo seu ta dessa maneira
sc_start SC_INCREASEAGI o emulador Hercules e dessa maneira SC_INC_AGI
Modifica apenas isso que citei em cima.

ou melhor vou te passar onde você deve alterar fazendo contra C e Contra V

    // Buffs
    skilleffect 8,0; sc_start SC_ENDURE,360000,10;
    skilleffect 33,0; sc_start SC_ANGELUS,360000,10;
    skilleffect 74,0; sc_start SC_MAGNIFICAT,360000,5;
    skilleffect 75,0; sc_start SC_GLORIA,360000,5;
    skilleffect 66,0; sc_start SC_IMPOSITIO,360000,5;
    skilleffect 34,0; sc_start SC_BLESSING,360000,10;
    skilleffect 29,0; sc_start SC_INC_AGI,360000,10;
    percentheal 100,100;

==============================================================

I saw that you speak Portuguese and write, so I will say both languages.
englis.
The wrong act skill, in your file is that way
sc_start SC_INCREASEAGI the Hercules emulator and thus SC_INC_AGI
Just modify what I mentioned above.

or rather I will tell you where you should change by doing against C and Against V

    // Buffs
    skilleffect 8,0; sc_start SC_ENDURE,360000,10;
    skilleffect 33,0; sc_start SC_ANGELUS,360000,10;
    skilleffect 74,0; sc_start SC_MAGNIFICAT,360000,5;
    skilleffect 75,0; sc_start SC_GLORIA,360000,5;
    skilleffect 66,0; sc_start SC_IMPOSITIO,360000,5;
    skilleffect 34,0; sc_start SC_BLESSING,360000,10;
    skilleffect 29,0; sc_start SC_INC_AGI,360000,10;
    percentheal 100,100;

========================== Meu web-Site (my website) =========================

 
muito obrigado mano nota 10 so preciso resolver agora o problema do meu outro npc encantador de armas ele pede o livro de encantamento e 100k e depois fala que nao pode pegar na minha arma agora sendo que eu ja tenho tudo que ele pede nao sei se ele ta bugado porque la em malagno eu levo os itens que pede e o npc encanta minha arma e meu npc nao encanta

 
De nada! sobre outro npc , ja responde pra te, no outra postagem sua.

Caso resolvido.

Case solved!!!

 
Back
Top