Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black images when loading a .sce file or a vmap #138

Open
maniackcrudelis opened this issue Feb 9, 2023 · 1 comment
Open

Black images when loading a .sce file or a vmap #138

maniackcrudelis opened this issue Feb 9, 2023 · 1 comment
Assignees
Labels

Comments

@maniackcrudelis
Copy link

#Your configuration:
Rolisteam version: 1.9.3
Operating System and version (remove irrelevant):

  • Linux (Ubuntu 20.04.5 LTS)

Rolisteam Setting (remove irrelevant):

  • GM and Server

#What did you do ? (Explain each step from starting rolisteam to the issue)

  • Start Rolisteam
  • Connect as game master and host the game.
  • Open last .sce file
  • Or open a vmap

#What did you expect to see ? (Make sentences and explains in details with words)

  • As I save my game, in the middle of a fight, I expect to find the map back with the characters and the enemies in place.
  • I would expect the same from the .sce file I used when starting the game earlier, which doesn't work either. While it did load without issue on the morning.

#What did you get instead ? (Describe in details the issue)

  • I got 3 black images, with apparently nothing in it
  • If I load my default vmap, I have a black image as well, looks like it can't show a vmap at all

Strangely, I saved the .sce in a different file, because I was not sure it would save it correctly, while I had change pictures and add a lot of enemies. But the 2 files are exactly the same. So, I guess it didn't save anything...

The log doesn't seems to say much

"Error: avatar for Unknown path is invalid. No file at this path: "
client disconnected state
before socketState QAbstractSocket::HostLookupState
client connecting state
before socketState QAbstractSocket::ConnectingState
incomming state
incomming state
control state
 Ip Ban: true current IP:  "::ffff:127.0.0.1"
