Eclipse - Free 2D Mmorpg Maker
September 02, 2010, 10:22:04 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 314piwm
[Today at 10:21:04 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: Job scripts  (Read 3296 times)
0 Members and 1 Guest are viewing this topic.
May 23, 2006, 06:32:33 PM
Active Member
***
User No : 811
Posts: 234
  • 0 credits
  • View Inventory
  • Send Money To fireblade
    • View Profile
    I need a script that u can like do everyday and every 24 hours u get paid

    im not suire of what jobs to put down, but maybe like
    Logged
    May 23, 2006, 07:32:05 PM
    Active Member
    ***
    User No : 303
    Posts: 181
  • 0 credits
  • View Inventory
  • Send Money To whiteknight
  • Location : Brazil - BR - São Paulo - SP
    • View Profile
    Quote from: fireblade
    I need a script that u can like do everyday and every 24 hours u get paid

    im not suire of what jobs to put down, but maybe like

    make a timer to tick every:
    86400000 milliseconds
    Formula:
    ((((1000mil*1sec)*60sec)*60min)*24h)
    and in it you create a loop to read the ppl's name and pay amount in a ini file...ex.:
    Create Timer(0, 86400000, payppl(index))
    obs.: that is NOT the timer command I just cant remember, plus I dont know if you can leave the index 0 to create a global timer)

    then:
    sub payppl(index)
    dim maxppl
    maxppl = GetVar("jobpayouts.ini", "GENERAL", "PayOut")
    dim count
    count = 0
    dim payout
    dim player
    do while count < maxppl
    player = GetVar("jobpayouts.ini", "PLAYER" & count, "PlayerName")
    payout = GetVar("jobpayouts.ini", "PLAYER" & count, "PayOut")
    'Then here you have to make the "engine" to give the player the money I was gonna use the "call Give_Currency" but then the player needs to be logged on...

    I hope I helped..

    ORRR
    insted of the timer I THINK you can do:
    Select Case Time
    Case "And case number for day!"
    'then the loop I made!!

    cya!
    Logged

    WhiteKnight
     


    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.212 seconds with 29 queries.