[SOLVED] [TUTORIAL] Running Cocolani Island game on Localhost

Newbie Spellweaver
Joined
Mar 8, 2025
Messages
40
Reaction score
22
Hello, I've been looking for the Cocolani Island game files for a while, and I finally did find them, however, I'm having trouble hosting the game locally on my PC.

Some general info about this game: It was developed back in 2011, it is a flash game that utilizes .SWF files. It uses SmartFoxServer to handle the multiplayer aspect of it all, and PHP files in order to access and modify its database that is to be used on MySQL. This game has great sentimental value to me, and I'd like to run it offline.

I've had trouble running the game initally: I had to download Flash Player Standalone 32, and when running the SWF file directly it spits an in-game error that says "Failed loading resources or invalid language." I eventually reached the conclusion that it wasn't able to access its own assets that reside in the same folder as the .SWF because it requires those assets to be hosted somewhere.

So I downloaded AppServ, copied everything to the www folder, and it ran perfect by inputting the localhost/cocolani/cocolani.swf link in the standalone flash player 32 program. However, when registering a new player, when it comes time to input the username, it hangs up on "Wait... checking availability of username." Also, when entering whatever username and password in the login information and pressing the login button, it immediately displays an error of "AVATAR DATA NOT AVAILABLE" Which leads me to believe this is a strictly database access issue, even though the mysql database is set up properly in the phpmyadmin thingymajig and is hosted locally on the appropriate port.

So now I'm stumped, and this is the only forum that has at least a handful of people interested in acquiring the cocolani files. Need your help yall, thanks!

Also, if you'd like the files, please DM me on this forum.
 
Last edited:
Solution
Hey all,
I uploaded my Smart Fox Emulator files to Github if anyone interested, which I think is the most complete emulator that is publicly available as of now.




I also updated and fixed some of the SWF bugs and missing SWF & XML files, also logins & registration, I really recommend using this version of the game files.

Here is the link (it also has a modified version of SFS Pro):


Regarding setting up the game this game requires an older version of XAMPP that bundles Apache and PHP.
The recommended version is XAMPP 1.x (PHP 5.x compatible) I'll be using .

You can find all XAMPP versions...
i did and i had it on /c....swf i will re rel install and try and whic his the right game files pls
The game files uploaded by Faris, refer to the solution post to get those. Really, all you have to do is follow the solution post and the github instrutions
 
Upvote 0
The game files uploaded by Faris, refer to the solution post to get those. Really, all you have to do is follow the solution post and the github instrutions
i did an am getting error can you refer which post pls so i can bypass all error

The game files uploaded by Faris, refer to the solution post to get those. Really, all you have to do is follow the solution post and the github instrutions
this is my disord: domii_dodo dm me
 
Upvote 0
any idea how to open beach? its closed by the guards ? and if i can add npc or like put guards somewhere else?
 
Upvote 0
Hello everyone,

I would like to share my important development update and bugs fixes regarding the revival and restoration of Cocolani Island / Juzur Eish Safari.

This project is not only about bringing the game back online locally, but also about restoring the original experience as much as possible, improving broken issues, fixing old client/server issues, and preparing the game to be playable again in a stable and polished way.

1. Arabic Chat Bubble Fix

One of the biggest issues was the Arabic profiles public chats worked in the chat history, but the speech bubble above the player appeared empty.

View attachment 302278
After investigation, the issue was isolated to the client-side text rendering system. The message was being received correctly by the server, but the bubble formatting was breaking the visible text.

This has now been fixed.

