Jump to content

java

Members
  • Posts

    251
  • Joined

  • Last visited

Everything posted by java

  1. same like me ,, it's harmony not available ? i've sent them email but didn't have replay for my email yet >.<
  2. there's o many forum for u like phpbb, mybb , IPB, Xenforo, Vbuletin, Etc search at google how to install it .
  3. what server are u using? rathena? i think if u using rathena u dont have to change anything. but if u use another emulator change lvl to group_id
  4. ill share here... Happy Download vipsystem.txt
  5. i think is a bug , same here too
  6. 1st wow.. nice ill try this btw ty
  7. i have it and configured for rathena
  8. this patch work for me after a little mod to rathena im using latest rathena.. and everything is ok
  9. by hexing it sir hexing when u diff client or hexing when client.exe ready to use, using hex editor? sorry to much ask hehe
  10. how u disable some feature like battleground etc?
  11. yep mee too.. i got that error because need some right pcketdb.
  12. damn i got this error clif_parse: Disconnecting session #6 with unknown packet version (p:0x1963,l:19). i did excatly and read from the first post.. what sould i do? anyone got the right packetdb? for this client?
  13. thanks but that's no need anymore since we have a forum too , thanks
  14. no need at this time. we create idathena.org from now.
  15. untuk script di wiki rathena juga udah cukup tuh gan... tinggal improvisasi ajah... lain kali buat forum untuk emulator RO ah buat bahasa indonesia...only ahahaha biar gak pada bingung bahasanya hehhe ada yang mau bantu gak yah ... saya sediain hosting ajah ... kayaknya asik tu gan .bwt emulator RO buat bahasa indonesia aja ....klo ngartiin script2 ke bahasa indonesia si dikit2 ane sudah up dan silahkan di cek di http://idathena.co.cc
  16. again.. someone ask for that source.. he give me this source to modify Index: conf/import-tmpl/atcommand_conf.txt =================================================================== --- conf/import-tmpl/atcommand_conf.txt (revision 0) +++ conf/import-tmpl/atcommand_conf.txt (working copy) @@ -0,0 +1,3 @@ +// PK Mode enabling/disabling Command + +pkmode: 0,0 \ No newline at end of file Index: src/map/atcommand.c =================================================================== --- src/map/atcommand.c (revision 16215) +++ src/map/atcommand.c (working copy) @@ -5323,7 +5323,21 @@ return 0; } +int atcommand_pkmode( const int fd, struct map_session_data *sd, const char *command, const char *message ) { + nullpo_retr(-1, sd); + + if (!sd->state.pk_mode) { + sd->state.pk_mode = 1; + clif_displaymessage(sd->fd, "You are now no longer in PK mode."); + } else { + sd->state.pk_mode = 0; + clif_displaymessage(sd->fd, "Returned to normal state."); + } + + return 0; +} + /*========================================== * @dropall by [MouseJstr] * Drop all your possession on the ground @@ -8700,6 +8714,7 @@ ACMD_DEF(jail), ACMD_DEF(unjail), ACMD_DEF(jailfor), + ACMD_DEF2("pk",pkmode), ACMD_DEF(jailtime), ACMD_DEF(disguise), ACMD_DEF(undisguise), Index: src/map/battle.c =================================================================== --- src/map/battle.c (revision 16215) +++ src/map/battle.c (working copy) @@ -4739,6 +4808,8 @@ if( sd->state.monster_ignore && flag&BCT_ENEMY ) return 0; // Global inminuty only to Attacks + if( map[m].flag.pvp && sd->state.pk_mode && flag&BCT_ENEMY && s_bl->type != BL_MOB ) + return 0; if( sd->status.karma && s_bl->type == BL_PC && ((TBL_PC*)s_bl)->status.karma ) state |= BCT_ENEMY; // Characters with bad karma may fight amongst them if( sd->state.killable ) { @@ -4799,7 +4870,8 @@ return (BCT_ENEMY&flag)?1:-1; // Duel targets can ONLY be your enemy, nothing else. else return 0; // You can't target anything out of your duel - } + }else if( map[m].flag.pvp && sd->state.pk_mode && t_bl->type != BL_MOB ) + return 0; } if( map_flag_gvg(m) && !sd->status.guild_id && t_bl->type == BL_MOB && ((TBL_MOB*)t_bl)->guardian_data ) return 0; //If you don't belong to a guild, can't target guardians/emperium. Index: src/map/pc.h =================================================================== --- src/map/pc.h (revision 16215) +++ src/map/pc.h (working copy) @@ -146,6 +146,7 @@ struct guild *gmaster_flag; unsigned int prevend : 1;//used to flag wheather you've spent 40sp to open the vending or not. unsigned int warping : 1;//states whether you're in the middle of a warp processing + unsigned int pk_mode : 1; //[malufett] } state; struct { unsigned char no_weapon_damage, no_magic_damage, no_misc_damage; btw that's it.. it's you , u are the one who make this source >.< little edit at 1st post, credit goes to you..
  17. java

    whosell

    someone aksing for it at this thread >> http://rathena.org/b...afk-whosell-pk/ he give me source at http://www.eathena.w...howtopic=216350 the original whos make this source.. it was for eathena.. and he ask , can u edit that so can be use at rathena emulator ,, nothing big changes here, just try to make this compatible to rathena im noob to at source , need more practice >.<
  18. done at source release
  19. i dont know whos making this source but im edit this source for rathena credit go to the original author >> found the author is malufett in atcommand.c ====================================================================== add : /*========================================== * @pk by : java modified i dunno whos the author *------------------------------------------*/ ACMD_FUNC(pk) { nullpo_retr(-1, sd);if (!sd->state.pk_mode) { sd->state.pk_mode = 1; clif_displaymessage(sd->fd, "You are now no longer in PK mode."); } else { sd->state.pk_mode = 0; clif_displaymessage(sd->fd, "Returned to PK mode Mwahahahahha!!!."); } return 0; } still at atcommand.c add this : ACMD_DEF(pk), ======================================================================= open atcommand_athena.conf find : kill: ["die"] below that add : pkmode: ["pk"] =============================================================================== open src/map/battle.c find this : if( sd->state.monster_ignore && flag&BCT_ENEMY ) return 0; // Global inminuty only to Attacks below that add : if( map[m].flag.pvp && sd->state.pk_mode && flag&BCT_ENEMY && s_bl->type != BL_MOB ) return 0; still at battle.c find : return 0; // You can't target anything out of your duel } below that add : else if( map[m].flag.pvp && sd->state.pk_mode && t_bl->type != BL_MOB ) return 0; ====================================================================================== open src/map/pc.h find : unsigned int warping : 1;//states whether you're in the middle of a warp processing below that add : unsigned int pk_mode : 1; done, recompile ur server
×
×
  • Create New...