Jump to content

crazyarashi

Developer
  • Posts

    761
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by crazyarashi

  1. You added it in item_combo, you need to wear both item for effect to work.
  2. The devs already prepared a fix for this, if you look at the pull request. https://github.com/rathena/rathena/pull/4065
  3. 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 :))
  4. https://github.com/rathena/rathena/issues/4015 Related to this.
  5. [email protected] = getrefine(); skill "SM_MAGNUM",10; bonus2 bHPRegenRate,5000,10000; bonus2 bSPRegenRate,100,10000; if(BaseLevel < 99){ bonus bStr,3*[email protected]; bonus bFlee,5*[email protected]; } else { bonus bStr,10*[email protected]; bonus bFlee,15*[email protected]; }
  6. - script costume_drop -1,{ OnNPCKillEvent: [email protected] = inarray(.mob_id[0],killedrid); if([email protected] < 0) end; if(rand(1,10000) <= .chance){ explode([email protected]$,.drop_data$[[email protected]],":"); 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([email protected]$[1]),1; deletearray [email protected]$[0],getarraysize([email protected]$); } end; OnInit: .chance = 3; setarray .drop_data$, "1001:501","1002:502","1003:503","1005:504"; //= "Mob ID:Costume ID" for([email protected] = 0; [email protected] < getarraysize(.drop_data$); [email protected]++){ explode([email protected]_id$,.drop_data$[[email protected]],":"); .mob_id[[email protected]] = atoi([email protected]_id$[0]); deletearray [email protected]_id$[0],getarraysize([email protected]_id$); } end; } I haven't tested this yet, but it should work fine :))
  7. 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;
  8. 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.
  9. https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L5895 *bonus_script "<script code>",<duration>{,<flag>{,<type>{,<status_icon>{,<char_id>}}}};
  10. Change all your ip in your conf to localhost :))
  11. I think this one is self explanatory already, it only increases the hp rate of the player :))
  12. 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([email protected] = 0; [email protected] < getarraysize(.maps$); [email protected]++){ setmapflag .maps$[[email protected]],MF_LOADEVENT; } end; }
  13. That means you have missing textures of the item, using the latest kRO data will help :))
  14. if (countitem(7717)<1) to if(countitem(7717) > 0)
  15. Are you using the latest CP?
  16. 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.
  17. 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.
  18. Use the latest quest shop, just add all the items there that uses the function Add() Quest Shop
  19. 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; }
  20. 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 :))
  21. There are new constants for getmapxy script command *getmapxy("<variable for map name>",<variable for x>,<variable for y>{,<type>,"<search value>"}) and you don't have the monster database for ID 3484.
  22. [email protected] = JobLevel -1; useatcmd "@skpoint" + [email protected]; You should try reading out the script commands first :))
×
×
  • Create New...

Important Information

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