<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Shephertz Community - Recent questions in Corona</title>
<link>http://forum.shephertz.com/?qa=questions/products/appwarp/corona</link>
<description>Powered by Question2Answer</description>
<item>
<title>Pls help with the implementation</title>
<link>http://forum.shephertz.com/?qa=11269/pls-help-with-the-implementation</link>
<description>&lt;div&gt;
	Hello!&lt;/div&gt;
&lt;div&gt;
	Could you help with the question. I create an online game and want to choose a online service.&lt;/div&gt;
&lt;div&gt;
	Can I implement in AppWarp the following algorithm:&lt;/div&gt;
&lt;div&gt;
	&lt;div&gt;
		There are:&lt;/div&gt;
	&lt;div&gt;
		1) When start the application, permanent table creates with the characteristics of the character&lt;/div&gt;
	&lt;div&gt;
		2) In a certain scene, the player clicks on the &quot;find an opponent&quot;&lt;/div&gt;
	&lt;div&gt;
		3) Creates search &quot;to find an opponent&quot; by certain criteria&lt;/div&gt;
	&lt;div&gt;
		4) The battle begins.&lt;/div&gt;
	&lt;div&gt;
		5) Each player has his own ui module with buttons&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		Example scenario: the battle begins, the timer starts for each player. Player one pressed button A, another player pressed button B.&lt;/div&gt;
	&lt;div&gt;
		7) the following module takes values ​​that were used by both players (for example: the character pressing the button A, inflicted damage and robbing the health of another player) and sends them to the server&lt;/div&gt;
	&lt;div&gt;
		8) Continues until the health of one of the players terminates&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		Is it possible to implement this with Appwarp?&lt;/div&gt;
	&lt;div&gt;
		And if you do not complicate from what should you start from the beginning?&lt;/div&gt;
	&lt;div&gt;
		Thank you&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		Claus W.&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Corona</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11269/pls-help-with-the-implementation</guid>
<pubDate>Tue, 14 Aug 2018 21:13:37 +0000</pubDate>
</item>
<item>
<title>How to create room using code? - Corona SDK</title>
<link>http://forum.shephertz.com/?qa=11252/how-to-create-room-using-code-corona-sdk</link>
<description>Im new here. I am having a challenge how to create a room using the corona code. All the sample codes have pre-created rooms on the console  (appHQ). Can you please show me a sample project that will create a room using code which will return room id and name. Thanks!</description>
<category>Corona</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11252/how-to-create-room-using-code-corona-sdk</guid>
<pubDate>Sat, 04 Aug 2018 04:56:05 +0000</pubDate>
</item>
<item>
<title>Making a live multiplayer game with Corona</title>
<link>http://forum.shephertz.com/?qa=11163/making-a-live-multiplayer-game-with-corona</link>
<description>Hey forums,

I feel like this gets asked quite a lot, but I am also finding that with related questions to mine, I'm not finding the answer I need exactly.

essentially, the color move tutorial is the closest app regarding what I want to accomplish...

However, I don't want all the colored squares to be generated client side, I want for a user to be able to join and subscribe to a room and then have their character to be spawned/ created, however I am not entirely sure what the best means of accomplishing this would be and I haven't found a great ordeal of success with implementing APIs related to Corona.

Thanks,

Jarrad T.</description>
<category>Corona</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11163/making-a-live-multiplayer-game-with-corona</guid>
<pubDate>Sat, 16 Jun 2018 02:54:35 +0000</pubDate>
</item>
<item>
<title>APPWARP- Connection with username always returns AUTH_ERROR!!</title>
<link>http://forum.shephertz.com/?qa=10825/appwarp-connection-with-username-always-returns-auth_error</link>
<description>&lt;p&gt;
	Hi, I am not able to connect to appWarp. This is what i am doing :&lt;/p&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;
appWarpClient.initialize(API_KEY,SECRET_KEY)
local function gameLoop(event)  
    appWarpClient.Loop()  
end  
Runtime:addEventListener(&quot;enterFrame&quot;, gameLoop)
appWarpClient.setRecoveryAllowance(60)

appWarpClient.connectWithUserName(&quot;username&quot;)&lt;/pre&gt;
&lt;p&gt;
	And every time i get the same response with &quot;result code: 1&quot; and the message &quot;Incorrect Signature&quot; :&lt;/p&gt;
