Log in

I forgot my password

Who is online?
In total there are 4 users online :: 0 Registered, 0 Hidden and 4 Guests :: 2 Bots

None

[ View the whole list ]


Most users ever online was 41 on Fri Jan 10, 2014 8:18 pm
Latest topics
» Whaddup
Mon Jul 17, 2017 10:52 am by ichbinsehselber

» Who's still here? :Roll Call:
Sun Jul 16, 2017 9:36 am by Xmo5

» AWBW Discord Server
Tue Jul 04, 2017 12:59 pm by ichbinsehselber

» Map Category Descriptions
Sun Jun 25, 2017 12:54 am by WalkerBoh

» Sonja SCOP
Thu Jun 22, 2017 6:26 am by Xmo5

» Map Editor and Move Planner and User Search at ruinedshadows.com
Mon Jun 19, 2017 12:36 am by WalkerBoh

» AWBW Replay Saver
Fri Jun 16, 2017 6:33 am by ruinedshadows

» AWBW Game Replay Saver
Fri Jun 16, 2017 6:32 am by ruinedshadows

» High Funds Maps & FTA Review
Tue Jun 13, 2017 2:30 am by WalkerBoh

Top posting users this month
ichbinsehselber
 
Annapocalypse
 
Xmo5
 


I am curious to know how to set the city income

View previous topic View next topic Go down

I am curious to know how to set the city income

Post  a9977321 on Mon May 23, 2016 10:22 am

Sometimes the income can be set down to 1...... But I don't know how to do so.

a9977321
Mech
Mech

Posts Posts : 35
Funds Funds : 651
Reputation Reputation : 1
Join date : 2015-12-07
Age : 20

Back to top Go down

Re: I am curious to know how to set the city income

Post  Xmo5 on Mon May 23, 2016 6:17 pm

I believe it involves some php sorcery, but I could be wrong. Not something most people can do, but I know there are some who know the secret. It's sort of like rating maps with a 0 or a 0.5, etc.

_________________
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
avatar
Xmo5
AWBW Map Committee
AWBW Map Committee

Posts Posts : 389
Funds Funds : 1826
Reputation Reputation : 100
Join date : 2014-01-16
Age : 27
Location : Wherever I happen to be

Back to top Go down

Re: I am curious to know how to set the city income

Post  theether on Tue May 24, 2016 4:57 am

It's not too hard, actually.
All you have to do is mess with the HTML a bit.

Right click on the income field when creating a game and choose "Inspect element" (or something like it). This opens the development console in your browser.

Alternatively Firefox for example opens the console with Ctrl + Shift + K, but then you'd have to search for the correct element first.

In the HTML overview you will see something like the following:
Code:
<select name="funds">
<option value="0" selected="">0
</option><option value="500">500
</option><option value="1000" selected="">1000
</option><option value="1500">1500
</option><option value="2000">2000
</option>
...
</select>
If you only see the select element but no content, you'll have to click the small triangle on the left.

The selected="" at 1000 means that this is the currently selected option. In the developer console you should be able to edit the value field (value="1000") by double clicking it. Set it to anything you want and you will have a game with that amount of income per property.
You will only see this option in the dropdown if you also change the other "1000" in the HTML, but for game creation only the value="?" will be used.

I assume that this same trick can be used for rating maps as well, but I haven't tried it.
avatar
theether
Recon
Recon

Posts Posts : 129
Funds Funds : 1438
Reputation Reputation : 42
Join date : 2014-03-27

Back to top Go down

Re: I am curious to know how to set the city income

Post  Jackie Milton on Tue May 24, 2016 9:16 am

*gasp* the secret is out!

Yeah, I use that all the time, it helps with negative funding.

Doing such on map ratings requires a different level of sorcery....
avatar
Jackie Milton
Mech
Mech

Posts Posts : 25
Funds Funds : 804
Reputation Reputation : 6
Join date : 2015-06-18
Location : American Midwest, and no, I do NOT call it "cornhole", it's "BEANBAG TOSS". Jeesh

Back to top Go down

Re: I am curious to know how to set the city income

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum