Jump to content
  • 0

help, Character(Failed to Connect)


integral

Question


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   4
  • Joined:  02/01/12
  • Last Seen:  

First of all, sorry if I'm in the wrong section.

I don't know where to post this.

Please feel free to move this if necessary.

I have this PvP Script,

when I approach it, it's working fine.

But after a couple of trials, the character becomes untouchable. ( It can move, but it can't attack or be attacked. )

And then after I log out, It gives me failed to connect to server.

This problem only happens to my other accounts. Not in my admin account.

Thank you.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


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

this is script support...

based on your problem..we dunno why..because we dunno how you script the PVP Script..

Support section you have to provide your code..so that we can try debug it for you ~

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   4
  • Joined:  02/01/12
  • Last Seen:  

prontera,144,175,5	script	PvP Warper	88,{

mes "^FF6600[PVP Warper]^000000";
mes "^990066To participate, just enter the chat room and wait. If two players are";
mes "inside the chat room, they will be warped automatically. The players";
mes "who are left in the chat room should now wait for the players inside to finish.";
close;

OnInit:
waitingroom "1vs1 PvP Warper",20,"PvP Warper::OnFull",2,1000000;
enablewaitingroomevent "PvP Warper";
end;

OnPCKillEvent:
set .@map$,"pvp_y_2-2";
	if( .@map$ == "pvp_y_2-2" ){
	announce strcharinfo(0)+" has killed "+rid2name(killedrid)+".",0;
	mapwarp "pvp_y_2-2","prontera",150,150;
	end;
		}

OnFull:
disablewaitingroomevent "PvP Warper";
warpwaitingpc "pvp_y_2-2",128,116;
announce "PvPBet: You have 5 Minutes to finish.",0;
addtimer 300000, strnpcinfo(3)+"::On5Minutes";
initnpctimer;
end;

On5Minutes:
announce "Times up",0;
mapwarp "pvp_y_2-2","prontera",150,150;
end;
}

Here.

Edited by integral
Link to comment
Share on other sites


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

instead of using mapwarp command..

i think you should just use a simple warp command..

because using mapwarp command may affect other users...especially who just get into the map or the timelimit is not reach for the other users..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   4
  • Joined:  02/01/12
  • Last Seen:  

instead of using mapwarp command..

i think you should just use a simple warp command..

because using mapwarp command may affect other users...especially who just get into the map or the timelimit is not reach for the other users..

Yeah, but I want it to have a limit on how many players will be able to use the map. I tried using the if statement to check if a number of players are inside the map, it works, but when the players inside are finished, the players who are still inside the chat room will not be teleported.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   4
  • Joined:  02/01/12
  • Last Seen:  

So, I found the reason about the failed to connect to server. The script that I'm using is below.

 prontera,150,150,4	script	PvPWarper	88,{

set .@map$, "pvp_y_2-2";

mes "Do you want to enter PVP Room?";
if(select("Yes:No") == 2) close;
close2;
warp .@map$,0,0;
end;



OnPCKillEvent:
set .@map$,"pvp_y_2-2";
	if( .@map$ == "pvp_y_2-2" ){
	announce strcharinfo(0)+" has killed "+rid2name(killedrid)+".",0;
	[b]mapwarp "pvp_y_2-2","prontera",150,150;[/b]
	end;
		}

}

Characters Used:

Player 1

Player 2

Player 1 killed Player 2 inside the map, and then after suddenly being warped outside, and then both returning to the map, it seems that Player 1 can't attack Player 2, Player 1 also can't be attacked by Player 2. And then when Player 2 decided to change character, Player 2 can't login the character Player 2 and the "failed to connect to server" message will show. But when I try to create a new character in the account of Player 2, It can easily connect to the server.

Edited by integral
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...