Jump to content
  • 0

personal account warp


IvanD

Question


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.03
  • Content Count:  110
  • Reputation:   0
  • Joined:  11/13/17
  • Last Seen:  

can i request this personal warp script?

NPC that only recognize account id 2000001,2000002,2000003 and a choice to (warp prontera or change password)

and a pub that says "warper"

Edited by IvanD
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.03
  • Content Count:  110
  • Reputation:   0
  • Joined:  11/13/17
  • Last Seen:  

bump ---- advance happy new year! ?

bumpy bumpy ? .. i hope someone noticed ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  477
  • Reputation:   269
  • Joined:  06/13/17
  • Last Seen:  

Good for you I noticed it

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

prontera,155,181,5	script	Sample	757,{
	if (getcharid(3) >= 2000001 && getcharid(3) <= 2000003) {
		switch(select("Warp", "Change Password")) {
			case 1:
				warp "prontera", 155, 180;
				end;
			case 2:
				mes "Enter new password.";
				input .@new_password$;
				if (getstrlen(.@new_password$) < 5 || getstrlen(.@new_password$) > 30) {
					mes "Between 5 ~ 30 characters.";
				}
				else {
					if (.md5) {
						.@new_password$ = "MD5('"+.@new_password$+"')";
					}
					else {
						.@new_password$ = "'"+.@new_password$+"'";
					}
					query_sql("UPDATE `login` SET `user_pass` = "+.@new_password$+" WHERE `account_id` = "+getcharid(3)+" LIMIT 1");
				}
				break;
		}
		close;
	}
	end;
	
	OnInit:
		.use_md5 = 1;
		waitingroom "Warper", 0;
		end;
}

 

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