Jump to content
  • 0

Doesn't Warp on the MAP Location.


irawrsilentpls

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  05/29/12
  • Last Seen:  

Description : Warping in to 1@mist map and it has 30minutes time to players to fish, after 30minutes it will warp all the players outside the map.

Condition : * When 5/5 Players on the map, You cannot enter on map anymore,

Problem : here are my script it seems fail on warping, I'm not pro yet on scripting :( i need help to fix it,

 - script fisher#announcer -1,{

OnInit:
disablenpc "Fairy Warper#ff";
hideonnpc "Fairy Warper#ff";
end;


Onclock0010:
Onclock0210:
Onclock0410:
Onclock0610:
Onclock0810:
Onclock1010:
Onclock1210:
Onclock1410:
Onclock1610:
Onclock1810:
Onclock2010:
Onclock2210:

announce "Fairy : It's time to catch some FISH!!!",0;

sleep2 10000;
announce "Fairy : Please make your way to Gremory Town.",0;
sleep2 10000;
announce "Fairy : After one minute the Warper will gone.",0;
sleep2 10000;
announce "Fairy : Talk to the warp now if you want to join and It's was 1st come 1st Reserve",0;
enablenpc "Fairy Warper#ff";
initnpctimer;
end;

OnTimer30000:
announce "Fairy : Last 30 seconds.",0;
sleep2 5000;
announce "Fairy : Hurry UP! If you want to join.",0;
end;

OnTimer50000:
announce "Fairy : Last 10 seconds.",0;
end;

OnTimer55000:
announce "Fairy : 5.",0;
end;

OnTimer56000:
announce "Fairy : 4.",0;
end;

OnTimer57000:
announce "Fairy : 3.",0;
end;

OnTimer58000:
announce "Fairy : 2.",0;
end;

OnTimer59000:
announce "Fairy : 1.",0;
end;

OnTimer60000:
announce "Fairy : Time's up. Warper will Open again in one hour.",0;
end;

OnTimer61000:
disablenpc "Fairy Warper#ff";
donpcevent "Fairy Warper#ff::OnEnable";
stopnpctimer;
end;

}


//--------------------------------------------------------

goodev_c02,107,116,3 script Fairy Warper#ff 53,{

if ($@ffish == 5) goto Sorryf;
if (getmapusers("1@mist") >= 5) goto Sorryf;

set $@ffish, $@ffish + 1;

announce strcharinfo(0)+" has enter Fairy Fish Pond",0,0x00FFFF;

warp "1@mist",51,290;

end;

Sorryf:
npctalk "Sorry, we're full na";
close;
end;

OnEnable:
sleep2 1000;
mapannounce "1@mist","Fairy : Take your time to catch some fishy fishy fishy. ",0;
initnpctimer;
end;

OnTimer1800000:
mapannounce "1@mist","Fairy : Ooops Time is UP!",0;
sleep2000;
mapannounce "1@mist","Fairy : You will be warp in 3 seconds",0;
sleep3000;
announce "Fairy : Fairy Warper will Open again in one hour.",0;
stopnpctimer;
areawarp "1@mist",0,0,0,0,"goodev_c02",102,103;
set $@ffish, 0;
end;

Thanks in Advance ;) [original script]

Edited by irawrsilentpls
Link to comment
Share on other sites

11 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

if( getmapusers("1@mist") >= 5 ){
mes "Max User Reached.";
close;
}
addtimer ( 30 * 60000 ),strnpcinfo(0)+"::OnTimeUp";
warp "1@mist",51,290;
end;

OnTimeUp:
message strcharinfo(0),"Time's Up.";
sleep2 3000;
warp "prontera",155,181;
end;

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

goodev_c02,107,116,3    script  Fairy Warper#ff 53,{

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  05/29/12
  • Last Seen:  

Hmm still not working :|

 - script fisher#announcer -1,{

OnInit:
disablenpc "Fairy Warper#ff";
hideonnpc "Fairy Warper#ff";
end;


Onclock0059:
Onclock0210:
Onclock0410:
Onclock0610:
Onclock0810:
Onclock1010:
Onclock1210:
Onclock1410:
Onclock1610:
Onclock1810:
Onclock2010:
Onclock2210:

announce "Fairy : It's time to catch some FISH!!!",0;

sleep2 10000;
announce "Fairy : Please make your way to Gremory Town.",0;
sleep2 10000;
announce "Fairy : After one minute the Warper will gone.",0;
sleep2 10000;
announce "Fairy : Talk to the warp now if you want to join and It's was 1st come 1st Reserve",0;
enablenpc "Fairy Warper#ff";
initnpctimer;
end;

OnTimer30000:
announce "Fairy : Last 30 seconds.",0;
sleep2 5000;
announce "Fairy : Hurry UP! If you want to join.",0;
end;

OnTimer50000:
announce "Fairy : Last 10 seconds.",0;
end;

OnTimer55000:
announce "Fairy : 5.",0;
end;

OnTimer56000:
announce "Fairy : 4.",0;
end;

OnTimer57000:
announce "Fairy : 3.",0;
end;

