Jump to content

goddameit

Members
  • Posts

    562
  • Joined

  • Days Won

    14

Community Answers

  1. goddameit's post in Chessmaster Ragnarok was marked as the answer   
    chess.zip
  2. goddameit's post in Damage Effect was marked as the answer   
    clif_damage(struct block_list* src, struct block_list* dst, unsigned int tick, int sdelay, int ddelay, int64 sdamage, int div, enum e_damage_type type, int64 sdamage2) src : who send this
    dst : who receive this
    tick : when do this
    sdelay, ddelay, div, sdamage2 : you don't need to care it
    sdamage : yeap, damage number
    type : 0 ~ 12, there are info in clif.c
    Here is a little sample about monster send 9999 to me :
    clif_damage(&md->bl, &sd->bl, gettick(), 0, 0, 9999, 0, DMG_NORMAL, 0);
  3. goddameit's post in disable attacking was marked as the answer   
    simple way is add checking in battle_check_target
  4. goddameit's post in Who return a shop vending title was marked as the answer   
    sd->message
  5. goddameit's post in Spiderweb Limitation was marked as the answer   
    in skill_castend_pos
    after system check how many you put, do
    skill_delunitgroup
    for deleting old one and get a free space for new
    if skill is spiderweb.
  6. goddameit's post in help Lilith Extended Vending System was marked as the answer   
    http://rathena.org/board/topic/81512-r17251-multilanguage-support/
  7. goddameit's post in Something about Emperium was marked as the answer   
    simple way is subtracting how much EDP gain if target is Emp after count SC gain
    ---> battle_calc_weapon_attack
  8. goddameit's post in Adding Char[24] to constant String was marked as the answer   
    use sprintf to mix your string
  9. goddameit's post in H>auto fakename when login? was marked as the answer   
    refer OnPCLoginEvent: + atcommand + @fakename
  10. goddameit's post in Need ScriptCommand "script4each" was marked as the answer   
    https://cs-ea.googlecode.com/svn/branches/patch/script4each.patch
     
    Author and original : http://okayro.com/thread-238762-1-1.html
  11. goddameit's post in Problem with X Y was marked as the answer   
    use OnInit + movenpc + rand
  12. goddameit's post in How to utilize navigation system for custom NPCs? was marked as the answer   
    <your Ro>\System\Towninfo.lua
  13. goddameit's post in Guild Supply was marked as the answer   
    agit_controller.txt

    (gettime(4)==6) && (gettime(3)>=16 && gettime(3)<18)) { if (!agitcheck()) { AgitStart; set $guild_event,gettimetick(2);//add callsub S_DisplayOwners; } end;
    new

    head{ if(getd("$GuildSupply"+getcharid(2))!=$guild_event) { getitem 607,1; setd "$GuildSupply"+getcharid(2),$guild_event; } }
  14. goddameit's post in Umh hi rathena can i request for a top Guild NPC? like top breaker? was marked as the answer   
    callfunc "LadderWatch","G_Own",5,0;

    set .@guild,getcharid(2); set @GuildOwning,0; setarray .@maps$[0],"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; setarray .@maps$[5],"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05"; setarray .@maps$[10],"gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05"; setarray .@maps$[15],"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05"; for( set .@i, 0; .@i <= 19; set .@i, .@i+1 ) { set @GuildOwning,@GuildOwning+(getcastledata(.@maps$[.@i],1)==.@guild?1:0); } callfunc "LadderWork","G_Own",5,"@GuildOwning"; set @GuildOwning,0;
  15. goddameit's post in [Request] Alive when die in pvp was marked as the answer   
    I was killed by myself. so killedrid = killerrid = me

    - script PvPCasher -1,{ end; OnPCKillEvent: dispbottom "OnPCKillEvent:"+killedrid; end; OnPCDieEvent: dispbottom "OnPCDieEvent:"+killerrid; end; }
    http://i.imgur.com/EkS9v.jpg
    >>

    OnPCKillEvent: if(killedrid==getcharid(3)||!killedrid)end; set #CASHPOINTS,#CASHPOINTS + 2; dispbottom "You have recieved 2 Cash Points for killing "+rid2name(killedrid)+"."; dispbottom "Your Balance is now: "+#CASHPOINTS; set killedrid,0; end;
×
×
  • Create New...