Jump to content
  • 0

Help me with this script


Question

Posted

//============================================================
//= Gold Room+ Script
//===== By: ==================================================
//= Cruxiaer
//===== Current Version: =====================================
//= 2.02
//===== Description: =========================================
//= A room with actual Gold
//= 1 player at a time only
//= Will be warped out of Gold Room after 10 seconds
//= Can only enter once per day
//===== Credits: =============================================
//= iHeartz for original Gold Room Script
//============================================================
belagio,72,61,7 script Gold Room::goldroomplus 81,{
 mes "[Gold Room]";
 mes "I recently discovered a room by digging through some walls, it seems that the strong nuclear reactivity is causing Golds to materialise.";
 next;
 mes "[Gold Room]";
 mes "I just do digging for recreation so the Gold really doesn't matter to me. Therefore I've decided to share the wealth with all of Rune-Midgard.";
 next;
 mes "[Gold Room]";
 mes "You can visit the Gold Room ^336699anytime ^000000. Would you like to go to the Gold Room? You can collect Golds inside for 60 seconds, but don't worry, you can still go back anytime. ^336699This is to prevent from Abuse and BOTs in Gold Room. ^000000";
if(select("Yes", "No") == 1) {
set @user, getareausers("new_zone04",168,151,191,128);
 if (@use0) {
 goto CANCEL_DELAY;
 } else {
  dispbottom "Don't forget to write us a review !";	  dispbottom "60 seconds starts now !";
  warp "new_zone04", 180, 140;
  addtimer 62000, strnpcinfo(3)+"::On62secs";
  initnpctimer;
  set #goldroomplus, (gettime(6)*31)+gettime(5);
  set .delay, gettimetick(2);
  end;
  }
} next;
 goto CANCEL_NO;
OnTimer800:
makeitem 969, 2, "new_zone04", rand(168, 191),rand(128, 151);
stopnpctimer;
initnpctimer;
end;

On62secs:
warp "belagio", 41, 68;
dispbottom "60 seconds have passed!";
stopnpctimer;
end;

CANCEL_DAY:
mes "[Dave the Digger]";
mes "I'm sorry but you've already visited the Gold Room today. Please come back again tomorrow.";
close;

CANCEL_DELAY:
set @again, (70-@delay);
mes "[Dave the Digger]";
mes "Please come back again in ^336699" + @again + "^000000 seconds because someone just went in.";
close;

CANCEL_NO:
mes "[Dave the Digger]";
mes "Please do visit me again if you wish to enter the Gold Room.";
close;

}

Can anyone help me with this script? I want this script to active in "quiz_02 304 234". I try to change the gold and warp coordinates but there are no golds dropped in the current map I've set. Any can help me? I only have the problem on how to get the gold drop in the random area of quiz_02.

The area is in "quiz_02 304 234" I just wanted to make the Gold drop in random cells in that area of the map.

I've edited the script for not staying long for 1 min and get out in the map. I just wanted to make sure on the map XD sorry...I don't know how to edit it. Please help me in that new_zone04 part only thanks !

Please post in Pastebin, Thanks !

5 answers to this question

Recommended Posts

Posted

change the following below

set @user, getareausers("new_zone04",168,151,191,128);

this one also

warp "new_zone04", 180, 140;

and last but not the list

makeitem 969, 2, "new_zone04", rand(168, 191),rand(128, 151);

Posted

The room is only avail for 1 player, how can I make it in unlimited players insde?

I don't know how to change it, I've changed it already but still nothing change, no drops and anything =(, and how can I make players go there unlimited? The script only shows that 1 player is only allowed to enter.. I want to make it unlimited players inside...

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...