Jump to content

Recommended Posts

Posted (edited)
/////////////////////////////////////////////////////////////////////////
//---------------------------------------------------------------------//
//                       MINING (EXPLOSION TYPE)                       //
//                     AUTHOR: LIL TROLL//COLDFIRE                     //
//---------------------------------------------------------------------//
//                          RATHENA SCRIPT                             //
//---------------------------------------------------------------------//
//                            Version 1                                //
//---------------------------------------------------------------------//
//    Credits to:                                                      //
//    - Sir Emistry(For teaching me OnTouch).                          //
//    - Lesbie for requesting the script.                              //
//     FEATURES:                                                       //
//    - Set the configuration, run the script.                         //
//    - Add duplicates.                                                //
//    - Player set the explosion and run for it!                       //
//    - Wait till the explosion off then grab the items.               //
//    - NPC AutoHides after set of explosions.                         //
//---------------------------------------------------------------------//
/////////////////////////////////////////////////////////////////////////

explosive_mining.txt

Edited by Lil Troll
  • Upvote 3
Posted (edited)

Hey! Thanks for the nice release.

I'm gonna try this out!

Keep it up! Cheers.

 

 

@Lil Troll, May i asked for a few question? i don't understand at the OnInit: part there are lots of setarray but it doenst work?

like the 

setarray .Debris[0],7049,757,756,6077,1010,1011,984,985;    // DEBRIS, STONES,ELUNIUM,ORIDECON,REFINE MATERIALS && ETC..

setarray .Scatter[0],1,2,3;                        // DEBRIS AMOUNT.
setarray .ScatArea[0],1,2,3;                    // SCATTER AREA.
setarray .SFXS[0],225,805,60;                    // MINING CAST
setarray .SFX[0],44,100,4,18,53,65,960,965,967,901,730,722,585,32,907,810,941,563;    // Mining Explosion.


Sort of confuse. @_@ Edited by Vlync
Posted

Hey! Thanks for the nice release.

I'm gonna try this out!

Keep it up! Cheers.

 

 

@Lil Troll, May i asked for a few question? i don't understand at the OnInit: part there are lots of setarray but it doenst work?

like the 

 

setarray .Debris[0],7049,757,756,6077,1010,1011,984,985;    // DEBRIS, STONES,ELUNIUM,ORIDECON,REFINE MATERIALS && ETC..

setarray .Scatter[0],1,2,3;                        // DEBRIS AMOUNT.
setarray .ScatArea[0],1,2,3;                    // SCATTER AREA.
setarray .SFXS[0],225,805,60;                    // MINING CAST
setarray .SFX[0],44,100,4,18,53,65,960,965,967,901,730,722,585,32,907,810,941,563;    // Mining Explosion.

 

Sort of confuse. @_@

What do you mean? Are you getting map server error? 

 

If you are pinpointing "setarray .Debris[0]":

It is the scattered fragments upon explosion of the mine. Its just like consultation rewards. It will be randomly set as a drop upon set of explosion.

 

If you are pinpointing "setarray .Scatter[0]":

It is scattered debris amount pero explosion.

 

If you are pinpointing "setarray .ScatArea[0]":

This is the array of random area which the debris will be created.

Posted

Oh? Interesting concept to a mining system. Most people use a system that requires a pickaxe and the like. Though explosives, now that's a nice and unique touch to this. Your making steady improvement with your scripting techniques. That is good to see, keep it up, and you'll reach higher levels in no time.

  • 4 weeks later...
  • 8 months later...
  • 2 months later...
Posted
movenpc "npcname",x,y;

just do some calculation to calculate random xy for your location.

 

* i remember i did reply a topic not long ago, it's about moving npc to random coordinate too. try search.

  • Upvote 1
Posted (edited)
movenpc "npcname",x,y;

just do some calculation to calculate random xy for your location.

 

* i remember i did reply a topic not long ago, it's about moving npc to random coordinate too. try search.

 

 

Yea, I already found your post, it's very helpful... /ok  but I got another problem now   /ic

Edited by Talon
  • 2 years later...
Posted

is this fixed? i've tried to add it on my server, but it seems like, it's only damaging GM's.. 
I tested it with one player and she can sit beside it without dying from the explosion even if she's the one who set the bombs.. 
No errors on my putty.. 
and i haven't seen any of this part happening:
setarray .Debris[0],7049,757,756,6077,1010,1011,984,985;

  • 4 weeks later...
  • 5 years later...
  • 10 months later...
Posted

What the hail! This is almost a decade old script.

 

// Change this part.
setarray .ScatArea[0],1,2,3; // SCATTER AREA.

// To this
setarray .ScatArea[0], 3, 5, 7; // Increase the values for a larger scattering area.

 

Posted
1 hour ago, Wazaby said:

What the hail! This is almost a decade old script.

 

// Change this part.
setarray .ScatArea[0],1,2,3; // SCATTER AREA.

// To this
setarray .ScatArea[0], 3, 5, 7; // Increase the values for a larger scattering area.

 

the cell distance for the crystal example in 5 cell away from the crystal the players are safe?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...