-
Posts
439 -
Joined
-
Last visited
-
Days Won
26
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Everything posted by pajodex
-
How to enable Professor/Sage Elemental Change skill to work on players?
pajodex replied to Pink Guy's question in Source Support
I don't know how but try editing this part at skill.cpp if (sd && (!dstmd || status_has_mode(tstatus,MD_STATUS_IMMUNE))) -
Sorry, my bad. Go check src/map/battle.cpp Look for these: { "casting_rate", &battle_config.cast_rate, 100, 0, INT_MAX, }, { "delay_rate", &battle_config.delay_rate, 100, 0, INT_MAX, }, { "delay_dependon_dex", &battle_config.delay_dependon_dex, 0, 0, 1, }, { "delay_dependon_agi", &battle_config.delay_dependon_agi, 0, 0, 1, }, Try to explore that part.
-
Try to disable renewal cast at src/config/renewal.h
-
Hi, Can somebody explain this error to me? [Error]: map_freeblock_timer: block_free_lock(1) is invalid. [Error]: map_freeblock_timer: block_free_lock(2) is invalid. [Error]: map_freeblock_timer: block_free_lock(5) is invalid. I'm getting those error 'sometimes' after I summon my clones using a custom clone skill. Is this error somehow dangerous? or what? I'm not really good at this stuff.
-
Hi, So I was able to manage to make a custom skill that creates a slave clone, However, It doesn't use any skills, just basic attack. What mode should I put to make it use skills too? I tried MD_AGGRESSIVE/MD_ANGRY But it makes them idle like rock (see image 1). I'm using MD_NONE because it makes them move like clones but doesn't do any skills. (image 2) I also tried Flag 1 but it crashes the client. mob_clone_spawn(pl_sd, sd->bl.m, x, y, "", master, MD_NONE, 2, 20000); image 1 Image 2
-
Cool Thanks!
-
Adding skilleffect removes the skill effect bonus
pajodex replied to caspa's question in Source Support
Try not putting break and put it in a {}. I don't guarantee that it will not affect other skills -
Also for attack. But only monsters if possible. Evil clones are the ones who attacks players, right?
-
Hi, Is it possible to script that an Npc will summon a slave clone a random online male player to the female character who talked to the npc? Limit only to one clone per character. Once character is dead, clone needs to be resummoned.
-
Hi, Anyone who got Annieruru's latest dota pvp ladder? I tried searching for one but it seems that they're mostly not updated. I wanted to have a clean working copy. Thanks
-
Goto db/pre-re(re) /item_combo.txt
-
Works, however, the loop wont stop in 1 occurrence. It loads again and again therefore causing high load and eventually server crash I used this updated patched of aura mod of Zyphrus by @razmux and works fine.
-
Hi, How do I add a custom aura to an item when worn? I manage to do it with this code: {},{misceffect 757;}, {} But it disappears when I use "@ go/ warp" command and its only visible to the wearer and the players around the wearer. Thanks in advance
-
So, I was planning on adding some NPC_Skills in my server, however some skills doesn't have skill effects such as the ff: case NPC_ACIDBREATH: case NPC_DARKNESSBREATH: case NPC_FIREBREATH: case NPC_ICEBREATH: case NPC_THUNDERBREATH: Where can I add this code: clif_specialeffect(bl, <EF_ID>, AREA); for each of those skills listed? Thanks in advance~ Edit SOLVED: Thanks to @Stolao (discord) for suggesting to put it on where it defines the damage.
-
Edit your packet.h find: #ifndef PACKETVER Edit: #define PACKETVER <YOUR2015CLIENT>
-
Try using 2015 clients first.
-
Really? Just heard of this.
-
Having problem in changing server mode from Renewal to Pre-renewal
pajodex replied to Rizz's question in Source Support
Try to uncomment the Renewal_aspd and compare the difference. -
Totally clean rdata.grf. I separated my customs on another grf. did you try to download this? https://github.com/zackdreaver/ROenglishRE
-
How to add custom commands like @freebies @gpack Newbie Here
pajodex replied to herpanda's question in Scripting Support
- script command#freebies -1,{ OnInit: // This part binds "freebies" as atcommand. bindatcmd("freebies",strnpcinfo(0)+"::OnCommand"); end; OnCommand: // This part tells your players that he got his freebies If(GetFree) { mes "You have received your rewards"; close; } else { // This part if players didnt get his freebies yet mes "Welcome! Here are your freebies"; close2: set GetFree,1; // To avoid abuse, Set GetFree variable to 1 getitem 501,1; // Items received by the player in this case, 1 red potion (ItemID 501) you can add more by adding getitem <ITEMID>,<AMOUNT>; below end; } } Do the same for gpack and costumeitem(if it means to get a free costume item) -
my rdata.grf is around 627MB in size.
-
Need help for my Equipment Trader to point script
pajodex replied to hendra814's question in Scripting Support
change it to something like this if (@sold_nameid[.@i] > 4000 && @sold_nameid[.@i] < 4700 | @sold_nameid[.@i] > 32999 && @sold_nameid[.@i] < 33006) { I added a " | " mark for npc to skip data from 4701 -> 32999 I guess you get my point My item numbers 33000 - 33006 are all custom cards. Well, it works for me at least -
1. Removed 1 lhz_dun03 2. Where can I see the labels of those MVPs? Just wanna check it out. Or should I just completely remove OnNPCKillEvent on both lhz_dun03 and lhz_dun04 off the list to avoid conflicts Here is my new code, its working as I wanted it to be. Thanks to @Secrets and @Nitrous(via discord) for the help - script #mvp_kill -1,{ OnInit: setarray .t_maps$[0],"moc_pryd06","lhz_dun03","gld2_prt","abbey02","ayo_dun02","lhz_dun04","ra_fild02","xmas_fild01","dic_dun02","beach_dun","iz_dun05","tur_dun04","lhz_dun02","jupe_core","moc_fild22","anthell02","odin_tem03","gon_dun03","gef_fild02","thana_boss","gef_fild10","ein_dun02","gef_fild14","moc_pryd04","dew_dun01","in_sphinx5","niflheim","moc_fild17","xmas_dun02","ice_dun03","kh_dun02","treasure02","moc_prydn2","pay_dun04","ra_san05","mosk_dun03","ama_dun03","thor_v03","gef_dun01","mjolnir_04","abyss_03","dic_dun03","prt_sewb4","pay_fild11","gef_dun02","gl_chyard","ra_fild03","ra_fild04","ve_fild01","ve_fild02","lou_dun03","prt_maze03","bra_dun02"; end; OnNPCKillEvent: if ( getmonsterinfo( killedrid, MOB_MVPEXP )) { for (.@a = 0; .@a < getarraysize(.t_maps$); .@a++) { if ( strcharinfo(3) == instance_mapname("06guild_01") ) end; if ( strcharinfo(3) == instance_mapname("force_1-1") ) end; if ( strcharinfo(3) == .t_maps$[.@a] && rand(100) < 90 ) { if ( getcharid(1) ) { getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { .@partymemberaid[.@c] = $@partymemberaid[.@i]; .@c++; } } getitem 30017, 1, .@partymemberaid[ rand( .@c ) ]; //dispbottom "You got an MVP Badge!"; } else { getitem 30017, 1; //dispbottom "You got an MVP Badge!"; } } } if ( getcharid(1) ) { announce "[ System ] : Player ["+ strcharinfo(0) +"] of party ["+ strcharinfo(1) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" at "+ strcharinfo(3), bc_all; } else { announce "[ System ] : Player ["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" alone at "+ strcharinfo(3), bc_all; } end; } }
-
@Secrets I modified my script and added the `loop thing` - script #mvp_kill -1,{ OnInit: setarray .t_maps$[0],"moc_pryd06","lhz_dun03","gld2_prt","abbey02","ayo_dun02","lhz_dun04","ra_fild02","xmas_fild01","dic_dun02","beach_dun","iz_dun05","tur_dun04","lhz_dun02","jupe_core","moc_fild22","anthell02","odin_tem03","lhz_dun03","gon_dun03","gef_fild02","thana_boss","gef_fild10","ein_dun02","gef_fild14","moc_pryd04","dew_dun01","in_sphinx5","niflheim","moc_fild17","xmas_dun02","ice_dun03","kh_dun02","treasure02","moc_prydn2","pay_dun04","ra_san05","mosk_dun03","ama_dun03","thor_v03","gef_dun01","mjolnir_04","abyss_03","dic_dun03","prt_sewb4","pay_fild11","gef_dun02","gl_chyard","ra_fild03","ra_fild04","ve_fild01","ve_fild02","lou_dun03","prt_maze03","bra_dun02"; .@j = 0; end; OnNPCKillEvent: if ( getmonsterinfo( killedrid, MOB_MVPEXP )) { for (.@a = 0; .@a < getarraysize(.t_maps$); .@a++) { if ( strcharinfo(3) == .t_maps$[.@a] && rand(100) < 90 ) { if ( getcharid(1) ) { getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { .@partymemberaid[.@c] = $@partymemberaid[.@i]; .@c++; } } getitem 30017, 1, .@partymemberaid[ rand( .@c ) ]; announce "[ System ] : Player ["+ strcharinfo(0) +"] of party ["+ strcharinfo(1) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" and got reward at "+ strcharinfo(3), bc_all; } else { getitem 30017, 1; announce "[ System ] : Player ["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" and got an MVP Badge at "+ strcharinfo(3), bc_all; } } else { if ( strcharinfo(3) == instance_mapname("06guild_01") ) end; if ( getcharid(1) ) { announce "[ System ] : Player ["+ strcharinfo(0) +"] of party ["+ strcharinfo(1) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" at "+ strcharinfo(3), bc_all; } else { announce "[ System ] : Player ["+ strcharinfo(0) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" alone at "+ strcharinfo(3), bc_all; } } } end; } } Works now, however, the announce part does this: XD Sorry, I'm still learning
-
I changed it to if ( strcharinfo(3) == .t_maps$[0] && rand(100) < 90 ) { Still the same :\ Sorry I tried reading in script_commands but it barely helped.