Jump to content

danizinx

Members
  • Posts

    18
  • Joined

  • Last visited

Everything posted by danizinx

  1. Hi guys, i need a ranking KvM, i added kvm_death kvm_kills kvm_win kvm_lost in "char_bg" table and i need script to insert in kills, death win and lost KvM, van help ? sig in full table and script CREATE TABLE IF NOT EXISTS `char_bg` ( `char_id` int(11) NOT NULL, `top_damage` int(11) NOT NULL DEFAULT '0', `damage_done` int(11) NOT NULL DEFAULT '0', `damage_received` int(11) NOT NULL DEFAULT '0', `skulls` int(11) NOT NULL DEFAULT '0', `ti_wins` int(11) NOT NULL DEFAULT '0', `ti_lost` int(11) NOT NULL DEFAULT '0', `ti_tie` int(11) NOT NULL DEFAULT '0', `eos_flags` int(11) NOT NULL DEFAULT '0', `eos_bases` int(11) NOT NULL DEFAULT '0', `eos_wins` int(11) NOT NULL DEFAULT '0', `eos_lost` int(11) NOT NULL DEFAULT '0', `eos_tie` int(11) NOT NULL DEFAULT '0', `boss_killed` int(11) NOT NULL DEFAULT '0', `boss_damage` int(11) NOT NULL DEFAULT '0', `boss_flags` int(11) NOT NULL DEFAULT '0', `boss_wins` int(11) NOT NULL DEFAULT '0', `boss_lost` int(11) NOT NULL DEFAULT '0', `boss_tie` int(11) NOT NULL DEFAULT '0', `dom_bases` int(11) NOT NULL DEFAULT '0', `dom_off_kills` int(11) NOT NULL DEFAULT '0', `dom_def_kills` int(11) NOT NULL DEFAULT '0', `dom_wins` int(11) NOT NULL DEFAULT '0', `dom_lost` int(11) NOT NULL DEFAULT '0', `dom_tie` int(11) NOT NULL DEFAULT '0', `td_kills` int(11) NOT NULL DEFAULT '0', `td_deaths` int(11) NOT NULL DEFAULT '0', `td_wins` int(11) NOT NULL DEFAULT '0', `td_lost` int(11) NOT NULL DEFAULT '0', `td_tie` int(11) NOT NULL DEFAULT '0', `sc_stole` int(11) NOT NULL DEFAULT '0', `sc_captured` int(11) NOT NULL DEFAULT '0', `sc_droped` int(11) NOT NULL DEFAULT '0', `sc_wins` int(11) NOT NULL DEFAULT '0', `sc_lost` int(11) NOT NULL DEFAULT '0', `sc_tie` int(11) NOT NULL DEFAULT '0', `ctf_taken` int(11) NOT NULL DEFAULT '0', `ctf_captured` int(11) NOT NULL DEFAULT '0', `ctf_droped` int(11) NOT NULL DEFAULT '0', `ctf_wins` int(11) NOT NULL DEFAULT '0', `ctf_lost` int(11) NOT NULL DEFAULT '0', `ctf_tie` int(11) NOT NULL DEFAULT '0', `emperium_kill` int(11) NOT NULL DEFAULT '0', `barricade_kill` int(11) NOT NULL DEFAULT '0', `gstone_kill` int(11) NOT NULL DEFAULT '0', `cq_wins` int(11) NOT NULL DEFAULT '0', `cq_lost` int(11) NOT NULL DEFAULT '0', `kill_count` int(11) NOT NULL DEFAULT '0', `death_count` int(11) NOT NULL DEFAULT '0', `win` int(11) NOT NULL DEFAULT '0', `lost` int(11) NOT NULL DEFAULT '0', `tie` int(11) NOT NULL DEFAULT '0', `leader_win` int(11) NOT NULL DEFAULT '0', `leader_lost` int(11) NOT NULL DEFAULT '0', `leader_tie` int(11) NOT NULL DEFAULT '0', `deserter` int(11) NOT NULL DEFAULT '0', `score` int(11) NOT NULL DEFAULT '0', `points` int(11) NOT NULL DEFAULT '0', `sp_heal_potions` int(11) NOT NULL DEFAULT '0', `hp_heal_potions` int(11) NOT NULL DEFAULT '0', `yellow_gemstones` int(11) NOT NULL DEFAULT '0', `red_gemstones` int(11) NOT NULL DEFAULT '0', `blue_gemstones` int(11) NOT NULL DEFAULT '0', `poison_bottles` int(11) NOT NULL DEFAULT '0', `acid_demostration` int(11) NOT NULL DEFAULT '0', `acid_demostration_fail` int(11) NOT NULL DEFAULT '0', `support_skills_used` int(11) NOT NULL DEFAULT '0', `healing_done` int(11) NOT NULL DEFAULT '0', `wrong_support_skills_used` int(11) NOT NULL DEFAULT '0', `wrong_healing_done` int(11) NOT NULL DEFAULT '0', `sp_used` int(11) NOT NULL DEFAULT '0', `zeny_used` int(11) NOT NULL DEFAULT '0', `spiritb_used` int(11) NOT NULL DEFAULT '0', `ammo_used` int(11) NOT NULL DEFAULT '0', `rank_points` int(11) NOT NULL DEFAULT '0', `rank_games` int(11) NOT NULL DEFAULT '0', `ru_captures` int(11) NOT NULL DEFAULT '0', `ru_wins` int(11) NOT NULL DEFAULT '0', `ru_lost` int(11) NOT NULL DEFAULT '0', `kvm_death` int(11) unsigned NOT NULL, `kvm_kills` int(11) unsigned NOT NULL, `kvm_win` int(11) unsigned NOT NULL, `kvm_lost` int(11) unsigned NOT NULL, PRIMARY KEY (`char_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; // (c) 2008 - 2012 eAmod Project; Andres Garbanzo / Zephyrus // // - [email protected] // - MSN [email protected] // - Skype: Zephyrus_cr // - Site: http://dev.terra-gaming.com // // This file is NOT public - you are not allowed to distribute it. // Authorized Server List : http://dev.terra-gaming.com/index.php?/topic/72-authorized-eamod-servers/ // eAmod is a non Free, extended version of eAthena Ragnarok Private Server. // ============================================================================== // BattleGround System - KvM 80~99 // ============================================================================== // Registration NPC's // ********************************************************************* bat_room,158,158,4 script Registration::KvM01R_Guillaume 418,{ // KvM Guillaume end; OnInit: waitingroom "KvM 3vs3 Blue Team",4,"KvM01_BG::OnGuillaumeJoin",1; end; OnEnterBG: set $@KvM01BG_id1, waitingroom2bg("bat_c01",53,128,0,"KvM01_BG::OnGuillaumeQuit","KvM01_BG::OnGuillaumeDie"); end; } bat_room,158,141,0 script Registration::KvM01R_Croix 414,{ // KvM Croix end; OnInit: waitingroom "KvM 3vs3 Red Team",4,"KvM01_BG::OnCroixJoin",1; end; OnEnterBG: set $@KvM01BG_id2, waitingroom2bg("bat_c01",146,55,1,"KvM01_BG::OnCroixQuit","KvM01_BG::OnCroixDie"); end; } // Light Effects // ********************************************************************* bat_c01,54,123,0 script #bat_c01a 111,{ end; OnKvM01LightA: misceffect 54; end; OnKvM01LightB: misceffect 55; end; OnKvM01LightC: misceffect 56; end; } bat_c01,56,125,0 duplicate(#bat_c01a) #bat_c01b 111 bat_c01,58,127,0 duplicate(#bat_c01a) #bat_c01c 111 bat_c01,141,56,0 duplicate(#bat_c01a) #bat_c01d 111 bat_c01,143,58,0 duplicate(#bat_c01a) #bat_c01e 111 bat_c01,145,60,0 duplicate(#bat_c01a) #bat_c01f 111 // Battleground Engine // ********************************************************************* - script KvM01_BG -1,{ end; OnInit: setwall "bat_c01",54,122,6,7,0,"batc01wall_a"; setwall "bat_c01",55,122,5,7,0,"batc01wall_b"; setwall "bat_c01",140,56,6,7,0,"batc01wall_c"; setwall "bat_c01",140,57,5,7,0,"batc01wall_d"; disablenpc "TherapistKvM01a"; disablenpc "TherapistKvM01b"; disablenpc "VintenarKvM01a"; disablenpc "VintenarKvM01b"; end; OnGuillaumeJoin: if( $@KvM01BG == 1 && bg_get_data($@KvM01BG_id1, 0) < 3 ) waitingroom2bg_single $@KvM01BG_id1,"bat_c01",53,128,"KvM01R_Guillaume"; else donpcevent "KvM01_BG::OnReadyCheck"; end; OnGuillaumeQuit: setquest 8506; if( $@KvM01BG == 1 && bg_get_data($@KvM01BG_id1, 0) < 3 ) waitingroom2bg_single $@KvM01BG_id1,"bat_c01",53,128,"KvM01R_Guillaume"; OnGuillaumeDie: if( $@KvM01BG == 2 ) { getmapxy .@m$, .@x, .@y, 0; if( .@m$ != "bat_c01" || (.@x >= 50 && .@x <= 58 && .@y >= 123 && .@y <= 131) ) end; // Killed/Logout on Cementery or outside the map? set .Guillaume_Count, .Guillaume_Count - 1; set .Croix_Score, .Croix_Score + 1; bg_updatescore "bat_c01",.Guillaume_Score,.Croix_Score; if( .Guillaume_Count < 1 ) donpcevent "KvM01_BG::OnCroixWin"; } end; OnCroixJoin: if( $@KvM01BG == 1 && bg_get_data($@KvM01BG_id2, 0) < 3 ) waitingroom2bg_single $@KvM01BG_id2,"bat_c01",146,55,"KvM01R_Croix"; else donpcevent "KvM01_BG::OnReadyCheck"; end; OnCroixQuit: setquest 8506; if( $@KvM01BG == 1 && bg_get_data($@KvM01BG_id2, 0) < 3 ) waitingroom2bg_single $@KvM01BG_id2,"bat_c01",146,55,"KvM01R_Croix"; OnCroixDie: if( $@KvM01BG == 2 ) { getmapxy .@m$, .@x, .@y, 0; if( .@m$ != "bat_c01" || (.@x >= 141 && .@x <= 149 && .@y >= 52 && .@y <= 60) ) end; // Killed/Logout on Cementery or outside the map? set .Croix_Count, .Croix_Count - 1; set .Guillaume_Score, .Guillaume_Score + 1; bg_updatescore "bat_c01",.Guillaume_Score,.Croix_Score; if( .Croix_Count < 1 ) donpcevent "KvM01_BG::OnGuillaumeWin"; } end; OnReadyCheck: if( $@KvM01BG || $@Global_BG_Block ) end; set .@Guillaume, getwaitingroomstate(0,"KvM01R_Guillaume"); set .@Croix, getwaitingroomstate(0,"KvM01R_Croix"); if( .@Guillaume < 3 || .@Croix < 3 ) { if( .@Guillaume > 3 && .@Croix > 3 && !agitcheck() && $@KvM_Flood < gettimetick(2) ) { announce "Batalha Campal -- Kreiger Von Midgard 3vs3: " + .@Guillaume + "/3, C: " + .@Croix + "/3",0,0x00BFFF; set $@KvM_Flood, gettimetick(2) + 15; } else mapannounce "bat_room","Batalha Campal -- Kreiger Von Midgard 3vs3: " + .@Guillaume + "/3, C: " + .@Croix + "/3",1,0x00BFFF; end; } set $@KvM01BG, 1; // Starting donpcevent "KvM01R_Croix::OnEnterBG"; donpcevent "KvM01R_Guillaume::OnEnterBG"; donpcevent "KvM01_BG::OnStart"; end; OnStart: announce "Batalha Campal -- Kreiger Von Midgard 3vs3 começou!",0,0x800080; enablenpc "TherapistKvM01a"; enablenpc "TherapistKvM01b"; disablenpc "VintenarKvM01a"; disablenpc "VintenarKvM01b"; set $@KvM01BG_Victory, 0; sleep 2000; // Warp Teams bg_warp $@KvM01BG_id1,"bat_c01",53,128; bg_warp $@KvM01BG_id2,"bat_c01",146,55; // ScoreBoard set .Guillaume_Score, 0; set .Croix_Score, 0; initnpctimer; end; OnTimer5000: areapercentheal "bat_c01",50,123,58,131,100,100; areapercentheal "bat_c01",141,52,149,60,100,100; mapannounce "bat_c01","The Battle will start in 25 seconds!!",1,0x00BFFF; end; OnTimer26000: mapannounce "bat_c01","The Battle will start in 4 seconds!!",1,0x00BFFF; end; OnTimer27000: donpcevent "::OnKvM01LightA"; end; OnTimer28000: donpcevent "::OnKvM01LightB"; end; OnTimer29000: donpcevent "::OnKvM01LightC"; end; OnTimer30000: // Team Members set .Guillaume_Count, bg_get_data($@KvM01BG_id1, 0); set .Croix_Count, bg_get_data($@KvM01BG_id2, 0); if( .Guillaume_Count < 1 || .Croix_Count < 1 ) { set $@KvM01BG_Victory, 3; set $@KvM01BG, 3; mapannounce "bat_c01","There are not enough players to start the battle",1,0x00BFFF; stopnpctimer; sleep 2000; donpcevent "KvM01_BG::OnStop"; end; } set $@KvM01BG, 2; // Playing areapercentheal "bat_c01",50,123,58,131,100,100; bg_warp $@KvM01BG_id1,"bat_c01",62,119; areapercentheal "bat_c01",141,52,149,60,100,100; bg_warp $@KvM01BG_id2,"bat_c01",137,64; end; OnTimer32000: mapannounce "bat_c01","The Battle of Kreiger Von Midgard has begun!!",1,0x00BFFF; end; OnTimer300000: mapannounce "bat_c01","The Battle will ends in 30 seconds!!",1,0x00BFFF; end; OnTimer330000: if( .Croix_Count > .Guillaume_Count ) donpcevent "KvM01_BG::OnCroixWin"; else if( .Croix_Count < .Guillaume_Count ) donpcevent "KvM01_BG::OnGuillaumeWin"; else { // Draw Game set $@KvM01BG, 3; set $@KvM01BG_Victory, 3; stopnpctimer; sleep 2000; mapannounce "bat_c01","The time is out! This is a Tie...",1,0x00BFFF; donpcevent "KvM01_BG::OnStop"; } end; OnGuillaumeWin: set $@KvM01BG, 3; set $@KvM01BG_Victory, 1; stopnpctimer; sleep 2000; mapannounce "bat_c01","The Guillaume Army has won the Battle of Kreiger Von Midgard",1,0x0000FF; donpcevent "KvM01_BG::OnStop"; end; OnCroixWin: set $@KvM01BG, 3; set $@KvM01BG_Victory, 2; stopnpctimer; sleep 2000; mapannounce "bat_c01","The Croix Army has won the Battle of Kreiger Von Midgard",1,0xFF0000; donpcevent "KvM01_BG::OnStop"; end; OnStop: disablenpc "TherapistKvM01a"; disablenpc "TherapistKvM01b"; enablenpc "VintenarKvM01a"; enablenpc "VintenarKvM01b"; // Warp Teams bg_warp $@KvM01BG_id1,"bat_c01",53,128; bg_warp $@KvM01BG_id2,"bat_c01",146,55; donpcevent "KvM01_BG_Out::OnBegin"; end; OnReset: stopnpctimer; stopnpctimer "KvM01_BG_Out"; set .Croix_Count, 0; set .Guillaume_Count, 0; set .Croix_Score, 0; set .Guillaume_Score, 0; set $@KvM01BG_Victory, 0; if( $@KvM01BG_id1 ) { bg_destroy $@KvM01BG_id1; set $@KvM01BG_id1, 0; } if( $@KvM01BG_id2 ) { bg_destroy $@KvM01BG_id2; set $@KvM01BG_id2, 0; } disablenpc "TherapistKvM01a"; disablenpc "TherapistKvM01b"; disablenpc "VintenarKvM01a"; disablenpc "VintenarKvM01b"; sleep 1000; mapwarp "bat_c01","bat_room",155,150; sleep 2000; maprespawnguildid "bat_c01",0,3; // Just in case someone else bg_updatescore "bat_c01",0,0; sleep 2000; set $@KvM01BG, 0; donpcevent "KvM01_BG::OnReadyCheck"; // Maybe a game is ready to start end; } - script KvM01_BG_Out -1,{ end; OnBegin: initnpctimer; end; OnTimer3000: mapannounce "bat_c01","Battle of Kreiger Von Midgard will close in 1 minute!",1,0x00BFFF; end; OnTimer30000: mapannounce "bat_c01","Battle of Kreiger Von Midgard will close in 30 seconds!",1,0x00BFFF; end; OnTimer50000: mapannounce "bat_c01","Battle of Kreiger Von Midgard will close in 10 seconds!",1,0x00BFFF; end; OnTimer60000: donpcevent "KvM01_BG::OnReset"; end; // Battleground Therapist // ********************************************************************* bat_c01,51,130,5 script Therapist in battle::TherapistKvM01a 95,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; specialeffect2 312; close; } bat_c01,148,53,1 script Therapist in battle::TherapistKvM01b 95,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; specialeffect2 312; close; } // Battleground rewards // ********************************************************************* bat_c01,51,130,5 script Guillaume Vintenar::VintenarKvM01a 419,{ if( $@KvM01BG_Victory ) { if( $@KvM01BG_Victory == 3 ) { setquest 6025; bg_leave; warp "bat_room",155,150; end; } else if( $@KvM01BG_Victory == Bat_Team ) { // Victory set .@RewardGuerra, 40; set .@RewardValor, 25; set .@RewardBravura, 25; mes "[Swandery]"; mes "Blessed Guillaume!!"; mes "Let's enjoy our glorious victory!"; mes "" + strcharinfo(0) + ", its a sign reflecting victory"; close2; } else { // set .@RewardGuerra, 30; set .@RewardValor, 15; set .@RewardBravura, 15; mes "[Swandery]"; mes "You lost, but you're dedicated to this battle."; mes "This is a reward for your great dedication by Guillaume Marollo!"; mes "Just take this defeat a lesson, and later you would definitely learn."; close2; } setquest 6025; getitem 7773, .@RewardGuerra; getitem 7829, .@RewardValor; getitem 7828, .@RewardBravura; bg_leave; warp "bat_room",155,150; end; } end; } bat_c01,148,53,1 script Croix Vintenar::VintenarKvM01b 415,{ if( $@KvM01BG_Victory ) { if( $@KvM01BG_Victory == 3 ) { setquest 6025; bg_leave; warp "bat_room",155,150; end; } else if( $@KvM01BG_Victory == Bat_Team ) { // Victory set .@RewardGuerra, 40; set .@RewardValor, 25; set .@RewardBravura, 25; mes "[Swandery]"; mes "Blessed Croax!!"; mes "Let's enjoy our glorious victory!"; mes "" + strcharinfo(0) + ", its a sign reflecting victory"; close2; } else { // set .@RewardGuerra, 30; set .@RewardValor, 15; set .@RewardBravura, 15; mes "[Swandery]"; mes "Oh, " + strcharinfo(0) + ". Don't be sad."; mes "Even though we didn't win, we did our best."; mes "This is a Royal gift from Croix, and please don't forget this battle. We can win the next."; close2; } setquest 6025; getitem 7773, .@RewardGuerra; getitem 7829, .@RewardValor; getitem 7828, .@RewardBravura; bg_leave; warp "bat_room",155,150; end; } end; } // MapFlags // ********************************************************************* bat_c01 mapflag battleground 2 bat_c01 mapflag nomemo bat_c01 mapflag nosave SavePoint bat_c01 mapflag noteleport bat_c01 mapflag nowarp bat_c01 mapflag nowarpto bat_c01 mapflag noreturn bat_c01 mapflag nobranch bat_c01 mapflag nopenalty bat_c01 mapflag noemergencycall thx bg_kvm01.txt
  2. Guys I'm look for Adelays Shield? how buy ? site offline ?
  3. Functor, please

    I had nothing to do with it, I did not know it was against the rules, the leandro did not work with ragnarok any longer, he just talked to you because I thought I could buy him, the server is mine, I beg your pardon for something, but I really need Gepard on my server, I'm not Leandro, I'm Daniel and All Stars is mine, I do not have to lie to anything, believe me

  4. Hi, i need a refine NPC, but refine only Headgears, low, mid and upper, +20. thx
  5. upp, all user of rathena need pay 10 doalrs for fiz one bug ? LoLLLL
  6. src/config/packets.h is missing.. no have an directori, only core.h, const renewal e secure..
  7. Up, i have the same problem in my linux.. and not solved, I tried everything already https://github.com/rathena/rathena/issues/2127
  8. Hello, my emulator is not saving the NPC, when I turn on the emulator again any NPC appears, have to add all one by one, wanted to know if any configuration.
  9. Hello , do not know if this is the right area , but it's a request , I tried hard and not found it , wish I could limit the aspd of a certain class ( champion in this case) to 180 , and the rest 190
  10. oh my god, thank very much hauhaua, its work, thanks, can close Upped.
  11. Hello , I wanted to know a command or check to see if such a card ( in mvp case) is equipped on some equipment in the inventory when you go to pvp arena , my npc only checks that have equipped card and card in the inventory , but not checks cards equipped in inventory.
  12. solved the problem , was missing a '}' at some IF , you can close xD
  13. Thank you, was very helpful, else, when I put the following commands can enter the room without being stopped in card restriction case 6: next; if (countitem(4137)>0) { mes "Você não pode entrar aqui carregando a carta Drake..."; close; } if (countitem(4324)>0) { mes "Você não pode entrar aqui carregando a carta Hatii..."; close; } if (countitem(4365)>0) { mes "Você não pode entrar aqui carregando a carta Arquimaga..."; close; } if (countitem(4128)>0) { mes "Você não pode entrar aqui carregando a carta GTB..."; close; } if (countitem(4441)>0) { mes "Você não pode entrar aqui carregando a carta Bispo Decadente..."; close; } if (countitem(4433)>0) { mes "Você não pode entrar aqui carregando a carta Imp..."; close; } if (countitem(4357)>0) { mes "Você não pode entrar aqui carregando a carta Lorde Seyren..."; close; } if (countitem(4146)>0) { mes "Você não pode entrar aqui carregando a carta Maya..."; close; } if (countitem(4359)>0) { mes "Você não pode entrar aqui carregando a carta Algoz Eremes..."; close; } if (countitem(4132)>0) { mes "Você não pode entrar aqui carregando a carta Abelha-Rainha..."; close; } if (countitem(4143)>0) { mes "Você não pode entrar aqui carregando a carta Orc-Herói..."; close; } if (countitem(4148)>0) { mes "Você não pode entrar aqui carregando a carta Faraó..."; close; } if (countitem(4169)>0) { mes "Você não pode entrar aqui carregando a carta Ilusão Das Trevas..."; close; } if (countitem(4198)>0) { mes "Você não pode entrar aqui carregando a carta Maya Macho..."; close; } if (countitem(4241)>0) { mes "Você não pode entrar aqui carregando a carta ArchAngeling..."; close; } if (countitem(4330)>0) { mes "Você não pode entrar aqui carregando a carta Serpente Suprema..."; close; } if (countitem(4372)>0) { mes "Você não pode entrar aqui carregando a carta Lady Branca..."; close; } if (countitem(4374)>0) { mes "Você não pode entrar aqui carregando a carta Vesper..."; close; } if (countitem(4403)>0) { mes "Você não pode entrar aqui carregando a carta Kiel-D-01..."; close; } if (countitem(4047)>0) { mes "Você não pode entrar aqui carregando a carta Ghostring..."; close; } if (countitem(4054)>0) { mes "Você não pode entrar aqui carregando a carta Angeling..."; close; } if (countitem(4169)>0) { mes "Você não pode entrar aqui carregando a carta Ilusão Das Trevas..."; close; } if (countitem(4135)>0) { mes "Você não pode entrar aqui carregando a carta Senhor dos Orcs..."; close; } if (countitem(4302)>0) { mes "Você não pode entrar aqui carregando a carta Tao Gunka..."; close; } if (countitem(4342)>0) { mes "Você não pode entrar aqui carregando a carta RSX 0806..."; close; } if (countitem(4363)>0) { mes "Você não pode entrar aqui carregando a carta Suma Sacerdota..."; close; } if (countitem(4386)>0) { mes "Você não pode entrar aqui carregando a carta Detardeurus..."; close; } if (countitem(4408)>0) { mes "Você não pode entrar aqui carregando a carta Pesar Noturno..."; close; } if (countitem(4419)>0) { mes "Você não pode entrar aqui carregando a carta Ktullanux..."; close; } if (countitem(4121)>0) { mes "Você não pode entrar aqui carregando a carta Freeoni..."; close; } if (countitem(4134)>0) { mes "Você não pode entrar aqui carregando a carta Drácula..."; close; } if (countitem(4142)>0) { mes "Você não pode entrar aqui carregando a carta Doppelganger..."; close; } if (countitem(4147)>0) { mes "Você não pode entrar aqui carregando a carta Bafomé..."; close; } if (countitem(4263)>0) { mes "Você não pode entrar aqui carregando a carta Samurai Encarnado..."; close; } if (countitem(4276)>0) { mes "Você não pode entrar aqui carregando a carta Senhor doa Mortos..."; close; } if (countitem(4305)>0) { mes "Você não pode entrar aqui carregando a carta General Tartaruga..."; close; if (countitem(4318)>0) { mes "Você não pode entrar aqui carregando a carta Cavaleiro da Tempestade..."; close; } if (countitem(4367)>0) { mes "Você não pode entrar aqui carregando a carta Atirador de Elite Cecil..."; close; } if (countitem(4425)>0) { mes "Você não pode entrar aqui carregando a carta Atroce..."; close; } if (countitem(4174)>0) { mes "Você não pode entrar aqui carregando a carta Deviling..."; close; } if (countitem(4123)>0) { mes "Você não pode entrar aqui carregando a carta Eddga..."; close; } if (countitem(4131)>0) { mes "Você não pode entrar aqui carregando a carta Flor do Luar..."; close; } if (countitem(4168)>0) { mes "Você não pode entrar aqui carregando a carta Senhor das Trevas..."; close; } if (countitem(4236)>0) { mes "Você não pode entrar aqui carregando a carta Amon-Ra..."; close; } if (countitem(4290)>0) { mes "Você não pode entrar aqui carregando a carta Gato de Nove Caudas..."; close; } if (countitem(4352)>0) { mes "Você não pode entrar aqui carregando a carta Egingem Cenia..."; close; } if (countitem(4376)>0) { mes "Você não pode entrar aqui carregando a carta Lady Tanee..."; close; } if (countitem(4144)>0) { mes "Você não pode entrar aqui carregando a carta Osíris..."; close; } if (countitem(4145)>0) { mes "Você não pode entrar aqui carregando a carta Belzebub..."; close; } if (countitem(4384)>0) { mes "Você não pode entrar aqui carregando a carta Hydrolancer..."; close; } if (countitem(4430)>0) { mes "Você não pode entrar aqui carregando a carta Ifrit..."; close; } if (isequipped(4137)) { mes "Você não pode entrar aqui usando carta Drake..."; close; } if (isequipped(4324)) { mes "Você não pode entrar aqui usando carta Hatii..."; close; } if (isequipped(4365)) { mes "Você não pode entrar aqui usando carta Arquimaga..."; close; } if (isequipped(4128)) { mes "Você não pode entrar aqui usando carta GTB..."; close; } if (isequipped(4441)) { mes "Você não pode entrar aqui usando carta Bispo Decadente..."; close; } if (isequipped(4433)) { mes "Você não pode entrar aqui usando carta Imp..."; close; } if (isequipped(4357)) { mes "Você não pode entrar aqui usando carta Lorde Seyren..."; close; } if (isequipped(4146)) { mes "Você não pode entrar aqui usando carta Maya..."; close; } if (isequipped(4359)) { mes "Você não pode entrar aqui usando carta Algoz Eremes..."; close; } if (isequipped(4132)) { mes "Você não pode entrar aqui usando carta Abelha-Rainha..."; close; } if (isequipped(4143)) { mes "Você não pode entrar aqui usando carta Orc-Herói..."; close; } if (isequipped(4148)) { mes "Você não pode entrar aqui usando carta Faraó..."; close; } if (isequipped(4169)) { mes "Você não pode entrar aqui usando carta Ilusão Das Trevas..."; close; } if (isequipped(4198)) { mes "Você não pode entrar aqui usando carta Maya Macho..."; close; } if (isequipped(4241)) { mes "Você não pode entrar aqui usando carta ArchAngeling..."; close; } if (isequipped(4330)) { mes "Você não pode entrar aqui usando carta Serpente Suprema..."; close; } if (isequipped(4372)) { mes "Você não pode entrar aqui usando carta Lady Branca..."; close; } if (isequipped(4374)) { mes "Você não pode entrar aqui usando carta Vesper..."; close; } if (isequipped(4403)) { mes "Você não pode entrar aqui usando carta Kiel-D-01..."; close; } if (isequipped(4047)) { mes "Você não pode entrar aqui usando carta Ghostring..."; close; } if (isequipped(4054)) { mes "Você não pode entrar aqui usando carta Angeling..."; close; } if (isequipped(4169)) { mes "Você não pode entrar aqui usando carta Ilusão Das Trevas..."; close; } if (isequipped(4135)) { mes "Você não pode entrar aqui usando carta Senhor dos Orcs..."; close; } if (isequipped(4302)) { mes "Você não pode entrar aqui usando carta Tao Gunka..."; close; } if (isequipped(4342)) { mes "Você não pode entrar aqui usando carta RSX 0806..."; close; } if (isequipped(4363)) { mes "Você não pode entrar aqui usando carta Suma Sacerdota..."; close; } if (isequipped(4386)) { mes "Você não pode entrar aqui usando carta Detardeurus..."; close; } if (isequipped(4408)) { mes "Você não pode entrar aqui usando carta Pesar Noturno..."; close; } if (isequipped(4419)) { mes "Você não pode entrar aqui usando carta Ktullanux..."; close; } if (isequipped(4121)) { mes "Você não pode entrar aqui usando carta Freeoni..."; close; } if (isequipped(4134)) { mes "Você não pode entrar aqui usando carta Drácula..."; close; } if (isequipped(4142)) { mes "Você não pode entrar aqui usando carta Doppelganger..."; close; } if (isequipped(4147)) { mes "Você não pode entrar aqui usando carta Bafomé..."; close; } if (isequipped(4263)) { mes "Você não pode entrar aqui usando carta Samurai Encarnado..."; close; } if (isequipped(4276)) { mes "Você não pode entrar aqui usando carta Senhor doa Mortos..."; close; } if (isequipped(4305)) { mes "Você não pode entrar aqui usando carta General Tartaruga..."; close; } if (isequipped(4318)) { mes "Você não pode entrar aqui usando carta Cavaleiro da Tempestade..."; close; } if (isequipped(4367)) { mes "Você não pode entrar aqui usando carta Atirador de Elite Cecil..."; close; } if (isequipped(4425)) { mes "Você não pode entrar aqui usando carta Atroce..."; close; } if (isequipped(4174)) { mes "Você não pode entrar aqui usando carta Deviling..."; close; } if (isequipped(4123)) { mes "Você não pode entrar aqui usando carta Eddga..."; close; } if (isequipped(4131)) { mes "Você não pode entrar aqui usando carta Flor do Luar..."; close; } if (isequipped(4168)) { mes "Você não pode entrar aqui usando carta Senhor das Trevas..."; close; } if (isequipped(4236)) { mes "Você não pode entrar aqui usando carta Amon-Ra..."; close; } if (isequipped(4290)) { mes "Você não pode entrar aqui usando carta Gato de Nove Caudas..."; close; } if (isequipped(4352)) { mes "Você não pode entrar aqui usando carta Egingem Cenia..."; close; } if (isequipped(4376)) { mes "Você não pode entrar aqui usando carta Lady Tanee..."; close; } if (isequipped(4144)) { mes "Você não pode entrar aqui usando carta Osíris..."; close; } if (isequipped(4145)) { mes "Você não pode entrar aqui usando carta Belzebub..."; close; } if (isequipped(4384)) { mes "Você não pode entrar aqui usando carta Hydrolancer..."; close; } if (isequipped(4430)) { mes "Você não pode entrar aqui usando carta Ifrit..."; close; } } if(class > 4002){ mes .pvp$; mes "Você é Transclasse, e não posso te deixar entrar."; close;} soundeffect "goarena.wav",0; sleep2 1000; warp $@old$,155,150; // Coordenadas X,Y; end;
  14. Hello, I'm Very annoying hum Error Here in pvp, not know WHAT IS AND Wrong Error not some way None [Error] Missing the curlys right to file 'npc / Custom / arenap.txt' line '280'. Follows the script , br i'am prontera, 150,150,5 script Battle Arena 752, { OnInit: waitingroom "Arenas Battle", 0; September .Arena $ "[Arena]"; // NPC name // Maps set $ @ $ pvp, "guild_vs2"; // PVP Room set $ @ $ pvp2, "orcsdun01"; // GVG Room set $ @ $ pvp3, "pvp_y_1-2"; set $ @ $ old, "guild_vs1-3"; // Old Times Room set $ @ $ gvg, "guild_vs1"; .Arena $ months; mes "Hello" + strcharinfo (0); mes "Choose an arena"; switch (select ("- Select Ad / Voice [NEW]", "- Arena PvP 1 ^ 0000EE (" + getmapusers ("" + $ @ pvp $ + "") + ") ^ 000000: - PVP Arena 2 ^ 0000EE ("+ getmapusers (" "+ $ @ pvp2 $ +" ") +") ^ 000000: - Arena Old Times ^ 0000EE ("+ getmapusers (" "+ $ @ old $ +" ") +") "- Arena PvP No MVP ^ 0000EE ("+ getmapusers (" "+ $ @ pvp3 $ +" ") +") ^ 000000: - Arena GvG ^ 0000EE ("+ getmapusers (" "+ $ @ gvg $ +" "): - Anything")){ case 1: .Arena $ months; mes "Choose one of the voices that you can use during PVP."; next; menu "Standard", voz01, "Funny", voz02, "Ladie" voz03, "Badass" voz04; end; case 2: next; SoundEffect "goarena.wav" 0; sleep2 1000; $ @ $ warp pvp, 0.0; // X, Y coordinates; end; case 3: next; SoundEffect "goarena.wav" 0; sleep2 1000; warp $ @ $ pvp2, 0.0; // X, Y coordinates; end; case 4: next; if (class> 4002) {mes .pvp $; mes "You Transclasse, and I can not let you in."; close;} SoundEffect "goarena.wav" 0; sleep2 1000; warp $ @ $ old, 0.0; // X, Y coordinates; end; case 5: next; SoundEffect "goarena.wav" 0; sleep2 1000; warp $ @ $ pvp3, 155.150; // X, Y coordinates; end; Case 6: next; SoundEffect "goarena.wav" 0; sleep2 1000; warp $ @ $ gvg, 155.150; // X, Y coordinates; end; Case 7: close; } voz01: September tipo_ann $, "01"; goto endchatvoz; end; voz02: September tipo_ann $, "02"; goto endchatvoz; end; voz03: September $ tipo_ann, "03"; goto endchatvoz; end; voz04: September tipo_ann $, "04"; goto endchatvoz; end; endchatvoz: months @ $ name; mes "His voice was changed pvp Make fear your name in the arena!"; close; // - Script Home - Script Arena # PCKill -1 { OnPCKillEvent: getmapxymap $, @ x, y @, 0; if ($ @ map == @ $ pvp $ [$ pvp]) goto PvP; if ($ == map @ $ @ $ pvp2 [$ pvp]) goto PvP; if ($ == map @ $ @ $ pvp3 [$ pvp]) goto PvP; if ($ @ map == $ @ old $ [$ gvg]) goto GvG; if ($ == map @ $ @ $ gvg [$ gvg]) goto GvG; end; PvP: set @ CID getcharid (0), Septembername $ ";" points set @ 0; query_sql "SELECT` kills` FROM WHERE `` pvp` char_id` = "+ @ + CID", "@ points; query_sql "SELECT` name` FROM `WHERE` pvp` char_id` = "+ @ + CID", "$ @ name; if ($ name == @ "") {query_sql "INSERT INTO` pvp` (`char_id`,` name`, `kills`) VALUES ('+ @ CID +"' "+ strcharinfo (0) +" ' 1) "@ $ esc; dispbottom "Your Score: 1"; end; } query_sql "UPDATE` `pvp` SET kills` =` WHERE `kills` +1 char_id` =" + @ + CID "," esc @ $; points set @, @ + 1 points; dispbottom "Your Score:" + @ points; if (getgmlevel ()> = 0) {goto SOM_KILL; } end; GvG: SeptemberGID, getcharid (2); set @ $ name, ""; set @ points, 0; query_sql "SELECT` kills` FROM WHERE `` gvg` guild_id` = "+ @ + GID", "@ GPoints; query_sql "SELECT` name` FROM `WHERE` gvg` guild_id` = "+ @ + GID", "$ @ name; if ($ name == @ "") {query_sql "INSERT INTO` gvg` (`guild_id`,` name`, `kills`) VALUES ('+ @ GID +"' "+ strcharinfo (2) +" ' 1) "@ $ esc; dispbottom "Guild Score: 1"; end; } query_sql "UPDATE` gvg` SET kills` `` kills` = + 1 WHERE `guild_id` =" + @ + GID "," esc @ $; set @ GPoints, @ GPoints + 1; dispbottom "Guild Score:" + @ GPoints; if (getgmlevel ()> = 0) {goto SOM_KILL; } end; SOM_KILL: if ($ tipo_ann == "") {set $ tipo_ann, "01"; } if (rid2name (killedrid) == s_killed $) { soundeffectall tipo_ann $ + "_ noob.wav", 0, $ @ map; announce strcharinfo (0) + "is humiliating" s_killed + $ + "IN THE ARENA !!!" bc_map, 0xFF66BB; September s_killed $, rid2name (killedrid); end; } else if ($ == rid2name s_killer (killedrid)) { soundeffectall tipo_ann $ + "_ vinganca.wav", 0, $ @ map; announce strcharinfo (0) + "got his revenge against" s_killer + $ + "IN THE ARENA !!!" bc_map, 0xFF8000; September s_killed $, rid2name (killedrid); September s_killer $ ""; end; } else { September s_killed $, rid2name (killedrid); } September s_kill, s_kill + 1; announce strcharinfo (0) + "has killed" + s_kill + "NOT DIE !!!" bc_map, 0xFFFFFF; if (s_kill == 3) {soundeffectall tipo_ann $ + "_ 3_kills.wav", 0, $ @ map; announce strcharinfo (0) + "has killed" + s_kill + "NOT DIE !!!" bc_map, 0xFFFFFF; } else if (s_kill == 4) {soundeffectall tipo_ann $ + "_ 4_kills.wav", 0, $ @ map; announce strcharinfo (0) + "has killed" + s_kill + "NOT DIE !!!" bc_map, 0xFFFFFF; } else if (s_kill == 5) {soundeffectall tipo_ann $ + "_ 5_kills.wav", 0, $ @ map; announce strcharinfo (0) + "has killed" + s_kill + "NOT DIE !!!" bc_map, 0xFFFFFF; } else if (s_kill == 6) {soundeffectall tipo_ann $ + "_ 6_kills.wav", 0, $ @ map; announce strcharinfo (0) + "has killed" + s_kill + "NOT DIE !!!" bc_map, 0x00FFFF; } else if (s_kill == 7) {soundeffectall tipo_ann $ + "_ 7_kills.wav", 0, $ @ map; announce strcharinfo (0) + "has killed" + s_kill + "NOT DIE !!!" bc_map, 0x00FFFF; } else if (s_kill == 8) {soundeffectall tipo_ann $ + "_ 8_kills.wav", 0, $ @ map; announce strcharinfo (0) + "has killed" + s_kill + "NOT DIE !!!" bc_map, 0x00FFFF; } else if (s_kill == 9) {soundeffectall tipo_ann $ + "_ 9_kills.wav", 0, $ @ map; announce strcharinfo (0) + "has killed" + s_kill + "NOT DIE !!!" bc_map, 0x00FFFF; } else if (s_kill> 9 && s_kill <12) {soundeffectall tipo_ann $ + "_ 10_kills.wav", 0, $ @ map; announce strcharinfo (0) + "has killed" + s_kill + "NOT DIE !!!" bc_map, 0x00ff00; } else if (s_kill> 11 && s_kill <14) {soundeffectall tipo_ann $ + "_ 12_kills.wav", 0, $ @ map; announce strcharinfo (0) + "has killed" + s_kill + "NOT DIE !!!" bc_map, 0x00ff00; } else if (s_kill> 13 && s_kill <16) {soundeffectall tipo_ann $ + "_ 14_kills.wav", 0, $ @ map; announce strcharinfo (0) + "has killed" + s_kill + "NOT DIE !!!" bc_map, 0x00ff00; } else if (s_kill> 15) {soundeffectall tipo_ann $ + "_ 16_kills.wav", 0, $ @ map; announce strcharinfo (0) + "has killed" + s_kill + "NOT DIE !!!" bc_map, 0xFF0000; } else {end; } end; } // - Script End - Script Arena # PCDie -1 { OnPCDieEvent: getmapxymap $, @ x, y @, 0; if ($ @ map == $ pvp $ [$ pvp]) goto PvP; if ($ @ map == $ pvp2 $ [$ pvp]) goto PvP; if ($ @ map == $ pvp3 $ [$ pvp]) goto PvP; if ($ @ map == $ gvg $ [$ gvg]) goto GvG; end; PvP: set @ CID getcharid (0), Septembername $ ";" points set @ 0; query_sql "SELECT` deaths` FROM WHERE `` pvp` char_id` = "+ @ + CID", "@ points; query_sql "SELECT` name` FROM `WHERE` pvp` char_id` = "+ @ + CID", "$ @ name; if ($ name == @ "") {query_sql "INSERT INTO` pvp` (`char_id`,` name`, `deaths`) VALUES ('+ @ CID +"' "+ strcharinfo (0) +" ' 1) "@ $ esc; dispbottom "Your Score: 1"; end; } query_sql "UPDATE` pvp` SET deaths` `` deaths` = + 1 WHERE `char_id` =" + @ + CID "," esc @ $; if (getgmlevel ()> = 0) {goto SOM_DIE; } end; GvG: set @ GID getcharid (2);name September $ ""; GPoints set @ 0; query_sql "SELECT` deaths` FROM WHERE `` gvg` guild_id` = "+ @ + GID", "@ GPoints; query_sql "SELECT` name` FROM `WHERE` gvg` guild_id` = "+ @ + GID", "$ @ name; if ($ name == @ "") {query_sql "INSERT INTO`gvg` (` guild_id`, `name`,` deaths`) VALUES ('+ @ GID + "'" + strcharinfo (2) + "' 1) "@ $ esc; dispbottom "Guild Score: 1"; end; } query_sql "UPDATE` gvg` SET deaths` `` deaths` = + 1 WHERE `guild_id` =" + @ + GID "," esc @ $; if (getgmlevel ()> = 0) {goto SOM_DIE; } end; SOM_DIE: sleep2 1500; SoundEffect "dead.wav" 0; September s_kill 0; September s_killer $, rid2name (killerrid); September s_killed $ ""; end; } // MAP 1 guild_vs2 mapflag noteleport guild_vs2 mapflag pvp on guild_vs2 mapflag NOMEMO guild_vs2 mapflag nosave SavePoint guild_vs2 mapflag noteleport guild_vs2 mapflag nowarp guild_vs2 mapflag nowarpto guild_vs2 mapflag noreturn guild_vs2 mapflag nobranch guild_vs2 mapflag nopenalty // MAP 2 orcsdun01 mapflag noteleport orcsdun01 mapflag gvg on orcsdun01 mapflag NOMEMO orcsdun01 mapflag nosave SavePoint orcsdun01 mapflag noteleport orcsdun01 mapflag nowarp orcsdun01 mapflag nowarpto orcsdun01 mapflag noreturn orcsdun01 mapflag nobranch orcsdun01 mapflag nopenalty MAP // 3 guild_vs1-3 mapflag noteleport guild_vs1-3 mapflag pvp on guild_vs1-3 mapflag NOMEMO guild_vs1-3 mapflag nosave SavePoint guild_vs1-3 mapflag noteleport guild_vs1-3 mapflag nowarp guild_vs1-3 mapflag nowarpto guild_vs1-3 mapflag noreturn guild_vs1-3 mapflag nobranch guild_vs1-3 mapflag nopenalty MAP // 3 pvp_y_1-2 mapflag noteleport pvp_y_1-2 mapflag pvp on pvp_y_1-2 mapflag NOMEMO pvp_y_1-2 mapflag nosave SavePoint pvp_y_1-2 mapflag noteleport pvp_y_1-2 mapflag nowarp pvp_y_1-2 mapflag nowarpto pvp_y_1-2 mapflag noreturn pvp_y_1-2 mapflag nobranch pvp_y_1-2 mapflag nopenalty // guild_vs1 mapflag noteleport guild_vs1 mapflag pvp on guild_vs1 mapflag NOMEMO guild_vs1 mapflag nosave SavePoint guild_vs1 mapflag noteleport guild_vs1 mapflag nowarp guild_vs1 mapflag nowarpto guild_vs1 mapflag noreturn guild_vs1 mapflag nobranch guild_vs1 mapflag nopenalty
×
×
  • Create New...