Jump to content
  • 0

[Solve] Cancel


manabeast

Question


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

Change other post. waiting too long. can count solve.

Edited by manabeast
Link to comment
Share on other sites

15 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  107
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

I have a old script maze related, but is in spanish language, I don't know If you can use it :/

Edit: I found the original script, hope It works for you :D

// Maze Game
// First Public Release
// Written by Euph

// Game Runs Every 3 Hours Automatically
// If you want to change this look for the "OnClock" events.

prontera,155,181,0 script mazeevent 45,2,2,{

if ( $mazeinit == 0 ) {
disablenpc "mazeevent";
end;
}

// Check for equipment that would give an advantage.
if ( countitem(1363) ||
countitem(1372) ||
countitem(1373) ||
countitem(2410) ||
countitem(2515) ||
countitem(4131) ||
countitem(4210) ||
countitem(5150) ||
countitem(5203) ||
countitem(5273) ||
countitem(5274) ||
countitem(5275) ) {
mes "[^FF0000Maze^000000]";
mes "Please store any equipment that increases your movement speed.";
close;
end;
}

// Check for any consumable items that would give an advantage.
if ( countitem(662) ||
countitem(12016) ||
countitem(12028) ||
countitem(12262) ) {
mes "[^FF0000Maze^000000]";
mes "Please store any consumables that increases your movement speed.";
close;
end;
}

// 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;

// Grant 5 Minute Walking Speed Increase
sc_start SC_INCREASEAGI,300000,1;


// Warp to Event
warp "force_1-3", 19, 189;


}



- script Maze#announcer -1,{

OnInit:
// Unload NPCs except this one at server start.
disablenpc "mazeevent";
disablenpc "mz_portal#1";
disablenpc "mz_portal#2";
disablenpc "mz_portal#3";
disablenpc "mz_portal#4";
disablenpc "mz_portal#5";
disablenpc "mz_portal#6";
disablenpc "mz_portal#7";
disablenpc "mz_portal#8";
disablenpc "mz_portal#9";
disablenpc "mz_portal#10";
disablenpc "mz_portal#11";
disablenpc "mz_portal#12";
disablenpc "mz_portal#13";
disablenpc "mz_portal#14";
disablenpc "mz_portal#15";
disablenpc "mz_portal#16";
disablenpc "mz_portal#17";
disablenpc "mz_portal#18";
disablenpc "mz_portal#19";
disablenpc "mz_portal#20";
disablenpc "mz_portal#21";
disablenpc "mz_portal#22";
disablenpc "mz_portal#23";
disablenpc "mz_portal#24";
disablenpc "Maze#asdf";
end;

OnClock0135:
OnClock0435:
OnClock0735:
OnClock1035:
OnClock1335:
OnClock1635:
OnClock1935:
OnClock2235:

announce "Maze: A maze event will begin in 2 minutes in Prontera.",0,0x99FFCC;
sleep2 90000;
announce "Maze: Enter the Warp in Prontera to join the Maze event.",0,0x99FFCC;

// Clear up the map.
areawarp "force_1-3",104,18,189,10,"prontera",155,175;

// Load NPCs + hide the Maze guy
set $mazeinit, 1;
enablenpc "mazeevent";
enablenpc "Maze#asdf";
hideonnpc "Maze#asdf";
initnpctimer;
end;

OnTimer30000:
mapannounce "prontera","Maze: Last 30 seconds.",0,0x99FFCC;
sleep2 5000;
mapannounce "prontera","Maze: If you want to join please enter the Warp Portal.",0,0x99FFCC;
end;

OnTimer50000:
mapannounce "prontera","Maze: Last 10 seconds.",0,0x99FFCC;
end;

OnTimer60000:
mapannounce "prontera","Maze: Time's up.",0,0x99FFCC;
end;

OnTimer61000:
disablenpc "mazeevent";
donpcevent "Maze#asdf::OnEnable";
stopnpctimer;
end;
}

force_1-3,100,187,4 script Maze#asdf 702,{
mes "[Maze]";
mes "Here is your prize!";
set $@prize, rand(1,100);
if ( $@prize <= 3 ) {
getitem 616, 1; // Old Card Album (3% chance)
goto L_EndIt;
}
set $@prize, rand(1,100);
if ( $@prize <= 6 ) {
getitem 12103, 1; // Bloody Branch (6% chance)
goto L_EndIt;
}
set $@prize, rand(1,100);
if ( $@prize <= 12 ) { // Field Manual (12% chance)
getitem 14533, 1;
goto L_EndIt;
}
set $@prize, rand(1,100);
if ( $@prize <= 24 ) { // Old Violet Box (24% chance)
getitem 617, 1;
goto L_EndIt;
}
set $@prize, rand(1,100);
if ( $@prize <= 48 ) { // Old Blue Box (48% chance)
getitem 603, 1;
goto L_EndIt;
}
getitem 665, 1; // Gift Box if didn't win any of the above.
L_EndIt:
warp "prontera",155,175;
// Hide the NPC
disablenpc "Maze#asdf";
end;


