Jump to content
  • 0
fabioleda

ABOUT NPC BUFFSVIP

Question

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

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0
7 hours ago, fabioleda said:

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.

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0
38 minutes ago, Ihurybro said:

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

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

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;
	}
}

 

Share this post


Link to post
Share on other sites
  • 0
15 hours ago, Ihurybro said:

 

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

buffervip.txt

Share this post


Link to post
Share on other sites
  • 0

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) =========================

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.