integral Posted February 15, 2012 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 167 Reputation: 4 Joined: 02/01/12 Last Seen: August 20, 2017 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted February 15, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share 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 Link to comment Share on other sites More sharing options...
integral Posted February 15, 2012 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 167 Reputation: 4 Joined: 02/01/12 Last Seen: August 20, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted February 15, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share 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 Link to comment Share on other sites More sharing options...
integral Posted February 16, 2012 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 167 Reputation: 4 Joined: 02/01/12 Last Seen: August 20, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
integral Posted February 17, 2012 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 167 Reputation: 4 Joined: 02/01/12 Last Seen: August 20, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.