&lt;p&gt;
	&lt;img alt=&quot;&quot; src=&quot;http://forum.shephertz.com/?qa=blob&amp;amp;qa_blobid=12948186233426014115&quot; style=&quot;width: 546px; height: 469px;&quot;&gt;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Corona</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10825/appwarp-connection-with-username-always-returns-auth_error</guid>
<pubDate>Thu, 23 Nov 2017 13:47:31 +0000</pubDate>
</item>
<item>
<title>How to make a real-time multiplayer mobile game with Corona SDK/Lua?</title>
<link>http://forum.shephertz.com/?qa=10765/how-make-real-time-multiplayer-mobile-game-with-corona-sdk-lua</link>
<description>&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif; font-size: 15px; line-height: 1.5rem; border: none; color: rgb(49, 57, 68); margin-bottom: 10px !important; background: none !important; box-shadow: none !important;&quot;&gt;
	Hi,&lt;/p&gt;
&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif; font-size: 15px; line-height: 1.5rem; border: none; color: rgb(49, 57, 68); margin-bottom: 10px !important; background: none !important; box-shadow: none !important;&quot;&gt;
	I am new to AppWarp and I am interested in real-time multiplayer games. I was looking at the&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;http://appwarp.shephertz.com/game-development-center/corona-game-developers-home/&quot; style=&quot;color: rgb(255, 109, 32); text-decoration-line: none; font-family: ApexNew_Med; outline: none !important;&quot; target=&quot;_blank&quot;&gt;​&lt;/a&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://appwarp.shephertz.com/game-development-center/corona-game-developers-home/&quot;&gt;Color Move Tutorial&lt;/a&gt;&amp;nbsp;which seems like exactly what I need for my game.&lt;/p&gt;