OnEnable:
if(getmapusers("force_1-3") == 1) goto L_NotEnough;
mapannounce "force_1-3","Maze: We are about to start the maze... here's how to play.",0,0x99FFCC;
sleep2 7000;
mapannounce "force_1-3","Maze: Everybody must keep running through portals.",0,0x99FFCC;
sleep2 7000;
mapannounce "force_1-3","Maze: Each portal will warp you to a random room.",0,0x99FFCC;
sleep2 7000;
mapannounce "force_1-3","Maze: With some luck, somebody will find the finish!",0,0x99FFCC;
sleep2 7000;
mapannounce "force_1-3","Maze: And then, they will win the event.",0,0x99FFCC;
sleep2 7000;
mapannounce "force_1-3","Maze: Is everybody ready?! We're going to start!",0,0x99FFCC;
sleep2 7000;
mapannounce "force_1-3","Maze: 3....",0,0x99FFCC;
sleep2 3000;
mapannounce "force_1-3","Maze: 2...",0,0x99FFCC;
sleep2 3000;
mapannounce "force_1-3","Maze: 1..",0,0x99FFCC;
sleep2 3000;
mapannounce "force_1-3","Maze: GO!",0,0x99FFCC;
enablenpc "mz_portal#1";
enablenpc "mz_portal#2";
enablenpc "mz_portal#3";
enablenpc "mz_portal#4";
enablenpc "mz_portal#5";
enablenpc "mz_portal#6";
enablenpc "mz_portal#7";
enablenpc "mz_portal#8";
enablenpc "mz_portal#9";
enablenpc "mz_portal#10";
enablenpc "mz_portal#11";
enablenpc "mz_portal#12";
enablenpc "mz_portal#13";
enablenpc "mz_portal#14";
enablenpc "mz_portal#15";
enablenpc "mz_portal#16";
enablenpc "mz_portal#17";
enablenpc "mz_portal#18";
enablenpc "mz_portal#19";
enablenpc "mz_portal#20";
enablenpc "mz_portal#21";
enablenpc "mz_portal#22";
enablenpc "mz_portal#23";
enablenpc "mz_portal#24";
end;

L_NotEnough:
mapannounce "force_1-3","Maze: Not enough players. Cancelling this round.",0,0x99FFCC;
areawarp "force_1-3",10,189,189,10,"prontera",155,175;
end;

}

- script mz_portal::maze_portal -1,{
OnTouch:
set .@win_chance, (getmapusers("force_1-3")*23);
if ( rand(1,.@win_chance) == .@win_chance ) {
warp "force_1-3",100,184;
announce "Maze: "+strcharinfo(0)+" has solved the maze event! Next round is in 3 hours.",0,0x99FFCC;
disablenpc "mz_portal#1";
disablenpc "mz_portal#2";
disablenpc "mz_portal#3";
disablenpc "mz_portal#4";
disablenpc "mz_portal#5";
disablenpc "mz_portal#6";
disablenpc "mz_portal#7";
disablenpc "mz_portal#8";
disablenpc "mz_portal#9";
disablenpc "mz_portal#10";
disablenpc "mz_portal#11";
disablenpc "mz_portal#12";
disablenpc "mz_portal#13";
disablenpc "mz_portal#14";
disablenpc "mz_portal#15";
disablenpc "mz_portal#16";
disablenpc "mz_portal#17";
disablenpc "mz_portal#18";
disablenpc "mz_portal#19";
disablenpc "mz_portal#20";
disablenpc "mz_portal#21";
disablenpc "mz_portal#22";
disablenpc "mz_portal#23";
disablenpc "mz_portal#24";
sleep 5000;
areawarp "force_1-3",10,189,29,170,"prontera",155,175;
areawarp "force_1-3",170,189,189,170,"prontera",155,175;
areawarp "force_1-3",10,147,189,11,"prontera",155,175;
mapannounce "force_1-3","Maze: Congratulations! Talk to me for a prize.",0,0x99FFCC;
hideoffnpc "Maze#asdf";
end;
}
set .@this_entry, rand(1,15);
switch (.@this_entry) {
case 1:
warp "force_1-3",19,189;
end;
case 2:
warp "force_1-3",170,179;
end;
case 3:
warp "force_1-3",19,147;
end;
case 4:
warp "force_1-3",59,128;
end;
case 5:
warp "force_1-3",90,138;
end;
case 6:
warp "force_1-3",179,128;
end;
case 7:
warp "force_1-3",109,100;
end;
case 8:
warp "force_1-3",140,50;
end;
case 9:
warp "force_1-3",170,99;
end;
case 10:
warp "force_1-3",19,50;
end;
case 11:
warp "force_1-3",100,10;
end;
case 12:
warp "force_1-3",170,60;
end;
case 13:
warp "force_1-3",20,29;
end;
case 14:
warp "force_1-3",60,29;
end;
case 15:
warp "force_1-3",130,20;
end;
}
}

