Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - casual onion

Pages: [1] 2 3 ... 9
1
Total Miner Discussion / [Game] Six Years of Total Miner!
« on: June 24, 2017, 06:45:02 PM »
Hello,

Today is the sixth year anniversary of TM being released. Without it, I would need never have discovered the joys of sandstone and sand brick.

Um, share your memories here!

2
Creative Features / [Help Needed] Broken Job Script :(
« on: November 27, 2016, 01:00:17 PM »
Heller.

I have a lovely job script on my map but the script that sells the items you make and teleports you out of the factory is broken. Completely broken.

So, here's a brief description of how jobs work. 1) You get a job 2) You get materials to make selected products 3) You enter code to get in factory 4) You make the items (workbenches etc.) 5) You press a button to leave factory area and it sell what you've made. You get more if there's less than 10 of an item. 6) You collect a paycheck.

The issue lies with 5). You see, it adds the stock you've made to a stocklist so that those items can be bought at a shop. Supply and demand in a way. What's been happening is it's selling 10,000 workbenches even if you have only 100 etc. but the workbench script lines are same as the other products so what's wrong? The script is long a repetitive as it sells multiple products but here's an extract.

Code: [Select]
If
HasInventory [player] [Item1] [true]
HasHistory [JG\Stock\Item1] [<] [10]
Then
Inventory [player] [x,y,z] [move] [item1] [1]
History [JG\Stock\Item1] [+1]
History [Job\JG\Earnt] [+100]
History [Job\JG\Paycheck] [player] [+100]
loop
ElseIf
HasInventory [player] [Item1] [true]
Then
Inventory [player] [x,y,z] [move] [item1] [1]
History [JG\Stock\Item1] [+1]
History [Job\JG\Earnt] [+75]
History [Job\JG\Paycheck] [player] [+75]
loop

ElseIf
HasInventory [player] [Item2] [true]
HasHistory [JG\Stock\Item2] [<] [10]
Then
Inventory [player] [x,y,z] [move] [item2] [1]
History [JG\Stock\Item2] [+1]
History [Job\JG\Earnt] [+250]
History [JG\JG\Paycheck] [player] [+250]
loop
ElseIf
HasInventory [player] [Item2] [true]
Then
Inventory [player] [x,y,z] [move] [item2] [1]
History [JG\Stock\Item2] [+1]
History [Job\JG\Earnt] [+187]
History [Job\JG\Paycheck] [player] [+187]
loop
(Carries on through items)
ElseIf
HasInventory [player] [coal] [true]
Then
Inventory [player] [clear] [coal]
loop
ElseIf
HasHistory [Job\JG\Paycheck] [player] [false]
Then
Teleport [player] [x,y,z]
Notify [No Paycheck] [local]
Else
Teleport [player] [x,y,z]
Notify [You Have [history:Job\JG\Paycheck] Aires to collect] [local]

That should be right. The "History [Job\JG\Earnt] [+187]" lines are so I can check how much people have earnt for research purposes. If you can see anything wrong with the script then let me know. My connection is famously bad so it may be that. I really don't want to start a new map because of this issue.

Thanks.

3
Creative Features / [Scripts] Casual's Script Help | Properties
« on: November 12, 2016, 03:53:58 PM »
Howdy, as requested by ShiFt Shandy, here is how I do my property scripts. Now I add a lot of pointless history markers in my property scripts so for this guide i'll exclude them. As usual, i'll have optional parts in green.

Village\Street Name\Number\Confirm

