Jump to content

Elijah23

Members
  • Posts

    292
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Elijah23

  1. Elijah23

    DoTA Runes

    Just tell me if you found one... As of now, I'm finding a way to duplicate the npc and make it look like more the dota runes which has two spawns but one at a time... It can be done if making another npc, but I can't get it to work with a duplicate..
  2. Elijah23

    DoTA Runes

    yes you can use this, just change the header of the script... and you can also change the npc scprite to your liking...
  3. Elijah23

    DoTA Runes

    Try this... I modified Emistry's script a little.. *ADDED MATKRATE in DoubleDamage, *ADDED temporary Cloaking skill to use Invisibilty... *ADDED auto uncloak.... *USED SC_REGENERATION to make sp regen too.. *USED own durations.. *USED dispbottom instead of announce... If you find any more bugs, just post.. prontera,155,170,4, script Runes 837,2,2,{ dispbottom "Walkthrough to get Runes."; end; OnTouch: switch( .Runes ){ Case 1: sc_start SC_INCATKRATE,60000,100; sc_start SC_INCMATKRATE,60000,100; disablenpc "Runes"; break; Case 2: initnpctimer "Runes",1; skill "AS_CLOAKING",10,1; sc_start SC_CLOAKING,60000,10; stopnpctimer "Runes",1; disablenpc "Runes"; break; Case 3: sc_start4 SC_REGENERATION,60000,-10,1,0,0; disablenpc "Runes"; break; Case 4: getmapxy( .@Map$,.@X,.@Y,0,strcharinfo(0) ); clone .@Map$,.@X,.@Y,"",getcharid(0),getcharid(0),"",1,60; clone .@Map$,.@X,.@Y,"",getcharid(0),getcharid(0),"",1,60; disablenpc "Runes"; break; Case 5: sc_start SC_SpeedUp1,60000,0; disablenpc "Runes"; break; } dispbottom "You have gained "+.Names$[.Runes]+" for 1 minute!"; set .Runes,0; initnpctimer; end; OnInit: OnTimer60000: setarray .Names$,"Runes","Double Damage","Invisibility","Regeneration","Clone","Haste"; sc_end SC_CLOAKING; enablenpc "Runes"; set .Runes,rand( 1,5); stopnpctimer; while( 1 ){ delwaitingroom; waitingroom (( .Runes )? " "+.Names$[.Runes]:"Cooldown "+( 60 - (getnpctimer(0)/1000) )+" Sec." ) ,0; sleep 1000; } end; } Reason for edit: codebox Reason for edit2: Possible Fix for the 2nd bug... Now fully working for me...
  4. Elijah23

    DoTA Runes

    I think the runes should be a combination of npc and item... so you can use timers to enable and disable npc... then ontouch of the NPC, it will buff the character with the buff of the custom item, And maybe source modifications.. just my opinion..
  5. Wouldn't that way, say you have level2 increase weight, give 2000? At level 2 incweight, the for loop would run twice, giving 500*2 the first time, then 1000*2=2k the second time..? I added it because without the multiplier, when i reset, it's just giving me +500 weight, but when i added the multiplier it added the original weight I have added in the NPC.. For example, the npc is like the gym pass thing, can add permanent weight gain 10x...
  6. Working with me... Maybe change your callfunc to this code.. callfunc "AllGuildMemberEvent",.@maps$[.@i],0;
  7. Hi! I'm just wondering if this can be done with our clients?.. Custom Status Icons for custom status... I have seen the source and lua files but can't find the way the client see the icons... For example, SI_GIANTGROWTH = 319 in source EFST_GIANTGROWTH = 319 in lua but in texture/effect all i can see is the runes thing.. like rk_nauthiz.tga Would you mind to share if you know.. Thanks..
  8. Hi Fatal... Thanks to this.. So it should be placed on right positions or it would not work?..
  9. Hi! I'm making a custom passive skill which increases some attributes like in the item script... For example, bonus bDef,30; bonus bMdef,-30; bonus bMatkRate,100; bonus bCastrate,-20; bonus bAllStats,3; So i was able to put the skill but i can't add the bonuses.. here's an example of the code i placed in source code.. if( (skill=pc_checkskill(sd,ALL_DARKELF)) == 1 ) sd->add_def[i].rate += 30; Is this right?.. Sorry, I'm new to this... And i don't know where to add this... Advance thanks..
  10. Thanks to this.. Anyways, already have added a new skill just like ALL_INCCARRY before i saw this.. I did try this and its working.. Just added the multiplier.... if (incweight > 0) { for ( set .@i, 1; .@i <= incweight; set .@i, .@i + 1 ) { set MaxWeight, MaxWeight + 500 * incweight; } }
  11. yeah, i know the gympass system.. but what i want to do is not use the skill "ALL_INCCARRY"...
  12. Hi everyone.. I'm trying to make a npc which increases the max weight of a character +500 when he/she gave the special item to the npc.. I was able to manage to increase the max weight using this code: But my problem is, when the character reset his stats, the additional maxweight will also be removed... Any ideas how to this?... Thanks in advance..
  13. Oh thanks,, at first there's no option of SVN update in my folder, But doing that will merge my files and the svn updates?... Thanks..
  14. Hi! Just want to ask how to update svn to the latest if i made many src modifications... Cause when i use checkout, it will replace my files... Thanks..
  15. See this post.. http://rathena.org/board/topic/57425-solved-custom-weapon-script/page__fromsearch__1
  16. for a New item Type an src edit would be required as far as I know yeah already knew that.. And I also noticed that the message is from msgstringtable.txt Still looking on how to it.. anyway, thanks to your help..
  17. Don't know what went wrong, it suddenly works... It's just reading the item_droprate.txt when Dropflag is set to 0... But i'm experiencing a bug... Dropflag 0 is not working... 1000,985,1 that should make elunium .01% drop right? but still 100% for every mob...
  18. Already tried it, everytime i restart the server, it reads 0 entries in the item_droprate.txt But when i use reloadmobdb, it reads the entries in the item_droprate.txt
  19. Try this code... prontera,155,181,5 script Sample 436,{ set .BuyCost,10; set .Point,10; switch(select("Buy Skill Points:Buy Stat Points")){ Case 1: mes "How many Skill Points you want to Buy ?"; mes "Each Cost "+.BuyCost+" Pod."; input @Amount,0; if( @Amount == 0 ) close; if( countitem( 7179 ) < @Amount * .BuyCost ){ mes "Not Enough POD"; close; } next; mes "Gained "+@Amount+" Skill Points."; set SkillPoint,SkillPoint + (@Amount * .Point); delitem 7179,@Amount * .BuyCost; close; Case 2: mes "How many Stat Points you want to Buy ?"; mes "Each Cost "+.BuyCost+" Pod."; input @Amount,0; if( @Amount == 0 ) close; if( countitem( 7179 ) < @Amount * .BuyCost){ mes "Not Enough POD"; close; } next; mes "Gained "+@Amount+" Stat Points."; set StatusPoint,StatusPoint + (@Amount * .Point); delitem 7179,@Amount * .BuyCost; close; } } So you'll just need to edit the value of .Point..
  20. Forgot to add multiplier in the checker... if( countitem( 7179 ) < @Amount * .BuyCost ){ mes "Not Enough POD"; close; }
  21. Actually what i tried is Item Type 18, the one with the warning message with opening or not.. I''m finding a way if there's a way to edit that message or make another item type which shows the message i want...
  22. Every server restart, we need to reload the mobdb?..
  23. I'm also experiencing this thing.. All items whenever drop is called unknown item.. Item is already included in the idnum2itemdisplaynametable.txt
  24. Of course you can.. The script that had been given to you was a script that maybe the giver is using for his server.. And his server and your server is not alike.. If you're gonna check the warnings one by one, you're gonna finish this in just few mins... I'll give you an example for the two kinds of errors you were receiving... For this error... [Warning]: npc_parse_shop: Item Sprint_Mail [2387] discounted buying price (5->3 ) is less than overcharged selling price (10->12) at file 'npc/other/donations.t xt', line '1'. All you need to do is go to your item_db, find the item ID which is stated in the warning and replace the buying and selling value to 0.. Note: If the item is not in the item_db, maybe its in the item_db2 For this error.. [Warning]: npc_parse_shop: Invalid sell item in file 'npc/other/donations.txt', line '2' (id '5423'). All you need to do is find the item ID inside the item_db and check if its something like this.. For example.. So you can see there is // or comment before the item ID which makes the item unavailable.. Just remove that to make the item available.. Note: If the item is not in the item_db, maybe its in the item_db2 Note2: If you can't find the item ID inside item_db and item_db2, delete the item inside the script... Common, stretch some muscles of the eyes and hands..
  25. Hi! Try this.. This is working fine for me.. - script EX -1,{ OnPCLoadMapEvent: if( Upper > 3 && compare( strcharinfo(3),"prtg_cas") ){ mes "You are now Allow to Join Trans WOE."; close2; warp "prontera",155,181; end; } else if( Upper > 3 && compare( strcharinfo(3),"aldeg_cas") ){ mes "You are now Allow to Join Trans WOE."; close2; warp "prontera",155,181; end; } else if( Upper > 3 && compare( strcharinfo(3),"payg_cas") ){ mes "You are now Allow to Join Trans WOE."; close2; warp "prontera",155,181; end; } } //prontera prtg_cas01 mapflag loadevent prtg_cas02 mapflag loadevent prtg_cas03 mapflag loadevent prtg_cas04 mapflag loadevent prtg_cas05 mapflag loadevent //aldebaran aldeg_cas01 mapflag loadevent aldeg_cas02 mapflag loadevent aldeg_cas03 mapflag loadevent aldeg_cas04 mapflag loadevent aldeg_cas05 mapflag loadevent //payon payg_cas01 mapflag loadevent payg_cas02 mapflag loadevent payg_cas03 mapflag loadevent payg_cas04 mapflag loadevent payg_cas05 mapflag loadevent
×
×
  • Create New...