Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/10/23 in Posts

  1. I think it used for receive/not receive parter call (The one who married)
    1 point
  2. Hi, I am that Litro Endemic. And damn it I lost my previous account, because that account isn't using my own email. that account owned by my old friend and lost contact so I created new account. duh what a lame story. You put the check on bracket of condition when the agit event is on, that's why there is no response. *mapwarp script command unlike *warp doesn't support "SavePoint" parameter except you modified it, so it need to iterate player one by one. @AinsLord here updated script prontera,150,150,0 script Entrance Guard 112,{ mes "[Entrance Guard]"; if (agitcheck() || agitcheck2() || agitcheck3()) { mes "Woe is currently active can't enter right now"; // NPC message when woe is active } else { .@gid = getcastledata("prtg_cas01", CD_GUILD_ID); if (getcharid(2) != .@gid) { mes "[Lost Midgard Guardian]"; mes "Your Guild did not conquer Krimhild Castle"; dispbottom "[Guild Message]: Only Guild who owns Kriemhild can enter here!"; } else { mes "You will be warped to Lost Midgard"; next; warp .map$, 0, 0; dispbottom "[Guild Message]: Welcome to Lost Midgard"; } } close; OnInit: .map$ = "prt_fild07"; setmapflag .map$, mf_loadevent; // fallthrough as first check upon script loaded OnTimer5000: // next timer after ini will run on 5 seconds after .@gid = getcastledata("prtg_cas01", CD_GUILD_ID); .@num = getmapunits(BL_PC, .map$, .@name$[0]); freeloop(1); for (.@i = 0; .@i < .@num;.@i++) { if (getcharid(2, .@name$[.@i]) == .@gid) // still on the guild? skip it. continue; message .@name$[.@i], "YOU ARE NO LONGER WELCOME HERE, YOU WILL BE WARPED TO WHERE YOU BELONG!!!!"; warp "SavePoint", 0, 0, getcharid(0, .@name$[.@i]); } freeloop(0); initnpctimer; // reinit the timer tick end; OnAgitStart: OnAgitStart2: OnAgitStart3: .@num = getmapunits(BL_PC, .map$, .@name$[0]); freeloop(1); for (.@i = 0; .@i < .@num;.@i++) { message .@name$[.@i], "Agit event has been started, You will be warped to Save Point"; warp "SavePoint", 0, 0, getcharid(0, .@name$[.@i]); } freeloop(0); end; OnPCLoadMapEvent: if (strcharinfo(3) != .map$) end; if (agitcheck() || agitcheck2() || agitcheck3()) { message strcharinfo(0), "Agit event is on going, You will be warped to Save Point"; warp "SavePoint", 0, 0; } else { .@gid = getcastledata("prtg_cas01", CD_GUILD_ID); if (getcharid(2) != .@gid) { mes "YOU ARE NOT ALLOWED HERE, GO BACK!!!!"; next; warp "SavePoint", 0, 0; } } end; }
    1 point
  3. Talvez seja alguma coisa relacionado ao seu clientinfo.xml... <version>55</version> <langtype>5</langtype> Tenta alterar alguma coisa pra ver se resolve... ?
    1 point
×
×
  • Create New...