Jump to content

Cydh

Developer
  • Posts

    2,285
  • Joined

  • Last visited

  • Days Won

    72

Everything posted by Cydh

  1. atcommand.c, inside who3, who2, and who there are these lines iter = mapit_getallusers(); for( pl_sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); pl_sd = (TBL_PC*)mapit_next(iter) ) { pl_GM_level = pc_isGM(pl_sd); -if(!( (battle_config.hide_GM_session || (pl_sd->sc.option & OPTION_INVISIBLE)) && (pl_GM_level > GM_level) )) +if(!( ((battle_config.hide_GM_session && pl_GM_level > 40) || (pl_sd->sc.option & OPTION_INVISIBLE)) && (pl_GM_level > GM_level) )) {// you can look only lower or same level pl_GM_level > 40 can be change with battle_config.hide_GM_sessionLv. battle.h int bg_misc_damage_rate; int bg_flee_penalty; +int hide_GM_sessionLv; } battle_config; void do_init_battle(void); battle.c { "bg_misc_attack_damage_rate", &battle_config.bg_misc_damage_rate, 60, 0, INT_MAX, }, { "bg_flee_penalty", &battle_config.bg_flee_penalty, 20, 0, INT_MAX, }, +{ "hide_GM_sessionLv", &battle_config.hide_GM_sessionLv, 10, 0, 100, }, }; int battle_set_value(const char* w1, const char* w2)
  2. full version here : https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/doc/script_commands.txt
  3. use bindatmd, check if player using @storage at castle maps, tell them that can't use that command
  4. what's mean of 'clearance? and what's it used for?
  5. make new post on support section.. haha
  6. on your solution explorer (MSVisualStudio), on right-click map_sql on map-server_sql > add > add existing item, select achievement.c and achievement.h
  7. not an error, just it doesn't read idnum2item*, itemslotcounttable, and num2item*.. *he told me*
  8. My friend told me that almost 2012 client read System/itemInfo.lub to read file data..
  9. src/map/mob.c static void mob_item_drop(struct mob_data *md, struct item_drop_list *dlist, struct item_drop *ditem, int loot, int drop_rate, unsigned short flag) I think.. haha
  10. I have private relase for this mod. GMxMomi from KonanRO (or GMDrama on eAthena) bought it from me for damage maxcap
  11. download the patch file, and read on lines that I gave "//change this" Index: conf/msg_athena.conf =================================================================== --- conf/msg_athena.conf (revision 17102) +++ conf/msg_athena.conf (working copy) @@ -630,6 +630,8 @@ 680: You have been recovered! //681-899 free +700: Congratulations to %s for successfully refining %s to +%d! //change this + 681: Rune Knight T 682: Warlock T 683: Ranger T @@ -1406,5 +1408,7 @@ 1396: You do not have a cart to be cleaned. 1397: Your cart was cleaned. + +// msg //Custom translations import: conf/import/msg_conf.txt Index: src/map/skill.c =================================================================== --- src/map/skill.c (revision 17102) +++ src/map/skill.c (working copy) @@ -14228,7 +14228,7 @@ void skill_weaponrefine (struct map_session_data *sd, int idx) { nullpo_retv(sd); - + if (idx >= 0 && idx < MAX_INVENTORY) { int i = 0, ep = 0, per; @@ -14266,6 +14266,12 @@ if (ep) pc_equipitem(sd,idx,ep); clif_misceffect(&sd->bl,3); + if(item->refine >= 10) //change this + { + char output[256]; + snprintf(output, sizeof output, msg_txt(700), &sd->status.name, ditem->jname, item->refine); // Packet 0x%x length: %d //change this + clif_broadcast(&sd->bl, output, strlen(output)+1, 0, ALL_CLIENT); + } if(item->refine == 10 && item->card[0] == CARD0_FORGE && (int)MakeDWord(item->card[2],item->card[3]) == sd->status.char_id)
  12. I think when player on @duel, he has sd->duel_group not empty. Maybe you can use this for check on pc_useitem() on src/map/pc.c int pc_useitem(struct map_session_data *sd,int n) { .... if( !pc_isUseitem(sd,n) ) return 0; //try use this, 607 = Yggdrasilberry if(sd->duel_group && sd->status.inventory[n].nameid == 607) return 0; //------ // Store information for later use before it is lost (via pc_delitem) [Paradox924X] nameid = sd->inventory_data[n]->nameid; .... }
  13. I know that, and I want to know why he desire it. Just wondering if he will waste his time if want to edit every itemdata files on data folder.
  14. Information Configuration files conf/battle/monster_zeny.conf db/mob_zeny_db.txt Compability Screenshots v.1.1 v.1.0 Previous release: Pic1 | Pic2 | Pic3 Download v.1.1 zeny_from_mobs-v.1.1-rA-svn17163.patch External download links **If you guys like this, rate this post and give me rep +1 haha** **Originally writed by me [Cydh], if you ever seen/meet same mod like this, I never got it that why I made this** **CMIIW**
  15. re-uploaded on mediafire. having problem with post attachment
  16. why do you need the client read the folder data? what files you expected to read?
  17. If you all wanted Manage Skill Damage [2.0] for latest svn, I don't have. But I implement it on my server (svn17101) and a little changes (skill_num to skill_id), and this is working on svn17101. manage_skill_damage_v2_rAthena17101.patch
  18. did you change the correct files? renewal -> db\re\exp.txt pre-renewal -> db\pre-re\exp.txt
  19. I got the solution from here. http://rathena.org/b...ue-ghost-setup/ use your SVN program (I'm using TortoiseSVN) make new folder to download these file from this folder /Lua_Project/System. Make new folder, e.g "whatever", SVN Checkout.. > insert this link http://svn6.assembla...Project/System/ > Revision 203 (for 2012-04-10aRagexeRE maybe and 230 for 2012-04-18aRagexeRE). OK then wait until it's done Copy all item inside your "whatever" except ".svn" Paste them onto ROClientFolder\System\ Run your setup file (I use Blue Ghost Setup)
  20. wow nice, It's work for my 2012-04-18a too. just update to revision 230..
×
×
  • Create New...

Important Information

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