Jump to content

Fou-lu

Members
  • Content Count

    144
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Fou-lu

  1. Fou-lu

    Limit Array

    For more info about arrays on Hercules, please check: http://herc.ws/board/topic/3886-hercules-1st-2014-megapatch/ Perfect! Thanks.
  2. What do I need to become a developer of the Hercules Staff and try to put this project forward?
  3. Fou-lu

    Limit Array

    I would like to know if the emulator still has vector limit for array being 127, as I remember that in old emulators it was like that.
  4. Fou-lu

    Script 1%

    if (rand(1,100) <= 1) { // 1% de chance getitem 501,1; } if (rand(1,100) <= 5) { // 5% de chance getitem 501,1; } if (rand(1,100) <= 50) { // 50% de chance getitem 501,1; } if (rand(1,2) == 1) { // 50% de chance getitem 501,1; } Entendeu como é fácil?
  5. Fou-lu

    Help with NPC

    Muito fácil. Desta forma o trecho de script que vc publicou funcionará ao clicar no NPC que estará em prontera 150,150 prontera,150,150,0 script 456, { areamonster "1@tower",7,351,17,387,"Metaling",1613,15,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead"; areamonster "1@tower",7,351,17,387,"Marin",1242,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead"; areamonster "1@tower",7,351,17,387,"Poporing",1031,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead"; areamonster "1@tower",7,351,17,387,"Drops",1113,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead"; areamonster "1@tower",7,351,17,387,"Mastering",1090,1,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead"; areamonster "1@tower",7,351,17,387,"Poring",1002,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead"; end; OnMyMobDead: set .@mob_dead_num,mobcount("1@tower",instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead"); if (.@mob_dead_num < 1) { instance_announce -1, "Todos os monstros no 1° andar foram derrotados.",bc_map,"0xffff00"; donpcevent instance_npcname("1FGate102tower", instance_id())+"::OnEnable"; //SetItemPartyInMap in_102floor 1 } else instance_announce -1, "Monstros vivos no 1° andar: " + .@mob_dead_num,bc_map,"0x00ff99"; end; } É algo bem básico, entendeu?
  6. I have a NPC equal to yours and even with some more functions. The NPC I created saves the time of Buff XP and checks when the player replays to see if there is still some time left for the Buff or it should be deleted. This avoids leaving the Buff time paralyzed when the player moves, as if time continues to roll. NPC: Buff Exp - script Check_Buff_Bonus_XP -1,{ OnPCLogoutEvent: if (getstatus(SC_CASH_PLUSEXP,0) == 1) set BuffXP_Tempo, gettimetick(2); end; OnPCLoginEvent: if (getstatus(SC_CASH_PLUSEXP,0) == 1) { set .@tempo, gettimetick(2)-BuffXP_Tempo; set .@tempo2,.@tempo*1000; if (.@tempo2 >= getstatus(SC_CASH_PLUSEXP,5)) { sc_end SC_CASH_PLUSEXP; end; } else { set .@rate, getstatus(SC_CASH_PLUSEXP,1); set .@temposet, getstatus(SC_CASH_PLUSEXP,5)-.@tempo2; sc_end SC_CASH_PLUSEXP; sc_start4 SC_CASH_PLUSEXP,.@temposet,.@rate,0,0,0; end; } } } NPC: Buff Drop - script Check_Buff_Bonus_Drop -1,{ OnPCLogoutEvent: if (getstatus(SC_CASH_RECEIVEITEM,0) == 1) set BuffDrop_Tempo, gettimetick(2); end; OnPCLoginEvent: if (getstatus(SC_CASH_RECEIVEITEM,0) == 1) { set .@tempo, gettimetick(2)-BuffDrop_Tempo; set .@tempo2,.@tempo*1000; if (.@tempo2 >= getstatus(SC_CASH_RECEIVEITEM,5)) { sc_end SC_CASH_RECEIVEITEM; end; } else { set .@rate, getstatus(SC_CASH_RECEIVEITEM,1); set .@temposet, getstatus(SC_CASH_RECEIVEITEM,5)-.@tempo2; sc_end SC_CASH_RECEIVEITEM; sc_start4 SC_CASH_RECEIVEITEM,.@temposet,.@rate,0,0,0; end; } } }
  7. Fou-lu

    BrowEdit Erro!

    I deleted the .sprite file and was able to retrieve the map. Thanks
  8. My player is having this error while playing the game and when he visits some map that is encrypted the game closes. I use GRF encrypted by GRF Editor, with me and with most of my players it works normally, but with this particular player this error occurs. Information I got about the player 1- Uses Windows XP 2- Does not use Anti-Virus 3- You have already reinstalled the Patch 4- All files are correct in Patch 5- Have already run as administrator 6- Have already used the compatibility mode Nothing solved his problem yet.
  9. I was more than 1 week creating a map in Browedit until the damn get this error when opening it and making it impossible for me to continue editing my map. I have already tried opening BrowEdit not 586 and 620 and both gives the same error. One note I got put more than 200 sprites on the map just to demarcate some points. Is this it?
  10. Please. Can someone tell me where to edit in the source so the monsters can chase the player on any corner of the map. I remember this was possible and I just put "9999" in the ViewRange and ChaseRange for the mob to chase the player across the map, but in the current version of Hercules this is not being possible.
  11. When I put "9999" in a monster's "ViewRange" and "ChaseRange". In my old emulator the monster haunts me in any corner of the map, but in the current emulator the monster does not chase any more. Does anyone know how I can change this?
  12. The version of my Hercules emulator is May this year 2016. I would like to keep you updated with the new commits, so my questions are: 1- I will have to implement the new commits manually or is there an automatic way to do this ? 2- I have some customizations in my emulator if I adopt any automatic update it is at risk of it interfering with my customizations ? 3- Some commits the link you gave me have an "X" in red , what does this mean?
  13. Very interesting this. This is the language of official emulator ? Where did you get access to this emulator ?
  14. I have a version of Hercules in a repository BitBucket , I wonder if it's possible I is catching updates Hercules pull through this my Git. I wonder also where can I find a list of commits that have already been implemented in the emulator since the last version I got . Where in the Hercules Git I see it ?
  15. US West Coast is the best location for an international server? Why?
  16. Fou-lu

    Imagens da interface

    Impossível vc ter procurado no Hexed, pois ele está em binário. E o que você quer fazer só é possível editando o Hexed.
  17. I would like to dedicated hosts recommendations focused on international audience. I also want to know if it worth to use proxies in order to reduce lag and how to implement them. Thank you. Any ssuggestion?
  18. My maps are on the ground disappearing and appearing in the corner in the game. Does anyone know how to solve this ? My maps are on the ground disappearing and appearing in the corner in the game. Does anyone know how to solve this ?
  19. [Debug]: Source (NPC): CronusMOTD (invisible/not on a map) Whenever active an invisible npc appears this "debug " in the console , but does not follow any statement by saying what the error is .
  20. Does anyone know how to do to solve this bug with the shadow ? Both the tree and the bush on the ground are all left with the " filled " as if they were a filled object without highlighting the branches in the shade.
  21. Fou-lu

    caught monsters

    All aggressive monsters that have the ChangeChase so get stuck in time to chase any player . They are walking , but never leave their cells literally locked. I wonder if anyone has ever seen it.
×
×
  • Create New...

Important Information

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