-
Posts
72 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Ruhn
-
do we have an alternative for those functions?
-
OnOdinDead: killmonster "odin_tem03","OdinTempInvasion::OnInvasionOdin"; killmonster "prontera","OdinTempInvasion::OnInvasionOdin"; announce "["+ strcharinfo(0) +"] has slain "+ getmonsterinfo(killedrid, MOB_NAME), bc_all; // Reward tracking MVPKills = MVPKills + 3; dispbottom "---------------------------------------------------"; dispbottom "You killed a total of "+MVPKills+" MVP"+((MVPKills == 1)?"":"s")+"."; #mvp_points += 3; dispbottom "You've gained three points! Your total is ["+#mvp_points+"] MvP point(s)."; dispbottom "---------------------------------------------------"; // Drop items around boss location set @item_id, 512; // set @drop_count, 10; set @x, 113; set @y, 71; set @i, 0; while (@i < @drop_count) { set @dx, @x + rand(-3,3); set @dy, @y + rand(-3,3); makeitem @item_id, 1, "odin_tem03", @dx, @dy; set @i, @i + 1; } // Drop items around boss set @item_id, 512; set @drop_count, 10; set @x, 113; set @y, 71; set @i, 0; while (@i < @drop_count) { set @dx, @x + rand(-3,3); set @dy, @y + rand(-3,3); makeitem @item_id, 1, "odin_tem03", @dx, @dy; set @i, @i + 1; } // Distribute rewards set @players, mobcountunitdmg(killedrid, 0); set @item_reward, 1; set @highest_dmg, 0; set @highest_dmg_id, 0; set @i, 0; while (@i < @players) { set @char_id, getunitdmginfo(killedrid, @i, 2); set @account_id, getunitdmginfo(killedrid, @i, 0); set @dmg, getunitdmginfo(killedrid, @i, 1); if (@dmg > @highest_dmg) { set @highest_dmg, @dmg; set @highest_dmg_id, @account_id; } if (attachrid(@char_id)) { getitem @item_id, @item_reward; detachrid; } set @i, @i + 1; } // Double reward to highest damage dealer if (attachrid(getcharid(3, @highest_dmg_id))) { getitem @item_id, @item_reward; detachrid; } // Double reward to last hitter (current player) getitem @item_id, @item_reward; end; } Why am I getting an error on this script? Can someone help me in fixing the script here? See attached screenshot for the error.
-
Do you know what is the fix for 4th job classes black body? Only the default color palette is working but when you try to change into other clothes color, it will turn into black. I belive I have the necessary palette files. If there's a different name for the Shadow Cross sprite, can someone tell it to me? Btw, I am using the 4th class sprite as a Bodystyle 2 costume. And it is using Assassin Cross sprite name.
-
Thanks a lot bro! It worked.
-
OnTimer10800000: stopnpctimer; monster "prontera",98,186,"Gluttonous Plant",1750,1,"AntHellInvasion::OnInvasionAntHellPlant"; end; Im having a hard time getting this script to have a selection of its spawn time. Right now, it always spawn 3hours after server start and after kill. I want it to spawn randomly between 2.5 hours to 3hours. Tried adding switch(rand(2)){ and put 2 cases but the script only summons the boss on the lowest OnTimer. Also, if it is possible, make the Plant not killable during the event was on. This plant serves as indicator that the mvp had been summoned. Some times players logged in after the announcement of the mvps arrival
-
Anyone knew what are the names of the fourth job palettes? Fourth job costume sprites are always black. It does not follow the palette names of third classes.
-
Looking for a working Dragon Knight Mounted sprite pallet
Ruhn posted a question in Graphics Requests
I need help finding the correct palette for knight's 4th job. The palette on the non riding sprite works fine but when i mount, the dragon and the body of 4th job knight is black. I made 4th job as costumes. The Male Knight Riding is being read as ·ÎµåÆäÄÚ_³²_2, then i added the palette named ·ÎµåÆäÄÚ_³²_1_2.pal. This works on the normal 4th Job sprite. -
kRO Sprite: 4th Jobs Corrected Sprites
Ruhn replied to ohyono's topic in Sprites & Pallette Downloads
anyone has a corrected dragon knight with mount? it seems that the mounted knight sprite is only black. -
Job Sprite: Third Job Costumes & New Classes: Corrected
Ruhn replied to Haziel's topic in Sprites & Pallette Downloads
Sorry for bumping the thread, can someone give me corrected sprite for Rebellion (Male and Female) and the Union Sprite for Star Gladiator (Male and Female) -
0,1,{ bonus bMaxHPrate,1; bonus bDef,1; bonus bMdef,1; } 0,2,{ bonus bMaxHPrate,2; bonus bDef,2; bonus bMdef,2; } 0,3,{ bonus bMaxHPrate,3; bonus bDef,3; bonus bMdef,3; } 0,4,{ bonus bMaxHPrate,4; bonus bDef,4; bonus bMdef,4; } 0,5,{ bonus bMaxHPrate,5; bonus bDef,5; bonus bMdef,5; } 0,6,{ bonus bMaxHPrate,6; bonus bDef,6; bonus bMdef,6; } 0,7,{ bonus bMaxHPrate,7; bonus bDef,7; bonus bMdef,7; } 0,8,{ bonus bMaxHPrate,8; bonus bDef,8; bonus bMdef,8; } 0,9,{ bonus bMaxHPrate,9; bonus bDef,9; bonus bMdef,9; } 0,10,{ bonus bMaxHPrate,10; bonus bDef,10; bonus bMdef,10; } 0,11,{ bonus bMaxHPrate,11; bonus bDef,11; bonus bMdef,11; } 0,12,{ bonus bMaxHPrate,12; bonus bDef,12; bonus bMdef,12; } 0,13,{ bonus bMaxHPrate,13; bonus bDef,13; bonus bMdef,13; } 0,14,{ bonus bMaxHPrate,14; bonus bDef,14; bonus bMdef,14; } 0,15,{ bonus bMaxHPrate,15; bonus bDef,15; bonus bMdef,15; } Added this entry to refine_bonus.txt but when I wore +15 garment, it wont give the refine bonus stats. Is there any switch or should I do something first?
-
Why is the counter on negative and would not revert back to 0?
-
-
nvm, found it at atcommand.hpp, need to add the strings and increase array count
-
I created new monster def element called Prismatic It works, attr_fix works fine but when I do the @mi command it wont show elements like the screenshot below
-
Need help with monster summoning inside a custom instance
Ruhn replied to Ruhn's question in Scripting Support
?@Tokei, on this part in which the boss got killed, how can i make this reward every party member in the instance?, also for example the summoned boss is "poring 1" it should only give "poring 1 loot" then for "poring 2" it should only give "poring loot 2" ? // spawn mobs setarray .@mobIds, 20570, 20571, 20572, 20573, 20574; .@mobId = .@mobIds[rand(getarraysize(.@mobIds))]; .@map$ = instance_mapname("demon_lair"); .@label_boss$ = instance_npcname(strnpcinfo(0))+"::OnMyBossDead"; monster .@map$,99,107,'mobNames$[.@mobId],.@mobId,1,.@label_boss$,2; unittalk $@mobid[0],"Die ! You insolent fool!!"; end; OnMyBossDead: // specialeffect2 EF_MVP; getitem 41000,50; // // trigger other events .@map$ = instance_mapname("demon_lair"); mapannounce .@map$,"He will resurrect, soon!",bc_map; donpcevent instance_npcname("Reinfred#fin")+"::OnEnable"; end; } -
Need help with monster summoning inside a custom instance
Ruhn replied to Ruhn's question in Scripting Support
thanks @Tokei , the second one works fine. the first one does not give names. -
Need help with monster summoning inside a custom instance
Ruhn replied to Ruhn's question in Scripting Support
How can i make the npc summon a random mob id for example this list of mob ids mobid 1, mobid 2, mobid 3, mobid 4, mobid 5 name 1, name 2, name 3, name 4, name 5 then if the system pick mobid 3 the name should be name 3 monster .@map$,99,107,"--en--",.@MobID,1,.@label_boss$,2; -
Need help with monster summoning inside a custom instance
Ruhn replied to Ruhn's question in Scripting Support
Thanks for the input, managed to figure it out mate. I'm doing now is how to make it summon a random boss, like i have 5 bosses in array. xD -
Need help with monster summoning inside a custom instance
Ruhn replied to Ruhn's question in Scripting Support
New problem arises, when i have the instance created, the monster is not showing up xD -
Need help with monster summoning inside a custom instance
Ruhn replied to Ruhn's question in Scripting Support
Fixed with these code thanks @Poring King demon_lair,99,100,1 script Demon Tomb 565,{ mes "[Tomb]"; mes "This is the resting place of a great demon named Azhura."; next; mes "You can summon him through Nightmarish Ornament and Evil Energy."; next; mes "Put the Nightmarish Ornament and Evil Energy."; menu "Yes", L_yes, "No", L_no; L_no: mes "[Tomb]"; mes "Come back when you have decided."; close; L_yes: if ($AzhuraSpawned) { mes "The Great Demon Azhura is already here!"; close; } if (countitem(41001) < 2) { mes "You don't have the required items!"; close; } delitem 41001, 2; hideonnpc "Demon Tomb"; mapannounce .Map$, "Prepare for the unleashed evil!!", bc_map; set $AzhuraSpawned, 1; monster .Map$, 99, 105, "Great Demon Azhura", 1864, 1, strnpcinfo(0) + "::OnKilledAzhura"; end; OnKilledAzhura: set $AzhuraSpawned, 0; enablenpc "Demon Tomb"; end; OnInit: .Map$ = "demon_lair"; set $AzhuraSpawned, 0; end; } -
Need help with monster summoning inside a custom instance
Ruhn replied to Ruhn's question in Scripting Support
Btw this is the whole code of the supposedly instance dungeon for summoning custom boss @Poring King prontera,156,162,5 script Sample 757,{ .@instance_name$ = "Demon Vanquisher"; if (!is_party_leader()) end; switch(select( "Create", "Enter", "Destroy" )) { case 1: instance_create(.@instance_name$, IM_PARTY); break; case 2: switch(instance_enter(.@instance_name$)) { case IE_NOMEMBER: mes "ERROR: Party not found."; break; case IE_NOINSTANCE: mes "ERROR: Party does not have an instance."; break; case IE_OTHER: mes "ERROR: Unknown error."; break; default: break; } break; case 3: instance_destroy(instance_id(IM_PARTY)); break; } end; } demon_lair,99,101,1 script Demon Tomb 565,{ mes "[Tomb]"; mes "This is the resting place of a great demon named Azhura."; next; mes "You can summon him through Nightmarish Ornament and Evil Energy."; next; mes "Put the Nightmarish Ornament and Evil Energy."; menu "Yes", L_yes, "No", L_no; L_no: mes "[Tomb]"; mes "Come back when you have decided."; close; L_yes: if ($AzhuraSpawned) { mes "The Great Demon Azhura is already here!"; close; } if (countitem(41001) < 2) { mes "You don't have the required items!"; close; } delitem 41001, 2; mapannounce .Map$, "Prepare for the unleashed evil!!", bc_map; set $AzhuraSpawned, 1; monster .Map$, 99, 106, "Great Demon Azhura", 1973, 1, strnpcinfo(0) + "::OnKilledAzhura"; close; OnKilledAzhura: set $AzhuraSpawned, 0; end; OnInit: .Map$ = "demon_lair"; set $AzhuraSpawned, 0; end; } -
Need help with monster summoning inside a custom instance
Ruhn replied to Ruhn's question in Scripting Support
Im getting this And monster still doesnt show. edit: managed to remove the error by adding $ but mobs still wont get summoned. -
Need help with monster summoning inside a custom instance
Ruhn posted a question in Scripting Support
demon_lair,99,101,1 script #Demon_Tomb 565,{ mes "[Tomb]"; mes "This is the resting place of a great demon"; mes "named Azhura."; next; mes "You can summon him thru"; mes "Nightmarish Ornament and Evil Energy"; next; mes "Put the Nightmarish Ornament"; mes "and Evil Energy."; menu "Yes",yes,"No",-; next; mes "[Tomb]"; mes "Come back when you are decided."; close; end; yes: if( countitem(41001) < 2 ) mes "You didnt have required item!"; else{ delitem 41001,2; mapannounce .Map$, "Prepare for the unleashed evil!!", bc_map; goto SummonAzhura; } end; SummonAzhura: monster .Map$,99,106,"Great Demon Azhura",1973,1,strnpcinfo(0)+"::OnKilledAzhura"; end; OnKilledAzhura: disablenpc "#Demon_Tomb"; end; OnInit: .Map$ = "demon_lair"; end; } This is my code, the map announce and monster is not being summoned. No error on Map server -
do you mind sharing it brother?
-
Can anyone modify the existing mvp rooms to make it an instance? So that players can summon bosses without going on rooms like the existing mvp room.