Skip to main content

Posts

Showing posts from 2016

Integrating Pushwoosh on playrivals framework

- Drag and drop PR_PushNotificationManager script to the game object - Get Pushwoosh application code and gcm project number from google developer console - In the pushwoosh -> application -> configure, configure settings by adding google's API key and project number How to get GCM Project number and API key Open developer console and create a new project https://console.developers.google.com Enable cloud messaging from the dashboard Create API Key and Web key using 0.0.0.0/0 as ip address After everything is setup, build the game, create a test push and check histroy whether the server side has problems and you're ready to go!

Setting up perforce server on Windows and allows connections from other local machines

Download p4server.exe for windows and install it. Restart the computer after you've installed it. Since it will install as windows service, you don't have to start the service and you're now ready to connect using p4v from local machine. But there will be a problem when you're trying to connect from another service since the perforce service is running on localhost:1666 so it only accept local connection only. You need to bind to 0.0.0.0:1666 but it will be quite hard and have a risk to change default perforce config files.. What you can do is you can modify the host file in other remote machines to connect to the server computer. In windows, hosts file is located at Windows/etc/driver folder and on Mac it's located at sudo nano /etc/hosts add the following line to the host file [your server machine local ip address] perforce Now in the p4v client of the remote machines, you will be able to connect using perforce:1666 Note : Don't forget to tu