Kleene33 Posted August 2, 2016 Share Posted August 2, 2016 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 Quote Link to comment Share on other sites More sharing options...
Jey Posted August 3, 2016 Share Posted August 3, 2016 (edited) Gilde breaken funktioniert immer 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 August 3, 2016 by Jey Quote Link to comment Share on other sites More sharing options...
Kleene33 Posted August 4, 2016 Author Share Posted August 4, 2016 schade ich hatte gehofft , daß ich irgendwas übersehen hatte. Gibt es denn irgend ein script bzw command was man schreiben könnte ? Quote Link to comment Share on other sites More sharing options...
EL Dragon Posted August 4, 2016 Share Posted August 4, 2016 https://rathena.org/wiki/Getcastledata könnte dir vermutlich helfen. Quote Link to comment Share on other sites More sharing options...
Jey Posted August 4, 2016 Share Posted August 4, 2016 function script AbandonCastle { set [email protected]_map$,getarg(0); // Kill guardians, disable the Kafra, and set owner to 0. killmonster [email protected]_map$,"Guardian#"[email protected]_map$+"::OnGuardianDied"; disablenpc "Kafra Staff#"[email protected]_map$; SetCastleData [email protected]_map$,1,0; // Wait before refreshing guild information. sleep 7000; Announce "Guild Base [" + GetCastleName([email protected]_map$) + "] has been abandoned.",0; donpcevent [email protected]_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 ;> Quote Link to comment Share on other sites More sharing options...