Jump to content

AnnieRuru

Script Developers
  • Content Count

    1677
  • Joined

  • Last visited

  • Days Won

    246

Everything posted by AnnieRuru

  1. kinda ... both maybe our developer use wrong packet ... or maybe newer client use different packet for display monster critical <-- huh ? how can this be ? I never see this coming however since this is about old and new client issue, then stick to newer client hopefully your PACKEVER is correct
  2. ok then ... have you tried with different hexed client ? maybe you can try make your own, or download from ... ossi http://herc.ws/board/topic/10668-release-2014-01-15-ragexe-full-client/ I am using this one, and has no problem I certainly think this is not server side issue, but client side
  3. ok clear your mind first ... take a deep breath ... by default server setting, monster cannot do critical you can try dastgir said, enable it to let monster do critical or use my setmobdata patch to make custom monster deal critical so, tell me 1. when you leave your server as default, do your server monster dealing critical ? 2. when you enable this setting // Who can have critical attacks? (Note 3)// (Note that there are some skills that always do critical hit regardless of this)enable_critical: 19// Critical adjustment rate for non-players (Note 2)mob_critical_rate: 10000critical_rate: 100when summon a baphomet, will this mvp deal critical now ?
  4. like I said, I'll do this very very slowly so today I submit this ... the 1st one of that ... awesome yet inaccurate ... system from rathena https://github.com/HerculesWS/Hercules/pull/871 and immediately, now you see, their getunittype is flawed their getunittype return values are 0 - Monster 1 - Homunculus 2 - Pet 3 - Mercenary 4 - Elemental 5 - NPCI have no idea how they use this valueYet ? why PC type is not included ?? omfg ... if Haru permit my pull request, then ours will follow the types from existing *getmapxy then can do like this OnPCDieEvent: if ( !killerrid ) end; getmapxy .@map$, .@x, .@y, getunittype(killerrid), killerrid; dispbottom .@map$ +" "+ .@x +" "+ .@y; end;
  5. now that make some sense #include "common/hercules.h"#include <stdio.h>#include <string.h>#include <stdlib.h>#include "map/pc.h"#include "common/nullpo.h"#include "common/HPMDataCheck.h"HPExport struct hplugin_info pinfo = { "deadnodisguise", // Plugin name SERVER_TYPE_MAP,// Which server types this plugin works with? "0.2", // Plugin version HPM_VERSION, // HPM Version (don't change, macro is automatically updated)};int pc_disguise_pre( struct map_session_data *sd, int class_ ) { // disable player from disguise nullpo_retr( 0, sd ); if ( pc_isdead(sd) ) hookStop(); return 0;}int pc_dead_pre( struct map_session_data *sd, struct block_list *src ) { // undisguise when player die nullpo_retr( 0, sd ); if ( sd->disguise != -1 ) pc->disguise(sd, -1); return 0;}HPExport void plugin_init (void) { addHookPre( "pc->disguise", pc_disguise_pre ); addHookPre( "pc->dead", pc_dead_pre );}
  6. @@Easycore curious, maybe you didn't enable "HPMHooking" in confplugin.conf ?
  7. https://eathena.ws/board/index.php?showtopic=243753 it just exactly like find the mushroom event http://upaste.me/4b1521981271160f0
  8. that server must have a source modification like OnPCQuitMapEvent when player warp outside that map seriously, no need to do that, addtimer command itself can do it already http://upaste.me/3f1b21980900250f0 . . do that yourself
  9. a simple way to check is your hercules is up to date, https://github.com/HerculesWS/Hercules/commit/367c806bccbf242c2025356777b4cf1d194c481a is the new queue iterator script commands uses QUEUEOPT_DEATH if your test server's dbconst.txt is HQO_OnDeath, then you can't use this script release version 1.1 to make sure your server is updated.
  10. sry, I gave wrong answer I noticed we already have script commands to setoption, so there is no need to patch - script kfsdkfhsf FAKE_NPC,{OnInit: setitemscript 1201, "{ if ( Class == Job_Knight && checkmount() ) { setoption Option_Dragon1; } changebase roclass(eaclass()|EAJL_THIRD); }", 1; setitemscript 1201, "{ changebase Class; } ", 2; end;}
  11. 2.3 update script to use new queue iterator script commands
  12. Haru has fixed the queue iterator script commands its time to spread out this technique Download: 1.2 script Make sure your hercules server is compile after 2015-12-21 errr ... maybe too strict xD good for server owner and scripter alike this can use in live server, and also can be a reference script for scripters Next, might want to bump the battleground queue again xD
  13. then you have to set waypoint https://rathena.org/board/topic/73366-walking-monster/?p=151732 EDIT: cannot trust rathena forum up time, so re-post here
  14. src/map/script.c | 3 +++ 1 file changed, 3 insertions(+)diff --git a/src/map/script.c b/src/map/script.cindex 54d8d33..bac464c 100644--- a/src/map/script.c+++ b/src/map/script.c@@ -11238,6 +11238,9 @@ BUILDIN(changebase) { return true; } + if ( vclass == JOB_RUNE_KNIGHT && pc->readparam(sd,SP_CLASS) == JOB_KNIGHT && sd->sc.option & OPTION_RIDING )+ sd->sc.option |= OPTION_DRAGON;+ if(sd->disguise == -1 && vclass != sd->vd.class_) pc->changelook(sd,LOOK_BASE,vclass); //Updated client view. Base, Weapon and Cloth Colors. patch this, confirm work
  15. guild_vs2,50,50,4 script Shy Eclipse 4_DOG01,{ mes "[Eclipse]"; mes "!! Squik..!"; emotion e_panic; next; if ( select("Pet it.:Scare it away.") == 1 ){ mes "[Eclipse]"; mes "**Squik~**"; emotion e_lv; } else { mes "[Eclipse]"; mes "SQUIK!"; emotion e_omg; } close;OnInit: npcspeed 100; while ( true ) { getmapxy .@map$, .@x, .@y, 1; while ( checkcell( .@map$, .@x2 = .@x + rand(-10,10), .@y2 = .@y + rand(-10,10), cell_chknopass ) ); npcwalkto .@x2, .@y2; sleep rand(3000,5000); }}
  16. wawawa ..wait.. where did you get that ver5.2 ... there is only 5.1 in our emulator https://github.com/HerculesWS/Hercules/blob/master/npc/custom/events/disguise.txt I'm using this one if winterfox wanna pull request his version into hercules emulator, then we can merge it after we review it
  17. change #include "common/memmgr.h"into#include "common/malloc.h".. http://herc.ws/board/topic/8192-restock-system/?p=64596 http://herc.ws/board/topic/4830-noitem-mapflag/?p=65839 EDIT: oh and, since its your 1st time, always uncomment this line
  18. which version you playing ? I'm using the one inside hercules custom folder
  19. almost every hercules user know plugin http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC if you don't use this plugin, the one who owned this koe map can kill the emperium over and over EDIT: https://rathena.org/board/topic/103799-king-of-emperium-hill-royal-rumble/ everyone there talk sh*t, doesn't make sense
  20. hmm ... I actually didn't know rathena already has it when I opened this topic I admit they at least tried to "make stuffs happens", although some of their design is flaw I think mine is a little bit better, because mine can modify attack damage for monster, which they can't but rathena also has a few stuffs that I didn't have, like the monster no cast skill flag, and I haven't code setmoblook erm .... HAHAHAHA !! so rathena monster's stat cannot change due to a bug https://github.com/rathena/rathena/issues/462 https://github.com/rathena/rathena/issues/516 https://github.com/rathena/rathena/issues/751 it doesn't matter now, I copy all their good stuffs, so now mine is better than them patch 1.2 http://upaste.me/ed6c2196382229bc7 crazy 500 lines modification, hercules seriously missing many stuffs
  21. then try the patch version 1.2 in my spoiler's archive since its patch, there shouldn't be much a problem I think ?
  22. @@Winterfox that's opposite, I got negative value anyways, I prefer when set the permanent player variable, I set the time, without + or - //===== Description: =========================================//= Basic healer script.//===== Additional Comments: =================================//= 1.0 Initial script.//= 1.1 Aligned coordinates with @go.//= 1.2 Fix variables and character stuck at healing//============================================================- script Healer -1,{ if ( HEALCD + 60 > gettimetick(2) ) { dispbottom "You need wait for " + ( HEALCD + 60 - gettimetick(2) ) + " seconds."; end; } sc_end SC_STONE; sc_end SC_FREEZE; sc_end SC_STUN; sc_end SC_SLEEP; sc_end SC_POISON; sc_end SC_CURSE; sc_end SC_SILENCE; sc_end SC_CONFUSION; sc_end SC_BLIND; sc_end SC_BLEEDING; percentheal 100,100; specialeffect2 EF_INCAGILITY; sc_start SC_INC_AGI,240000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10; emotion e_lv; HEALCD = gettimetick(2); end;}// Duplicates//============================================================alberta,25,240,6 duplicate(Healer) Healer#alb 4_F_ACOLYTE,5,5prontera,155,185,5 duplicate(Healer) Healer#prt 1_F_MARIA,5,5and only do the + or - on the condition because I learned it through my mvp ladder I did like winterfox on my mvp ladder (years ago) to deny entrance for 1 week then the owner (the server I work on) want to change into 5 hours then the player complain why those who had play before, can't go in immediately, still need to wait another 6 days ... so by then I only set a fixed time then
  23. no such thing though there is no script command can bypass item_db's class restriction unless you know how to patch, write your own source code ... how about give some specific example ... maybe I know a little bit ... since I wrote that noitem mapflag ...
  24. script and plugin ... erm ... I remember I said something about stop supporting on the board but I'm kinda ... having fun writing all these stuffs =/
×
×
  • Create New...

Important Information

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