Jump to content

Talon

Members
  • Posts

    78
  • Joined

  • Last visited

Everything posted by Talon

  1. There're 'import' and 'import-tmpl' and I wonder which should I paste in?
  2. https://www.dropbox.com/s/bh5ev2n9d3k2f38/Judas.pdf?dl=0 There you go.
  3. It would be long ass page But alright, thanks!
  4. So I can see there's battle.conf in the import folder, but what about exp.conf, party.conf and etc..? Just wanted to know if I can add my own 'something.conf' so I can do git update in the future without messing up my conf documents?
  5. But I've heard assassin has faster movement speed than the others.. Isn't it? Unless improved dodge skill is disabled too?
  6. Hi guys, I'm trying to create an automated racing event for my server. However I need help about movement speed. Not sure how do we set all players to the same movement speed once they talked to the npc?.. and then set to default when event is finished. Is it possible?
  7. I've heard of that article, it's a way to advertising themselves and yet they failed for it. There wouldn't be a way to have 30k players online at once in 2014. No, just No. Perhaps it's possible if he's Justin Bieber or something, even though this can be only happened in one day xD
  8. Just wanna ask how to add color when 4th slot has been used by any enchantment stone, looks like card below.
  9. Yea, I got it done, thanks once again!
  10. I was using that, but I got this, new line = after a mob's died. It has so many loops o.o Now every monsters can obtained a drop too... Here's the code - script Sample -1,{ OnNPCKillEvent: for( .@i = 0; .@i < .mob_size; .@i++ ) if( killedrid == .mob_id[.@i] ){ getitem 512,1; } else { dispbottom "No Drops"; } end; OnInit: setarray .mob_id[0],1085,1084,1079,1080,1078,1083,1082,1081,1097; .mob_size = getarraysize( .mob_id ); end; } I used else because I'm worried if there's infinite loops.. Or I can't use else for it?
  11. - script Sample -1,{ OnNPCKillEvent: //for( .@i = 0; .@i < .mob_size; .@i++ ) if( killedrid == .mob_size ){ getitem 512,1; } end; OnInit: setarray .mob_id[0],1002,1004,1005; .mob_size = getarraysize( .mob_id ); end; } Trying to get monsters' id using getarraysize, but tested like 2 hours, I did change lots of different codes but nothing's working Someone please help me :3
  12. Dota Scripts +_+ Possible?

  13. Okay, thanks for replied. I'll have a look when I'm free =)
  14. Don't think that's a good idea, what if people play in the same house? or computer's shop?
  15. set .@partyid,getcharid(1); set .@mob_base_exp,(( getmonsterinfo( killedrid,MOB_BASEEXP ) / 100 ) * .rotd_exp_bonus ); set .@mob_job_exp,(( getmonsterinfo( killedrid,MOB_JOBEXP ) / 100 ) * .rotd_exp_bonus ); if( .@partyid ){ set .@aid,getcharid(3); set .@baselevel,BaseLevel; set .@map$,strcharinfo(3); getpartymember .@partyid,1; getpartymember .@partyid,2; while( .@i < $@partymembercount ){ if( isloggedin( $@partymemberaid[.@i],$@partymembercid[.@i] ) ) if( attachrid( $@partymemberaid[.@i] ) ) if( strcharinfo(3) == .@map$ && ( BaseLevel - .@baselevel ) <= .party_level_range && ( BaseLevel - .@baselevel ) >= ~.party_level_range ){ set BaseExp,( BaseExp + .@mob_base_exp ); set JobExp,( JobExp + .@mob_job_exp ); dispbottom "[ROTD Party] : "+.@mob_base_exp+" EXP"; } set .@i,.@i + 1; } attachrid( .@aid ); }else{ set BaseExp,( BaseExp + .@mob_base_exp ); set JobExp,( JobExp + .@mob_job_exp ); dispbottom "[ROTD SOLO] : "+.@mob_base_exp+" EXP"; } if( rand( 100 ) < .rotd_item_rate && .rotd_zeny ) set Zeny,Zeny + rand( .rotd_zeny ); if( rand( 100 ) < .rotd_item_rate && .rotd_item_amount ) getitem .rotd_item_id,rand( .rotd_item_amount ),.@aid; Trying to find out how to get how many party members are in a party, then divide the experience rates; Was trying to do if ( $@partymembercount > 2 ){ set .@mob_job_exp,(( getmonsterinfo( killedrid,MOB_JOBEXP ) / 100 ) * .rotd_exp_bonus / 2 ); } ...But I guess $@partymembercount isn't the code to get how many members in a party tho Anyone can help me a bit in this?.. Thanks~!
  16. - shop donateshop 111,501:50 ra_temsky,104,99,3 script Refine & Gym Pass 4_F_FAIRYKID,{ I think this was error, do make changes and see what happened?
  17. That's more like you're having problem with ur tables.
  18. mes "^FF0000[Billing List]^000000"; mes "----------------------------"; for( set @i,0; @i < getarraysize( @bought_nameid ); set @i,@i+1 ) mes "^FF0000"+@bought_quantity[@i]+" x ^0000FF"+getitemname( @bought_nameid[@i] )+"^000000"; mes "----------------------------"; // ADDED // if (!checkweight2(@bought_nameid,@bought_quantity)) { mes "^FF0000You are currently over-weighted.^000000"; mes "^FF0000Please store some items before you do purchases...^000000"; close; } else { goto L_getpassed; } // ADDED // L_getpassed: if( getitemname( atoi( @Currency$ ) ) != "null" ) Hi Emistry I suggest you add this weightcheck for your exchanger =)
  19. Thank you guys I feel loved. It took me more than 5 hours to figured out yesterday, here's the scripts I've used. if (getd(".using"+strnpcinfo(2))){ message strcharinfo(0), "Using.."; end; } // When fishing setd ".using"+strnpcinfo(2), 1; attachnpctimer; initnpctimer; // After a successful fish setd ".using"+strnpcinfo(2),0; stopnpctimer; // And added something I didn't even know what it was.. but it does the job actually xDD, thanks for the tips, after combining them, it works somehow lol!... OnTimer2000: if (getd(".using"+strnpcinfo(2))){ setd ".using"+strnpcinfo(2),0; stopnpctimer; detachnpctimer; } end; OnPCLogoutEvent: if (getd(".using"+strnpcinfo(2))){ setd ".using"+strnpcinfo(2),0; } end; OnInit: setd ".using"+strnpcinfo(2),0; end; Many thanks! Thanks to: Emistry, Skorm, Zell, Euphy and who helped me!
  20. I've tried pbblockmove won't work on progressbar, it will cancel the progress... Something went wrong on this, copied from cmd script error on npc/custom/fishing_test_v1.txt line 2 parse_callfunc: not enough arguments, expected ',' 1 : { * 2 : if ( getd( ".npc_"+getnpcid(')' ) ) { 3 : mes "NPC is busy now."; I don't know if this will work, cause I dont remeber if when PcLogout remember still the @ if(@spoke==1){ end; } if($spoke==1;){ mes "Only one person can talk with me!"; }else{ set @spoke,1; set $spoke,1; progressbar "0xFF0000",5; sleep2 5000; set $spoke,0; set @spoke,0; dispbottom "Fished!"; end; } end; OnPCLogoutEvent: if(@spoke==1){ set spoke,0; set $spoke,0; } end; OnInit: set $spoke,0; end; This one almost works, but progress bar will stop once the char walked away, I've tried with pcblockmove getcharid(3),1; it won't be able to move around but when I click away, progressbar stopped working. Char has to relog to fix... Thanks for the replies guys, I'm still looking for solution
  21. Thanks for the replies guys, I'm still having issue on this, I've tested myself, this script still stopped the NPC being talkable when player cancelled the talk during progress bar loading...? Maybe a set timer will help this? Any idea? Sorry I'm still a learner
  22. Euphy, thanks for the speed reply I'm gonna test it out
  23. Hello, everyone I wanted to request a script that you can to gain access @refresh in a city, but I'm not sure how to make it works. But Is it possible though? Normally I got @refresh disabled for players, but I wanted to have the feature on a map, help me please.
×
×
  • Create New...