Jump to content

crazyarashi

Developer
  • Posts

    763
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by crazyarashi

  1. Change the .@r to getequiprefinerycnt(EQI_SHOES);
  2. .@r = getrefine(); skill "SM_MAGNUM",10; bonus2 bHPRegenRate,5000,10000; bonus2 bSPRegenRate,100,10000; if(BaseLevel < 99){ bonus bStr,.@r*3; bonus bFlee,.@r*5; } else { bonus bStr,.@r*10; bonus bFlee,.@r*15; }
  3. You added it in item_combo, you need to wear both item for effect to work.
  4. The devs already prepared a fix for this, if you look at the pull request. https://github.com/rathena/rathena/pull/4065
  5. Remove the character since it eats a lot of space and make use of the right side space for the player information, rather than putting it near the exit button :))
  6. https://github.com/rathena/rathena/issues/4015 Related to this.
  7. .@r = getrefine(); skill "SM_MAGNUM",10; bonus2 bHPRegenRate,5000,10000; bonus2 bSPRegenRate,100,10000; if(BaseLevel < 99){ bonus bStr,3*.@r; bonus bFlee,5*.@r; } else { bonus bStr,10*.@r; bonus bFlee,15*.@r; }
  8. - script costume_drop -1,{ OnNPCKillEvent: .@index = inarray(.mob_id[0],killedrid); if(.@index < 0) end; if(rand(1,10000) <= .chance){ explode(.@ID$,.drop_data$[.@index],":"); announce "Congratulations to the player "+ strcharinfo(0) +" who, after killing a "+ getmonsterinfo( killedrid, MOB_NAME ) +" in "+ strcharinfo(3) +", got a rare costume!",0,0x00FF00; getitem atoi(.@ID$[1]),1; deletearray .@ID$[0],getarraysize(.@ID$); } end; OnInit: .chance = 3; setarray .drop_data$, "1001:501","1002:502","1003:503","1005:504"; //= "Mob ID:Costume ID" for(.@i = 0; .@i < getarraysize(.drop_data$); .@i++){ explode(.@mob_id$,.drop_data$[.@i],":"); .mob_id[.@i] = atoi(.@mob_id$[0]); deletearray .@mob_id$[0],getarraysize(.@mob_id$); } end; } I haven't tested this yet, but it should work fine :))
  9. getitembound2 1102,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1151,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1208,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1251,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1302,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1352,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1405,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1452,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1502,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1550,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1602,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1702,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1802,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1951,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1929,1,1,10,0,0,0,0,0,Bound_Account;
  10. crazyarashi

    Disabled

    Your crash source is probably not the item db. if you want to remove an item from the database just simply comment it out.
  11. https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L5895 *bonus_script "<script code>",<duration>{,<flag>{,<type>{,<status_icon>{,<char_id>}}}};
  12. Change all your ip in your conf to localhost :))
  13. I think this one is self explanatory already, it only increases the hp rate of the player :))
  14. prontera,255,55,5 script 450KHP 123,{ bonus_script "{ bonus bMaxHP,450000; }",60,512; dispbottom "Max HP increased by 450,000"; end; OnPCLoadMapEvent: bonus_script_clear 1; end; OnInit: setarray .maps$,"prontera","izlude","samplemap"; //= Maps for removing bonus HP for(.@i = 0; .@i < getarraysize(.maps$); .@i++){ setmapflag .maps$[.@i],MF_LOADEVENT; } end; }
  15. That means you have missing textures of the item, using the latest kRO data will help :))
  16. if (countitem(7717)<1) to if(countitem(7717) > 0)
  17. Are you using the latest CP?
  18. 1. Git Clone FluxCP into your web server. 2. Set up the IP/SQL Data in config/servers.php - Note : Make sure you're using a SQL account that have access into your RO Database. Guide : Grant Privileges 'Hostname' => '127.0.0.1', Local IP? No need to change else change it to the IP you're using 'Username' => 'username', 'Password' => 'extremelyhardpassword', 'Database' => 'maindatabase', 3. Set up the config/application.php 'ServerAddress' => 'localhost', Same as above 'BaseURI' => 'fluxcp', The base url 'InstallerPassword' => 'unhackablepassword', Password you're gonna use in installation 4. Open up your website in a browser, input your SQL account with privileges on the database, and install.
  19. You shouldn't comment out the instances, it will cause a crash in your server if a player run an instance. If you want to remove the time limit you need to remove it in the instance_db time limit part, as for the cooldown/requirements you need to manually remove it in their respective areas. quest_db and the quests scripts.
  20. Use the latest quest shop, just add all the items there that uses the function Add() Quest Shop
  21. In your storage.cpp. Comment out the lines that checks the permission of the sd if they can trade. Though it's not suggestible this may solve your problem. int storage_storageopen(struct map_session_data *sd) { nullpo_ret(sd); if(sd->state.storage_flag) return 1; //Already open? /* if( !pc_can_give_items(sd) ) { // check is this GM level is allowed to put items to storage clif_displaymessage(sd->fd, msg_txt(sd,246)); return 1; } */ sd->state.storage_flag = 1; storage_sortitem(sd->storage.u.items_storage, sd->storage.max_amount); clif_storagelist(sd, sd->storage.u.items_storage, sd->storage.max_amount, storage_getName(0)); clif_updatestorageamount(sd, sd->storage.amount, sd->storage.max_amount); return 0; }
  22. if(getequipid(EQI_HAND_R) == 12345){ unequip(EQI_HAND_R); dispbottom "You can only equip one type of this weapon."; } else if(EQI_HAND_L == 12345){ unequip(EQI_HAND_L); dispbottom "You can only equip one type of this weapon."; } Something simple like this should solve your problem, add it on the equip part of the item script. and replace the 12345 ID that you want to check :))
×
×
  • Create New...