-
Posts
192 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by TiMz
-
-
On 7/21/2018 at 1:02 AM, Aleos said:
*skill_damage {<skill_name>,<caster>,<SKILLDMG_PC>,{<SKILLDMG_MOB>,{<SKILLDMG_BOSS>,{<SKILLDMG_OTHER>}}}} Enables skill damage adjustment on a map. All adjustments in 'db/skill_damage_db.txt' for 'Map' type 16 will be applied. This mapflag can also be used to adjust the damage of one skill by a percentage: - skill_name: Name of the skill in 'db/(pre-)re/skill_db.txt' (ex. SM_BASH). To adjust all skill damage, write "all" (without quotes). - caster: the groups for which the adjustment takes effect. (bitmask) BL_PC = Player BL_MOB = Monster BL_PET = Pet BL_HOM = Homunculus BL_MER = Mercenary BL_ELEM = Elemental - damage: percent adjustment rate (between -100 and 100000). SKILLDMG_PC = against player SKILLDMG_MOB = against normal monster SKILLDMG_BOSS = against boss monster SKILLDMG_OTHER = against other (homunculus, mercenary, pet, elemental)
You can set a mapflag and then use "all" as the skill name so it adjusts all skills.
When I replace the skill name with "all" it doesn't seem to work anymore.
-
9 hours ago, Stolao said:
It's setup for the entire account but just need to change very little to change that.
I'm experiencing problems with the script. It usually works in the beginning then after a few days suddenly stops giving rewards to everyone.
-
Bump for enchant remover.
-
@Stolao Odd thing here. Rewards keep resetting to day 1. The furthest I've gone was day 3 out of 14. No console errors too.
-
You might have forgotten to update your db/re/map_cache.dat
-
I'm unsure if this is the right section for this.
Location: item_db
Using the latest version it seems equip_script and unequip_script doesn't work for cards placed at slots 2, 3 and 4 tested in footgear.
e.g. Eddga Card's "Endure Effect" doesn't work when Eddga Card is placed on slot 2, 3 or 4 but the item script" bonus bMaxHPrate,-25; " works for all slots.
{ bonus bMaxHPrate,-25; },{ sc_start4 SC_ENDURE,60000,10,0,0,1; },{ sc_end SC_ENDURE; }
This is important for those who wish to use equip and unequip script for servers with more than 1 slot or for those wanting to use enchantment orbs.
Side note: Not sure if it's related to this: https://github.com/rathena/rathena/issues/1464
-
1D feels
-
Superb job! rA board looks stunning.
-
On holiday in Spain May 2015.
17643_10202736472653015_2624754963094058499_n.jpg
Behind bar at work Sept 2016.
You seem so happy!
-
Hmm. I have a suggestion.
Edit ITEM ID for the orbs.
make it 4703~4708
The list I gave was just an example. I plan to use ids really far apart from each other in the db. Any other ideas?
-
This NPC shows a menu list of orbs you have in your inventory from 4700-4862.
I'm having troubles switching from enchant orb range to enchantment orb list as seen below. Instead of using 4700-4862 I intend to just use the IDS 4703, 4723, 30001,505,4800,507.
Any ideas?
setarray .en_orb, 4700, 4862; // Range of IDs selected for enchanting.
Menu of .en_orb
set .@menu$, ""; set .@a, .en_orb[0]; while((set(.@a,.@a+1)-1)<=.en_orb[1]) if(getiteminfo(.@a-1,2)>-1) if(set(.@c,countitem(.@a-1))) { set .@menu$, .@menu$+getitemname(.@a-1)+" x"+.@c+":"; set .@b,.@b+1; set .@item[.@b], .@a-1; }
Here's the entire script:
prontera,194,188,4 script Enchant 712,{ mes .npc$; mes "Hello there!"; mes "I can enchant your items,"; mes "for a small fee of "+.pric+"z."; emotion e_no1,0; next; if(select("Yes:No")&2) { mes .npc$; mes "Alright, thanks anyways!"; close; } if(Zeny<.pric) { mes .npc$; mes "I'm sorry you don't have enough Zeny, please come back later."; close; } mes .npc$; mes "Which item would you like to enchant?"; next; while(set(.@a,.@a+1)<=.e_len) { if(getequipid(.@a)>-1) set .@menu$, .@menu$+.eqp$[.@a-1]+"- [^0000FF"+getitemname(getequipid(.@a))+"^000000]:"; else set .@menu$, .@menu$+"^adb4be"+.eqp$[.@a-1]+"- [Empty]^000000:"; } select(.@menu$); set .@eq_loc, @menu; set .@eq_itm, getequipid(.@eq_loc); if(.@eq_itm<0) { mes .npc$; mes "Hmm, I don't think you have anything equipped there."; close; } set .@menu$, ""; set .@a, .en_orb[0]; while((set(.@a,.@a+1)-1)<=.en_orb[1]) if(getiteminfo(.@a-1,2)>-1) if(set(.@c,countitem(.@a-1))) { set .@menu$, .@menu$+getitemname(.@a-1)+" x"+.@c+":"; set .@b,.@b+1; set .@item[.@b], .@a-1; } if(.@menu$=="") { mes .npc$; mes "Hmm, you don't seem to have any enchantment orbs."; close; } mes .npc$; mes "Please, select an enchantment from the menu."; next; select(.@menu$); set .@itm, .@item[@menu]; set .@menu$, ""; set .@a, 0; while((set(.@a,.@a+1))<4) { if(getequipcardid(.@eq_loc,.@a)) set .@menu$, .@menu$+(.@a+1)+.crd_c$[.@a]+" Slot- [^a92435"+getitemname(getequipcardid(.@eq_loc,.@a))+"^000000]:"; else set .@menu$, .@menu$+(.@a+1)+.crd_c$[.@a]+" Slot- [^30ad25Empty^000000]:"; } setarray .@card, getequipcardid(.@eq_loc,0), getequipcardid(.@eq_loc,1), getequipcardid(.@eq_loc,2), getequipcardid(.@eq_loc,3); mes .npc$; mes "Select a slot."; next; set .@men, select(.@menu$); set .@eqrf, getequiprefinerycnt(.@eq_loc); if(getequipcardid(.@eq_loc,@menu)) { mes .npc$; mes "Would you like me to remove this card?"; next; if(select("Yes:No")&2) { mes .npc$; mes "Alright, thanks anyways!"; close; } getitem getequipcardid(.@eq_loc,.@men),1; unequip(.@eq_loc); delitem2 .@eq_itm, 1, 1, .@eqrf, 0, .@card[0], .@card[1], .@card[2], .@card[3]; set .@card[.@men], 0; getitem2 .@eq_itm, 1, 1, .@eqrf, 0, .@card[0], .@card[1], .@card[2], .@card[3]; } if(rand(100)>.perc) { mes .npc$; mes "I'm sorry but I've failed you!"; misceffect 155; emotion e_sob,0; set Zeny,Zeny-.pric; close; } set Zeny,Zeny-.pric; delitem .@itm,1; delitem2 .@eq_itm, 1, 1, .@eqrf, 0, .@card[0], .@card[1], .@card[2], .@card[3]; set .@card[.@men], .@itm; getitem2 .@eq_itm, 1, 1, .@eqrf, 0, .@card[0], .@card[1], .@card[2], .@card[3]; misceffect .efet; emotion e_no1,0; mes .npc$; mes "All done!"; equip .@eq_itm; close; //NPC Constants OnInit: //=-=-=-=-=-=-=Configuration=-=-=-=-=-=-= set .npc$ , "[^0000FFEnchant Expert^000000]"; // NPC Name set .pric , 1000000; // Price set .efet , 154; // Effect Number set .perc , rand(50,80); // Percent setarray .crd_c$, "st", "nd", "rd", "th"; // Count setarray .en_orb, 4700, 4862; // Range of IDs selected for enchanting. setarray .eqp$ , "Upper Headgear", "Armor", "Left Hand", "Right Hand", "Garment", "Shoes", "Accessory1", "Accessory2", "Mid Headgear", "Low Headgear"; set .e_len , getarraysize(.eqp$); //=-=-=-=-=-=-=-=-Skorm-=-=-=-=-=-=-=-=-= }
-
Change this:
item: [true, true]
to
item: [false, false]
Also add an item line to id: 99 and set to false.
-
Can you provide the error that shows up on your console?
theres no error in putty.
i put the script and restart my server and i use knight soul link nothing happen..
bump
Try this.
- script sample_soullink_hp -1,{ OnPCStatCalcEvent: if ( getstatus( SC_SPIRIT ) ) { bonus bMaxHPrate,20; } end; }
- 1
-
Can you provide the error that shows up on your console?
-
What happens with the card? How is it giving you problems?
-
Hi guys, need some help regarding custom aura implementation in max base lvl 255.
- I used the search function but it seems there's no clear answers regarding this issue. ive already have my custom aura uploaded in my grf file "texture/effect". thank you in advance.
After you've replaced the old aura files, you'll have to set the config:
// Level required to display an aura. // NOTE: This assumes that sending max_lv to the client will display the aura. // NOTE: aura_lv must not be less than max_lv. // Example: If max_lv is 99 and aura_lv is 150, characters with level 99~149 // will be sent as being all level 98, and only characters with level // 150 or more will be reported as having level 99 and show an aura. aura_lv: 255
Then your client should also be diffed to show aura at level 255.
-
can someone help me to convert the actual fluxcp that is for rathena to be compatible with eathena please
Why are you still using eAthena? There's very little support left for that.
-
That setting only affects the @hide gm command which is different from the skill hiding or cloaking.
-
I dont know why i cant see a player uses hide.
this is my group.conf
You are only able to view their HP using "view_hpmeter: true," even if they're using the skill cloak/hide. While "hide_session: true" only applies to @hide when used by GMs.
You can provide your GMs with maya purple card or box of sunlight. Another option would be a source modification found here LINK or a script bind to a command.
-
Not sure if this should be in script section or here but..
Anybody know how to make specific items not able to obtain from @item?
Hello. You can either use a source modification or a script to achieve that.
Should you choose to use a script, you'll first have to remove @item access via groups.conf then run this script.
//By Capuche - script atcmd_noitem -1,{ OnInit: bindatcmd "item",strnpcinfo(3)+"::OnAtcommand"; setarray .item_restrict, 607, //1st item to be restricted 501; //2nd item to be restricted .item_restrict_size = getarraysize( .item_restrict ); end; OnAtcommand: .@gmlevel = getgmlevel(); if( .@gmlevel && .@atcmd_numparameters ){ .@itemid = atoi( .@atcmd_parameters$[0] ); if( .@gmlevel < 99 ){ for( .@i = 0; .@i < .item_restrict_size; .@i++ ) if( .@itemid == .item_restrict[.@i] ){ message strcharinfo(0),"You cannot create this item."; end; } } if( getitemname( .@itemid ) != "null" ){ .@quantity = atoi( .@atcmd_parameters$[1] ); if ( .@quantity < 1 ) .@quantity = 1; getitem .@itemid,.@quantity; } } end; }
- 1
-
Change item type to 11. Then add below monster line
monster "this",-1,-1,"--ja--",-1,1,"";
to
monster "this",-1,-1,"--ja--",-1,1,""; delitem 604,1;
- 1
-
You can use the search function to find several daily reward scripts.
There is a page on the wiki relating to cutins, which also has a search feature.
Sorry Sir...
Who can share script Daily Rewards and Cutin image...???
I believe you're going to have to create your own cutin because it will depend on the items you put in the script.
can u guide me how to make? i dont know..
You can use the link that @Akkarin posted to show you were you should put the .bmp file.
You can use the template below just paste the item images on it. Any editing software will do, but I would recommend Photoshop.
-
Who can share script Daily Rewards and Cutin image...???
I believe you're going to have to create your own cutin because it will depend on the items you put in the script.
-
Yay! it works! Thank you so much!, Thank you for the fast response & Thank you for giving me some knowledge.. Thank you..
I got another problem, Lol sorry for this..
Here's what happen, the whole @warp is working but the problem is everytime i do for example, @warp prontera 150,100, it drops me anywhere in prontera. the x,y this is not working. hehehe... same with the other maps.
Don't forget to mark the best answer.
Map server crash
in Source Support
Posted · Edited by TiMz
I've seem to reproduce the cause of the crash. Whenever I execute the command @time . The map server crashes without showing any other important information. Just this "
Has anyone have any ideas why this happens?