rangeIp result: true
control state
authentification state
before socketState QAbstractSocket::ConnectedState
client connected state
server connection to  "Dorian" recieve event: TcpClient::ServerAuthSuccessEvent
authentification state
[Server][Received Message] "AdministrationCategory" "ConnectionInfo" Channel(0x5608333784b0) "Dorian" 232
client authentified state
server connection to  "Dorian" recieve event: TcpClient::AdminAuthSuccessEvent
[Server][Received Message] "AdministrationCategory" "AdminPassword" Channel(0x5608333784b0) "Dorian" 77
[Server][Received Message] "PlayerCategory" "PlayerConnectionAction" Channel(0x5608333784b0) "Dorian" 228
[Server][Received Message] "SetupCategory" "AddFeatureAction" Channel(0x5608333784b0) "Dorian" 98
[Server][Received Message] "SetupCategory" "AddFeatureAction" Channel(0x5608333784b0) "Dorian" 114
[Server][Received Message] "SetupCategory" "AddFeatureAction" Channel(0x5608333784b0) "Dorian" 106
[Server][Received Message] "SetupCategory" "AddFeatureAction" Channel(0x5608333784b0) "Dorian" 112
[Server][Received Message] "SharePreferencesCategory" "addDiceAlias" Channel(0x5608333784b0) "Dorian" 45
[Server][Received Message] "SharePreferencesCategory" "addDiceAlias" Channel(0x5608333784b0) "Dorian" 45
[Server][Received Message] "SharePreferencesCategory" "addDiceAlias" Channel(0x5608333784b0) "Dorian" 49
[Server][Received Message] "SharePreferencesCategory" "addDiceAlias" Channel(0x5608333784b0) "Dorian" 61
[Server][Received Message] "SharePreferencesCategory" "addDiceAlias" Channel(0x5608333784b0) "Dorian" 103
[Server][Received Message] "SharePreferencesCategory" "addDiceAlias" Channel(0x5608333784b0) "Dorian" 45
[Server][Received Message] "SharePreferencesCategory" "addDiceAlias" Channel(0x5608333784b0) "Dorian" 45
[Server][Received Message] "SharePreferencesCategory" "addDiceAlias" Channel(0x5608333784b0) "Dorian" 49
[Server][Received Message] "SharePreferencesCategory" "addDiceAlias" Channel(0x5608333784b0) "Dorian" 61
[Server][Received Message] "SharePreferencesCategory" "addDiceAlias" Channel(0x5608333784b0) "Dorian" 103
[Server][Received Message] "SharePreferencesCategory" "addState" Channel(0x5608333784b0) "Dorian" 40
[Server][Received Message] "SharePreferencesCategory" "addState" Channel(0x5608333784b0) "Dorian" 56
[Server][Received Message] "SharePreferencesCategory" "addState" Channel(0x5608333784b0) "Dorian" 54
[Server][Received Message] "SharePreferencesCategory" "addState" Channel(0x5608333784b0) "Dorian" 42
[Server][Received Message] "SharePreferencesCategory" "addState" Channel(0x5608333784b0) "Dorian" 46
[Server][Received Message] "SharePreferencesCategory" "addState" Channel(0x5608333784b0) "Dorian" 34
[Server][Received Message] "SharePreferencesCategory" "addState" Channel(0x5608333784b0) "Dorian" 52
"Redo command AddMediaContainer: Show Unknown Map "
"Redo command AddMediaContainer: Show Unknown Map "
"Redo command AddMediaContainer: Show Base VMap Rolisteam "
[Server][Received Message] "VMapCategory" "LayerItemChanged" Channel(0x5608333784b0) "Dorian" 165
[Server][Received Message] "VMapCategory" "ZValueItem" Channel(0x5608333784b0) "Dorian" 172
[Server][Received Message] "VMapCategory" "LayerItemChanged" Channel(0x5608333784b0) "Dorian" 165
[Server][Received Message] "VMapCategory" "ZValueItem" Channel(0x5608333784b0) "Dorian" 172
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 454
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 454
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 454
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 454
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 454
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 454
[Server][Received Message] "VMapCategory" "addVmap" Channel(0x5608333784b0) "Dorian" 409
[Server][Received Message] "VMapCategory" "GeometryViewChanged" Channel(0x5608333784b0) "Dorian" 118
[Server][Received Message] "MediaCategory" "AddMedia" Channel(0x5608333784b0) "Dorian" 410
[Server][Received Message] "VMapCategory" "LayerItemChanged" Channel(0x5608333784b0) "Dorian" 165
[Server][Received Message] "VMapCategory" "ZValueItem" Channel(0x5608333784b0) "Dorian" 172
[Server][Received Message] "VMapCategory" "LayerItemChanged" Channel(0x5608333784b0) "Dorian" 165
[Server][Received Message] "VMapCategory" "ZValueItem" Channel(0x5608333784b0) "Dorian" 172
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 454
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 454
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 454
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 454
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 454
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 454
[Server][Received Message] "VMapCategory" "addVmap" Channel(0x5608333784b0) "Dorian" 409
[Server][Received Message] "VMapCategory" "GeometryViewChanged" Channel(0x5608333784b0) "Dorian" 118
[Server][Received Message] "MediaCategory" "AddMedia" Channel(0x5608333784b0) "Dorian" 410
[Server][Received Message] "VMapCategory" "LayerItemChanged" Channel(0x5608333784b0) "Dorian" 165
[Server][Received Message] "VMapCategory" "ZValueItem" Channel(0x5608333784b0) "Dorian" 172
[Server][Received Message] "VMapCategory" "LayerItemChanged" Channel(0x5608333784b0) "Dorian" 165
[Server][Received Message] "VMapCategory" "ZValueItem" Channel(0x5608333784b0) "Dorian" 172
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 454
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 470
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 470
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 470
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 470
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 470
[Server][Received Message] "VMapCategory" "vmapChanges" Channel(0x5608333784b0) "Dorian" 470
[Server][Received Message] "VMapCategory" "addVmap" Channel(0x5608333784b0) "Dorian" 425
[Server][Received Message] "VMapCategory" "GeometryViewChanged" Channel(0x5608333784b0) "Dorian" 118
[Server][Received Message] "MediaCategory" "AddMedia" Channel(0x5608333784b0) "Dorian" 426
before socketState QAbstractSocket::ClosingState
client disconnected state
before socketState QAbstractSocket::UnconnectedState

Could it be any reasons for a vmap not to load ?

@obiwankennedy
Copy link
Member

There is a bug about loading images from vmap.
The data are stored internally but the stored data are ignored. It tries to load the image from the path it stored.
If you put all your image into a directory and load from it. It should be ok until the directory and images are still at the same place.

I will make a patch to fix that. Also, it seems the "save current media" does not work very well and the save is not done.
Save current media as seem to work better. I will try to fix that as well.

@obiwankennedy obiwankennedy self-assigned this Feb 11, 2023
obiwankennedy pushed a commit that referenced this issue Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants