Log in

I forgot my password

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

jobrown5vt

[ View the whole list ]


Most users ever online was 41 on Fri Jan 10, 2014 8:18 pm
Latest topics
» Tank on a mountain
Yesterday at 1:48 pm by jobrown5vt

» Global League First Time Question
Wed Sep 13, 2017 9:19 am by Xmo5

» Bug in League Game
Wed Sep 13, 2017 9:04 am by Xmo5

» GL Game Report: Everdan vs mxdcyw2000
Tue Sep 12, 2017 11:18 am by Kais93

» Bug and Glitch List
Mon Sep 11, 2017 12:42 am by WalkerBoh

» The ever iconic Bean Island - what goes wrong
Sun Sep 10, 2017 3:32 am by Master Knight DH

» Turn Review from Hellraider
Sat Sep 09, 2017 7:50 pm by WalkerBoh

» August 2017 Global League Update
Tue Aug 29, 2017 2:42 am by Best Sakuya NA

» Design Maps That Use Ghost Ports
Mon Aug 28, 2017 3:31 pm by 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 : 36
Reputation Reputation : 5
Join date : 2015-12-07
Age : 21

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 : 410
Reputation Reputation : 104
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
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
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