If
HasInventory [player] [goldpieces] [<] [Amount]
Then
MessageBox [Sorry, this property is X Goldpieces.] [a=[Withdraw from bank?][Bank withdraw script]
Else
Message Box [Purchase Number, Street Name for X goldpieces?] [a=[Yes][Village\Street Name\Number\Purchase]]

Village\Street Name\Number\Purchase

If
HasInventory [player] [goldpieces] [<] [Amount]
Then
MessageBox [Sorry, this property is X Goldpieces.] [a=[Withdraw from bank?][Bank withdraw script]
Else
Inventory [player] [take] [goldpieces] [amount]
Set Block [x,y,z] [Sign] [Orientation - See player change log]
Set Text [x,y,z] [[gamertag]]
Notify [[gamertag bought a house!] [global]
Zone [Village\Street Name\Number] [builder=player]

Let me know if you have any issues or any suggestions. If you want to be sure to share your property scripts as a response. Also, would you like to see these in one topic, rather than linking them below?

Other guides in this series;

Mixed Block Mine: http://totalminerforums.net/index.php?topic=16308.msg170643#msg170643
Lottery: http://totalminerforums.net/index.php?topic=16308.msg170643#msg170643

Thanks for reading and let me know if you'd like to see more!

4
Questions and Answers / So, what's happening here?
« on: September 20, 2016, 05:20:02 AM »

5
Questions and Answers / How do I get upside corner ramps to connect?
« on: September 10, 2016, 03:27:10 PM »
I know they are automatic but my ramps usually refuse to connect. Do they need to be at a certain angle?

6
Bug Reports [Retail] / Potato & Corn Seeds not recognised
« on: September 08, 2016, 09:03:22 PM »
Tried making a script to buy these items and on Test Script it says item not found. Typing it in as is in item shop.

Irrelevant for 360 but annoying nonetheless.

7
Bug Reports [Retail] / Blue screen
« on: August 30, 2016, 09:18:11 PM »
Howdy.

I was on someone else's map and a accidently pressed a random sequence of buttons (Right side of controller) and got said bluescreen.



Though, may not be relevant but I was filling in grass that I'd previously Cleared and the same pattern of clearing kept appearing. Leaving and joining back has fixed it.

8
Questions and Answers / Zone & rank script issues.
« on: August 25, 2016, 07:01:26 PM »
Howdy. I have two issues.

1) Ranks are being removed from players, seemingly automatically. History marks are not appearing and ranks are being reset. I'm being as descriptive as I can but this is all I know. Here is the Rank script I use.



Any ideas why these issues are occurring?

2. This is the main issue. It doesn't cause huge distribution but it's still a problem. Everytime someone purchases a property in my map, the script ignores the zone command and creates a temporary zone. It has done it for me two. The zone has full permissions but the players cannot edit within the zone.

Here is my property script. The zone command is the last line. I have removed the command and redone it incase it has changed in the last update.



If you could help debug these issues or any others or maybe even simplify the scripts then I would greatly appreciate it. Also I'm not good at explaining things so I hope you understand.

9
Ideas / Cladding / Clad Block
« on: August 20, 2016, 10:39:56 AM »
Howdy. This idea would be a nice addition to the game (hopefully before Pc!)

The block would be textureable or use new designs such as decal applicator though the former, i would think is quicker to add.

Why add it though? Well it would give another layer to buildings (heck this could be part of builders delight maybe, unless it already is!)

Here are some types of cladding that could be done.



The blue cladding could be recreated similarly with Fence texture.



The hung tiles (Red - Upper floor) could be done using Terracotta tile texture.



These mock Tudor beams could be done using black texture.

The block would be the same size and shape of the stack block but done in a way that a painting could.

Why not use paintings you say? Well a) You need to build the design b) Then take a photo of it c) Place it on a building. Way too much hassle I think.

Hope you consider my idea because I can't tell you how much this would be useful :)

- Casual onion ring

10
Bug Reports [Retail] / Possible issue with save and exit
« on: August 14, 2016, 10:17:41 AM »
Howdy.

When creating several scripts in a go (ie copying to new script and editing as required), then selecting save and exit, it returns you to the scripts menu, discarding other scripts except when pressing b.

Surely it should load the previously created script before returning to the menu if applicable.

Thanks.

11
Bug Reports [Retail] / Bluescreen whilst AFK
« on: July 31, 2016, 09:02:41 AM »
Howdy. I loaded up my map on public with only me and 3 private slots. I then left the game loading and went onto the xbox guide menu and went afk to do something. Aroundan hour later, I came back and had this bluescreen. I hadn't touch my controller once.

Hope this helps.


12
Ideas / Select Value script
« on: July 20, 2016, 10:48:12 AM »
It's a far cry but he's an idea for a script. It's purpose will be to allow the player to input a numerical value. Some applications for this could include selecting prices for products and such. It would likely involve having the ability to edit lines in scripts which may be complicated though you may be able to come up with better suggestions!

It might even be possible to use it in conjunction with the new calculate scripts and if it's not possible already, it could be used to edit shop prices through scripts.

Let me know your thoughts if applicable and ta rah.

13
Creative Features / Can you assist with a rental script?
« on: July 20, 2016, 10:43:10 AM »
Howdy. I'd like to make a script where A) Players can rent out their properties (I'd choose the prices though if the script would allow them to choose then that'd be cool) and or b) I could preselect properties that would be rented out.

All money would go into a chest for either me or the property owner. Thanks in advance and good luck :)

14
Creative Features / Casual's Script Help | Ranks
« on: July 17, 2016, 02:21:02 PM »
Here's how to make a simple rank script, if your having multiple ranks.

As usual, all optional commands are in green.

Script Name: Rank\1

If
Has History [Rank\1] [player] [true]
Then
MessageBox [You already have this rank. Do you want the next rank?] [a=[Buy Rank Two for 500 GP?][Rank\2]
Elseif
HasInventory [player] [goldpieces] [>=] [100]
Then
Inventory [player] [take] [goldpieces] [100]
Inventory [player] [add] [woodpickaxe] [100]
History [Rank\1] [player] [1]
History [Rank\Bought] [player] [+1]

Notify [[gamertag] is now Rank One!] [global]
Else
MessageBox [Insufficient Funds.]

Code: [Select]
If
Has History [Rank\1] [player] [true]
Then
MessageBox [You already have this rank. Do you want the next rank?] [a=[Buy Rank Two for 500 GP?][Rank\2]
Elseif
HasInventory [player] [goldpieces] [>=] [100]
Then
Inventory [player] [take] [goldpieces] [100]
Inventory [player] [add] [woodpickaxe] [100]
History [Rank\1] [player] [1]
History [Rank\Bought] [player] [+1]
Notify [[gamertag] is now Rank One!] [global]
Else
MessageBox [Insufficient Funds.]

Script Name: Rank\Two

If
Has History [Rank\1] [player] [false]
Then
MessageBox [You need the previous rank.] [a=[Buy Rank One for 100 GP?][Rank\1]
Elseif
Has History [Rank\2] [player] [true]
Then
MessageBox [You already have this rank. Do you want the next rank?] [a=[Buy Rank Two for 500 GP?][Rank\2]
Elseif
HasInventory [player] [goldpieces] [>=] [100]
Then
Inventory [player] [take] [goldpieces] [100]
Inventory [player] [add] [woodpickaxe] [100]
History [Rank\2] [player] [1]
History [Rank\Bought] [player] [+1]

Notify [[gamertag] is now Rank One!] [global]
Else
MessageBox [Insufficient Funds.]

Code: [Select]
If
Has History [Rank\1] [player] [false]
Then
MessageBox [You need the previous rank.] [a=[Buy Rank One for 100 GP?][Rank\1]
Elseif
Has History [Rank\2] [player] [true]
Then
MessageBox [You already have this rank. Do you want the next rank?] [a=[Buy Rank Two for 500 GP?][Rank\2]
Elseif
HasInventory [player] [goldpieces] [>=] [100]
Then
Inventory [player] [take] [goldpieces] [100]
Inventory [player] [add] [woodpickaxe] [100]
History [Rank\2] [player] [1]
History [Rank\Bought] [player] [+1]
Notify [[gamertag] is now Rank One!] [global]
Else
MessageBox [Insufficient Funds.]

Then just copy the script for Rank 2 for as many ranks as you need, just changing the rank numbers.

Other guides in this series;

Mixed Block Mine: http://totalminerforums.net/index.php?topic=16308.msg170643#msg170643
Lottery: http://totalminerforums.net/index.php?topic=16308.msg170643#msg170643

Thanks for reading and let me know if you'd like to see more!

15
Total Miner Discussion / Admin Question.
« on: July 17, 2016, 05:18:10 AM »
Howdy folks. So, I used to have an admin on my map but unfortunately that could no longer be the case. As they left the game abruptly, i couldn't remove their permission and I'm worried they can come on whilst I'm afk for example and destroy the map. So I was wondering if I copied the map would they keep their admin permission, would I keep my player statistics and would the game Statistics?

Thanks.

Ps This may be in wrong section - sorry.

Pages: [1] 2 3 ... 9