&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif; font-size: 15px; line-height: 1.5rem; border: none; color: rgb(49, 57, 68); margin-bottom: 10px !important; background: none !important; box-shadow: none !important;&quot;&gt;
	&lt;span style=&quot;background-color: initial;&quot;&gt;Background: The game I want to make is a 2d real-time multiplayer mobile racing game (4 players racing) and there will be objects coming in and out of the scene at random that the racers have to dodge. (Think of &lt;a rel=&quot;nofollow&quot; href=&quot;http://www.dirtybit.com/funrun/&quot;&gt;Fun Run&lt;/a&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif; font-size: 15px; line-height: 1.5rem; border: none; color: rgb(49, 57, 68); margin-bottom: 10px !important; background: none !important; box-shadow: none !important;&quot;&gt;
	&lt;span style=&quot;background-color: initial;&quot;&gt;My goal is to learn how to setup a matchmaking room and how to update each player's location on the other 3 players' devices (iOS/Android) while syncing the obstacles that are coming in at random times moving from right to left (see screenshot). I feel like the Color Move tutorial is a good place to start, &lt;a rel=&quot;nofollow&quot; href=&quot;http://appwarp.shephertz.com/game-development-center/corona-color-move-walkthrough/&quot;&gt;the code walk-through&lt;/a&gt;&amp;nbsp;&lt;/span&gt;seems pretty straightforward (how to&amp;nbsp;&lt;span style=&quot;background-color: initial;&quot;&gt;update the player's coordinates).&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif; font-size: 15px; line-height: 1.5rem; border: none; color: rgb(49, 57, 68); margin-bottom: 10px !important; background: none !important; box-shadow: none !important;&quot;&gt;
	My question is, what other things would I also need to consider for my real-time multiplayer game?&lt;br&gt;
	Are there any links to documentation that I would need to learn/review that would be helpful.&lt;br&gt;
	Would I need to do any cloud/server side scripting?&lt;br&gt;
	Handle authentication/security?&lt;br&gt;
	Write any custom game server?&lt;/p&gt;
&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif; font-size: 15px; line-height: 1.5rem; border: none; color: rgb(49, 57, 68); margin-bottom: 10px !important; background: none !important; box-shadow: none !important;&quot;&gt;
	I would like to use matchmaking and real-time and the players will be able to customize their character and have an inventory of player items.&lt;/p&gt;
&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif; font-size: 15px; line-height: 1.5rem; border: none; color: rgb(49, 57, 68); margin-bottom: 10px !important; background: none !important; box-shadow: none !important;&quot;&gt;
	I did do some research but just need some clarification with all this.&lt;br&gt;
	&lt;span style=&quot;background-color: initial;&quot;&gt;Thanks in advance! Sorry for the newbie question.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: initial;&quot;&gt;Cheers!&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif; font-size: 15px; line-height: 1.5rem; border: none; color: rgb(49, 57, 68); margin-bottom: 10px !important; background: none !important; box-shadow: none !important;&quot;&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Corona</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10765/how-make-real-time-multiplayer-mobile-game-with-corona-sdk-lua</guid>
<pubDate>Tue, 19 Sep 2017 04:03:11 +0000</pubDate>
</item>
<item>
<title>failing to connect room</title>
<link>http://forum.shephertz.com/?qa=10617/failing-to-connect-room</link>
<description>&lt;p&gt;
	&lt;span style=&quot;color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 14px;&quot;&gt;Hi, I have exact code as of tutorials available on appwrap for making a game like tic tac toe. I have apk key and secret key from ShepHertz developer dashboard AppHq. As well as I have created room as shown in the tutorial attached to this.But my simulators aren't connecting to this room and displaying failed message. What should I do?&lt;/span&gt;&lt;/p&gt;</description>
<category>Corona</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10617/failing-to-connect-room</guid>
<pubDate>Thu, 06 Jul 2017 17:17:59 +0000</pubDate>
</item>
<item>
<title>failing to connect room</title>
<link>http://forum.shephertz.com/?qa=10616/failing-to-connect-room</link>
<description>&lt;p&gt;
	&lt;span style=&quot;color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 14px;&quot;&gt;Hi, I have exact code as of you.(Just downloaded and unzipped.) I have apk key and secret key from ShepHertz developer dashboard AppHq. As well as I have created room as shown in the tutorial attached to this.But my simulators aren't connecting to this room and displaying failed message. What should I do?&lt;/span&gt;&lt;/p&gt;</description>
<category>Corona</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10616/failing-to-connect-room</guid>
<pubDate>Thu, 06 Jul 2017 17:17:53 +0000</pubDate>
</item>
<item>
<title>How to pass a table with various values in it to other player in corona using Appwarp?</title>
<link>http://forum.shephertz.com/?qa=9936/table-with-various-values-other-player-corona-using-appwarp</link>
<description>Hello there,

 

 I am trying to create a memory match game using corona and Appwarp.

I have created a turn room and already did some part. Now i am facing some issues like,

1: How to send the initial setup of card sequences so both players have same sequence of cards on screen for memory match check.

2: How to send data from player 1 to player 2 without changing the turn of the players, this is required as suppose you did a match which needs to be reflected on the other player device too but  player 1 will keep playng unless he did a no match turn.

Thanks in Advance</description>
<category>Corona</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9936/table-with-various-values-other-player-corona-using-appwarp</guid>
<pubDate>Tue, 06 Dec 2016 14:39:53 +0000</pubDate>
</item>
<item>
<title>Appwarp and App42API both initialize not working together.</title>
<link>http://forum.shephertz.com/?qa=9835/appwarp-and-app42api-both-initialize-not-working-together</link>
<description>Here is my code.

Both Initialize not working together.

 

-- Replace these with the values from AppHQ dashboard of your AppWarp app
API_KEY = &quot;239f9fb15358ff17696a96738b303a04a0620488964cc99d7d83480fe7a954cb&quot;--&quot;aba7b9b123c1b597681470dd512a154dbfd23f465ff76c680667ca7f82bb7a28&quot;--&quot;ef97d80d09a4dba483eb28c58cdca7a50f42c27687a3fe590d33ad3f110e6177&quot;
SECRET_KEY = &quot;53b5cb61719518a9b737ff07dbefcab7df6e2b13f7bde483dc66bb838a49b941&quot;--&quot;d92022a83f42d952eac1e4fffab735603d26355344ed5aed6adf7a5c495f8e7b&quot;--&quot;4a1bb6a679fa25b885f27869ab2ed0e7f092dc3eb9a1e5af4d6134aa9979554a&quot;
ROOM_ID = &quot;1903902005&quot;--&quot;2086039790&quot;--&quot;973917665&quot;
USER_NAME = &quot;RoomA&quot;
REMOTE_USER = &quot;&quot;
ROOM_ADMIN = &quot;&quot;

API_KEY_APP42 = &quot;69f86c9af1769e6faceb11cf5e1b58179244c7851924c78f8b4f6c1800b787fd&quot;--&quot;677f43146c9f00164e10ce55f8f35171a7d5d40072b5078b3a0be26d3202d9ed&quot;
SECRET_KEY_APP42 = &quot;2a93fe07325ac8a07338a9d2d46d993f1138848c84388a4379d273a9c6ab57c5&quot;--&quot;265b039c9115f04d2d193a8378c04f9b3faae739508ca9ec5c106e92e56cc043&quot;
GAME_NAME = &quot;Demo1989&quot;
MAX = &quot;100000&quot;

App42API = require(&quot;App42-Lua-API.App42API&quot;)
App42Log = require(&quot;App42-Lua-API.App42Log&quot;)
App42Log:setDebug(true)
App42API:initialize(API_KEY_APP42,SECRET_KEY_APP42)

appWarpClient = require &quot;AppWarp.WarpClient&quot;
appWarpClient.initialize(API_KEY, SECRET_KEY)
-- uncomment if you want to enable trace printing of appwarp
-- appWarpClient.enableTrace(true)
-- -- IMPORTANT! loop WarpClient. This is required for receiving responses and notifications
local function gameLoop(event)
  appWarpClient.Loop()
end
Runtime:addEventListener(&quot;enterFrame&quot;, gameLoop)</description>
<category>Corona</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9835/appwarp-and-app42api-both-initialize-not-working-together</guid>
<pubDate>Sat, 05 Nov 2016 10:24:02 +0000</pubDate>
</item>
<item>
<title>runtime error in AppWarp/LookupChannel.lua involving socket.tcp() PLEASE HELP!</title>
<link>http://forum.shephertz.com/?qa=9534/runtime-error-appwarp-lookupchannel-involving-socket-please</link>
<description>&lt;p&gt;
	So I tested my keys and the chat room with the sample app chat.&lt;/p&gt;
&lt;p&gt;
	Then I triend implementing the sample app chat into my game. I changed the storyboard to composer and the scene transitioning works fine, but when i try to connect to the chat room I get this error message.&lt;/p&gt;
&lt;p&gt;
	&quot;Attempt to index global 'socket' (a nil value)&lt;/p&gt;
&lt;div&gt;
	File: AppWarp/LookupChannel.lua&lt;/div&gt;
&lt;p&gt;
	Line: 11&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	AppWarp/LookupChannel.lua:11: in function 'socket_connect'&lt;/p&gt;
&lt;p&gt;
	AppWarp/WarpClient.lua:427: in function 'Loop'&lt;/p&gt;
&lt;p&gt;
	main.lua:69: in function &amp;lt;main.lua:68&amp;gt;&lt;/p&gt;
&lt;p&gt;
	?: in function &amp;lt;?:169&amp;gt;&quot;&lt;/p&gt;</description>
<category>Corona</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9534/runtime-error-appwarp-lookupchannel-involving-socket-please</guid>
<pubDate>Sun, 28 Aug 2016 21:53:44 +0000</pubDate>
</item>
<item>
<title>HELP! How to getAllRooms() in Corona SDK</title>
<link>http://forum.shephertz.com/?qa=7811/help-how-to-getallrooms-in-corona-sdk</link>
<description>I am having hard time configuring my app to show all rooms in my cloud server. I only have 1 room and I am trying to get it's name or even room ID on my corona app.&lt;br /&gt;
&lt;br /&gt;
------------------------------------&lt;br /&gt;
&lt;br /&gt;
function onGetAllRoomsDone (resultCode , roomsTable ) &amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
print(roomsTable) &amp;nbsp;&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
appWarpClient.getAllRooms(&amp;quot;onGetAllRoomsDone&amp;quot;, onGetAllRoomsDone)&lt;br /&gt;
&lt;br /&gt;
-----------------------------------&lt;br /&gt;
&lt;br /&gt;
it's not working, I event tried putting it in the gameLoop function. Please Help.</description>
<category>Corona</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=7811/help-how-to-getallrooms-in-corona-sdk</guid>
<pubDate>Fri, 11 Dec 2015 16:56:30 +0000</pubDate>
</item>
</channel>
</rss>