Jump to content

Dastgir

Script Developers
  • Content Count

    3805
  • Joined

  • Last visited

  • Days Won

    250

Everything posted by Dastgir

  1. Trying to copy eamod bg?? Maybe you should remove bg_common.txt, since its eAmod copyright... Its too much pain to see what you edited in skill.c wih full file..... maybe i, or someone else will be working on new bg , similar to eamod soon.... maybe till end of this month...
  2. I was right unidentifiedResourceName = "", This shouldnt be empty, it should contain sprite name to show(copy the identifiedresourcename one here, too)
  3. But maybe, its mostly iteminfo error, where you might not have properly defined your rescname. We would be able to tell exact problem, if you show your clientside edits....
  4. Well its possible by altering lua functions, (I did that for my server too for less size patches). But from image, it seems that, iteminfo might be in your directory by default, and servername.lub is what the client reads, You can simply hex client to read custom iteminfo.lub , by searching iteminfo.lub and changing its name...
  5. Just 3 days for my exam(JEE), then I will be fully back into hercules community, with some awesome updates, too many requests pending, out of which , some of my server, some of my projects, and many of other servers... i am thinking to go with replicating battleground 2.0 of eamod, but am not sure of time, if i get it, due to other request, and the major work is translating iteminfo..

  6. Seems like either people are interested in this or they dont know that we have this feature already in hercules. detailmof patch here : http://herc.ws/board/topic/3614-christmas-patch-gifto/ So this modification seems useless with hercules having its own trader npc.
  7. Without regex, its possible, search pc_readglobalreg(sd," replace with pc_readglobalreg(sd,script->add_str(" you can do same with tsd and setglobalreg.
  8. new version was waiting for approval by moderator, its approved now, so you can download it.
  9. You really have to look 5-8 years old commit (Or maybe download current, use pre-re settings and disable all things which are implemented after ep7, since old commit is assumed to have many bugs, thats why we improved soo much today, but its alot of work, maybe)
  10. Recommending Class_ enums "Class_Normal, Class_Boss, Class_Guardian, Class_All" and RC_All , for item_bonus, so that we dont need to have multiple command for setting all race damage increase by x% https://github.com/rathena/rathena/commit/dae81222a85f07455bd57276b5eafc6d407f33d0 https://github.com/rathena/rathena/commit/40f70143d44d0209e91a98009751551e0a63e0fe And https://github.com/rathena/rathena/commit/32713b9526d774cf780f051289ae93329fcd24d3 https://github.com/rathena/rathena/commit/5e02af25afdd512639b2bc408f5f3fd983160028 (i guess herc dont have this too.)
  11. About zeny, you only need to change AegisName: "Zeny" Cashpoint variable is #CASHPOINTS you can check that variable value by typing "@set #CASHPOINTS", you can also set cashpoint by command "@set #CASHPOINTS 1000" this will set your cashpoints to 1000. (try using some item as requirements, and check if you can buy...)
  12. You should have that much amount of zeny available.(client side issues)
  13. Not really, its just that you need to tweak it a little, http://herc.ws/board/topic/4283-introducing-hpm-datacheck/
  14. File Name: Rebirth System File Submitter: Dastgir File Submitted: 05 Apr 2014 File Category: Utility It is Rebirth System , which allows to rebirth unlimited times Some of its features on how it works It does not give any Extra StatusPoints(Adjustable via Config) Requires Some Item to Rebirth Rewards are given when you rebirth with x% chance You can Only Rebirth when you are Max Level (3rd,2nd job Configurable Option) RebirthSystem Ranking(To know who has Rebirth How many times) Master Rebirth System(When you have Rebirthed for x times, You can do Master Rebirth. You can add ItemReward and ItemRequirements, only for MasterRebirth too..) GM can reset the Rebirth Rankings(Affects StatusPoint Given) Can Force the User to be rebirthed to Novice/High Novice. Can Give x status point every Rebirth. Can Give y status point every Master Rebirth. Can Limit Number of Rebirth/Master Rebirths. Can rebirth to Any Jobs(Job Adjustable via Config) I made this script because it was requested to me by someone. Click here to download this file
  15. files are already in kRO data.grf rA have that scripts, maybe if dev start the merging process again , we will have them (Anyone is free to open a pull request, if they want it to see these features early)
  16. Dastgir

    Rebirth System

    Version 1.5

    752 downloads

    It is Rebirth System , which allows to rebirth unlimited times Some of its features on how it works It does not give any Extra StatusPoints(Adjustable via Config) Requires Some Item to Rebirth Rewards are given when you rebirth with x% chance You can Only Rebirth when you are Max Level (3rd,2nd job Configurable Option) RebirthSystem Ranking(To know who has Rebirth How many times) Master Rebirth System(When you have Rebirthed for x times, You can do Master Rebirth. You can add ItemReward and ItemRequirements, only for MasterRebirth too..) GM can reset the Rebirth Rankings(Affects StatusPoint Given) Can Force the User to be rebirthed to Novice/High Novice. Can Give x status point every Rebirth. Can Give y status point every Master Rebirth. Can Limit Number of Rebirth/Master Rebirths. Can rebirth to Any Jobs(Job Adjustable via Config) I made this script because it was requested to me by someone.
  17. Sprites will be read from data.grf. If you are using your Custom GRF,then just Replace this files(or add new entries, if you have custom entries in these files) 1)https://github.com/ROClientSide/Translation/blob/master/Data/luafiles514/lua%20files/datainfo/jobname.lub 2)https://github.com/ROClientSide/Translation/blob/master/Data/luafiles514/lua%20files/datainfo/jobidentity.lub to your main GRF.(the one which is read first)
  18. Oops, rand() was supposed to be .@rand; (Updated the above post) .@a_id stores the index of ".pet1002(or other id)" which is supposed to be given. i.e Suppose if setarray getd( ".pet"+ 1002 ), 1113, 1031,1032; setarray getd( ".petc"+ 1002 ), 3000, 5000,2000; and rand() is 4500, then .@a_id will have value 1(because .pet1002[1]=1031 and is the highest random value which matches the rand()) so it will give the pet which is stored in .pet1002[1] (i.e ID 1031)
  19. Becuase your server GRF maybe is overriding the kRO's jobidentiy.lub
  20. You can get these sprites on kRO data.grf NPC: ("data/sprite/npc/") Folder. (While some of them are mobs) Mobs: ("data/sprite/¸ó½ºÅÍ/") Folder. P.S: Your kRO should be updated.
  21. Well I guess, it should be implemented, just to make sure that we have clean scripts.
  22. I misunderstood because of lack of details in 1st post prontera,156,178,5 script ldfhsdfkljs 100,{ if ( getpetinfo(PET_CLASS) ) { mes "please return your pet into egg state to continue"; close; } getinventorylist; for ( .@i = 0; .@i < @inventorylist_count; .@i++ ) { if ( @inventorylist_card1[.@i] == -256 ) { query_sql "select intimate, class, level, equip, name from pet where pet_id = "+( .@id = @inventorylist_card2[.@i] + ( ( @inventorylist_card2[.@i] >= 0 )? 0 : 1 << 16 ) + @inventorylist_card3[.@i] * ( 1 << 16 ) ), .@intimate, .@class, .@level, .@equipped, .@name$; if ( .@intimate > .pet_min_friendly ) { .@menu$ = .@menu$ +"^0000FF"+ .@name$ +" ^00CC00{"+ getmonsterinfo( .@class, 0 ) +"} ^000000["+ .@level +"] ^FF0000"+( ( .@equipped )? "*equipped" : "" )+":"; .@pet_id[.@c] = .@id; .@egg_id[.@c] = @inventorylist_id[.@i]; .@pet_name$[.@c] = .@name$; .@pet_class[.@c] = .@class; .@pet_level[.@c] = .@level; .@pet_equipped[.@c] = .@equipped; .@c++; } } } if ( !.@c ) { mes "your inventory doesn't have any pet egg that intimate enough"; close; } mes "select which pet that you want it to evolve"; next; .@s = select( .@menu$ ) -1; mes "selected : "+ .@pet_name$[.@s]; mes "level : "+ .@pet_level[.@s]; mes "equipped : "+( ( .@pet_equipped[.@s] )? "Yes" : "No" ); if ( getd( ".petr"+ .@pet_class[.@s] ) ) { mes "require :-"; .@size = getarraysize( getd( ".petr"+ .@pet_class[.@s] ) ); for ( .@i = 0; .@i < .@size; .@i += 2 ) mes getd( ".petr"+ .@pet_class[.@s] +"["+( .@i +1 )+"]" )+"x "+ getitemname( getd( ".petr"+ .@pet_class[.@s] +"["+ .@i +"]" ) ); } next; if ( !getd( ".pet"+ .@pet_class[.@s] ) ) { mes "this pet cannot evolve any further"; close; } if ( .@pet_level[.@s] < .min_level ) { mes "this pet doesn't meet the level requirement"; close; } if ( .@pet_equipped[.@s] ) { mes "please unequip this pet accesory to continue"; close; } if ( getd( ".petr"+ .@pet_class[.@s] ) ) { .@size = getarraysize( getd( ".petr"+ .@pet_class[.@s] ) ); for ( .@i = 0; .@i < .@size; .@i += 2 ) { if ( countitem( getd( ".petr"+ .@pet_class[.@s] +"["+ .@i +"]" ) ) < getd( ".petr"+ .@pet_class[.@s] +"["+( .@i +1 )+"]" ) ) { mes "you need "+ getd( ".petr"+ .@pet_class[.@s] +"["+( .@i +1 )+"]" ) +"x "+ getitemname( getd( ".petr"+ .@pet_class[.@s] +"["+ .@i +"]" ) ) +" to evolve this pet"; close; } } for ( .@i = 0; .@i < .@size; .@i += 2 ) delitem getd( ".petr"+ .@pet_class[.@s] +"["+ .@i +"]" ), getd( ".petr"+ .@pet_class[.@s] +"["+( .@i +1 )+"]" ); .@rand = rand(1,10000); for (.@i = 0; .@i < getarraysize( getd(".pet"+ .@pet_class[.@s]) ); .@i++){ if (!getd( ".petc"+.@pet_class[.@s] +"["+.@i+"]")){set getd( ".petc"+.@pet_class[.@s] +"["+.@i+"]"),10000;} if (.@rand <= getd( ".petc"+.@pet_class[.@s] +"["+.@i+"]")){ if (getd(".petc"+.@pet_class[.@s] +"["+.@i+"]" > .@chance)){ .@chance = getd( ".petc"+.@pet_class[.@s] +"["+.@i+"]"); .@a_id = .@i; } } } if (.@chance==0){ mes "Failed to Evolve the Pet."; mes "Pet intimacy Dropped to 0"; query_sql "UPDATE `pet` SET `intimate`=0 where pet_id = "+.@pet_id[.@s]; close; } } delitem2 .@egg_id[.@s], 1, 1, 0, 0, -256, ( .@pet_id[.@s] % ( 1 << 16 ) - ( .@remainder15 = .@pet_id[.@s] % ( 1 << 15 ) ) < ( 1 << 15 ) )? .@remainder15 : ( .@remainder15 - ( 1 << 15 ) ), .@pet_id[.@s] >> 16, 0; makepet .@get_pet_id = getd( ".pet"+ .@pet_class[.@s] +"["+ .@a_id +"]" ); mes "your "+ .@pet_name$[.@c] +" has reborn into "+ getmonsterinfo( .@get_pet_id, 0 ); mes "please rename your pet ~"; close;OnInit: .min_level = 80; // minimum level 80 to change pet egg .pet_min_friendly = getbattleflag("pet_support_min_friendly");// setarray getd( ".petr"+ <require pet egg> ), <require itemID 1>, <require item require 1>, <require itemID 2>, <require item require 2>, ... setarray getd( ".petr"+ 1002 ), 501,1, 502,2, 503,10; setarray getd( ".petr"+ 1011 ), 512,5, 513,8, 514,20; setarray getd( ".petc"+ 1002 ), 3000, 5000; //.petc1011 = PetChance for ID 1002(30%=>1113,50%=>1031). If chance is not set then its 100%// setarray getd( ".pet"+ <require pet egg> ), <random pet egg 1>, <random pet egg 2> .... setarray getd( ".pet"+ 1002 ), 1113, 1031; // poring pet(1002) can evolve into drops(1113) or poporing(1031) setarray getd( ".pet"+ 1011 ), 1042; // chonchon(1011) can evolve into steel chonchon(1042) // add more as needed end;} This may work.
  23. The Middle of Battle Test?? (Please use beta branch, it seems to be working). And I am unable to reproduce that bug.
  24. Any Update on this? Whats tentative date of this, to be released?
×
×
  • Create New...

Important Information

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