Jump to content
  • 0

Can't Enter The Portal


RyokoMVP

Question


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  209
  • Reputation:   3
  • Joined:  11/28/11
  • Last Seen:  

i don't know why i get this error~

before i use old svn and work good~

now i use new SVN and edit some src and i get this error

153695428ac2dc63119c36d01c4467e17c28f075.jpg

First :

1. I can't enter 3 portal in picture

2. i can't talk to girl npc and man NPC ( but now i can click the girl npc ~ i dont know why... but man npc still can't )

no error in mapserver , i try to copy all npc to offline RO , and work good

i use onclock trigger

it's must be portal will spawn in 3 hours ~ but when i restart my RO all portal spawn and can't entered or hidden ( i'll try to @hidenpc ) it's say npc disabled , but npc still spawn , try to @refresh still spawn~

in offline , when i restart my server , portal will hidden until 3 hours and spawn again ~

someone know why ? my friends say it's about src edit ? o.O~

i have a pvp event with portal too..but it work 100% ~

First NPC ( Man )

//==========KOTH============

mjolnir_04,77,304,5 script King of the Hill#KOTH 108,{

set .@name$,"[^FF00FF King of the Hill ^000000]";

if ($@KOTH == 1) goto L_EventOn;

if(getgmlevel() < 61) close;

if(getgmlevel() >= 61) goto L_GMCP;

L_GMCP:

mes .@name$;

mes "Do you want to start the KOTH event?";

next;

menu "Yes",-,"No",L_End;

mes .@name$;

mes "Allright, i've started the Event!";

close2;

initnpctimer "King of the Hill#KOTH";

announce "The King of the Hill Event will start soon, please get ready! The Warp NPC Will Spawn On Prontera",bc_all;

end;

OnTimer30000:

announce "Participants of the King of the Hill Event, please get ready, you'll bee soon warped to the Starting Line! You have to race to the end of the Bridge found at the top of the Hill! 1st one to reach it will win!",bc_all;

end;

OnTimer40100:

announce "5",bc_all;

end;

OnTimer41100:

announce "4",bc_all;

end;

OnTimer42100:

announce "3",bc_all;

end;

OnTimer43100:

announce "2",bc_all;

end;

OnTimer44100:

announce "1...",bc_all;

end;

OnTimer44800:

mapwarp "mjolnir_04","mjolnir_04",77,301;

end;

OnTimer45100:

set $@KOTH,1;

announce "GO!!!",bc_all;

disablenpc "KOTH WarPeR";

end;

L_End:

close;

L_EventOn:

mes .@name$;

mes "An event is still being held.";

close;

}

mjolnir_04,135,208,5 script Finish Line! 111,2,2,{

OnTouch:

if($@KOTH < 1) close;

if($@KOTH == 1)

announce strcharinfo(0)+" is the King of the Hill!!",bc_all;

set Zeny, Zeny + rand(100000,15000000);

set $@KOTH,0;

atcommand "@doommap";

atcommand "@kill "+strcharinfo(0);

end;

}

prontera.gat,156,183,4 script KOTH WarPeR 899,{

mes "[MiracLe Guardian]";

mes "Hello ^0000FF"+strcharinfo(0)+"^000000, I'm Andrew Ric0zTa~want to get Warp to the special place??";

next;

mes "[KOTH WarPeR";

mes "Want To Follow KinG Of The Hill EvenT???";

next;

menu "Yes",L_Yo,"No thanks",L_Bye;

L_Yo:

mes "[KOTH WarPeR]";

mes "Ok wait for a minute. I will Warp you ^^V";

// Remove Peco / Cart

atcommand strcharinfo(0)+":@option 0 0 0";

// Remove Any Speed Buffs

sc_end SC_SPEEDUP0;

sc_end SC_SPEEDUP1;

sc_end SC_INCREASEAGI;

sc_end SC_WINDWALK;

sc_end SC_CARTBOOST;

sc_end SC_CLOAKING;

sc_end SC_BERSERK;

sc_end SC_RUN;

sc_end SC_AVOID;

next;

warp "mjolnir_04",70,304;

end;

L_Bye:

mes "[KOTH WarPeR]";

mes "Oh, you don't want to get warp, ok then~";

close;

OnInit:

disablenpc "KOTH WarPeR";

end;

}

mjolnir_04 mapflag nomemo

mjolnir_04 mapflag noreturn

mjolnir_04 mapflag noteleport

mjolnir_04 mapflag nowarpto

mjolnir_04 mapflag nowarp

mjolnir_04 mapflag pvp

mjolnir_04 mapflag nosave

mjolnir_04 mapflag noskill

Second NPC ( Portal )

- script poring#announcer -1,{

OnInit:

disablenpc "poringevent";

