Jump to content
  • 0

Gold Room Capcha


Question

Posted

wassup!

can someone know where to insert this codes for goldroom

case 1:
	mes "[ ^C6A518Gold Room Assistant^000000 ]";
		mes "Sorry to disturb you,but I need to";
		mes "check if you're a bot.";
		mes "Please type the correct captcha:";
		mes "FEE: ^FF0000"+ F_InsertComma(.zeny) +" Zeny^000000";
		for (.@i = 0; .@i < .strLen; ++.@i)
			.@str$ += charat(.charSet$, rand(0, getstrlen(.charSet$)));
		mes "Captcha: ^C6A518"+ .@str$ +"^000000";
		next;
		input .@txt$;
		if (.@txt$ != .@str$) {
			mes "You have not inputted Correct.";
			mes "Captcha";
			next;
			atcommand "@kick "+ strcharinfo(0);
			end;
		}
		if (Zeny < .zeny) {
			mes "Sorry, but you can't enter the room.";
			close;
		}
		Zeny -= .zeny;
		warp "ordeal_1-2",151,154;
		end;


OnInit:
	.charSet$ = "0123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ";
	.strLen = 4;		// Sets how many characters for the generated confirmation code.
	.zeny = 200000;		// Entrance FEE for the room
	end;

im currently using this goldroom 

https://github.com/deadlybrothers/script/blob/master/goldroom.txt

 

thank you!!

6 answers to this question

Recommended Posts

  • 1
Posted (edited)
2 hours ago, kalabasa said:

wassup!

can someone know where to insert this codes for goldroom


case 1:
	mes "[ ^C6A518Gold Room Assistant^000000 ]";
		mes "Sorry to disturb you,but I need to";
		mes "check if you're a bot.";
		mes "Please type the correct captcha:";
		mes "FEE: ^FF0000"+ F_InsertComma(.zeny) +" Zeny^000000";
		for (.@i = 0; .@i < .strLen; ++.@i)
			.@str$ += charat(.charSet$, rand(0, getstrlen(.charSet$)));
		mes "Captcha: ^C6A518"+ .@str$ +"^000000";
		next;
		input .@txt$;
		if (.@txt$ != .@str$) {
			mes "You have not inputted Correct.";
			mes "Captcha";
			next;
			atcommand "@kick "+ strcharinfo(0);
			end;
		}
		if (Zeny < .zeny) {
			mes "Sorry, but you can't enter the room.";
			close;
		}
		Zeny -= .zeny;
		warp "ordeal_1-2",151,154;
		end;


OnInit:
	.charSet$ = "0123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ";
	.strLen = 4;		// Sets how many characters for the generated confirmation code.
	.zeny = 200000;		// Entrance FEE for the room
	end;

im currently using this goldroom 

https://github.com/deadlybrothers/script/blob/master/goldroom.txt

 

thank you!!

Try this script https://upaste.me/r/a04e54027f405c652

Edited by Radian
  • Upvote 2

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