Jump to content
  • 0

Gold Room Capcha


kalabasa

Question


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

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

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

buildin_callfunc: function not found! [goldmain]

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  208
  • Reputation:   22
  • Joined:  01/14/13
  • Last Seen:  

You dont call any function on this you post.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

18 hours ago, Radian said:

thanks! it works

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

Hi can i ask more? can you add a timer on it 300 minutes and 12 hours cooldown per character

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