Moderator: Tech Team
When I hit the edit button it just sends me to my hard drive to look for the file to open.
nick11 wrote:just wondering why the "last bonus" doesn't work anymore.
Nick
Angus Khan wrote:sherkaner wrote:Yeah, same issue.
Though I fixed the script locally by replacing'var str_receives = "receives";' with 'var str_receives = "received";'. 1 letter difference, and I can see the last bonusses again.
Worked for me too, too simple I guess. LOL
For everyone wondering how to do this, right mouse click on the monkey in the lower right corner of your screen,
Select "manage user scripts"
Find Conquer Club BOB in the window on the left and at the bottom, select "Edit" box
If you haven't already chosen an editor, do so now (something like wordpad or notepad will do in a pinch).
Find var str_receives = "receives" (use the search function in your editor, we're not 3rd world here) and do as the man says, change "receiveS" with "receiveD", save the file as a .js (just click on the disk icon usually does it) and voila!
Good work sir!![]()
phardos wrote:Is there a script fix to get rid of text map ?
phardos wrote:Last troop bonus script fixed on Bob.
Many thanks to:
Angus Khan
sherkaner
and
OlJock99 for driving the last nail through my thick skull.
else if( log[i].has(str_lost) )
{
if (fog)
{
playersArray[name]._calculatedCountries--;
}
}
Yokipi wrote:Finally. =D Thanks to whoever posted the fix to the Last Bonus issue.
Anyway, I was "inspired" to try and fix the negative territories issue as well.
Well, I'm a complete programming newbie, but I was looking through the code anyway and found this code segment:
- Code: Select all
else if( log[i].has(str_lost) )
{
if (fog)
{
playersArray[name]._calculatedCountries--;
}
}
I didn't understand the point of this... The word "lost" (what str_lost is set to) only appears when it shows how many points a player loses, and that really has nothing to do with territories. So why would that count as losing a territory? I believe the change of wording from "loses" to "lost" threw this off. But since "lost" isn't used anywhere else anyway, I commented "playersArray[name]._calculatedCountries--;" out. =D Seemingly works just fine for me now.
Think this is a plausible fix?
phardos wrote:Last troop bonus script fixed on Bob.
Many thanks to:
Angus Khan
sherkaner
and
OlJock99 for driving the last nail through my thick skull.
Here it is as they told me
For everyone wondering how to do this, right mouse click on the monkey in the lower right corner of your screen,
Select "manage user scripts"
Find Conquer Club BOB in the window on the left and at the bottom, select "Edit" box
If you haven't already chosen an editor, do so now (something like wordpad or notepad will do in a pinch).
Find var str_receives = "receives" (use the search function in your editor, we're not 3rd world here) and do as the man says, change "receiveS" with "receiveD", save the file as a .js (just click on the disk icon usually does it) and voila!
azezzo wrote:not to seam unappreciative, but bob has been messed up for over a week now, there have been suggested fixes posted by various people, which i believe are too complicated for me, is a new version of bob going to be released soon to remedy these bob bugs.
I have an oceana game going and i cant wait to lose because i have to turn bob off to take my turns
in my city mogul games it does not keep track of last bonuses or territories properly
i am having withdrawal symptoms from not using bob fully, and am not creating any new games until a remedy is available.
Users browsing this forum: No registered users