Jump to content

Dastgir

Script Developers
  • Content Count

    3805
  • Joined

  • Last visited

  • Days Won

    250

Everything posted by Dastgir

  1. Dastgir

    Own POints

    OnPCKillEvent: //Just a Sample Script #kill++; //Sets #kill to +1, #kill = account variable, this will be same for your account, and is permanent kill++; //Sets kill to +1, kill = permanent char variable.
  2. But kinda misleading Topic Description Saying Anyways, a Good design and hope you release some of the thor designs.
  3. val1 = 5+2*skill_lv+st->vit/10; // MaxHP percent increase Change this Formula and RECOMPILE, without recompile it won't come in effect.
  4. @karazu Its possible, but maybe I have to add a privacy option if I add the option for showing equips, since some player may not be comfortable for sharing their equips(especially, the refine,cards and zeny)
  5. Searched RMS,item_db, still can't find that name, would you mind giving its ID?
  6. File Name: Facebook Share File Submitter: Dastgir File Submitted: 12 Mar 2014 File Category: Utility Facebook Share System(Works Only with New Clients) Configuration: Edit NPC FacebookShare.txt .link$ = "http://www.yourdomain.com/fbshare/"; //Trailing with "/" Edit the link with the link where you have PHP Scripts(Trailing with "/" or "/index.php") WebSite: Edit config.php $host = "127.0.0.1"; //MySQL Host$user = "root"; //MySQL Username$pass = ""; //MySQL Password$database = "fb_share"; //Ragnarok Database$site = "http://yourdomain.com/fbshare/"; //Link to FBShare Page(Directory where these scripts are installed) $site should match with .link$(in the npc), Other Info are self explanatory. It is a Simple Script Illustrating the usage of linking to website. Click here to download this file
  7. Dastgir

    Facebook Share

    Version 1.0a

    988 downloads

    Facebook Share System(Works Only with New Clients) Configuration: Edit NPC FacebookShare.txt .link$ = "http://www.yourdomain.com/fbshare/"; //Trailing with "/" Edit the link with the link where you have PHP Scripts(Trailing with "/" or "/index.php") WebSite: Edit config.php $host = "127.0.0.1"; //MySQL Host$user = "root"; //MySQL Username$pass = ""; //MySQL Password$database = "fb_share"; //Ragnarok Database$site = "http://yourdomain.com/fbshare/"; //Link to FBShare Page(Directory where these scripts are installed) $site should match with .link$(in the npc), Other Info are self explanatory. It is a Simple Script Illustrating the usage of linking to website.
  8. exactly..hehehe @Michie I suggest we used ATM the resources we have..even though its up to 150 only.. or maybe you can use the HP data in ragstate.. @malufett, Doesn't kRO Sakray have LevelUP and Job Changer NPC like in iRO Sakray?
  9. I think No One Have kRO account (with those high levels)
  10. A Beautiful And Bold Design 10/10 Attachment only contains readme.txt, So Why Attach it?
  11. It Crashes the Server? Then its server-sided problem, any error or gdb dump might help us to solve your problem
  12. Well, if you're using NEMO client patcher, there's a diff that allows you to change the folder it will come from and it's name as well.. For example, I want it to be in the secret folder with name of secret.lub = secret/secret.lub anyway, if that's what you're trying to do.. You just can't hide it , since Client is Reading it, you can just find it easily via hex_editor, (or if you have protection, one may isolate the file), Hexing name is just used to avoid updates by kRO, not for hiding
  13. You need these functions, include this at end of file function script F_GetArticle { set .@str$, strtolower(getarg(0)); // not a word if (!charisalpha(.@str$,0)) return "a"; // 1-letter words if (getstrlen(.@str$) == 1) { if (strpos("aefhilmnorsx",.@str$) > -1) return "an"; else return "a"; } // special cases if (preg_match("(euler|hour(?!i)|heir|honest|hono)",.@str$)) return "an"; // consonants if (preg_match("^[^aeiouy]",.@str$)) return "a"; // special vowel forms if (preg_match("^e[uw]",.@str$) || preg_match("^onc?eb",.@str$) || preg_match("^uni([^nmd]|mo)",.@str$) || preg_match("^u[bcfhjkqrst][aeiou]",.@str$)) return "a"; if (preg_match("^ut[th]",.@str$)) return "an"; // special capitals (rare) //if (preg_match("^U[NK][AIEO]?",getarg(0))) // return "a"; // vowels if (preg_match("^[aeiou]",.@str$)) return "an"; // y... (rare) //if (preg_match("^(y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt))",.@str$)) // return "an"; return "a";}function script F_InsertArticle { set .@article$, callfunc("F_GetArticle",getarg(0)); return sprintf("%s %s", ((getarg(1,0)) ? replacestr(.@article$,"a","A") : .@article$), getarg(0));}
  14. Iteminfo.lub is been read from System/ItemInfo.lub and not from data/luafiles514/itemInfo.lub Also itemInfo.lub is only read by Data Folder irregardless of unchecking Read_Data_Folder_First(Client does not check itemInfo for inside GRF)
  15. Here's the Shop prontera,150,150,1 trader HeadgearShop 952,{ OnInit: tradertype(NST_CUSTOM); sellitem Helm_Of_Sun,15; //Sell for 15MC sellitem Elven_Sunglasses,15; end; /* allows currency to be Red_Potion */OnCountFunds: setcurrency(countitem(Mithril_Coin)); end;/* receives @price (total cost) */OnPayFunds: if( countitem(Mithril_Coin) < @price ) end; delitem Mithril_Coin,@price; purchaseok(); end;} you can add more items below sellitem command.
  16. You should really consider updating your Hercules.
  17. King Poring Hat: bonus bDex,1+(getrefine()/4); bonus bLuk,1+(getrefine()/4); bonus bDelayrate,-10; //I don't know what you mean by Event Period Vanargand Helm: bonus bMdef,5; if (getrefine()<5){bonus2 bHPDrainRate,RATEHERE,1; bonus2 bSPDrainRate,RATEHERE,1;}else if(getrefine()<=6){bonus2 bHPDrainRate,RATEHERE,3; bonus2 bSPDrainRate,RATEHERE,1;}else if(getrefine()==7){bonus2 bHPDrainRate,RATEHERE,5; bonus2 bSPDrainRate,RATEHERE,2;}else if(getrefine()==8){bonus2 bHPDrainRate,RATEHERE,5; bonus2 bSPDrainRate,RATEHERE,2;} elseif(getrefine()==9){bonus2 bHPDrainRate,RATEHERE,8; bonus2 bSPDrainRate,RATEHERE,4;} //I dont know the rates, as Description say at a certain rate, If Rate and Absorbed HP/SP are in series, then we can apply formula like 1+(getrefine()/2) or something like that MVP Basketball Hat: bonus2 bSubRace,7,10; bonus bVariableCastrate,-3; if(getrefine()>=12){bonus bVariableCastrate,1;}if(getrefine()>=14){bonus bVariableCastrate,1;} //By Human, I guess you mean Demi-Human,Fruit of Mastela, should have script on it, since we don't have any bonus to increase heal of item Fruit of Mastela: if (isequipped(18729)){ itemheal rand(400,600)*130/100,0; } else{ itemheal rand(400,600),0; } //Can't Edit MVP Basketball to increase heal amount of an item(Maybe I missed an item bonus??) Hope it Helps....
  18. 2 Condition returning same condition?? Better if if( !battle_config.feature_banking || !map->list[sd->bl.m].flag.town ) {
  19. although makes sense in rpg type of server, but its rare to see any like it.
  20. Dastgir

    [Question]

    precompiled plugin is usually in form of .dll or .so, you have to put that in plugins/ folder and edit only plugins.conf, and nothing else.but precompiled plugins may not work if hpm is updated, or you are using old version, but plugin is compiled with latest version, it may cause random crash(if it gets loaded).
  21. Replace all ExchangeHeadgears_ with Pet_Egg_Scroll1
  22. Dastgir

    [Question]

    You haven't compiled the plugins, for windows .dll File is placed inside "plugins/" not "src/plugins"(.c file is placed insde src/plugins),Compile your plugin , then try to run.
  23. Dastgir

    [Question]

    Is your Hercules Updated? If not , remove the "," from last uncommented line.
×
×
  • Create New...

Important Information

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