Jump to content
  • 0
Sign in to follow this  
Jamaeeeeecah

Problem with simple script ;-;

Question

15 answers to this question

Recommended Posts

  • 0

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 by ScriptingPhailure

Share this post


Link to post
Share on other sites
  • 0
// --------------------------------------------------------------
// -                       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.txt
It's ok.. :( I dont know what to do
Edited by Jamaeeeeecah

Share this post


Link to post
Share on other sites
  • 0

 

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

Share this post


Link to post
Share on other sites
  • 0

o.O It doesnt works here... WTF!? (Yes, i did reloadscripts)
S17oA9X.jpg

I dont underrstand why it dont work in my server ò;ó, i downloaded the latest version of Hercules and recompiled... And doesnt works!

Edited by Jamaeeeeecah

Share this post


Link to post
Share on other sites
  • 0


[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', ?)

Share this post


Link to post
Share on other sites
  • 0

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 by Jamaeeeeecah

Share this post


Link to post
Share on other sites
  • 0

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;    }}

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.