Jump to content

Asheraf

Core Developers
  • Content Count

    252
  • Joined

  • Last visited

  • Days Won

    33

Everything posted by Asheraf

  1. If you're able to connect to the server but your friends in hamachi can't and you're sure the clientinfo have correct informations then it would be Firewall problem (from my old experience with it) be sure that you have opened the ports correctly and for test try to disable it and see if worked.
  2. Tried to open the servers port on your windows firewall?
  3. nope questprogress is a Herc script command for the script as Aeromesi said if (questprogress(11350) == 1)
  4. Merry Christmas everyone
  5. I would suggest using the channel system for this npc instead of looping for every player, however here you go - script broadcast FAKE_NPC,{ OnCommand: if (!getstrlen(.@atcmd_parameters$)) { message strcharinfo(PC_NAME), "Please, enter a message (usage: @bst)."; end; } if (agitcheck()) { message strcharinfo(PC_NAME), "Unable to use this command,"; message strcharinfo(PC_NAME), "War of Emperium is ongoing!"; close; } $@input$ = implode(.@atcmd_parameters$, " "); $@name$ = strcharinfo(PC_NAME); .@symbol$ = substr(.@atcmd_parameters$, 0, 1); if (.@symbol$ != "B>" && .@symbol$ != "S>" && .@symbol$ != "T>") { message strcharinfo(PC_NAME), "Market Symbol is Needed when using this command ( B> S> T>)"; end; } if (bst_delay + 60 > gettimetick(2)) { message strcharinfo(PC_NAME), "There is a 60 seconds delay of using this command again"; end; } if (Zeny < 1000000) { message strcharinfo(PC_NAME), "You need to pay a 1m fee before sending your message."; end; } Zeny -= 1000000; query_sql ("SELECT `char`.`account_id` FROM `char` JOIN `login` ON `char`.`account_id` = `login`.`account_id` WHERE `char`.`online` = 1", .@account_id); bst_delay = gettimetick(2); // delay while (.@i < getarraysize(.@account_id)) { if (attachrid( .@account_id[.@i])) dispbottom "[ Market ] " + $@name$ + " : " + $@input$,0xFFD700; // display to every character on the server. detachrid; ++.@i; } end; OnInit: bindatcmd "bst", strnpcinfo(NPC_NAME) + "::OnCommand", 0, 1; // bind @bst command. end; }
  6. RODEX isn't implemented yet in Hercules.
  7. Asheraf

    NPC add vip

    What is the problem? give us some error messages so we could help
  8. change the variable HuntDelay to an account variable #HuntDelay
  9. But where is target position for skill? "This command causes the attached NPC object to cast a skill on the attached player." it has no position settings.
  10. You could use npcskill instead *npcskill(<skill id>, <skill lvl>, <stat point>, <NPC level>)
  11. prontera,159,183,4 script Quest Room Warper 2_F_SIGN1,{ mes "[ Quest Room Warper ]"; mes "Hi!.. Would you like to enter the Quest Room?"; switch(select("Yes", "Cancel")) { case 1: warp "jupe_ele_r",49,92; close; case 2: mes "[ Quest Room Warper ]"; mes "Owh...."; mes "Nevermind..since it is your decision."; mes "It is all up to you."; mes "Come back to me if you changed your mind."; close; } end; }
  12. you need to make sure that you added the sprites into your grf also if you're trying to change your body style with unsupported job it would crash since there is no sprite for it.
  13. can you demonstrate the code? I don't get what you mean. So would it check if the account haven't been logged in yet? emm by using #not_first_time as a variable in my example you may want to know more about variables so you can read this: https://github.com/HerculesWS/Hercules/blob/master/doc/script_commands.txt#L443
  14. OnPCLoginEvent: if (!not_first_time) { ++not_first_time; mes("Hello There."); close; } end;
  15. To config databases check conf/global/sql_connection.conf
  16. its hardcoded in the client you need to hex it.
  17. nope i mean you have to use Eff_Deepsleep instead of the normal one.
  18. well i don't know what you're doing wrong but this is the converted db using SDE if you want it. mob_db.zip
  19. I think sorc skill gives deep sleep not the normal one.
  20. Use this http://herc.ws/board/files/file/161-server-database-editor/
  21. If I understood correctly it should be like this sellitem Orange_Potion, 1; sellitem Yellow_Potion, 1; sellitem White_Potion, 1;
  22. use setcell("arena", 135, 135, 165, 165, cell_walkable, false); to make unable to walk area then summon monsters in top of it
  23. jRO is only for japaness peoples however if you wan't to check for they exclusive things you could look at the grf.
×
×
  • Create New...

Important Information

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