Jump to content
  • 0

Guild Recall NPC Pls any Help Fast


Rage Guy

Question


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

I Want a simple NPC

When guild Master Talk to him Click Recall Guild

He Recall Them on a map Example [ Prontera,63,85 ]

Edited by SpongeBOB
Link to comment
Share on other sites

14 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

-	.@guild_id = getcharid(2);

-   :   means 'delete the line'

 

+	set .@guild_id, getcharid(2);

+   :   means 'add the line'

 

prontera,150,150,5	script	ihjbnik	56,{
	.@guild_id = getcharid(2);// <---- REPLACE HERE
	if ( !.@guild_id ) {

 

Like that

prontera,150,150,5	script	ihjbnik	56,{
	set .@guild_id, getcharid(2);
	if ( !.@guild_id ) {
		mes "you are not in a guild";
		close;
	}
	else if ( getguildmasterid(.@guild_id) != getcharid(0) ) {
		mes "I only talk to the guild master";
		close;
	}
	mes "warp?";
	next;
	if ( select( "yes", "no" ) -1 ) end;
	warpguild "prontera",161,181,.@guild_id;
	end;
}

 

it's hard to help you

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

This?

prontera,150,150,5	script	ihjbnik	56,{
	.@guild_id = getcharid(2);
	if ( !.@guild_id ) {
		mes "you are not in a guild";
		close;
	}
	else if ( getguildmasterid(.@guild_id) != getcharid(0) ) {
		mes "I only talk to the guild master";
		close;
	}
	mes "warp?";
	next;
	if ( select( "yes", "no" ) -1 ) end;
	warpguild "prontera",161,181,.@guild_id;
	end;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

its not working i got alot of map errors

maybe cuz am using 3CeAM

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  


- .@guild_id = getcharid(2);

+ set .@guild_id, getcharid(2);

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

where to put this on the script ??

-	.@guild_id = getcharid(2);
+	set .@guild_id, getcharid(2);


can any one pls help me -_-

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

Its working now thanks Capuche

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  123
  • Reputation:   7
  • Joined:  03/13/12
  • Last Seen:  

Capuche

 

can help to work like this

after guild leader click npc 2 time, npc recall will hide then another npc will show.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  


prontera,150,150,5 script ihjbnik 56,{

set .@guild_id, getcharid(2);

if ( !.@guild_id ) {

mes "you are not in a guild";

close;

}

else if ( getguildmasterid(.@guild_id) != getcharid(0) ) {

mes "I only talk to the guild master";

close;

}

mes "warp?";

next;

if ( select( "yes", "no" ) -1 ) end;

warpguild "prontera",161,181,.@guild_id;

.click++;

if ( .click%2 ) end;

disablenpc strnpcinfo(3);

enablenpc "your npc";

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  123
  • Reputation:   7
  • Joined:  03/13/12
  • Last Seen:  

Thank You Capuche.  /lv

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   0
  • Joined:  01/03/12
  • Last Seen:  

why i use this script get some error ? can help me Capuche ?

 

see this pic > error_zpsd889c2a6.png

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

you use eathena or sth

replace .click++; by set .click, .click +1;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   0
  • Joined:  01/03/12
  • Last Seen:  

why me one click at npc then npc will hide ? not two click ? help me pls ..

recall_script.txt

Edited by NeoGenesis
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   0
  • Joined:  01/03/12
  • Last Seen:  

bump ~~~

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  


prontera,150,150,5 script Fokker 56,{

set .@guild_id, getcharid(2);

if ( !.@guild_id ) {

mes "You are not in a guild";

close;

}

else if ( getguildmasterid(.@guild_id) != getcharid(0) ) {

mes "I only talk to the guild master";

close;

}

mes "Recall your guild now?";

next;

if ( select( "Yes", "No" ) -1 ) end;

warpguild "prontera",150,151,.@guild_id;

set .click, .click +1;

if ( .click % 2 ) end;

disablenpc strnpcinfo(3);

enablenpc "your npc";

}

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...