Jump to content

utofaery

Members
  • Posts

    228
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by utofaery

  1. I was wondering about this part. if (.@inputDay == 0) { mes .@n$; mes "Invalid day!"; close; } at case 3: if (.@inputDay == 0) { <<< this is the one if .@inputDay is negative wouldn't the script be broken somehow?? say entry of -5 or -10..
  2. Check iteminfo.lua / iteminfo.lub for description bonus2 bHPRegenRate,n,t; Gain n HP every t milliseconds bonus2 bSPRegenRate,n,t; Gain n SP every t milliseconds 1630,Release_Of_Wish, bonus bInt,3; bonus bHealPower,5; autobonus "{ bonus2 bSPRegenRate,100,2000; bonus2 bHPRegenRate,50,2000; }",10,10000,BF_MAGIC,"{ specialeffect2 EF_HEAL; }"; },{},{} bonus2 bRegenPercentHP,n,t; Gain n% of max HP every t milliseconds bonus2 bRegenPercentSP,n,t; Gain n% of max SP every t milliseconds 4980,Recovery_Reactor_201 if (getrefine()>=7) bonus2 bRegenPercentHP,100,5000; else bonus2 bRegenPercentHP,50,5000; },{},{} 4981,Recovery_Reactor_202, if (getrefine()>=7) bonus2 bRegenPercentSP,100,5000; else bonus2 bRegenPercentSP,50,5000; },{},{}
  3. Script support. unless you want a new script command to be made. Note : May need to be optimized.
  4. if (.@inputDay == 0) { What if I input a negative value ?? your script may fail..?? May be this works better?? if (.@inputDay < 1) {
  5. Apart from what you said it doesn't move... there is something else no hostile monster auto target those summon'ed marine sphere. even when player went hiding or cloaking ....
  6. Will there be lupin?? ( not choco or yoyo )...
  7. https://github.com/rathena/rathena/wiki/Adding-a-Script 1. You should copy the content of the "codebox" 2. If it not working post mapserver error or nobody gonna able to do anything about it! 3. saying not working without any error output by map server is helping nobody especially you. https://github.com/rathena/rathena/wiki/Basic-Scripting
  8. 1. You should only post NPC or Item script request in script requesting section. 2. whatever tested working maybe...not optimized. 3. Don't blame me on all the extra TABs because those TABs looks good in sublime text 3. prontera,155,180,5 script master statpoint 495,{ mes ( "Hi, I'm the " + strnpcinfo(0) + " !" ) ; if ( (eaclass()&EAJL_THIRD ) && ( BaseLevel > 174 ) && StatNPCused = 0 ) { mes ( "Do you want to max your StatusPoint?" ); next; switch(select( "Yes","No" )) { case 1: mes ( "well! let's start by resetting all the stat! " ); if ( readparam(bStr) > 1 ) { atcommand "@Str -"+(readparam(bStr)- 1); } if ( readparam(bAgi) > 1 ) { atcommand "@Agi -"+(readparam(bAgi)- 1); } if ( readparam(bVit) > 1 ) { atcommand "@Vit -"+(readparam(bVit)- 1); } if ( readparam(bInt) > 1 ) { atcommand "@Int -"+(readparam(bInt)- 1); } if ( readparam(bDex) > 1 ) { atcommand "@Dex -"+(readparam(bDex)- 1); } if ( readparam(bLuk) > 1 ) { atcommand "@Luk -"+(readparam(bLuk)- 1); } mes ( "done!"); next; mes ( "now we reset your stat points!"); StatusPoint = 0; mes ( "done!"); next; mes ( "now we just have to add stat point for "); .@is = 3; .@ms = 254; while ( .@is > 1 ) { switch (select ( "Increase Strength", "Increase Agility", "Increase Vitality", "Increase Intelligence", "Increase Dexterity", "Increase Luck" )) { case 1: if ( @xStr == 0 ) { atcommand "@Str "+.@ms; @xStr = 1; .@is -= 1; } else if ( @xStr == 1 ) { mes ( " You have already Selected that StatusPoint! " ) ; } break; case 2: if ( @xAgi == 0 ) { atcommand "@Agi "+.@ms; @xAgi = 1; .@is -= 1; } else if ( @xAgi == 1 ) { mes ( " You have already Selected that StatusPoint! " ) ; } break; case 3: if ( @xVit == 0 ) { atcommand "@Vit "+.@ms; @xVit = 1; .@is -= 1; } else if ( @xVit == 1 ) { mes ( " You have already Selected that StatusPoint! " ) ; } break; case 4: if ( @xInt == 0 ) { atcommand "@Int "+.@ms; @xInt = 1; .@is -= 1; } else if ( @xInt == 1 ) { mes ( " You have already Selected that StatusPoint! " ) ; } break; case 5: if ( @xDex == 0 ) { atcommand "@Dex "+.@ms; @xDex = 1; .@is -= 1; } else if ( @xDex == 1 ) { mes ( " You have already Selected that StatusPoint! " ) ; } break; case 6: if ( @xLuk == 0 ) { atcommand "@Luk "+.@ms; @xLuk = 1; .@is -= 1; } else if ( @xLuk == 1 ) { mes ( " You have already Selected that StatusPoint! " ) ; } break; } } mes ( "maxed out 2 selected stat to max!") ; next; mes ( "Increasing StatusPoint!"); StatusPoint += 25000; mes ( "Done!"); next; mes ("congratulations! now you're at max! "); StatNPCused = 1; close; case 2: mes ( "Oh well have fun!"); close; } close; } else { mes ( "You don't meet the base requirement to acquire my services! " ) ; mes ( "Requirement :: Reach Max Level 175 and you must be third job!") ; mes ( "Or You have already used my services." ); close; } } Side NOTE: if need be check out the documentation in your RATHENA/doc/script_commands.txt
  9. Any line start with # will be ignored since it is comment line as // in rathena...so can be safely disregard or removed...
  10. Random find if not working post here again..
  11. Sql means more process needed in action. Client -> Server -> SQL -> Server -> Client source means Client -> Server -> Client
  12. Ok so did he change anything in source since normally this would not happen or occur.. 1. item 2365 is working correctly in the last half part of that video. 2. is that the skill that interrupt asura? I heard star gladiator or something can block asura or somehow. but breaking asura cast in that video resulting in heal casted on enemy which is abnormal.
  13. Another 2 cents. Notepad++ is the second best searcher besides google.. while google searches internet better then any one could.. it can't search your local files notepad ++ is the opposite of what google can do...without tracking obviously... which means use notepad++ to search your entire Rathena/src folder for that thing you want to search for...
  14. Zeny = Zeny-4000; Apart from simplifying this part nothing should be broken here.. Zeny -= 4000;
  15. if (!countitem(6237)) { What if you change to this?? if (countitem(6237) < 1) { *vip_status(<type>,{"<character name>"}) if (VIP_SCRIPT && vip_status(VIP_STATUS_ACTIVE)) VIP_SCRIPT << I wonder what you trying to compare this with?? if (vip_status(VIP_STATUS_ACTIVE) ) Wouldn't this be enough?? VIP_STATUS_ACTIVE - VIP status: true if the player is a VIP or false if not
  16. Creates a wall of fog on a 5 x 3 cells area. For non-ground targeted spells going through or into the fog, there's a 75% chance that the skill will miss. Ranged attacks have a -75% damage penalty, and -50 HIT penalty. Targets inside the affected area will receive the Blindness Status Effect. The wall lasts for 20 seconds, and cannot be cast on top of Sage's other ground based skills such as Volcano, Land Protector, and Violent Gale, but you may cast this over Deluge. If this skill is cast over Deluge, it will last for 40 seconds. You can cast this on top of monsters and you can not have more than 2 Wall of Fog active at any time. 75% chance... I wonder how many sets of test did you carried out? 3/4 time it will miss.
  17. If you be so kind, do show something from the script... preferably the part which consist of the continue call... or the whole script... if not we be searching for needle in complete darkness.
  18. Yup but I have a question does using that system shows or list what items get identified or not?? comparing to the single item identifying??
  19. or npc script? which spawn at chosen places. - script Ragnarok#2 -1,{ OnClock0135: OnClock0235: OnClock0335: OnClock0435: OnClock0535: OnClock0635: OnClock0735: OnClock0835: OnClock0935: OnClock1035: OnClock1135: OnClock1235: OnClock1335: OnClock1435: OnClock1535: OnClock1644: OnClock1735: OnClock1835: OnClock1935: OnClock2035: OnClock2135: OnClock2235: OnClock2335: OnClock0035: OnTest: setarray .@MobName$[0],"Amon Ra","Atroce","White Lady","Baphomet","Dark Lord","Detardeurus","Doppelganger","Dracula","Drake","Eddga","Evil Snake Lord","Garm","Turtle General","Golden Thief Bug","Gopinich",",Incantation Samurai","Stormy Knight","Amon Ra","Lady Tanee","Lord of Death","Maya","Mistress","Moonlight Flower","Orc Hero","Orc Lord","Osiris","Pharaoh","Phreeoni","RSX-0806","Tao Gunka","Turtle General","Vesper"; setarray .@MobID[0],1511,1785,1630,1039,1272,1719,1046,1389,1112,1115,1418,1252,1312,1086,1885,1492,1251,1511,1688,1373,1147,1059,1150,1087,1190,1038,1157,1159,1623,1583,1312,1685; .@mapName$ = "jawaii"; .@x = 0; .@y = 0; $Monsters_2 = getarraysize(.@mobName$); announce (" .@mapName$ :: " + .@mapName$ + " .@x " + .@x + " .@y " + .@y ),bc_all; announce (" mobname size :: " + getarraysize(.@MobName$) + " MobID size " + getarraysize(.@MobID) ),bc_all; announce "Se ha iniciado una Invasion en la Ciudad de Jawaii !!!!",bc_all; for ( .@i = 0 ; .@i < getarraysize(.@mobName$); ++.@i) { monster .@mapName$,.@x,.@y,.@mobName$[.@i],.@mobID[.@i],1,"Ragnarok#2::OnMyMobDead"; } end; OnMyMobDead: announce strcharinfo(0) + " has 1 RPs gained ",bc_all; #RPs += 1; $Monsters_2 -= 1; if ($Monsters_2 > 0) { announce "Felicidades " + strcharinfo(0) + " que mato al ultimo invasor que quedaba",bc_all,"008800"; } else { announce "Queda " + $Monsters_2 + " monstruo en jawaii.",bc_all; } end; } Or you prefered Item based script?? which is something I like the most (Portability).. function script F_TMVP { setarray .@MobName$[0],"Amon Ra","Atroce","White Lady","Baphomet","Dark Lord","Detardeurus","Doppelganger","Dracula","Drake","Eddga","Evil Snake Lord","Garm","Turtle General","Golden Thief Bug","Gopinich",",Incantation Samurai","Stormy Knight","Amon Ra","Lady Tanee","Lord of Death","Maya","Mistress","Moonlight Flower","Orc Hero","Orc Lord","Osiris","Pharaoh","Phreeoni","RSX-0806","Tao Gunka","Turtle General","Vesper"; setarray .@MobID[0],1511,1785,1630,1039,1272,1719,1046,1389,1112,1115,1418,1252,1312,1086,1885,1492,1251,1511,1688,1373,1147,1059,1150,1087,1190,1038,1157,1159,1623,1583,1312,1685; getmapxy(.@map$,.@x,.@y,UNITTYPE_PC); // Swap/Change UNITTYPE_PC to BL_PC if you are using recent version!!! IMPORTANT // UNITTYPE_PC is old rathena version command before getmapxy Updates. dispbottom ("@map$ :: " + .@map$ + " .@x :: " + .@x +" .@y :: " + .@y ) ; for ( .@i = 0 ; .@i < getarraysize(.@mobName$); ++.@i) { monster .@map$,.@x,.@y,.@mobName$[.@i],.@mobID[.@i],1,""; } end; } put the above script into npc script and edit this line NOTES: // Swap/Change UNITTYPE_PC to BL_PC if you are using recent version!!! IMPORTANT // UNITTYPE_PC is old rathena version command before getmapxy Updates. setarray .@MobName$[0],"Amon Ra","Atroce","White Lady","Baphomet","Dark Lord","Detardeurus","Doppelganger","Dracula","Drake","Eddga","Evil Snake Lord","Garm","Turtle General","Golden Thief Bug","Gopinich",",Incantation Samurai","Stormy Knight","Amon Ra","Lady Tanee","Lord of Death","Maya","Mistress","Moonlight Flower","Orc Hero","Orc Lord","Osiris","Pharaoh","Phreeoni","RSX-0806","Tao Gunka","Turtle General","Vesper"; setarray .@MobID[0],1511,1785,1630,1039,1272,1719,1046,1389,1112,1115,1418,1252,1312,1086,1885,1492,1251,1511,1688,1373,1147,1059,1150,1087,1190,1038,1157,1159,1623,1583,1312,1685; then put this below line into any custom item within the item script part callfunc ("F_TMVP");
  20. check your npc folder in correctly configured especially for this following files scripts_athena.conf Rathena\npc\re\scripts_main.conf Rathena\npc\re\scripts_athena.conf Check that your map server is not loading only stuff like this ... This means your npc files had been modified or changed. [Status]: Done loading '0' entries for '0' NPC Markets from 'market' table. [Info]: Done loading '4605' NPCs: -'3352' Warps -'48' Shops -'1199' Scripts -'3066' Spawn sets -'51120' Mobs Cached -'0' Mobs Not Cached [Status]: Event 'OnInit' executed with '76' NPCs. [Status]: Event 'OnInterIfInit' executed with '0' NPCs.
  21. utofaery

    Looking For;

    *changebase(<job ID number>) What do you mean by requesting something Pre-Renewal then something renewal??? Renewal means I am new the old is not to be mix into new... so if you want Renewal stuff "into" Pre-Renewal You have to do a lot of source edit including database modification yourself or pay someone do it for you. is this asking for information?? Rathena\db\re\refine_db.yml <<< here weapon upgrade stuff from your rathena folder. This is to be in source request section not script request section. Open a new topic there or you might not get any answer for this one. Is this a branch request?? like summon protector by items?? if this is by item or npc you get answer in this forum section. If not this should go to source request if it is skill changes which involve source modification! Here's a link for you to chew on: https://www.google.com/search?ei=bEBkXOLEKsvXvASw_oOgBA&amp;q=rathena+custom+branch&amp;oq=rathena+custom+branch&amp;gs_l=psy-ab.3..33i160.151670.157515..157836...9.0..0.302.4578.0j23j2j1......0....1..gws-wiz.....6..0i71j35i39j0i67j0j0i22i30j33i21.My33kqZ_TBA This line is hard to chew on...What does it actually mean??
  22. Made in Git Hash: '91169d7ebccccaf5008076383c89ff3a6c514a9e'Repository (db/npc/clientside): https://github.com/xEasycore/ExtendedBG DID YOU READ??? Note: This release is not stable, use it at your own risk.
  23. He forgot to bring home "Google" as his GIYF...(Google is your friend)....haha
×
×
  • Create New...