force_1-3,29,179,0 duplicate(maze_portal) mz_portal#1 45,2,2
force_1-3,180,170,0 duplicate(maze_portal) mz_portal#2 45,2,2
force_1-3,29,99,0 duplicate(maze_portal) mz_portal#3 45,2,2
force_1-3,69,138,0 duplicate(maze_portal) mz_portal#4 45,2,2
force_1-3,109,137,0 duplicate(maze_portal) mz_portal#5 45,2,2
force_1-3,140,147,0 duplicate(maze_portal) mz_portal#6 45,2,2
force_1-3,60,90,0 duplicate(maze_portal) mz_portal#7 45,2,2
force_1-3,130,100,0 duplicate(maze_portal) mz_portal#8 45,2,2
force_1-3,180,90,0 duplicate(maze_portal) mz_portal#9 45,2,2
force_1-3,69,59,0 duplicate(maze_portal) mz_portal#10 45,2,2
force_1-3,90,59,0 duplicate(maze_portal) mz_portal#11 45,2,2
force_1-3,179,50,0 duplicate(maze_portal) mz_portal#12 45,2,2
force_1-3,20,10,0 duplicate(maze_portal) mz_portal#13 45,2,2
force_1-3,69,19,0 duplicate(maze_portal) mz_portal#14 45,2,2
force_1-3,179,29,0 duplicate(maze_portal) mz_portal#15 45,2,2
force_1-3,139,109,0 duplicate(maze_portal) mz_portal#16 45,2,2
force_1-3,10,99,0 duplicate(maze_portal) mz_portal#17 45,2,2
force_1-3,130,137,0 duplicate(maze_portal) mz_portal#18 45,2,2
force_1-3,59,69,0 duplicate(maze_portal) mz_portal#19 45,2,2
force_1-3,109,59,0 duplicate(maze_portal) mz_portal#20 45,2,2
force_1-3,60,109,0 duplicate(maze_portal) mz_portal#21 45,2,2
force_1-3,100,147,0 duplicate(maze_portal) mz_portal#22 45,2,2
force_1-3,100,128,0 duplicate(maze_portal) mz_portal#23 45,2,2
force_1-3,180,109,0 duplicate(maze_portal) mz_portal#24 45,2,2

force_1-3 mapflag nobranch
force_1-3 mapflag nomemo
force_1-3 mapflag nopenalty
force_1-3 mapflag nosave SavePoint
force_1-3 mapflag noskill
force_1-3 mapflag noteleport
force_1-3 mapflag nowarpto
force_1-3 mapflag restricted 3[/codeBOX]

Regards,

Zwei

Edited by Zwei
Codebox'ed
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

thx thx thx thx thx.. i go try it. hope it's work.........

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

1.i'm sorry sir. u giving the wrong script XD! but it's maze too i also curious go in look but not working. the npc no show in prontera hmm.

2,this is the maze map i been using.

post-472-0-99263500-1325398605_thumb.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  107
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

Oh my God! That is very different than I thought. The script I uploaded, doesn't shows a NPC in Prontera, works as follows:

-= MAZE EVENT =-

Alright this is fun but it's also pretty simple. Players basically run through portals on force_1-3 trying to find the finish room. They find it purely by luck and the luck factor is dynamic and based on how many people are inside the maze, the event usually will run the same amount of time (around 5 minutes), Sometimes you will notice, the event will only last a few seconds. But this is rare and usually never happens One winner per round, and they are granted an item. Every 3 hours it opens a portal in Prontera for people who want to join.

Required Map

force_1-3 which is turned on by default in eAthena.

Maze Size

15 rooms

Chance of Winning (when walking through a portal)

(Number of Players * 23)

Not sure why I chose 23, but you can change it if you want. The lower the number, the faster the event will end.

Prizes for the Winner

Winner gets a random prize based on luck.

// Old Card Album (3% chance)

// Bloody Branch (6% chance)

// Field Manual (12% chance)

// Old Violet Box (24% chance)