hideonnpc "Poring Catcher#evnt2";

end;

OnClock0120:

OnClock0420:

OnClock0720:

OnClock1020:

OnClock1320:

OnClock1620:

OnClock1920:

OnClock2220:

announce "Poring Catcher : It's time to play some Poring Catcher!",0;

killmonster "poring_w01","All";

sleep2 10000;

announce "Poring Catcher : Please make your way to the centre of Prontera.",0;

sleep2 10000;

announce "Poring Catcher : After one minute the portal will close.",0;

sleep2 10000;

announce "Poring Catcher : Enter the warp portal now if you want to join.",0;

enablenpc "poringevent";

initnpctimer;

end;

OnTimer30000:

announce "Poring Catcher : Last 30 seconds.",0;

OnTimer50000:

announce "Poring Catcher : Last 10 seconds.",0;

end;

OnTimer59000:

announce "Poring Catcher : 1.",0;

end;

OnTimer60000:

announce "Poring Catcher : Time's up. Portal Will Open again when a GM activates it.",0;

end;

OnTimer61000:

disablenpc "poringevent";

donpcevent "Poring Catcher#evnt2::OnEnable";

stopnpctimer;

end;

}

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

prontera,163,187,0 warp poringevent 2,2,poring_w01,106,129

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

poring_w01,100,127,4 script Poring Catcher#evnt2 715,{

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

mes "[Poring Catcher]";

if(PORING == 1) goto L_PORING;

mes "Please tell me your name";

next;

input .@name$;

if(.@name$ != strcharinfo(0)) {

mes "[Poring Catcher]";

mes "Are you sure thats your character name?";

close;

}

mes "[Poring Catcher]";

mes "Congrats. You've won.";

close2;

announce "Poring Catcher : All laugh at, "+.@name$+". - This player tried to cheat the system. Muhahahahaha!",0;

warp "prontera",155,182;

end;

L_PORING:

mes "Please tell me your name";

next;

input .@name$;

if(.@name$ != strcharinfo(0)) {

mes "[Poring Catcher]";

mes "Are you sure thats your character name?";

close;

}

mes "[Poring Catcher]";

mes "Congrats. You've won.";

close2;

announce "Poring Catcher : We have a winner, "+.@name$+". - Won Random Zeny !",0;

//getitem 969,1000; // SET THE 20085 TO THE ITEM ID OF YOUR PRIZE

set Zeny, Zeny + rand(100000,15000000);

set PORING,0;

warp "prontera",155,182;

hideonnpc "Poring Catcher#evnt2";

end;

OnEnable:

mapannounce "poring_w01","Poring Catcher : I will be summoning 100 different Porings.",0;

sleep2 10000;

mapannounce "poring_w01","Poring Catcher : Only one of these Porings is the correct Poring.",0;

sleep2 10000;

mapannounce "poring_w01","Poring Catcher : The correct Poring is called [ Poring ], all the other Porings have different names.",0;

sleep2 10000;

mapannounce "poring_w01","Poring Catcher : Take your time because if you kill the wrong Poring, your out of the game.",0;

sleep2 10000;

mapannounce "poring_w01","Poring Catcher : The first player to kill the correct Poring wins.",0;

sleep2 10000;

mapannounce "poring_w01","Poring Catcher : That's that.. Now let's play...",0;

goto L_Start;

end;

L_Start:

mapannounce "poring_w01","Poring Catcher : 5",0;

sleep2 1000;

mapannounce "poring_w01","Poring Catcher : 4",0;

sleep2 1000;

mapannounce "poring_w01","Poring Catcher : 3",0;

sleep2 1000;

mapannounce "poring_w01","Poring Catcher : 2",0;

sleep2 1000;

mapannounce "poring_w01","Poring Catcher : 1",0;

sleep2 1000;

mapannounce "poring_w01","Poring Catcher : Lets Do This!",0;

areamonster "poring_w01",84,119,121,90,"Poring",1002,10,"poringwin::OnMobKilled";

areamonster "poring_w01",84,119,121,90,"Pouring",1002,10,"poringlose::OnMobKilled";

areamonster "poring_w01",84,119,121,90,"Proing",1002,10,"poringlose::OnMobKilled";

areamonster "poring_w01",84,119,121,90,"Poiring",1002,10,"poringlose::OnMobKilled";

areamonster "poring_w01",84,119,121,90,"Poing",1002,10,"poringlose::OnMobKilled";

areamonster "poring_w01",84,119,121,90,"I am not Poring",1002,5,"poringlose::OnMobKilled";

areamonster "poring_w01",84,119,121,90,"Gniriop",1002,5,"poringlose::OnMobKilled";

areamonster "poring_w01",84,119,121,90,"Poring",1113,1,"poringlose::OnMobKilled";

