Jump to content

yagamiraito

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by yagamiraito

  1. Hello, I want to know if your script is to make bot random walk until find a mob within range or if its an autoseeking mob?
  2. The latest rAthena doesn't have global_reg_value anymore, so we can skip that step and just activate this script?
  3. Chris, there are two bracket in Mass Seller script doesn't have Right Curly Bracket. At line 144. Thank you for your wonderful script! Edit: Nevermind got it work. Jerome, I got it. You have to put curly right bracket at the end of line 38. So it should look like this Edit: I was wrong. This edit make NPC appear but it doesn't make script work.
  4. I use this hair dye into your hair but then it crash? Is there something wrong with my installation? Thank you for hairstyles btw. That's really cool.
  5. Is there a way to setting autocast limit?
  6. Ahhh... I see. Did you set base_max_level higher than 99? Edit: If you change their max level, tell me what max number you change. Base Level should be no more than 1000, and Job Lvl would be no more than 255...... And I'll give you fix files that according to that max level.
  7. Try go to your server folder, go to Conf\battle\ and open file that called exp.conf with Notepad++. Edit this line...... // Rate at which exp. is given. (Note 2) base_exp_rate: 100 // Rate at which job exp. is given. (Note 2) job_exp_rate: 100 Change that 100 to 200000000000 to both of them. Compile and then try to kill monster. See how it goes....
  8. Is it beyond repair? I mean, can it tweak here and there and then BAAM!!, no compiling error? I did so much modification in this current version so to sudden change to other version is my last resort. And ummmm...... I don't want to abandon this patch. I hope someone that have knowledge on this language can help me on this one.
  9. Hello, I'm manually put Goddameit Reflect "Reflection Damage" in my server. I'm using already-made server by someone, and for some reason it didn't leave any clue what revision I use. I hope it's not major role in this problem. Anyway I think I did good job add/replace line according to this patch. But there are tiny little change that make me bamboozled I learned script by comparison with working one but I don't understand any language at all. Please take a look in this battle.c.... =================================================================== --- src/map/battle.c (revision 17168) +++ src/map/battle.c (working copy) @@ -4688,7 +4688,7 @@ // Deals the same damage to targets in area. [pakpil] int battle_damage_area( struct block_list *bl, va_list ap) { unsigned int tick; - int amotion, dmotion, damage; + int amotion, dmotion, damage, return_, damage_; struct block_list *src; nullpo_ret(bl); According to this patch, I only just remove red one and add green one, and so I did. But, my battle.c has different line... int battle_damage_area(struct block_list *bl, va_list ap) { unsigned int tick; int64 damage; <--- This one is new line. // int amotion, dmotion; <--- And this one doesn't have "damage" int amotion, dmotion, damage, return_, damage_; struct block_list *src; nullpo_ret(bl); And other lines doesn't change much, so it's easy... status_fix_damage(src,bl,damage,0); clif_damage(bl,bl,tick,amotion,dmotion,damage,1,ATK_BLOCK,0); skill_additional_effect(src, bl, CR_REFLECTSHIELD, 1, BF_WEAPON|BF_SHORT|BF_NORMAL,ATK_DEF,tick); //Start Reflect Script if( (return_=((TBL_PC*)bl)->bonus.short_weapon_damage_return) > 0 ) { damage_=damage*return_/100; if(damage_>0) { battle_delay_damage(tick, amotion,bl,src,0,CR_REFLECTSHIELD,0,damage_,ATK_DEF,0,true); clif_damage(src,src,tick,amotion,dmotion,damage_,1,ATK_BLOCK,0); skill_additional_effect(bl, src, CR_REFLECTSHIELD, 1, BF_WEAPON|BF_SHORT|BF_NORMAL,ATK_DEF,tick); } } //end Reflect script map_freeblock_unlock(); And when I compiled it, it bring this error. Error 1 error C2371: 'damage' : redefinition; different basic types ...rathena-master\src\map\battle.c 6967 1 map-server Warning 2 warning C4244: '=' : conversion from 'int64' to 'int', possible loss of data .......rathena-master\src\map\battle.c 6995 1 map-server Error 3 error C2198: 'battle_delay_damage' : too few arguments for call ...rathena-master\src\map\battle.c 6998 1 map-server Error 4 error C2198: 'clif_damage' : too few arguments for call ...rathena-master\src\map\battle.c 6999 1 map-server 5 IntelliSense: too few arguments in function call ...rathena-master\src\map\battle.c 6998 89 map-server 6 IntelliSense: argument of type "damage_lv" is incompatible with parameter of type "e_damage_type" ...rathena-master\src\map\battle.c 6999 56 map-server 7 IntelliSense: too few arguments in function call ...\rathena-master\src\map\battle.c 6999 67 map-server From this, I knew that that tiny change really mess it up. And I also uploaded my own version battle.h...... Please take a look. I would be grateful by any help I can get.
×
×
  • Create New...