Jamaeeeeecah 2 Posted March 17, 2014 Hello guys, if you can help me, i will be veryyyy gratefulI made this script, its about infos of my server.. It doesn't appears in the game. And do not shows any error in map-serverhttp://pastebin.com/ivFNNjK5Can you help me? Quote Share this post Link to post Share on other sites
0 ScriptingPhailure 3 Posted March 19, 2014 Try: dicastes01,206,179,3 script Informações 100,{ mes "[GM]"; mes "Olá, sou o GM do jogo."; mes "Eu tenho a autoridade necessária para fazer o que for preciso.."; mes "Você deve estar atrás de informações sobre o servidor, certo?"; switch(select("- Mercado Negro. :- Horários da WoE. :- Quem são os GMs. :Cancelar")) { case 1: next; mes "Vou te levar até lá."; warp "dicastes01", 117, 169; close; case 2: next; mes "Os horários da WoE são baseados no HORÁRIO DE BRASÍLIA! - Horários: QUINTA WOE 1.0 DE 20:00 ATÉ 21:00, SEXTA WOE 2.0 DE 20:00 ATÉ 21:00, SÁBADO WOE 2.0 DE 20:00 ATÉ 21:00, DOMINGO WOE 1.0 DE 20:00 ATÉ 21:00"; mes "Esses são os horários e dias da Guerra do Emperium do servidor Ragna Blast!"; mes "Vou te levar até o Point da WoE."; next; warp "dicastes01", 252, 256; close; case 3: next; mes "Os GMs do server, usam uam roupa parecida com a minha. Nesse mesmo estilo."; mes "TODOS ELES USAM [GM] no nome! De tanto os jogadores não são habilitados a usar [GM] no nome de seu personagem."; mes "Só acredite no GM, se ele tiver uma roupa como a minha, e tiver o nome IDÊNTICO como o da lista a seguir:"; next; mes "[GM]Prontera"; mes "[GM]Payon"; mes "[GM]Geffen"; mes "[GM]Morroc"; mes "E só. Somente esses."; mes "para mais informações, acesse WWW.RAGNABLAST.TK"; close; case 4: close; }} 1 Jamaeeeeecah reacted to this Quote Share this post Link to post Share on other sites
0 ScriptingPhailure 3 Posted March 17, 2014 (edited) You're missing a few ;'s and some "'s but here: dicastes01,206,179,3 script Informações 2492,{ mes "[GM]"; mes "Olá, sou o GM do jogo."; mes "Eu tenho a autoridade necessária para fazer o que for preciso.."; mes "Você deve estar atrás de informações sobre o servidor, certo?"; switch(select("- Mercado Negro. :- Horários da WoE. :- Quem são os GMs. :Cancelar")){ case1: next; mes "Vou te levar até lá.";warp "dicastes01", 117, 169; close; case2: next; mes "Os horários da WoE são baseados no HORÁRIO DE BRASÍLIA! - Horários: QUINTA WOE 1.0 DE 20:00 ATÉ 21:00, SEXTA WOE 2.0 DE 20:00 ATÉ 21:00, SÁBADO WOE 2.0 DE 20:00 ATÉ 21:00, DOMINGO WOE 1.0 DE 20:00 ATÉ 21:00"; mes "Esses são os horários e dias da Guerra do Emperium do servidor Ragna Blast!"; mes "Vou te levar até o Point da WoE.";warp "dicastes01", 252, 256; close; case 3: next; mes "Os GMs do server, usam uam roupa parecida com a minha. Nesse mesmo estilo."; mes "TODOS ELES USAM [GM] no nome! De tanto os jogadores não são habilitados a usar [GM] no nome de seu personagem."; mes "Só acredite no GM, se ele tiver uma roupa como a minha, e tiver o nome IDÊNTICO como o da lista a seguir:"; next; mes "[GM]Prontera"; mes "[GM]Payon"; mes "[GM]Geffen"; mes "[GM]Morroc"; mes "E só. Somente esses."; mes "para mais informações, acesse WWW.RAGNABLAST.TK"; close; case 4: close; } } Also did you make adjustments to your scripts_custom.conf? Edited March 18, 2014 by ScriptingPhailure 1 Jamaeeeeecah reacted to this Quote Share this post Link to post Share on other sites
0 Jamaeeeeecah 2 Posted March 17, 2014 yes, i did. It doesnt work x.x Quote Share this post Link to post Share on other sites
0 ScriptingPhailure 3 Posted March 17, 2014 (edited) I didn't test it but the one I posted in the code box should work you were missing a } at the end. can you post a copy of your scripts_custom.conf? Edited March 17, 2014 by ScriptingPhailure 1 Jamaeeeeecah reacted to this Quote Share this post Link to post Share on other sites
0 Jamaeeeeecah 2 Posted March 17, 2014 (edited) // -------------------------------------------------------------- // - Custom Scripts - // -------------------------------------------------------------- // All the custom scripts, remove the '//' to enable... // Place your scripts here! //npc: npc/location/to/script.txt // ----------------------- Basic Scripts ----------------------- //npc: npc/custom/itembind.txt //npc: npc/custom/warper.txt npc: npc/custom/jobmaster.txt //npc: npc/custom/platinum_skills.txt //npc: npc/custom/healer.txt //npc: npc/custom/breeder.txt //npc: npc/custom/itemmall.txt //npc: npc/custom/stylist.txt //npc: npc/custom/resetnpc.txt //npc: npc/custom/card_remover.txt //npc: npc/custom/item_signer.txt //npc: npc/custom/woe_controller.txt // ----------------------- Other Scripts ----------------------- // -- MVP Arena //npc: npc/custom/etc/mvp_arena.txt // -- Penal Servitude (Jails Quest) //npc: npc/custom/etc/penal_servitude.txt // -- Banks //npc: npc/custom/etc/bank_kafra.txt //npc: npc/custom/etc/bank.txt // -- Lottery (very flexible) //npc: npc/custom/etc/lottery.txt // -- Stock Market (Play on it, earn money, very flexible) //npc: npc/custom/etc/stock_market.txt // -- Russian Roulette + Rock Scissors Paper (warning! contains OBB/OVB/OCA/etc. prizes!) //npc: npc/custom/etc/rpsroulette.txt // -- Black Jack //npc: npc/custom/etc/blackjack.txt // -- Hire ninja squads to assassinate an enemy! //npc: npc/custom/etc/shifty_assassin.txt // -- Train your monsters to fight against other players' monsters //npc: npc/custom/etc/monster_arena.txt // -- Raceway mini-game //npc: npc/custom/etc/morroc_raceway.txt // -- Random change of Drop/Exp rates 1x ~ 1.5x every 6 hours on your server //npc: npc/custom/etc/floating_rates.txt // -- Wedding script that supports same-sex marriages //npc: npc/custom/etc/marriage.txt // -- Warper that works only after locations are unlocked //npc: npc/custom/etc/quest_warper.txt // ----------------------- Quest Scripts ----------------------- // -- Dynamic Quest Scripts //npc: npc/custom/quests/hunting_missions.txt //npc: npc/custom/quests/quest_shop.txt //npc: npc/custom/quests/questboard.txt // -- Treasure Hunters Guild Quests (40 Quests + Special Guild Shop) //npc: npc/custom/quests/thq/THQS_ChatingNPC.txt //npc: npc/custom/quests/thq/THQS_GuildNPC.txt //npc: npc/custom/quests/thq/THQS_QuestNPC.txt //npc: npc/custom/quests/thq/THQS_Quests.txt //npc: npc/custom/quests/thq/THQS_TTShop.txt // -- Equipment Quests //npc: npc/custom/quests/elvenear.txt //npc: npc/custom/quests/sunglasses.txt //npc: npc/custom/quests/bandit_beard.txt //npc: npc/custom/quests/event_6_new_hats.txt //npc: npc/custom/quests/may_hats.txt //npc: npc/custom/quests/kings_items.txt // -- Misc Item Quests //npc: npc/custom/quests/dead_branch.txt //npc: npc/custom/quests/berzebub.txt //npc: npc/custom/quests/jewel_case.txt // -- Godly Equipment Quests (be careful!) //npc: npc/custom/quests/valhallen.txt //npc: npc/custom/quests/kaho_balmung.txt //npc: npc/custom/quests/kahohorn.txt // ----------------------- Event Scripts ----------------------- // -- Daily Events //npc: npc/custom/events/disguise.txt //npc: npc/custom/events/mushroom_event.txt //npc: npc/custom/events/cluckers.txt // -- Holiday Events //npc: npc/custom/events/xmas_rings_event.txt //npc: npc/custom/events/valentinesdayexp.txt //npc: npc/custom/events/hallow06.txt //npc: npc/custom/events/uneasy_cemetery.txt // ----------------------- Unofficial Scripts ----------------------- // -- Unofficial Airplane script //npc: npc/custom/etc/airplane.txt // -- Thanatos Tower Statues Quest //npc: npc/custom/quests/tha_statues.txt // -- Custom quests from official Umbalian Quests //npc: npc/custom/quests/sphinx_mask.txt //npc: npc/custom/quests/umbalian_language.txt // -- Unofficial Battlegrounds //npc: npc/custom/battleground/bg_common.txt //npc: npc/custom/battleground/bg_tierra_01.txt //npc: npc/custom/battleground/bg_tierra_02.txt //npc: npc/custom/battleground/bg_flavius_01.txt //npc: npc/custom/battleground/bg_flavius_02.txt //npc: npc/custom/battleground/bg_kvm01.txt //npc: npc/custom/battleground/bg_kvm02.txt //npc: npc/custom/battleground/bg_kvm03.txt // ----------------------- Misc Scripts ----------------------------- // Self-test script (for development use only) //npc: npc/custom/test.txt //------------- scripts SERVER --------------------- npc: npc/bRO/Estilista.txt npc: npc/bRO/VIP.txt npc: npc/bRO/Mercadora_de_Promocoes.txt npc: npc/bRO/Estilista.txt npc: npc/custom/skill.txt npc: npc/custom/Mestre.txt npc: npc/custom/uppa.txt npc: npc/custom/ferreiromaisdoze npc: npc/custom/armaz.txt npc: npc/custom/hatsrops.txt npc: npc/custom/infosz.txtIt's ok.. I dont know what to do Edited March 17, 2014 by Jamaeeeeecah Quote Share this post Link to post Share on other sites
0 quesoph 105 Posted March 17, 2014 dicastes01,206,179,3 script Informações 100,{ mes "[GM]"; mes "Olá, sou o GM do jogo."; mes "Eu tenho a autoridade necessária para fazer o que for preciso.."; mes "Você deve estar atrás de informações sobre o servidor, certo?"; switch(select("- Mercado Negro. :- Horários da WoE. :- Quem são os GMs. :Cancelar")) { case 1: next; mes "Vou te levar até lá."; warp "dicastes01", 117, 169; close; case 2: next; mes "Os horários da WoE são baseados no HORÁRIO DE BRASÍLIA! - Horários: QUINTA WOE 1.0 DE 20:00 ATÉ 21:00, SEXTA WOE 2.0 DE 20:00 ATÉ 21:00, SÁBADO WOE 2.0 DE 20:00 ATÉ 21:00, DOMINGO WOE 1.0 DE 20:00 ATÉ 21:00"; mes "Esses são os horários e dias da Guerra do Emperium do servidor Ragna Blast!"; mes "Vou te levar até o Point da WoE."; warp "dicastes01", 252, 256; close; case 3: next; mes "Os GMs do server, usam uam roupa parecida com a minha. Nesse mesmo estilo."; mes "TODOS ELES USAM [GM] no nome! De tanto os jogadores não são habilitados a usar [GM] no nome de seu personagem."; mes "Só acredite no GM, se ele tiver uma roupa como a minha, e tiver o nome IDÊNTICO como o da lista a seguir:"; next; mes "[GM]Prontera"; mes "[GM]Payon"; mes "[GM]Geffen"; mes "[GM]Morroc"; mes "E só. Somente esses."; mes "para mais informações, acesse WWW.RAGNABLAST.TK"; close; case 4: close; }} here 1 Jamaeeeeecah reacted to this Quote Share this post Link to post Share on other sites
0 Jamaeeeeecah 2 Posted March 17, 2014 Don't work.. Im trying some things, but don't work too.. Quote Share this post Link to post Share on other sites
0 ScriptingPhailure 3 Posted March 18, 2014 What is the name of this script? And is it in the scripts_custom.conf? Quote Share this post Link to post Share on other sites
0 Jamaeeeeecah 2 Posted March 18, 2014 The name is infosz.txt(the last phrase) Quote Share this post Link to post Share on other sites
0 ayre 1 Posted March 18, 2014 Is the NPC actually in the npc/custom/ folder? I just tried the script myself and it loads fine 1 Jamaeeeeecah reacted to this Quote Share this post Link to post Share on other sites
0 Jamaeeeeecah 2 Posted March 18, 2014 (edited) o.O It doesnt works here... WTF!? (Yes, i did reloadscripts)I dont underrstand why it dont work in my server ò;ó, i downloaded the latest version of Hercules and recompiled... And doesnt works! Edited March 18, 2014 by Jamaeeeeecah Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted March 18, 2014 Do you have any warning or error on boot up or when reloading your scripts? According to online script checkers for Hercules, it works OK. 1 Jamaeeeeecah reacted to this Quote Share this post Link to post Share on other sites
0 Jamaeeeeecah 2 Posted March 18, 2014 [info]: Done loading '15592' NPCs: -'3466' Warps -'104' Shops -'12022' Scripts -'2989' Spawn sets -'47321' Mobs Cached -'0' Mobs Not Cached [status]: Event 'OnInit' executed with '1924' NPCs. [status]: Event 'OnInterIfInit' executed with '0' NPCs. [status]: Event 'OnInterIfInitOnce' executed with '0' NPCs. [Debug]: at log.c:248 - INSERT DELAYED INTO `atcommandlog` (`atcommand_date`, `account_id`, `char_id`, `char_name`, `map`, `command`) VALUES (NOW(), '2000000', '150002', ?, 'dicastes01', ?) Quote Share this post Link to post Share on other sites
0 Jamaeeeeecah 2 Posted March 18, 2014 (edited) Oh, its finally working!. It seems that don't accept numbers in the npc sprite. Like, it was 2494, i put "4_F_TELEPORTER" and voi'la. Thank you so much. Ah, anyone can tell me what is this? Why id doesn't work in numbers?Edit: The "MES" in the case 2, doesn't appears, it jump to the warp automatically Edited March 18, 2014 by Jamaeeeeecah Quote Share this post Link to post Share on other sites
0 Jamaeeeeecah 2 Posted March 19, 2014 YEAH! ITS FINALLY WORKING 100%!Thank you so much for all! Quote Share this post Link to post Share on other sites
Hello guys, if you can help me, i will be veryyyy grateful
I made this script, its about infos of my server.. It doesn't appears in the game. And do not shows any error in map-server
http://pastebin.com/ivFNNjK5
Can you help me?
Share this post
Link to post
Share on other sites