areamonster "poring_w01",84,119,121,90,"Poring",1062,1,"poringlose::OnMobKilled";

areamonster "poring_w01",84,119,121,90,"Poriiing",1002,10,"poringlose::OnMobKilled";

areamonster "poring_w01",84,119,121,90,"PoriNg",1002,20,"poringlose::OnMobKilled";

areamonster "poring_w01",84,119,121,90,"Porong",1002,15,"poringlose::OnMobKilled";

areamonster "poring_w01",84,119,121,90,"P0ring",1002,15,"poringlose::OnMobKilled";

areamonster "poring_w01",84,119,121,90,"Por1ng",1002,15,"poringlose::OnMobKilled";

areamonster "poring_w01",84,119,121,90,"Porng",1002,1,"poringlose::OnMobKilled";

end;

}

- script poringwin -1,{

OnMobKilled:

dispbottom "Poring : Congratulations. You've got me.";

set PORING,1;

atcommand "@doommap";

killmonster "poring_w01","All";

mapannounce "poring_w01","Poring Catcher : Come to me and tell me your name.",0;

hideoffnpc "Poring Catcher#evnt2";

end;

}

- script poringlose -1,{

OnMobKilled:

dispbottom "Poring Catcher : Wahaha, your a loser! - I wasnt the correct Poring.";

warp "prontera",155,178;

end;

}

// -- Mapflags

poring_w01 mapflag nowarp

poring_w01 mapflag nowarpto

poring_w01 mapflag noteleport

poring_w01 mapflag nosave

poring_w01 mapflag nomemo

poring_w01 mapflag nobranch

poring_w01 mapflag noloot

poring_w01 mapflag noskill

poring_w01 mapflag nopenalty

Third NPC ( Portal )

prontera,156,173,0 warp barricadewarp 2,2,bat_a02,0,0

- script barricade#announcer -1,{

OnInit:

disablenpc "barricadewarp";

killmonsterall "bat_a02";

end;

OnClock0230:

OnClock0500:

OnClock0730:

OnClock1000:

OnClock1230:

OnClock1500:

OnClock1730:

OnClock2000:

OnClock2230:

announce "Barricade Event : It's time to play Barricade Event!",0;

killmonsterall "bat_a02";

sleep2 10000;

announce "Barricade Event : Please Use @go 0",0;

sleep2 10000;

announce "Barricade Event : Enter The Warp Portal At Center Of Prontera",0;

enablenpc "barricadewarp";

monster "bat_a02",0,0, "--AFRO--", 1906, 29, "Baricade Event#ev::Onfakekill";

monster "bat_a02",0,0, "--AFRO--", 1906, 1, "Baricade Event#ev::Onrealkill";

end;

}

//prontera,147,167,4 script Baricade Event#reg 469,{

// set .@eventgmlevel, 60; // event gm usually is 60

// if ( .start == 1 ) {

// mes "join the event ?";

// next;

// if ( select ( "yes", "no" ) == 2 ) close;

// else if ( getgmlevel() >= .@eventgmlevel ) {

// warp "bat_a02", 0,0;

// end;

// }

//

// else if ( @inventorylist_card1[0] || @inventorylist_card2[0] || @inventorylist_card3[0] || @inventorylist_card4[0] ) {

// mes "no cheating ! you have slotted card in !";

// close;

// }

//

// Remove Peco / Cart

// atcommand strcharinfo(0)+":@option 0 0 0";

// Remove Any Speed Buffs

// sc_end SC_SPEEDUP0;

// sc_end SC_SPEEDUP1;

// sc_end SC_INCREASEAGI;

// sc_end SC_WINDWALK;

// sc_end SC_CARTBOOST;

// sc_end SC_CLOAKING;

// sc_end SC_BERSERK;

// sc_end SC_RUN;

// sc_end SC_AVOID;

//

// warp "bat_a02", 0,0;

// end;

// }

// else if ( getgmlevel() >= .@eventgmlevel ) {

// mes "start event now?";

// next;

// if ( select ( "yes", "no" ) == 2 ) close;

// set .start, 1;

// announce strcharinfo(0) +" has started Baricade event !", 0;

// monster "bat_a02",0,0, "--AFRO--", 1906, 29, "Baricade Event#ev::Onfakekill";

// monster "bat_a02",0,0, "--AFRO--", 1906, 1, "Baricade Event#ev::Onrealkill";

// close;

// }

// mes "no event in progress";

// close;

//}

bat_a02,352,47,3 script Baricade Event#ev 100,{

set .@eventgmlevel, 60; // event gm usually is 60

