Jump to content
Santino

Quests, Games: Skill Matching Game

Recommended Posts

File Name: Skill Matching Game

File Submitter: Viole

File Submitted: 16 Sep 2012

File Category: Games, Events, Quests

Content Author: Viole

Just like a normal matching/memory game. Here, you need

to match skill effects with the same skill effect by clicking the eggs.

If 1 pair is matched, the pair disappears and gives a prize.

If all are matched, npc gives another prize for completing

the game. Depends on what prizes are set by the GM. ( In-game set )

If prizes are not set, default prize are distributed instead.

3 Minutes Game Duration.

Edit things under:

OnInit:
  //•••••••••••••••••••••••• C O N F I G U R A T I O N ••••••••••••••••••••••••//

Change special effects under: (Read Instruction)

  //•••••Special Effects•••••//

*Read Note at line 594*

Credits:

Mules(bRO) for explaining *atoi*

Quinn for giving the eggs idea lol

Click here to download this file

Edited by Viole
  • Upvote 3
Link to comment
Share on other sites

This is very cool. Great work!

A suggestion: don't include so many configuration options when they're not all that important, for instance:

/* Because there's still more work to do to change the map location
(moving duplicates, etc.), you might as well not include these
options since "find and replace" would be quicker anyway. */
   set .mapname$, "quiz_02"; // Event Map Location
   set .warpx, 305; // warp to Event Map x coordinate
   set .warpy, 253; // warp to Event Map y coordinate
   set .areax1, 295; // Event map areannounce x1
   set .areay1, 261; // Event map areannounce y1
   set .areax2, 314; // Event map areannounce x2
   set .areay2, 242; // Event map areannounce y2

/* You could use instead: warp "SavePoint",0,0; */
   set .maintown$, "prontera"; // Spawn location when game ends
   set .mainx, 155; // spawn location x coordinate
   set .mainy, 179; // spawn location y coordinate

Link to comment
Share on other sites

Oh. Come to think of it, lol. I've been lazy to put all the warp coordinates in every areaannounce lol. that's why i'm putting those. Thx. xD

Edited by Viole
Link to comment
Share on other sites

Thanks.

Under OnInit: Configurations

set .intervalmavis, 300; // [ Seconds ] Time interval before a player can join the game again

Change 300, to 3600 for 1 hour.

Arrg! Thx for that, I forgot to change these: (line 59 & 69 )

mes "Sorry, you have to wait 5 minutes before joining the event again!";

Please change those to:

mes "Sorry, you have to wait "+ .intervalmavis / 60 +"minutes before joining the event again!";

/no1

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

weeww...not bad...xD

nice game ~

anyway i think this is a minor mistake...

if((countitem(.payitem) >= .payamount)){ delitem .payitem, .payamount; }
  if(( Zeny >= .zeny )){ set Zeny, Zeny - .zeny; }

should be

if((countitem(.payitem) >= .payamount))
   delitem .payitem, .payamount;
else
   set Zeny, Zeny - .zeny;

because....

mes "Cost is ^0000FF"+.zeny+"^000000 zeny.";

mes "If you don't have zeny.";

mes "You can pay ^FF0000"+.payamount+" "+getitemname(.payitem)+"s^000000 instead.";

but i think it's better to change to.....

If you got Silver Coin, you dont need to pay Zeny.
  • Upvote 1
Link to comment
Share on other sites

Oh, it works the same way, except I used zeny as the based payment,

if got zeny and coins, zeny will be deducted instead of coins.

but if a player doesn't have zeny, he can pay with coins instead.

(But honestly, mine kinda looks messy in there LOL) thx. (my bad)

Edited by Viole
Link to comment
Share on other sites

but....

if((countitem(.payitem) >= .payamount)){ delitem .payitem, .payamount; }
  if(( Zeny >= .zeny )){ set Zeny, Zeny - .zeny; }

if a player have sufficient Silver Coin...and sufficient Zeny...

both Zeny and Silver Coin will be removed...

  • Upvote 1
Link to comment
Share on other sites

Omy, thx for that !

(My bad) I've been using my other version of this script.. & works fine in that lines, didn't check it's not the same!

Thx again.

Link to comment
Share on other sites

Just change this part

if((countitem(.payitem) < .payamount ) && ( Zeny < .zeny ))

to:

if((countitem(.payitem) < .payamount ))

& comment (//) or removed lines 105, 106

else
set Zeny, Zeny - .zeny;

Just edit the mes " " lines, remove Cost is zeny blablas.

feel free to edit those.

Link to comment
Share on other sites

yeah, why don't you try XD you can add an announcement , you can edit it freely what you want..=)

just add them on the labels,

OnWinner:

OnLose:

OnAfk:

OnTimer180000:

/no1

Link to comment
Share on other sites

thanks for your script , it's very nice but can u help me to change this event to other map because this map already be a mall in my RO . i can do it but i can't make a wall >_<"

And Whats Different for

set .w_rewarditem, 677; // Default Winner Prize <== this

set .rewarditem, 674; // Default Normal Prize <== and this

and i think you miss this~

quiz_02,314,244,4 duplicate(SkillEffect0) Togepi#35::SkillEffect36 463

[Debug]: NPCEvent 'SkillEffect36::OnShowSkillEffects' not found! (source: Mavis Vermillion)

Edited by RyokoMVP
Link to comment
Share on other sites

Make sure you setwall don't overlap each other..

And Whats Different for

set .w_rewarditem, 677; // Default Winner Prize ( When a player completes the game)

set .rewarditem, 674; // Default Normal Prize (When a player found 1 pair)

yeah i think..

just remove ,36 at

// NPC Count

setarray [email protected]_size[0],0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36;

Link to comment
Share on other sites

Make sure you setwall don't overlap each other..

And Whats Different for

set .w_rewarditem, 677; // Default Winner Prize ( When a player completes the game)

set .rewarditem, 674; // Default Normal Prize (When a player found 1 pair)

yeah i think..

just remove ,36 at

// NPC Count

setarray [email protected]_size[0],0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36;

thanks for your info~ btw can u make this sript in other map for me?i still confuse with wall script >_<" and whats for?

Link to comment
Share on other sites

Thank you for sharing.

EDIT:

I should've post my feedback as soon as I test it on our server.

A.W.E.S.O.M.E!

Edited by Henesy
Link to comment
Share on other sites

really nice script. but when I test the script. I can match the same egg for many times. I mean, After I find the eggs with same skill, I can klik the eggs again and I get the prize again. so I just need to find 1 match egg and just klik that egg until the game is over..

=====sorry for my bad English======

but, this script is really nice Idea. ^^

Link to comment
Share on other sites

when you found 1 pair. you'll get the normal prize , set in the script. ( or in-game )

when you finished the game , you'll get the winner prize , set in the script ( or in-game )

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
Reply to this topic...

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.