-
Content Count
145 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Fou-lu
-
Is it any problem for me to exceed the 512 NPC limit on a single map? In case I would be editing in source to exceed the limit.
-
For more info about arrays on Hercules, please check: http://herc.ws/board/topic/3886-hercules-1st-2014-megapatch/ Perfect! Thanks.
-
What do I need to become a developer of the Hercules Staff and try to put this project forward?
-
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.
-
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?
-
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?
-
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; } } }
-
I deleted the .sprite file and was able to retrieve the map. Thanks
-
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.
-
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?
-
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.
-
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?
-
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?
-
[Instance]Horror Toy Factory (Aegis Server)
Fou-lu replied to chao93's topic in Quest, Shops, Functions & Algorithms Releases
Very interesting this. This is the language of official emulator ? Where did you get access to this emulator ? -
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 ?
-
Dedicated hosting for international server.
Fou-lu replied to Fou-lu's question in General Server Support
US West Coast is the best location for an international server? Why? -
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.
-
Dedicated hosting for international server.
Fou-lu replied to Fou-lu's question in General Server Support
-
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?
-
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 ?
-
[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 .
-
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.