if ( getgmlevel() >= .@eventgmlevel ) {

mes "spawn another round ? or stop this event";

next;

if ( select ( "another round", "stop this event" ) == 1 ) {

mapannounce "bat_a02", strcharinfo(0) +" has spawn another round for Baricade event", 0;

monster "bat_a02",0,0, "--AFRO--", 1906, 29, "Baricade Event#ev::Onfakekill";

monster "bat_a02",0,0, "--AFRO--", 1906, 1, "Baricade Event#ev::Onrealkill";

close;

}

else {

set getvariableofnpc ( .start, "Baricade Event#reg" ), 0;

mapannounce "bat_a02", strcharinfo(0) +" has stop the Baricade event", 0;

mapwarp "bat_a02", "prontera", 156,191;

killmonsterall "bat_a02";

end;

}

}

mes "return back to prontera ?";

next;

if ( select ( "Yes:No" ) == 2 ) close;

warp "prontera", 156,191;

end;

Onfakekill:

end;

Onrealkill:

announce strcharinfo(0) +" has found the correct Baricade !! Congratulations !", 0;

switch ( rand(9) ) { // make random reward here

default: getitem 14232, 20; break;

case 1: getitem 5321, 1; break;

case 2: getitem 5377, 1; break;

case 3: getitem 5160, 1; break;

case 4: getitem 12221, 50; break;

case 5: getitem 12187, 25; break;

case 6: getitem 7511, 90; break;

case 7: getitem 7227, 1; break;

case 8: getitem 7227, 1; break;

}

killmonsterall "bat_a02";

atcommand "@doommap";

disablenpc "barricadewarp";

end;

}

bat_a02 mapflag nomobloot

bat_a02 mapflag nobaseexp

bat_a02 mapflag nojobexp

bat_a02 mapflag nowarpto

bat_a02 mapflag pvp

bat_a02 mapflag noskill

bat_a02,205,5,48,0 script Exit 45,1,2,{

warp "bat_a02",57,213;

end;

}

bat_a02,59,208,48,0 script Exit1 45,1,2,{

warp "bat_a02",0,0;

end;

}

bat_a02,200,5,48,0 script Exit2 45,1,2,{

warp "bat_a02",44,17;

end;

}

bat_a02,38,12,48,0 script Exit3 45,1,2,{

warp "bat_a02",0,0;

end;

}

UPDATE : I only get this error if i use 2011-11-22

because after i edit mmo.h into 2010-06-16 and recompile

all npc work 100% normal and no error ><~

Edited by RyokoMVP
Link to comment
Share on other sites

12 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  149
  • Reputation:   33
  • Joined:  12/24/11
  • Last Seen:  

Please, post the scripts you are using, esp. those of the portals. How should we help if we don't know the NPCs that don't work...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

Make sure your script for the portal is being loaded by scripts_warp.conf

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  209
  • Reputation:   3
  • Joined:  11/28/11
  • Last Seen:  

it's work 100% when i change packetver 2011-11-22 into 2010-06-16 @mmo.h

but if use 2011-11-22 it's error o.O

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

i'll check this out later, could be a packet that needs to be fixed/reported i guess

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  209
  • Reputation:   3
  • Joined:  11/28/11
  • Last Seen:  

thanks for help judas , i hope it's not take a long time...because i must open my RO again ><~

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   13
  • Joined:  01/08/12
  • Last Seen:  

change packet_db_ver: 25 to packet_db_ver: default in db/packet_db and give a try if packet_db_ver is 23 change it to 25 and try

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

works fine on 2011-11-22, packet 28. Did you get any errors on map console, i could enter the warps just fine

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  209
  • Reputation:   3
  • Joined:  11/28/11
  • Last Seen:  

it's not work in here judas , i use src 100% like i share to you ~ and same database too...

but i get this error...now i use 2010-06-16

no error until now and no error in map console when i use 2011-11-22

do you know what's error in my server? o.O

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

no idea, there are some packet realted problems in 2011-11-22 still, so I'm not surprised if there are things that don't work

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  209
  • Reputation:   3
  • Joined:  11/28/11
  • Last Seen:  

no idea, there are some packet realted problems in 2011-11-22 still, so I'm not surprised if there are things that don't work

oh ~ ic.... ok maybe i'll wait until 2011-11-22 more fix than now~ thanks for reply judas ^^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

no problem, atm I keep finding more and more problems with 2011-11-22, so we'll see what happens

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  209
  • Reputation:   3
  • Joined:  11/28/11
  • Last Seen:  

btw judas i get some error at 2011-11-22

example :

i have whiteblinker , in 2010-06-16 100% work

in 2011-11-22 the pic in inventory is missing , i dont know why and this is only at 2011-11-22 because after it i change into 2010-06-16 work again ^^

i'll help u to re-check error or bug at 2011-11-22 ^^

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