secondL Posted February 28, 2013 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 155 Reputation: 1 Joined: 02/03/13 Last Seen: September 9, 2015 Share Posted February 28, 2013 (edited) can i request a script for a pvp deathmatch 1.a map that have capacity of 10 players 2.once a player die he will resurrect again on a safest place inside the map with a full hp/mp 3.he will get an item as a prize everytime he won on pvp 4.not allowed to use healing item or pots 5.it will broadcast on what happening inside the map ( player a killed player b...he is unstoppable someone kill him) 6.the pvp deathmatch have no time set so the player/s can enter the map anytime they want to play pvp 7. an npc that once they click it they warped them into the map. note: i use search button, and i got some scripts even they are simple but i got some error like this [Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/my npc/test3.txt', line '3'. Stopping... * w1=if( select("PVP Room [ "+getmapusers("prontera")+"/50 ]:Cancel") == 1 ) * w2= * w3= * w4= i got the script here: http://rathena.org/board/topic/73078-pvp-room/ to be honest im newbie in creating ro, i try everything i know to find answer on my question but im always failed that's why i create this thread coz i dont have any idea on how to enable a pvp map/room so please help me : ) Edited February 28, 2013 by Emistry Changed ALL CAPS contents.... Quote Link to comment Share on other sites More sharing options...
iszcha Posted March 1, 2013 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 02/18/12 Last Seen: December 22, 2022 Share Posted March 1, 2013 i think scprit u edit ...maybe working. Quote Link to comment Share on other sites More sharing options...
secondL Posted March 2, 2013 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 155 Reputation: 1 Joined: 02/03/13 Last Seen: September 9, 2015 Author Share Posted March 2, 2013 i think scprit u edit ...maybe working. i got error on that script i dont know how to fix it bump pls pls pls bump! Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 2, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 2, 2013 Save the script as ANSI not Unicode. 1 Quote Link to comment Share on other sites More sharing options...
secondL Posted March 2, 2013 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 155 Reputation: 1 Joined: 02/03/13 Last Seen: September 9, 2015 Author Share Posted March 2, 2013 Save the script as ANSI not Unicode. Missie, i save it in ANSI code and i also tab at the header, yet still i got error.... Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 2, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 2, 2013 Are you using rAthena? 1 Quote Link to comment Share on other sites More sharing options...
secondL Posted March 2, 2013 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 155 Reputation: 1 Joined: 02/03/13 Last Seen: September 9, 2015 Author Share Posted March 2, 2013 Are you using rAthena? yeah up to the latest, hmmmmmm im try to edit some script i got but still i failed...haaaaist Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 2, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 2, 2013 Post your whole script, maybe there's some typo on it. 1 Quote Link to comment Share on other sites More sharing options...
secondL Posted March 2, 2013 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 155 Reputation: 1 Joined: 02/03/13 Last Seen: September 9, 2015 Author Share Posted March 2, 2013 (edited) prontera,148,166,6 script Arena Master 808,,{ if( select("PVP Room [ "+getmapusers("pvp_n_8-5")+"/50 ]:Cancel") == 1 ) if( getmapusers("pvp_n_8-5") < 50 ) warp "prontera",0,0; OnPCDieEvent: if(strcharinfo(3) == "pvp_y_2-2") { dispbottom "You will respawn in 3 Seconds."; sleep2 3000; atcommand "@alive"; atcommand "@heal"; warp "pvp_n_8-5",0,0; } end; can you fix this...i made that script by using combining some line with all the script i got...if it is ok to you cause i got error like this [Error]: Missing 1 right curlys at file 'npc/custom/my npc/test3.txt', line '18' . Edited March 2, 2013 by secondL Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 2, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 2, 2013 Ahh.. You have 2 commas on the header. It should be "808,{" with a single comma. And the map isn't the same --> if(strcharinfo(3) == "pvp_y_2-2") ?? i think you'll want to edit to match with the current pvp map --> pvp_n_8-5 1 Quote Link to comment Share on other sites More sharing options...
secondL Posted March 2, 2013 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 155 Reputation: 1 Joined: 02/03/13 Last Seen: September 9, 2015 Author Share Posted March 2, 2013 Ahh.. You have 2 commas on the header. It should be "808,{" with a single comma. ok i try to edit again hahhaha thanks for helping me i appreciate it i edit the script prontera,148,166,6 script Arena Master 808,{ if( select("PVP Room [ "+getmapusers("pvp_n_8-5")+"/50 ]:Cancel") == 1 ) if( getmapusers("pvp_n_8-5") < 50 ) warp "prontera",0,0; OnPCDieEvent: if(strcharinfo(3) == "pvp_n_8-5") { dispbottom "You will respawn in 3 Seconds."; sleep2 3000; atcommand "@alive"; atcommand "@heal"; warp "pvp_n_8-5",0,0; } end; but still i got the error [Error]: Missing 1 right curlys at file 'npc/custom/my npc/test3.txt', line '18' . i grab the opportunity to ask how to add line if a player die but i want to respawn again with full hp/mp at the arena? Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 2, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 2, 2013 (edited) prontera,148,166,6 script Arena Master 808,{ if( select("PVP Room [ "+getmapusers("pvp_n_8-5")+"/50 ]:Cancel") == 1 ) { if( getmapusers("pvp_n_8-5") < 50 ) warp "prontera",0,0; } close; OnPCDieEvent: if(strcharinfo(3) == "pvp_n_8-5") { dispbottom "You will respawn in 3 Seconds."; sleep2 3000; atcommand "@alive"; atcommand "@heal"; warp "pvp_n_8-5",0,0; } end; } But I don't quite understand, on line "if( getmapusers("pvp_n_8-5") < 50 ) warp "prontera",0,0;" why would you warp to prontera if the players in pvp room is less than 50? I think it should warp you IN to the pvp map, right? Edited March 2, 2013 by nanakiwurtz 1 Quote Link to comment Share on other sites More sharing options...
secondL Posted March 2, 2013 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 155 Reputation: 1 Joined: 02/03/13 Last Seen: September 9, 2015 Author Share Posted March 2, 2013 whoa! thank you so much i will try the script you made! whoa! thank you so much i will try the script you made! [Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/my npc/test3.txt', line '1'. Stopping... * w1=prontera,148,166,6 script Arena Master 808,{ * w2= * w3= * w4= do i need to space between the lines? if yes, i dont know how....im sorry to disturb Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 2, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 2, 2013 prontera,148,166,6<tab>script<tab>Arena Master<tab>808,{ Save and reload Quote Link to comment Share on other sites More sharing options...
secondL Posted March 2, 2013 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 155 Reputation: 1 Joined: 02/03/13 Last Seen: September 9, 2015 Author Share Posted March 2, 2013 prontera,148,166,6 script Arena Master 808,{ if( select("PVP Room [ "+getmapusers("pvp_n_8-5")+"/50 ]:Cancel") == 1 ) { if( getmapusers("pvp_n_8-5") < 50 ) warp "prontera",0,0; } close; OnPCDieEvent: if(strcharinfo(3) == "pvp_n_8-5") { dispbottom "You will respawn in 3 Seconds."; sleep2 3000; atcommand "@alive"; atcommand "@heal"; warp "pvp_n_8-5",0,0; } end; } But I don't quite understand, on line "if( getmapusers("pvp_n_8-5") < 50 ) warp "prontera",0,0;" why would you warp to prontera if the players in pvp room is less than 50? I think it should warp you IN to the pvp map, right? hahaha to be honest i dont know how can i answer your question but like i said im combining some lines on some script i got to create a new script that fits on what i need like i post on the first line of this thread, the pvp_n_8-5 is a map and i like the arena and i dont know how to use that map in order to create a clean script....hmmmm im so sorry to myself for being trying hard Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 2, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 2, 2013 (edited) Okay then, I'll rewrite your script. prontera,148,166,6 script Arena Master 808,{ if( select("PVP Room [ "+getmapusers("pvp_n_8-5")+"/50 ]:Cancel") == 1 ) { if( getmapusers("pvp_n_8-5") >= 50 ) { mes "[Arena Master]", "I'm sorry but the PVP Room is already full!"; close; } warp "pvp_n_8-5",0,0; } close; OnPCDieEvent: if(strcharinfo(3) == "pvp_n_8-5") { dispbottom "You will respawn in 3 Seconds."; sleep2 3000; atcommand "@alive"; atcommand "@heal"; warp "pvp_n_8-5",0,0; } end; } Edited March 2, 2013 by nanakiwurtz Quote Link to comment Share on other sites More sharing options...
secondL Posted March 2, 2013 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 155 Reputation: 1 Joined: 02/03/13 Last Seen: September 9, 2015 Author Share Posted March 2, 2013 hahaha it works the first script you made but when i click it i warped in random place in prontera hahaha im laughing! and thank you again for the second script i will try it now Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 2, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 2, 2013 Yep, that's why I asked you earlier about it, "why would you warp to prontera if the players in pvp room is less than 50?" Quote Link to comment Share on other sites More sharing options...
secondL Posted March 2, 2013 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 155 Reputation: 1 Joined: 02/03/13 Last Seen: September 9, 2015 Author Share Posted March 2, 2013 [Error]: Loading NPC file: npc/custom/my npc/test3.txt script error on npc/custom/my npc/test3.txt line 4 parse_callfunc: not enough arguments, expected ',' 1 : { 2 : if( select("PVP Room [ "+getmapusers("pvp_n_8-5")+"/50 ]:Cancel") == 1 ) { 3 : if( getmapusers("pvp_n_8-5") >= 50 ) { mes "[Arena Master]", "I'm s orry but the PVP Room is already full!"; close; } * 4 : warp "pvp_n_8-5"';' 5 : } 6 : close; 7 : 8 : OnPCDieEvent: 9 : if(strcharinfo(3) == "pvp_n_8-5") { i got this error on the script you rewrite...it looks so critical Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 2, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 2, 2013 I have edited the script, I forgot to add 0,0 See post #16. Quote Link to comment Share on other sites More sharing options...
secondL Posted March 2, 2013 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 155 Reputation: 1 Joined: 02/03/13 Last Seen: September 9, 2015 Author Share Posted March 2, 2013 Yep, that's why I asked you earlier about it, "why would you warp to prontera if the players in pvp room is less than 50?" hahaha so i change prontera to pvp_n_8-5? Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 2, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 2, 2013 Yep, just use the script on post #16. 1 Quote Link to comment Share on other sites More sharing options...
secondL Posted March 2, 2013 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 155 Reputation: 1 Joined: 02/03/13 Last Seen: September 9, 2015 Author Share Posted March 2, 2013 [Error]: Loading NPC file: npc/custom/my npc/test3.txtscript error on npc/custom/my npc/test3.txt line 4 parse_callfunc: not enough arguments, expected ',' 1 : { 2 : if( select("PVP Room [ "+getmapusers("pvp_n_8-5")+"/50 ]:Cancel") == 1) { 3 : if( getmapusers("pvp_n_8-5") >= 50 ) { mes "[Arena Master]", "I'm sorry but the PVP Room is already full!"; close; }* 4 : warp "pvp_n_8-5"';' 5 : } 6 : close; 7 : 8 : OnPCDieEvent: 9 : if(strcharinfo(3) == "pvp_n_8-5") { still i got error on the script you rewrite Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 2, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 2, 2013 prontera,148,166,6 script Arena Master 808,{ if( select("PVP Room [ "+getmapusers("pvp_n_8-5")+"/50 ]:Cancel") == 1 ) { if( getmapusers("pvp_n_8-5") >= 50 ) { mes "[Arena Master]", "I'm sorry but the PVP Room is already full!"; close; } warp "pvp_n_8-5",0,0; } close; OnPCDieEvent: if(strcharinfo(3) == "pvp_n_8-5") { dispbottom "You will respawn in 3 Seconds."; sleep2 3000; atcommand "@alive"; atcommand "@heal"; warp "pvp_n_8-5",0,0; } end; } 1 Quote Link to comment Share on other sites More sharing options...
secondL Posted March 2, 2013 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 155 Reputation: 1 Joined: 02/03/13 Last Seen: September 9, 2015 Author Share Posted March 2, 2013 hey i try the script again you rewrite on the 2nd test Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 2, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 2, 2013 Does it work? 1 Quote Link to comment Share on other sites More sharing options...
Question
secondL
Changed ALL CAPS contents....
Link to comment
Share on other sites
32 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.