Closed brabaris closed 1 month ago
I will check it
Forgot to add screenshots...
Any idea what's causing the error in Arena.php?
I did it (Removed $formationDataId from Arena.php), the error is not displayed, but working in Photon is incorrect! There is no attack animation, the automatic attack works, although there is still time left, damage is not displayed correctly, corpses are not displayed... I showed everything on video. https://youtu.be/rqbaix8IDYI
Oh, please wait, this one seems to be hard to fix
Fixed, please wait for a new update
Hello! Problems with Photon Arena on a new installation. After PunLobby, PunBattleScene shows 500 Internal Server Error. Unity version 2022.3.10f, Turnbase RPG version 1.25b, Newtonsoft Json version 3.0.2. Web server configuration: Apache 2.4, PHP 8.0, MySQL 8.0
Turnbase RPG downloaded from here: https://github.com/suriyun-turnbase-rpg/rpg-php-service Realtime (PUN) downloaded from here: https://github.com/insthync/unity-tbrpg-pun-arena
The errors differ only in playerId:
[GET->Error] ?action=arena-formation-characters-and-equipments&playerId=1 HTTP/1.1 500 Internal Server Error <!DOCTYPE html>
Internal Server Error
Too few arguments to function GetArenaFormationCharactersAndEquipments(), 1 passed in D:\OpenServer\domains\localhost\rpg-php-service-master\index.php on line 231 and exactly 2 expected [D:\OpenServer\domains\localhost\rpg-php-service-master\functions\Arena.php:185]
UnityEngine.Debug:LogError (object) WebServiceClient/d__7:MoveNext () (at Assets/RPGGame/Core/Scripts/GameService/Implement/WebServiceClient/WebServiceClient.cs:100)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)