text now appears correctly above the player’s head, making the experience fully original (:

2. Player Status & Experience UI Localization​


Player status categories and rank labels were also localized to supports Arabic display properly. This includes translating player classifications such as visitor, explorer, resident, moderator, and other status types while keeping the English version available for English accounts.

The experience points display was also adjusted to fit Arabic text correctly, making the XP/level information appear in the proper position without overlapping or being cut off. This improves the Arabic interface and makes the player profile feel cleaner and closer to the original localized version.

3. Jungle Leisure Outlet Door opened !

The Jungle Leisure Outlet entrance was locked even though the room itself still existed and could be accessed through admin teleport.

The issue was found inside the Jungle Centre scene file. The door state was controlled by an internal variable that kept the entrance closed.

The door has now been restored and works normally again from the Jungle Centre.

4. Summer Beach Access Restored for Juzur Eish Safari version! " I Killed the guards (: "

In the Cocolani version, Summer Beach was accessible from the correct areas, but in the Juzur Eish Safari version, guards blocked the path, So I killed them! I told them لا يشدوها

5. Home System Improvements

View attachment 302279

Offline Friend House Visits :

Previously, visiting a friend’s house only worked if that friend was online. Once the friend logged out, the game behaved as if the player had no house.

This was caused by missing offline buddy variables.

The server configuration and home system were updated so house information can remain available through Buddy Variables even when the friend is offline.

Personal Home Tribe Restriction

A player should not be able to enter their own house while standing in another tribe area.

This behavior has now been restored. If the player tries to go home from the wrong tribe, the game displays the proper message.

A major issue happened when the game started loading the home before checking whether access was allowed. This caused the game to freeze at 100% loading.

The check was moved to the client side before the loading process begins, preventing the 100% loading freeze.

6. All items translated to arabic !

View attachment 302277

The item system has been upgraded to support both English and Arabic names. in all stores and inventories !

Instead of replacing English names completely, new Arabic fields were added to the database. This allows the game to display item names based on the player’s language.

Current behavior:

English accounts see English item names.
Arabic accounts see Arabic item names.
Item descriptions can also support Arabic.
The original English database values remain preserved.

This makes the system safer, cleaner, and closer to how a proper multilingual game should work.

7. Inventory Localization Fix

After translating the store items, another issue appeared: purchased items were still showing in English inside the inventory.

This was because the inventory was saving item data in English at purchase time.

The purchase and inventory handling logic was improved so Arabic accounts receive and store localized item names properly.

Now Arabic item names can appear correctly after purchase as well, not only inside the store.

8. Mini-Games names and trophies Translation to arabic

A new Arabic name field was added for mini-games and the trophies, allowing to display mini-game names based on the player’s language.

Current system design:

name_ar stores the Arabic mini-game name.
Arabic accounts display Arabic names.
English accounts display English names.

This allows the mini-game list to support both languages cleanly without damaging the original English data.

—————————————————

A fully updated game build has been saved as the new working baseline.

This is important because future fixes will be based only on the latest modified version, not on old files. This prevents older bugs from coming back and protects the fixes already completed.

The latest build includes:

- Arabic/English chat bubble fix
- Jungle Leisure door fix
- Summer Beach Safari access fix
- Offline friend home support
- Home access prevented from another tribe
- Translated items
- Profile localization improvements
- Mini-game & Trophies translated


10. Current Development Direction

The goal is to continue restoring the original game experience while improving stability and support.

Next development goals include:

1 - Completing and fixing all Arabic translations if remains to match it with the original version naming standards.

2 - Improving houses and items placing such as some wall items not being placed.

3 - Testing friend house access across tribes more.

4 - Restoring more locked or hidden areas.

5 - Cleaning and documenting the database structure.

6 - Testing and Fixing the battling system and leveling to be more and more stable and identical to original version.

7 - Preparing the game for a more stable public test environment.

Final Words :

This project has reached an exciting stage. Many broken things previously are now working again, and the game is becoming more complete.

The goal is not only to make the game run, but to bring back the feeling of the original experience with proper support!

This is only 2 hours work, More updates will be shared if I did anything more.

ولا تشدوها (:
thank you for you effort i sent you disord inv this is my discord ID: domii_dodo i did follow steps in github srver work fine but in arabic language msg's are not displayed on the bubble whether its writen in egnlish or arabic but UI work fine also beach is blocked and couldn't open it can you help me?

i followed everytinhg youhave done but in github none of that is include the gift and the inew improvments where can i find that and what game files did you use?
 
Last edited:
Upvote 0
i have good news i'm al ready fix all problem here you can try download gmaes and start
 
Upvote 0
yes bro i'm just try fix it i also buy vps and games working
Sweet, awesome to see people making their own versions now. Is it possible you could create a video or share a few screenshots of your version? We can't really trust any .exe we see on the internet

Would be nice if you could also outline what you fixed in your version!
 
Upvote 0
Sweet, awesome to see people making their own versions now. Is it possible you could create a video or share a few screenshots of your version? We can't really trust any .exe we see on the internet

Would be nice if you could also outline what you fixed in your version!
Mahmoud, do you have any way to contact Faris? I used to communicate with him on Discord, but he hasn’t opened it for a long time, around four months.
 
Upvote 0
Thank you guys , for your efforts.

I was wondering whether you are familiar with another game called Shablol (also known as Tividi, Tweegee, and Tipiz). These were all different names for the same game, with each name used for a different country or domain.

This game was also built in Flash. Some people managed to extract its files and possess them, similar to what happened with cocolani, but they refuse to release them publicly as if they were their private property.

However, they have brought the game back online and made it playable again through this website:


They also provide a simple launcher application:


Do you think it would be possible to reverse engineer this version and extract the game files as well?

It was genuinely a very fun game, much like cocolani, and it was one of the most popular online games for a period of time.

There is another game called Sanalika, which was also one of the most popular games on Facebook:


After that, a team attempted to extract it and create another version:


I don’t want to go off-topic from the current discussion, but if anyone has any information about the source code of these games, I would really appreciate it.

I have the Sanalika files and am selling them.

1789071633509 - [SOLVED] [TUTORIAL] Running Cocolani Island game on Localhost - RaGEZONE Forums
 
Upvote 0
Mahmoud, do you have any way to contact Faris? I used to communicate with him on Discord, but he hasn’t opened it for a long time, around four months.
Yeah he sort of disappeared, last time i saw him was around four months as well. Last I heard of him, he is busy with his studies. Hope he's okay.
 
Upvote 0
Users can choose to play either through the web or the desktop executable (client). Both provide the same experience, so it's not related to HTML5 in any way.
Are these the original Sanalika server files/source code, or a reverse-engineered server? What exactly is included — SFS2X extensions, database, client SWFs/XML/assets, or only the client files?

And do you have dc bro? add me on discord: yyesntt
 
Last edited:
Upvote 0
Are these the original Sanalika server files/source code, or a reverse-engineered server? What exactly is included — SFS2X extensions, database, client SWFs/XML/assets, or only the client files?

And do you have dc bro? add me on discord: yyesntt
Yes, these are the original Sanalika server files and source code. The package includes everything, including both the server-side and client-side files. Back in 2019, we obtained a large amount of data by exploiting an XSS vulnerability in the game. It contains the complete project, including the client-side and server-side components.

Discord username: hhksys_
 
Upvote 0
Back