OnTimer58000:
announce "Fairy : 2.",0;
end;

OnTimer59000:
announce "Fairy : 1.",0;
end;

OnTimer60000:
announce "Fairy : Time's up. Warper will Open again in one hour.",0;
end;

OnTimer61000:
disablenpc "Fairy Warper#ff";
donpcevent "Fairy Warper#ff::OnEnable";
stopnpctimer;
end;

}


//--------------------------------------------------------

moscovia,212,186,3 script Fairy Warper#ff 53,{

if ($@ffish == 5) goto Sorryf;
if( getmapusers("1@mist") >= 5 ){
mes "Max User Reached.";
close;
}
addtimer ( 30 * 60000 ),strnpcinfo(0)+"::OnTimeUp";
warp "1@mist",51,290;
end;

OnTimeUp:
message strcharinfo(0),"Time's Up.";
sleep2 3000;
warp "prontera",155,181;
end;




OnEnable:
sleep2 1000;
mapannounce "1@mist","Fairy : Take your time to catch some fishy fishy fishy. ",0;
initnpctimer;
end;

OnTimer1800000:
mapannounce "1@mist","Fairy : Ooops Time is UP!",0;
sleep2000;
mapannounce "1@mist","Fairy : You will be warp in 3 seconds",0;
sleep3000;
announce "Fairy : Fairy Warper will Open again in one hour.",0;
stopnpctimer;
areawarp "1@mist",0,0,0,0,"goodev_c02",102,103;
set $@ffish, 0;
end;

}

Edited by irawrsilentpls
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

goodev_c02,107,116,3 script  Fairy Warper#ff 53,{
if( getmapusers("1@mist") >= 5 ){
mes "Max User Reached.";
close;
}
addtimer ( 30 * 60000 ),strnpcinfo(0)+"::OnTimeUp";
warp "1@mist",51,290;
end;

OnTimeUp:
message strcharinfo(0),"Time's Up.";
sleep2 3000;
warp "prontera",155,181;
end;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  05/29/12
  • Last Seen:  

 - script fisher#announcer -1,{

OnInit:
disablenpc "Fairy Warper#ff";
hideonnpc "Fairy Warper#ff";
end;


Onclock0114:
Onclock0210:
Onclock0410:
Onclock0610:
Onclock0810:
Onclock1010:
Onclock1210:
Onclock1410:
Onclock1610:
Onclock1810:
Onclock2010:
Onclock2210:

announce "Fairy : It's time to catch some FISH!!!",0;

sleep2 10000;
announce "Fairy : Please make your way to Gremory Town.",0;
sleep2 10000;
announce "Fairy : After one minute the Warper will gone.",0;
sleep2 10000;
announce "Fairy : Talk to the warp now if you want to join and It's was 1st come 1st Reserve",0;
enablenpc "Fairy Warper#ff";
initnpctimer;
end;

OnTimer30000:
announce "Fairy : Last 30 seconds.",0;
sleep2 5000;
announce "Fairy : Hurry UP! If you want to join.",0;
end;

OnTimer50000:
announce "Fairy : Last 10 seconds.",0;
end;

OnTimer55000:
announce "Fairy : 5.",0;
end;

OnTimer56000:
announce "Fairy : 4.",0;
end;

OnTimer57000:
announce "Fairy : 3.",0;
end;

OnTimer58000:
announce "Fairy : 2.",0;
end;

OnTimer59000:
announce "Fairy : 1.",0;
end;

OnTimer60000:
announce "Fairy : Time's up. Warper will Open again in one hour.",0;
end;

OnTimer61000:
disablenpc "Fairy Warper#ff";
donpcevent "Fairy Warper#ff::OnEnable";
stopnpctimer;
end;

}


//--------------------------------------------------------

goodev_c02,107,116,3 script  Fairy Warper#ff 53,{
if( getmapusers("1@mist") >= 5 ){
mes "Max User Reached.";
close;
}
addtimer ( 30 * 60000 ),strnpcinfo(0)+"::OnTimeUp";
warp "1@mist",51,290;
end;

OnTimeUp:
message strcharinfo(0),"Time's Up.";
sleep2 3000;
warp "prontera",155,181;
end;
}

the NPC still Unclickable hmm

Edited by irawrsilentpls
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  05/29/12
  • Last Seen:  

Sorry, sir Euphy the problem was the NPC i made for warper is not warping the NPC was unclickable, seems something is missing ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  439
  • Reputation:   29
  • Joined:  12/08/11
  • Last Seen:  

If you're talking about the warper, it will only pop-up dialogue boxe(s) if max user for the map reaches maximum. When it's not, it will warp the player

to the event map without any dialogue.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  05/29/12
  • Last Seen:  

Sir, the NPC is Unclickable which is not doing anything, not even warping or popping message, the announcement that Event has started is working but the warper after Unhide the npc is unclickable. any solution?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  439
  • Reputation:   29
  • Joined:  12/08/11
  • Last Seen:  

Try to see the console whenever you click the NPC. Error(s)/Warning(s) will be shown. Get a screenshot and post it here.

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