integral Posted February 15, 2012 Posted February 15, 2012 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. Quote
Emistry Posted February 15, 2012 Posted February 15, 2012 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 ~ Quote
integral Posted February 15, 2012 Author Posted February 15, 2012 (edited) 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 February 15, 2012 by integral Quote
Emistry Posted February 15, 2012 Posted February 15, 2012 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.. Quote
integral Posted February 16, 2012 Author Posted February 16, 2012 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. Quote
integral Posted February 17, 2012 Author Posted February 17, 2012 (edited) 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 February 17, 2012 by integral Quote
Question
integral
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.
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.