suriyun-production / mmorpg-kit-docs

This is document for MMORPG KIT project (https://www.assetstore.unity3d.com/#!/content/110188?aid=1100lGeN)
https://suriyun-production.github.io/mmorpg-kit-docs
49 stars 11 forks source link

warping stuck #2295

Closed john5514 closed 1 year ago

john5514 commented 1 year ago

Hello,

if I die anywhere warping ui comes up and gets stuck in the warping text I tried deleting it I can at least move but I can't do any attack or anything other than walking.

insthync commented 1 year ago

How ?

insthync commented 1 year ago

Video please

john5514 commented 1 year ago

hello good day

video here https://www.veed.io/view/d74f7208-fb92-4fc8-86c1-f6f91a1d29bb?panel=share

john5514 commented 1 year ago

Video please

i try database update but not working

insthync commented 1 year ago

I guess the problem occurring because it cannot connect to another map server, did you check the map-server log?

john5514 commented 1 year ago

i looked, but something didn't catch my eye

https://we.tl/t-MPEE2Ewp55

john5514 commented 1 year ago

it does not enter some maps, it gives server rejected error and kicks out of the game and I haven't changed anything, everything was like this while everything was working smoothly

separately, if the mysql error is new in some of the logs, I delete the config and switch it on and off to restart it

If you see them, ignore them if they are not new

insthync commented 1 year ago

Which map your current will be warped to ?

What is respawn map?

insthync commented 1 year ago

It have so many Unable to connect to any of the specified MySQL hosts error, is it able to connected to MySQL ?

insthync commented 1 year ago

It is still spawning Map001 server, but you did not set it to scenes in build, and it shows "Scene 'Map001' couldn't be loaded because it has not been added to the build settings or the AssetBundle has not been loaded."

insthync commented 1 year ago

Map002 too

insthync commented 1 year ago

Seems like you set wrong parameter, it should not start map-server if it is going to be launched later by map-spawner-server

insthync commented 1 year ago

In case you doubt how can I know that you put wrong parameters

Screenshot_911

insthync commented 1 year ago

So many mistakes, but start from start-servers parameters, which part of the document made you understand the run-server parameter incorrectly?

john5514 commented 1 year ago

I set the parameter in this way before, there was no problem, this is the parameter

mainmap lobby map and respawn maps respawn on some maps, some maps do not respawn at all

and some maps do not go at all server rejected says

we use sqlite3 not mysql host

parameter "D:\MMO\Might of Empire.exe" -startMapSpawnServer -spawnExePath "D:\MMO\Might of Empire.exe" -startCentralServer -startDatabaseServer -startDatabaseManager -startMapServer -startDatabaseManager -machineAddress "185.249.xxxxx"

john5514 commented 1 year ago

Map001

It's impossible not to have Map001 installed,

because I think it wouldn't teleport unless the main server map was loaded.

john5514 commented 1 year ago

i think i found https://prnt.sc/5oPA9J56W-bT this correct mapspawn

this is the broken map spawn option, I said I would look here, I looked 4-5 times, I felt that something was missing, I opened the old project, these places do not work

https://prnt.sc/nyURMOA4dhfY

john5514 commented 1 year ago

I don't understand why this place went while I didn't touch anything, but I will copy the MapSpawnNetworkManager from the old project to the new project, if it works, I will forward it.

john5514 commented 1 year ago

even though I copied it, I still can't find the place to insert the map, but I pulled it from the working place

insthync commented 1 year ago

Setup config in config/serverConfig.json file.

insthync commented 1 year ago

Map001

It's impossible not to have Map001 installed,

because I think it wouldn't teleport unless the main server map was loaded.

Screenshot_912

Correct?, If you don't going to spawn these maps, then remove it from the list

insthync commented 1 year ago

If you are going to use SQLite then you might setup it incorrectly because it is obviously show that it is trying to connect to MySQL

john5514 commented 1 year ago

Map001

It's impossible not to have Map001 installed, because I think it wouldn't teleport unless the main server map was loaded.

Screenshot_912

Correct?, If you don't going to spawn these maps, then remove it from the list

The problem is that this part does not come to me, I copied and pasted the whole mmorpg kit folder from the working one and did not come to the non-working one again, shouldn't this part be?

insthync commented 1 year ago

I set the parameter in this way before, there was no problem, this is the parameter

mainmap lobby map and respawn maps respawn on some maps, some maps do not respawn at all

and some maps do not go at all server rejected says

we use sqlite3 not mysql host

parameter "D:\MMO\Might of Empire.exe" -startMapSpawnServer -spawnExePath "D:\MMO\Might of Empire.exe" -startCentralServer -startDatabaseServer -startDatabaseManager -startMapServer -startDatabaseManager -machineAddress "185.249.xxxxx"

This is incorrect because it has -startMapServer

john5514 commented 1 year ago

If you are going to use SQLite then you might setup it incorrectly because it is obviously show that it is trying to connect to MySQL

If you start with the config files not created, if you saw this message at first, it does not create the config file for sqlite3 without turning it off and on because you created it from scratch at first, this error is corrected when you turn it off and on.

I told you not to care if you see it early in the logs,

I will look if the message is new

insthync commented 1 year ago

Map001

It's impossible not to have Map001 installed, because I think it wouldn't teleport unless the main server map was loaded.

Screenshot_912 Correct?, If you don't going to spawn these maps, then remove it from the list

The problem is that this part does not come to me, I copied and pasted the whole mmorpg kit folder from the working one and did not come to the non-working one again, shouldn't this part be?

I don't get what you want to tell me, but it is incorrect, that is it.

But you don't have to look at it because it will use all config from config/serverConfig.json only, it won't use anything from component anymore if serverConfig.json was created.

john5514 commented 1 year ago

Harita001

Map001'in kurulu olmaması mümkün değil çünkü ana sunucu haritası yüklenmediği sürece ışınlanmayacağını düşünüyorum.

Ekran görüntüsü_912 Doğru mu?, Bu haritaları oluşturmayacaksanız listeden kaldırın

Sorun şu ki bu kısım bana gelmiyor, çalışan olandan mmorpg kit klasörünün tamamını kopyalayıp yapıştırdım ve çalışmayan tarafa yine gelmedi, bu kısım olması gerekmez mi?

Bana ne söylemek istediğini anlamadım ama bu yanlış, bu kadar.

Ancak ona bakmanıza gerek yok çünkü tüm yapılandırmayı yalnızca kullanacak , eğer oluşturulduysa config/serverConfig.jsonartık bileşenden hiçbir şey kullanmayacak .serverConfig.json

Where you add maps in the editor, I don't have this list that is in the spawing maps.

I can't add to or remove from the list, I can't add to or remove from the config, yes I know I can fix it I can fix it from within "config", but doesn't the fact that it goes here indicate that something is wrong?

https://prnt.sc/q6RZSMgTNXAp

I don't have the part inside the red circle

this is my old project, this part does not come blank in the new project

new projecet

https://prnt.sc/tn7XfHAqcxHi where? map list for add remove build

john5514 commented 1 year ago

How will the first build pull them in without this place? into the config file

insthync commented 1 year ago

I still don't get what you want to tell me

john5514 commented 1 year ago

Can you look at the pictures, I don't have the complete list in these pictures, I think this problem occurred after this went,

My paramatres were always the same, always working, always reborn, no problems.

insthync commented 1 year ago

Can you look at the pictures, I don't have the complete list in these pictures, I think this problem occurred after this went,

My paramatres were always the same, always working, always reborn, no problems.

No, It must not start a map-server if all map-servers will be started by map-spawn server

insthync commented 1 year ago

I looked at the picture, I saw it have Map001, Map002 in the list. It should not be there isn't it?

john5514 commented 1 year ago

Resme baktım listede Map001, Map002 olduğunu gördüm. Orada olmaması gerekir değil mi?

yes, they are not in that list because this is my old project, they are not even added in the new config, since they remain in the editor, it is constantly looking for them, because they are added in the build list, but I cannot update the build list except config.

insthync commented 1 year ago

Show me your serverConfig.json

john5514 commented 1 year ago

https://prnt.sc/OMUW-auW5FO8

insthync commented 1 year ago

Look your character's respawn map in database, try find the tool to do it via google (may find "SQLiteBrowser")

john5514 commented 1 year ago

which table?

john5514 commented 1 year ago

https://prnt.sc/qESH8UJ2ielf true? table

insthync commented 1 year ago

Yes, that table

john5514 commented 1 year ago

https://prnt.sc/Ckr2cIQN0Rl7

john5514 commented 1 year ago

If you say that it is relevant here, for example, when you die in the lavahill map, it throws it back to the mainmap

insthync commented 1 year ago

Okay, then the problem occurred in the map in the video only?

insthync commented 1 year ago

What is the map in the video?

john5514 commented 1 year ago

Videodaki harita nedir?

"FarmMap001",
insthync commented 1 year ago

I want to see FarmMap001's map info

john5514 commented 1 year ago

https://www.veed.io/view/38fe274e-eb33-4ac0-b9df-6093ea9efd9d?sharingWidget=true&panel=share

new video

john5514 commented 1 year ago

FarmMap001adlı kişinin harita bilgilerini görmek istiyorum

https://prnt.sc/uk9yj8B5WUF8 https://prnt.sc/AseNigUTpz86

insthync commented 1 year ago

Screenshot_913

Do you intend to move player to instance?

john5514 commented 1 year ago

can return to save point? true or false?

Ekran görüntüsü_913

Oyuncuyu örneğe taşımayı düşünüyor musunuz?

there were purple portals here in the game it was throwing it to the same place again, I tried to fix it like this "I delete the places you show completely"

can return to save point could be the real problem?

john5514 commented 1 year ago

they've always been like this. was working, now I'm trying it now, let's see if there will be a change