Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 12/02/18 in Posts

  1. 1 point
    M4karov

    Sistema pk

    A documentação sobre o comando está no arquivo que citei acima amigo. Tu ta começando agora certo? Então antes de você querer mudar o mundoRO com um enorme projeto, começa criando coisas simples, tira um tempinho e dá um lida no geral nesse arquivo que te falei, logo você vai ver quanta coisa você vai aprender só de ler ele. Boa sorte.
  2. 1 point
    M4karov

    Sistema pk

    Cria as sprites e manipule via script a mudança das sprites no personagem. Comandos: *setlook(<look type>, <look value>) *changelook(<look type>, <look value>) saiba mais sobre comandos de script no arquivo 'script_commands.txt' ele fica dentro da pasta doc do emulador.
  3. 1 point
    Alayne

    Bunch of PvP scripts

    Hello peoples, This post is more a "link to others" than a post in itself. As I stated some ago that I never really wrote a script for PvP (in the most basic meaning of it), I decided last week-end to start writing some. But as I'm a bit...let's say 'mad', I didn't wrote one or two, but 15. This includes a non exhaustive list of: -8 PvP scripts (Battle Royal, Royal Rumble, Deus Ex, PvPvM, Vampire Bal, Clone Defense, Rotative Hunt and Mistery Case) Battle Royal Vampire Bal PvPvM Deus Ex -5 Battle ground scripts, based over the games in S4 League (Captain, Death Match, Captain, Siege, TouchDown) Captain Death Match TouchDown -1 Reaper, based over the game of the same name in S4 League too. -1 'improved' battleground, as it's a 4 team fight. I'll start to release those scripts in the week end (need some time for small edits before releasing them), and I'll all the scripts in this one and only topic, to ensure the access will be centralized for those who may want to get several. I don't know yet if I'll make it paid scripts, as the initial goal was to provide it for free, but the hardest took me a bunch of time to write and debug. So I guess some will be free, and some will be paid ones. Hope you'll like it, peoples! Edit: Here we go, first link added
  4. 1 point
    bWolfie

    [Release] [Fix] BGM folder correction

    Just downloaded this. Makes me very happy
  5. 1 point
    Rationale: This is part of the NPC scripts standardization project. In the past, NPCs were defined with numeric View IDs, while now we've replaced most of them with more human-readable (and as such easier to maintain) constants - the same constants that AEGIS scripts use, making the numeric IDs obsolete (and deprecated). Contents: When the NPC View IDs were converted to constants, the only leftover was the special ID '-1' we use for invisible / floating NPCs, that didn't have an equivalent constant defined at the time. This changeset defines a constant 'FAKE_NPC' for it, and replaces all the '-1' view IDs with the new constant. The exception for the -1 case is removed from the code (making it effectively deprecated, just like the other numeric IDs). Impact: The impact of this changeset on custom scripts is low. All old code will still work (but it'll throw a deprecation warning). It's recommended to update all the affected code as soon as possible - the support for the old style IDs may be removed from the code at any time in the future (after at least a month from the commit). Details: The use of the sprite ID '-1' in NPC headers to specify an invisible NPC is now deprecated. 'FAKE_NPC' should be used instead. This affects all NPC types (script, shop, trader, duplicate, etc) /* Before: */ - script TurboTrap#tt_main -1,{ // ... } in_moc_16,65,162,0 duplicate(SinTrap) 02_2 -1,0,0 /* Now: */ - script TurboTrap#tt_main FAKE_NPC,{ // ... } in_moc_16,65,162,0 duplicate(SinTrap) 02_2 FAKE_NPC,0,0 Merge Date:Thu, 31 Dec 2015 23:40:48 +0100 Related Pull Requests: - #1000 - https://github.com/HerculesWS/Hercules/pull/1000 - define FAKE_NPC as -1 in const.txt [AnnieRuru] Related Commits: - ef171a8 - https://github.com/HerculesWS/Hercules/commit/ef171a8 - Mon, 21 Dec 2015 19:59:38 +0800 define FAKE_NPC as -1 in const.txt [AnnieRuru] - efaaf84 - https://github.com/HerculesWS/Hercules/commit/efaaf84 - Mon, 21 Dec 2015 20:12:45 +0800 Replace -1,{ with FAKE_NPC,{ replace using Notepad++ [AnnieRuru] - b4c99db - https://github.com/HerculesWS/Hercules/commit/b4c99db - Tue, 29 Dec 2015 02:16:49 +0100 Replaced leftover -1 view IDs with FAKE_NPC [Haru] - 32a42ee - https://github.com/HerculesWS/Hercules/commit/32a42ee - Tue, 29 Dec 2015 02:17:26 +0100 Extended the numeric view ID deprecation to '-1' (FAKE_NPC) [Haru] - 0e99004 - https://github.com/HerculesWS/Hercules/commit/0e99004 - Thu, 31 Dec 2015 23:40:48 +0100 Merge branch 'AnnieRuru-request_29' into hercules [Haru] Trivia: Commit efaaf84 was done with a find and replace in Notepad++, to globally replace '-1' view IDs with 'FAKE_NPC' (as described in the commit notes). Commit b4c99db caught the leftovers (less common cases where the -1 is not followed by ',{'), and was powered by vim macros and grep (and vimgrep). It also features manual clean up of trailing whitespace or extra tabs in a small subset of the affected lines.
  6. 1 point
    @@Oxxy use this tool to convert what Haru just said XD http://www.asciitohex.com/ EDIT: the reason why we can't fix some bugs is because we have a very crappy and messy coding format in the source code when we directly fix the bugs, most of the time, is just a temporary measurement to permanently get rid of the bugs, the 1st step is of course make the source code have higher readability only a good structure code and a readable coding style that understood by many users, can help make our emulator less bug
×
×
  • Create New...

Important Information

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