• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (GUI)
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages
    • Diff for "Market"
    Differences between revisions 8 and 9
    Revision 8 as of 2012-11-07 18:16:40
    Size: 19793
    Editor: Kento11
    Comment:
    Revision 9 as of 2012-11-07 18:21:52
    Size: 23005
    Editor: Kento11
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 119: Line 119:
    Description goes here.

    == sellPrice(food) ==
    ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start; " tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">city.sellPrice(food) ||
    ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">city.sellPrice(food) ||

    Line 154: Line 147:

    5: goto start


    == sellPrice(0) ==
    ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start; " tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">city.sellPrice(0) ||
    ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">city.sellPrice(0) ||



    Refers to the current price of food.

    Script

    echo "food is offered at"city.sellPrice(2)

    Output

    19:03:29 food is offered at 15.62


    Example of usage


    label start


    1: ifgoto city.sellPrice(2) >= 1 buyfood


    2: sleep 50

    3: loop start


    label buyfood

    4: buy food 1000 1

    5: goto start


    == sellPrice(1) ==
    ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start; " tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">city.sellPrice(1) ||
    ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">city.sellPrice(1) ||


    Refers to the current price of wood.

    Script

    echo "wood is offered at"city.sellPrice(2)

    Output

    19:03:29 wood is offered at 15.62


    Example of usage


    label start


    1: ifgoto city.sellPrice(2) >= 1 buywood


    2: sleep 50

    3: loop start


    label buywood

    4: buy wood 1000 1

    5: goto start

    == sellPrice(2) ==
    ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start; " tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">city.sellPrice(2) ||
    ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">city.sellPrice(2) ||


    Refers to the current price of stone.

    Script

    echo "stone is offered at"city.sellPrice(2)

    Output

    19:03:29 stone is offered at 15.62


    Example of usage


    label start


    1: ifgoto city.sellPrice(2) >= 1 buystone


    2: sleep 50

    3: loop start


    label buystone

    4: buy stone 1000 1

    5: goto start

    == sellPrice(3) ==
    ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start; " tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">city.sellPrice(3) ||
    ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">city.sellPrice(3) ||


    Refers to the current price of iron.

    Script

    echo "iron is offered at"city.sellPrice(2)

    Output

    19:03:29 iron is offered at 15.62


    Example of usage


    label start


    1: ifgoto city.sellPrice(2) >= 1 buyiron


    2: sleep 50

    3: loop start


    label buyiron

    4: buy iron 1000 1

    

    buyPrice(0)

    Usage:

    city.buyPrice(0)

    Example:

    city.buyPrice(0)

    Refers to the current price of food.

    Script

    echo "food costs"city.buyPrice(2)

    Output

    19:03:29 food costs 15.62

    Example of usage

    label start

    1: ifgoto city.buyPrice(2) >= 1 sellfood

    2: sleep 50

    3: loop start

    label sellfood

    4: sell food 1000 1

    5: goto start

    buyPrice(1)

    Usage:

    city.buyPrice(1)

    Example:

    city.buyPrice(1)

    Refers to the current price of wood.

    Script

    echo "wood costs"city.buyPrice(2)

    Output

    19:03:29 wood costs 15.62

    Example of usage

    label start

    1: ifgoto city.buyPrice(2) >= 1 sellwood

    2: sleep 50

    3: loop start

    label sellwood

    4: sell wood 1000 1

    5: goto start

    buyPrice(2)

    Usage:

    city.buyPrice(2)

    Example:

    city.buyPrice(2)

    Refers to the current price of stone.

    Script

    echo "stone costs"city.buyPrice(2)

    Output

    19:03:29 stone costs 15.62

    Example of usage

    label start

    1: ifgoto city.buyPrice(2) >= 1 sellstone

    2: sleep 50

    3: loop start

    label sellstone

    4: sell stone 1000 1

    5: goto start

    buyPrice(3)

    Usage:

    city.buyPrice(3)

    Example:

    city.buyPrice(3)

    Refers to the current price of iron.

    Script

    echo "iron costs"city.buyPrice(2)

    Output

    19:03:29 iron costs 15.62

    Example of usage

    label start

    1: ifgoto city.buyPrice(2) >= 1 selliron

    2: sleep 50

    3: loop start

    label selliron

    4: sell iron 1000 1

    5: goto start

    sellPrice(0)

    Usage:

    city.sellPrice(0)

    Example:

    city.sellPrice(0)

    Refers to the current price of food.

    Script

    echo "food is offered at"city.sellPrice(2)

    Output

    19:03:29 food is offered at 15.62

    Example of usage

    label start

    1: ifgoto city.sellPrice(2) >= 1 buyfood

    2: sleep 50

    3: loop start

    label buyfood

    4: buy food 1000 1

    5: goto start

    sellPrice(1)

    Usage:

    city.sellPrice(1)

    Example:

    city.sellPrice(1)

    Refers to the current price of wood.

    Script

    echo "wood is offered at"city.sellPrice(2)

    Output

    19:03:29 wood is offered at 15.62

    Example of usage

    label start

    1: ifgoto city.sellPrice(2) >= 1 buywood

    2: sleep 50

    3: loop start

    label buywood

    4: buy wood 1000 1

    5: goto start

    sellPrice(2)

    Usage:

    city.sellPrice(2)

    Example:

    city.sellPrice(2)

    Refers to the current price of stone.

    Script

    echo "stone is offered at"city.sellPrice(2)

    Output

    19:03:29 stone is offered at 15.62

    Example of usage

    label start

    1: ifgoto city.sellPrice(2) >= 1 buystone

    2: sleep 50

    3: loop start

    label buystone

    4: buy stone 1000 1

    5: goto start

    sellPrice(3)

    Usage:

    city.sellPrice(3)

    Example:

    city.sellPrice(3)

    Refers to the current price of iron.

    Script

    echo "iron is offered at"city.sellPrice(2)

    Output

    19:03:29 iron is offered at 15.62

    Example of usage

    label start

    1: ifgoto city.sellPrice(2) >= 1 buyiron

    2: sleep 50

    3: loop start

    label buyiron

    4: buy iron 1000 1

    5: goto start

    tradesArray.length

    Usage:

    city.tradesArray.length

    Example:

    city.tradesArray.length

    Description goes here.

    tradesArray[0].amount

    Usage:

    city.tradesArray[0].amount

    Example:

    city.tradesArray[0].amount

    Description goes here.

    tradesArray[1].amount

    Usage:

    city.tradesArray[1].amount

    Example:

    city.tradesArray[1].amount

    Description goes here.

    tradesArray[2].amount

    Usage:

    city.tradesArray[2].amount

    Example:

    city.tradesArray[2].amount

    Description goes here.

    tradesArray[6].amount

    Usage:

    city.tradesArray[6].amount

    Example:

    city.tradesArray[6].amount

    Description goes here.

    tradesArray[0].resType

    Usage:

    city.tradesArray[0].resType

    Example:

    city.tradesArray[0].resType

    Description goes here.

    tradesArray[0].tradeType

    Usage:

    city.tradesArray[0].tradeType

    Example:

    city.tradesArray[0].tradeType

    Description goes here.

    tradesArray[0].resourceName

    Usage:

    city.tradesArray[0].resourceName

    Example:

    city.tradesArray[0].resourceName

    Description goes here.

    tradesArray[0].price

    Usage:

    city.tradesArray[0].price

    Example:

    city.tradesArray[0].price

    Description goes here.

    tradesArray[0].id

    Usage:

    city.tradesArray[0].id

    Example:

    city.tradesArray[0].id

    Description goes here.

    tradesArray[0].tradeTypeName

    Usage:

    city.tradesArray[0].tradeTypeName

    Example:

    city.tradesArray[0].tradeTypeName

    Description goes here.

    tradesArray[0].dealedAmount

    Usage:

    city.tradesArray[0].dealedAmount

    Example:

    city.tradesArray[0].dealedAmount

    Description goes here.

    tradesArray[0].dealedTotal

    Usage:

    city.tradesArray[0].dealedTotal

    Example:

    city.tradesArray[0].dealedTotal

    Description goes here.

    transingTradesArray.length

    Usage:

    city.transingTradesArray.length

    Example:

    city.transingTradesArray.length

    Description goes here.

    transingTradesArray[0].amount

    Usage:

    city.transingTradesArray[0].amount

    Example:

    city.transingTradesArray[0].amount

    Description goes here.

    transingTradesArray[0].endTime

    Usage:

    city.transingTradesArray[0].endTime

    Example:

    city.transingTradesArray[0].endTime

    Description goes here.

    transingTradesArray[0].resourceName

    Usage:

    city.transingTradesArray[0].resourceName

    Example:

    city.transingTradesArray[0].resourceName

    Description goes here.

    transingTradesArray[0].price

    Usage:

    city.transingTradesArray[0].price

    Example:

    city.transingTradesArray[0].price

    Description goes here.

    transingTradesArray[0].total

    Usage:

    city.transingTradesArray[0].total

    Example:

    city.transingTradesArray[0].total

    Description goes here.

    transingTradesArray[0].id

    Usage:

    city.transingTradesArray[0].id

    Example:

    city.transingTradesArray[0].id

    Description goes here.

    transingTradesArray[0].resType

    Usage:

    city.transingTradesArray[0].resType

    Example:

    city.transingTradesArray[0].resType

    Description goes here.

    m_context.sellPrice(0)

    m_context.buyPrice(0)

    m_context.sellPrice(1)

    m_context.buyPrice(1)

    m_context.sellPrice(2)

    m_context.buyPrice(2)

    m_context.sellPrice(3)

    m_context.buyPrice(3)



    ScriptObjects

    Market (last edited 2014-02-10 18:41:43 by Inanna)