Author Topic: Enabled maps doesnt save with svn  (Read 5381 times)

0 Members and 1 Guest are viewing this topic.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Enabled maps doesnt save with svn
« Reply #15 on: March 23, 2015, 09:42:05 AM »
Like Megiddo said, I don't think we've changed any stuff with IO handling in our code. There was an issue that someone created where they were having a similar problem, which turned out to be an error with file permissions. Perhaps you want to look into it?

https://github.com/Nayruden/Ulysses/issues/422

(Also note: The sandbox limits and server settings don't get saved. If you can add users and set ranks and they save properly after a mapchange/restart, then the issue is likely with the map list only.)
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: Enabled maps doesnt save with svn
« Reply #16 on: March 23, 2015, 10:51:20 AM »
Thanks I am trying to look at that but the permissions on the entire root directory for all my servers is set to xxx (permissions stay at original permissions of files). NFOServers does not allow you to change permissions at all. I can't chmod to 777 or even see what the current permission level is! They just say "well it's right". So can you tell me are the permissions of the ulx/data folder 777 for both the svn and the non-svn addons?

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Enabled maps doesnt save with svn
« Reply #17 on: March 23, 2015, 11:04:53 AM »
Yes, 777 should be fine. What other settings aren't saving for you?
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: Enabled maps doesnt save with svn
« Reply #18 on: March 23, 2015, 11:16:39 AM »
Actually I think chmod is a linux term and doesnt apply to windows? My servers are windows and I can't change the permissions so can you tell me if both ulx and ulib addons come with a permission equivalent to 777 - full access? If they are set to in the svn with full access then that is what I have and that isnt my issue.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Enabled maps doesnt save with svn
« Reply #19 on: March 23, 2015, 11:20:21 AM »
If your server is on Windows, then it's not a permissions issue.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: Enabled maps doesnt save with svn
« Reply #20 on: March 23, 2015, 11:25:22 AM »
Sigh. Thanks for all the help! I think I just have to take svn off and download the addons from the ulyssesmod website. I prefer svn because I don't miss any updates, but there is no problem with the downloaded addons.

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: Enabled maps doesnt save with svn
« Reply #21 on: March 23, 2015, 02:17:36 PM »
Can I just ask, if I go to the individual files that come from the svn and the same file from the direct download of the addons, are they supposed to match? For example, is addons/ulx/lua/ulx/xgui/maps.lua supposed to be the exact same file in the svn version and the regular download version?

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Enabled maps doesnt save with svn
« Reply #22 on: March 23, 2015, 02:32:40 PM »
Can I just ask, if I go to the individual files that come from the svn and the same file from the direct download of the addons, are they supposed to match? For example, is addons/ulx/lua/ulx/xgui/maps.lua supposed to be the exact same file in the svn version and the regular download version?
No.
The download link on the Ulysses main site is the release version, which contains updates up until the current release. There have been commits since, and therefore the release version is behind the SVN/Git version.
bw81@ulysses-forums ~ % whoami
Homepage

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Enabled maps doesnt save with svn
« Reply #23 on: March 23, 2015, 08:23:49 PM »
Try grabbing the zip from the github site, extracting ulib and ulx, then upload them to your server using (ftp or web panel, however nfo lets you upload files)
Make sure to use ascii and not binary transfer.
And make sure the server is shut down while you do the upload.
Start back up and test.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Enabled maps doesnt save with svn
« Reply #24 on: May 19, 2015, 10:19:05 PM »
For those stumbling on this thread- I've fixed an issue with votemaps where they wouldn't display correctly in XGUI, even though they were being set. This is likely the issue that Storm was having initially. Hope it helps!
https://github.com/Nayruden/Ulysses/commit/e6c58c6e39369c1b49ae34286cefe42471a28d89
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6