// Old Blue Box (48% chance)

// Gift Box if did not win any of above.

by Euph

For these map you show... I don't know that map. What map is?

Edit: This is your map?

mazeoo5.png

Edited by Zwei
  • Upvote 1
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:  

If i remember correctly is that the map or minatour maze?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

@zwei@ nice script . do know how to fix?

@judas@ dunno.... this map i get from u xD! i sew before in old server but i never try it out becos server close already.i think there will be 2 boxer place. start and end. ppl who warp in will start form the start point. walk all the map until the end point then click that npc to get prize then leave. like that =)

Edited by manabeast
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  107
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

@zwei@ nice script . do know how to fix?

Forgot to mention, that you need to restart your server to let the script begins (It uses OnInit: ).

The event works every three hours, when It starts a warp appear in Prontera, the users use it to go to the event map and when two minutes has passed, the warp dissappear and the event starts. Try it again.

Really It works fine for me.

For the map you mentioned, Borf Maze, I can't find it, can you upload it? Maybe we can test it, and make an NPC for it.

Regards,

Zwei

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

yes, of cause, this map is not made by me. but the mini map i use brow edit make it. dunno the condition have wrong or not.

oh. it's timing set. erm... how to i know it's work or not? if the warp portal no appear and need wait 3 hour?

Maze.rar

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

the maze i see warp portal. but getting in nothing to do after that auto warp out.

post-472-0-08219200-1325439669_thumb.png

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:  

Copy this

force_1-3,29,179,0	duplicate(maze_portal)	mz_portal#1	45,2,2
force_1-3,180,170,0	duplicate(maze_portal)	mz_portal#2	45,2,2
force_1-3,29,99,0	duplicate(maze_portal)	mz_portal#3	45,2,2
force_1-3,69,138,0	duplicate(maze_portal)	mz_portal#4	45,2,2
force_1-3,109,137,0	duplicate(maze_portal)	mz_portal#5	45,2,2
force_1-3,140,147,0	duplicate(maze_portal)	mz_portal#6	45,2,2
force_1-3,60,90,0	duplicate(maze_portal)	mz_portal#7	45,2,2
force_1-3,130,100,0	duplicate(maze_portal)	mz_portal#8	45,2,2
force_1-3,180,90,0	duplicate(maze_portal)	mz_portal#9	45,2,2
force_1-3,69,59,0	duplicate(maze_portal)	mz_portal#10	45,2,2
force_1-3,90,59,0	duplicate(maze_portal)	mz_portal#11	45,2,2
force_1-3,179,50,0	duplicate(maze_portal)	mz_portal#12	45,2,2
force_1-3,20,10,0	duplicate(maze_portal)	mz_portal#13	45,2,2
force_1-3,69,19,0	duplicate(maze_portal)	mz_portal#14	45,2,2
force_1-3,179,29,0	duplicate(maze_portal)	mz_portal#15	45,2,2
force_1-3,139,109,0	duplicate(maze_portal)	mz_portal#16	45,2,2
force_1-3,10,99,0	duplicate(maze_portal)	mz_portal#17	45,2,2
force_1-3,130,137,0	duplicate(maze_portal)	mz_portal#18	45,2,2
force_1-3,59,69,0	duplicate(maze_portal)	mz_portal#19	45,2,2
force_1-3,109,59,0	duplicate(maze_portal)	mz_portal#20	45,2,2
force_1-3,60,109,0	duplicate(maze_portal)	mz_portal#21	45,2,2
force_1-3,100,147,0	duplicate(maze_portal)	mz_portal#22	45,2,2
force_1-3,100,128,0	duplicate(maze_portal)	mz_portal#23	45,2,2
force_1-3,180,109,0	duplicate(maze_portal)	mz_portal#24	45,2,2

Create a new separate file and load it together with the other warp portals. If I remember correctly, they won't load unless they're with the other warp portals. Try it and see what happens.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

need delete those warp from the maze npc script? i no delete i make new text and put in god this error.

post-472-0-45426400-1325481506_thumb.png

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:  

Please make sure you already have the NPC with selected Name...before you try to duplicate it......

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

dunno. this script not made by me ~.~" waiting Zwei fix his script.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

the maze i see warp portal. but getting in nothing to do after that auto warp out.

Remove this line.

if(getmapusers("force_1-3") == 1) goto L_NotEnough; 

or change it to:

if(getmapusers("force_1-3") == 0) goto L_NotEnough; 

Edited by quesoph
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

thx. the problem solve ^^ work. waiting difficult maze. the maze you give too easy haha...

bump

bump, if anyone have this old maze script.

bumps, =) waiting someone interest on this map and making the script for it.

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