-
Posts
763 -
Joined
-
Last visited
-
Days Won
20
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by crazyarashi
-
-
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 :))
- 1
-
https://github.com/rathena/rathena/issues/4015
Related to this. -
.@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; }
-
- 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 :))
- 1
-
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;
-
Your crash source is probably not the item db. if you want to remove an item from the database just simply comment it out.
-
-
https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L5895
*bonus_script "<script code>",<duration>{,<flag>{,<type>{,<status_icon>{,<char_id>}}}};
-
On 4/8/2019 at 1:25 AM, tsuum said:
how do you install that on iro? LOL it gives me an error
You can't just simply customize an official server...
-
Change all your ip in your conf to localhost :))
-
I think this one is self explanatory already, it only increases the hp rate of the player :))
-
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; }
-
That means you have missing textures of the item, using the latest kRO data will help :))
-
if (countitem(7717)<1) to if(countitem(7717) > 0)
-
Are you using the latest CP?
-
This may help you :))
-
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. -
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.
-
4 hours ago, Huggies said:
i'm face similar issue as juanlogy, the items just repeat itself like a glitch.
Use the latest quest shop, just add all the items there that uses the function Add()
Quest Shop -
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; }
- 1
-
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 :))
-
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. -
.@value = JobLevel -1; useatcmd "@skpoint" + .@value;
You should try reading out the script commands first :))
-
Basic Substraction is the answer.
value = JobLevel - 1;- 1
problem in map server
in General Support
Posted
The devs already prepared a fix for this, if you look at the pull request.
https://github.com/rathena/rathena/pull/4065