AppWarp not working!?!

I have imported the AppWarpUnity.dll file to my project. I have got this script with AppWarp and it gives me an error saying :
The name `WarpClient’ does not exist in the current context. The script I’ve got seems perfectly normal. Heres my script:

    string roomid = "***********"; //private
    string apiKey = "************"; //private
    string secretKey = "************"; //private

    void Start () {
        WarpClient.initialize(apiKey, secretKey);
    }

I don’t have the AppWarpUnity.dll in a my plugins folder. I have it in the Assets/AppWarp/AppWarpUnity.dll
Try that

Also I think you should also ask in the Shephertz forums:
http://forum.shephertz.com/?qa=questions/products/appwarp

Hello markzareal,

In order to access the appwrap classes, you need the add the following libraries in your script:

usingcom.shephertz.app42.gaming.multiplayer.client;
usingcom.shephertz.app42.gaming.multiplayer.client.events;
usingcom.shephertz.app42.gaming.multiplayer.client.listener;
usingcom.shephertz.app42.gaming.multiplayer.client.command;
usingcom.shephertz.app42.gaming.multiplayer.client.message;
usingcom.shephertz.app42.gaming.multiplayer.client.transformer;

This will surely solve your problem.

Thanks
Ankush Taneja

Hello @SeasiaInfotechind ,
I was trying out Appwarp SDK. I found few samples related to unity. They all are real time based. Even there is an example that has a Turn Based Real-time multiplayer example on github.

So my query is with regarding as to whether AppWrap supports “Asynchrous Turn Based” multiplayer or not?
If yes, can you point out some references where I can start out?

Thanks,

The multiplayer part of my game is turn-based as it is a board game like chess, checkers, Othello. But it isn’t async in the sense that you can’t make your move, leave the game and come back later. You have to stay online and in the game while playing (so I guess you could say it is turn-based real-time. If you do leave the game and there are still at least two players left, your turn will just be skipped and the game will continue.

That said, Shephertz and their AppWarp and App42 services are excellent with the best customer service of any service provider I have dealt with…EVER! Their services cover any aspect that any game developer could ever want. They are top-class and you will not be sorry if you use them.

The web version of my game (Unity Player) does have multi-player functionality but it is disabled so people who want to play online MP will buy the OSX or iPad versions. But sales are about 1 unit every few months so if you want to give it a try to see how the online multiplayer works I can give you a few promo codes so you and whoever will play it with you can test it. Send me a direct message, tell me if you want OSX or iPad versions, how many, and I’ll email the codes to you. (It can handle 2 to 4 players in one game.)

Also if you want turn-based async, AppWarp may be overkill, as you really only need message passing and push notification (That’s all that is really needed for my game too, but this service wasn’t ready when I coded my game.) So look at they App42 service instead of the AppWarp service:

Look at User, Storage, Push Notification, Message services:
http://api.shephertz.com/app42-dev/unity3d-backend-apis.php
http://api.shephertz.com/app42-dev/ebook-turn-based-games.php