Eclipse - Free 2D Mmorpg Maker
September 02, 2010, 10:19:57 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Shop Arcade chat Login Register  
 
 
   
 
collapse

* No Spam Or Websites

Refresh History
  • Ertzel: So... Anyone with basic/none/limited photoshop or even paint skills want to make some money converting sprites for me?
    Today at 10:07:35 PM
  • Gamma™: weaver why are you oflfine on H&H? :S
    Today at 10:04:26 PM
  • Ertzel: Ya, only one try per knife, my one try failed :(
    Today at 10:00:17 PM
  • LegendWeaver: is it one use?
    Today at 09:43:15 PM
  • Ertzel: Wish I didnt spend my 1k+ credits to buy the stupid knife that failed at stealing Robins credits >.<
    Today at 09:42:42 PM
  • Wraith: ) Kreator!
    Today at 09:06:52 PM
  • Wraith: yes! you were! (in red text
    Today at 09:06:46 PM
  • ToshiroHayate: Kreator!
    Today at 08:25:02 PM
  • Kreator: o_0 Was I supposed to Wraith?
    Today at 08:16:02 PM
  • [Pie] ICT: Don't worry.. I commented.
    Today at 07:55:08 PM
  • Wraith: Ay, kreator, wtf is up with you not posting anything about my new cliffs??
    Today at 07:50:36 PM

* Recent Topics

[EO] Attaching Problem. by Ertzel
[Today at 10:11:57 PM]


Project Vertigo [2d Tile-based Side-Scrolling Engine] by Miguu
[Today at 10:03:22 PM]


Zacaras Empire (Hiring) by Ertzel
[Today at 08:43:54 PM]


custom cliff tiles by ToshiroHayate
[Today at 08:29:15 PM]


.: RPG Kingdom :. by LegendWeaver
[Today at 08:25:20 PM]


What do you think? by [Pie] ICT
[Today at 07:54:54 PM]


[Show Off] Aztec Stuff by [Pie] ICT
[Today at 07:50:07 PM]


So I herd you liek mudkipz by Kreator
[Today at 07:36:52 PM]


Haven and Hearth: Epic Screenshot Thread by Tompwnage™
[Today at 07:14:21 PM]


The Lonliest Star [RP] by DDunit
[Today at 07:09:46 PM]


* Who's Online


Site Author : Topic: Mining script  (Read 3607 times)
0 Members and 1 Guest are viewing this topic.
March 19, 2006, 11:13:08 AM
The Uber-Scriptor
Advanced Member
****
User No : 375
Posts: 590
  • 0 credits
  • View Inventory
  • Send Money To Ilnair
  • Location : Netherlands, The
    The Uber-Scriptor
    • View Profile
    • WWW
    Level: 2/5 (you have to edit a few numbers in the code)

    Ok, I know baron made the best script ever for mining, but it's way to complicated, and way to expanded if you just want a simple mining script.

    In the game me and my friends are currently making we just want a "gem mine" where you just have to walk around, and if ur lucky, you'll get a gem. To do this, I got the following script. If anyone else wants to use it, good luck.

    Quote

    Case 0
    Dim Rndi
    Dim Ply
    Dim It

    Rndi = Int((500 - 1 + 1) * Rnd) + 1
    Ply = 499

    If Rndi > Ply Then
       Call PlayerMsg(index, "You just mined a gem!", 1)
       If GetPlayerInvItemNum(index, 24) = 75 Then
          Call SetPlayerInvItemValue(index, 24, GetPlayerInvItemValue(index, 24) + 1)
          Call SendInventoryUpdate(index, 24)
    Else
          Call SetPlayerInvItemNum(index, 24, 75)
          Call SetPlayerInvItemValue(index, 24, 1)
          Call SendInventoryUpdate(index, 24)
       End If
    End If


    To get it working, you first need to replace 75 by the item number you want to reward a lucky player. Also, you will need to replace 499 by the chance the player WON'T get lucky (x/500).
    After that, just place scripted tiles 0 in the area where you want the mine, and ur done!

    Good luck, I know the script isn't that good (so no use flaming me for it ^_^). If you are gonna use it, good luck.
    Logged

    Ilnair
    Uber-Scriptor

    Nishansu, beta testing. Have a look at http://www.nishansu.com
    October 25, 2007, 11:42:50 PM
    Member
    **
    User No : 4445
    Posts: 73
  • 0 credits
  • View Inventory
  • Send Money To unixfr3ak
  • Green Dixy The Source is Your End
    • View Profile
    looks to be a great script going to try it  question thoe is there a way to set it to money instead  have one for jems and one for money?
    Logged

    ---------=--Green-Dixy--=----------
    October 26, 2007, 04:29:54 PM
    Active Member
    ***
    User No : 4205
    Posts: 396
  • 0 credits
  • View Inventory
  • Send Money To the_best_flash
    • View Profile
    I don't mean to say my script is better, but...

    I have a mining script in the Scripting Database that will randomly give you an item (Can be money or anything) along with an ore while mining... And you can have as many extra items as you want with different chances, and you can set which items can be found with which ores...

    Check here.
    Logged
    January 05, 2009, 12:55:51 PM
    Newb
    *
    User No : 10072
    Posts: 14
  • 0 credits
  • View Inventory
  • Send Money To nava822
    • View Profile
    Level: 2/5 (you have to edit a few numbers in the code)

    Ok, I know baron made the best script ever for mining, but it's way to complicated, and way to expanded if you just want a simple mining script.

    In the game me and my friends are currently making we just want a "gem mine" where you just have to walk around, and if ur lucky, you'll get a gem. To do this, I got the following script. If anyone else wants to use it, good luck.



    To get it working, you first need to replace 75 by the item number you want to reward a lucky player. Also, you will need to replace 499 by the chance the player WON'T get lucky (x/500).
    After that, just place scripted tiles 0 in the area where you want the mine, and ur done!

    Good luck, I know the script isn't that good (so no use flaming me for it ^_^). If you are gonna use it, good luck.

    Well yeah it looks awsome, but I dont know were to put the code :sad:
    Logged
    January 08, 2009, 05:49:21 AM
    God's Elite of Justice
    Member
    **
    User No : 10145
    Posts: 27
  • 0 credits
  • View Inventory
  • Send Money To Guardian of Love
  • Hold on, be strong, we guardians are here around!.
    • View Profile
    Well yeah it looks awsome, but I dont know were to put the code :sad:
    So , me to, don't know :(. If you write a script for all ppl(not only advance), pls make it so, that other can "know", what is happend :), thx.
    Make a poits:(example):
    1. Open main.txt,
    2. Find in text "Bla bla bla".
    3. Replace it for that :"..........".
    4. Use it it game; write /????(or somethink else).
    You can put screen shots, for better look and understunding.
    I think we need:
    Mining(item), Ore mine(mine) and ore(item from mine).  :cool:
    I have no idea about scripts, I will just copy to my game and enjoy it :).
    « Last Edit: January 08, 2009, 05:54:02 AM by User01 » Logged

    February 27, 2009, 01:07:08 AM
    Member
    **
    User No : 4483
    Posts: 31
  • 0 credits
  • View Inventory
  • Send Money To dawj22556
  • Location : Virginia
    • View Profile
    • WWW
    It needs to go in the "Sub ScriptedTiles" section of your Main.txt.
    Logged
    June 04, 2009, 02:24:58 PM
    That crazy foxy aussie
    Advanced Eclipser
    *****
    User No : 9848
    Posts: 1460
  • 0 credits
  • View Inventory
  • Send Money To [God of Foxiness] Owen
  • Hi thar
    • View Profile
    should be obvious

    hit ctrl+f Sub ScriptedTiles.
    There. now if you dont know about cases or anything like that. PLEASE GIVE UP NOW.
    sorry.
    Logged

    Lost my sig due to incompetence
    June 05, 2009, 07:12:32 AM
    █☻█
    Administrator
    Epic Poster
    *
    User No : 440
    Posts: 8768
  • 494 credits
  • View Inventory
  • Send Money To ÅÐмiядζ ЯξƒµĢ€
  • Location : Delaware, USA
    The Admiral.
    • View Profile
    should be obvious

    hit ctrl+f Sub ScriptedTiles.
    There. now if you dont know about cases or anything like that. PLEASE GIVE UP NOW.
    sorry.
    Why should he give up if he doesn't know about cases?

    And why did you reply to a 5-month-old post =/
    Logged

    I no longer offer engine support through PMs.  If you need help, please do so by posting in the correct board, thank you.
    I also do not grant "Moderator" or "Administrator" requests; such a PM will be ignored.


    Remember that marshmallow from Ghost Busters? marsh is a Canadian version of that.

    And thus paperdoll was born! | Sub: "Destroy Game" | Evolve 4.0 -- Evolving Simulaton! | Script Index - Almost ALL of Eclipse's ScriptsOkay, if you are not open-minded, then stop reading...
    Guess what? Telekinesis, Pyrokinesis, Cryokinesis, Hydrokinesis, Electrokinesis, Psychokinesis, Telepathy, Empathy, Energy Balls, Energy Shields, Remote Viewing, and more IS POSSIBLE! If you have an open mind, and willing to TRY IT YOURSELF, then  read THIS FREE BOOK I've compiled myself!
    Hello! I am French and I have found my happiness on your software.
    July 23, 2009, 02:28:03 PM
    Active Member
    ***
    User No : 13301
    Posts: 480
  • 0 credits
  • View Inventory
  • Send Money To Ridrik
    • View Profile
    • WWW
    great script but it's kinda outdated. Oh yeah it's much like other mining scripts  XD
    Logged

    Anyways, bye everybody it was nice here...The only person I want to thank is Marsh.
     


    Powered by MySQL Powered by PHP Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
    SimplePortal 2.3.1 © 2008-2009, SimplePortal
    Valid XHTML 1.0! Valid CSS!
    Page created in 0.29 seconds with 33 queries.