Cafe World Auto Add Neighbours

By Mayank Singhal Last update Sep 9, 2010 — Installed 4,060 times.

Update to fix the script.

in
Subscribe to Update to fix the script. 4 posts, 3 voices



reflax User
FirefoxWindows

This is how you can fix the script..

Right click the greasemonkey icon in bottom right corner of screen.
Select manage user scripts.
On left hand side find the script name and select it.
At the bottom left click Edit.
Open the file in notepad if it asks you.

Find the following line (it will not match 100% so find the line thats very close.
for (i =0; i < Arr.length; i++) {
Add the following line under it
var apple_pie = Arr[i].value;
Add the following line under that line
var banana_pie = apple_pie.indexOf("to");

Find the following line
if (Arr[i].className == "inputbutton request_form_submit") {
Change it to the following line
if (Arr[i].className == "inputbutton request_form_submit" && banana_pie > "-1") {

Click file -> Save. and close.
Go to the Add Neighbor tab and wait for it to start working.

-------All the changes should look like this----------
var apple_pie = Arr[i].value;
var banana_pie = apple_pie.indexOf("to");
if (Arr[i].className == "inputbutton request_form_submit" && banana_pie > "-1") {

------------------------------------------------------

This is not an official fix, but a simple one to get it working again.

 
J-Spliff User
FirefoxWindows

cant you just upload the finished script for people who are not save in doing this like that alone?

 
reflax User
FirefoxWindows

Sorry not my script, couldn't change it on the site for you guys to install, but he/she already fixed it :)

 
Boujii User
FirefoxWindows

Can anyone confirm this to still be working? It appears not for me.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel