Jump to content

Castle aufgeben


Kleene33

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  07/13/12
  • Last Seen:  

Hallo zusammen,

 

vielleicht ist es eine ganz doofe Frage, aber wie kann eine Gilde ein Castle wieder aufgeben ?

Konnte man das nicht früher mal bei dem Npc wo man auch Kafra usw sich holt?

 

Danke schon mal im voraus

 

Kleene

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  249
  • Reputation:   72
  • Joined:  10/20/12
  • Last Seen:  

Gilde breaken funktioniert immer :D

 

Edit:

Gerade mal in die Scripts geschaut. Scheint tatsächlich der einzige Weg zu sein ein Castle aufzugeben. Allerdings werden dann alle Castles der Gilde aufgegeben...

Edited by Jey
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  07/13/12
  • Last Seen:  

schade ich hatte gehofft , daß ich irgendwas übersehen hatte.

 

Gibt es denn irgend ein script bzw command was man schreiben könnte ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  86
  • Topics Per Day:  0.02
  • Content Count:  591
  • Reputation:   146
  • Joined:  06/19/12
  • Last Seen:  

https://rathena.org/wiki/Getcastledata

 

 

könnte dir vermutlich helfen.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  249
  • Reputation:   72
  • Joined:  10/20/12
  • Last Seen:  

function	script	AbandonCastle	{
	set .@castle_map$,getarg(0);
	// Kill guardians, disable the Kafra, and set owner to 0.
	killmonster .@castle_map$,"Guardian#"+.@castle_map$+"::OnGuardianDied";
	disablenpc "Kafra Staff#"+.@castle_map$;
	SetCastleData .@castle_map$,1,0;
	// Wait before refreshing guild information.
	sleep 7000;
	Announce "Guild Base [" + GetCastleName(.@castle_map$) + "] has been abandoned.",0;
	donpcevent .@castle_map$+"::OnRecvCastle";
	return;
}

Der Snippet ist prinzipiell geklaut aus agit_main.txt "OnGuildBreak". Für SE brauchst solltest du nochmal in agit_main_se.txt schauen ;>

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
Reply to this topic...

×   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...