Deprecated: Assigning the return value of new by reference is deprecated in /home/forums/public_html/includes/init.php on line 43

Deprecated: Assigning the return value of new by reference is deprecated in /home/forums/public_html/includes/init.php on line 82

Deprecated: Assigning the return value of new by reference is deprecated in /home/forums/public_html/includes/init.php on line 86

Deprecated: Assigning the return value of new by reference is deprecated in /home/forums/public_html/includes/init.php on line 98

Deprecated: Assigning the return value of new by reference is deprecated in /home/forums/public_html/includes/init.php on line 102

Deprecated: Assigning the return value of new by reference is deprecated in /home/forums/public_html/includes/init.php on line 172

Deprecated: Assigning the return value of new by reference is deprecated in /home/forums/public_html/includes/init.php on line 371

Deprecated: Assigning the return value of new by reference is deprecated in /home/forums/public_html/includes/class_core.php on line 2291

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/forums/public_html/includes/class_core.php on line 1489
Ryzom - Off-line Ring editor?
Ryzom

Ryzom (http://forums.ryzom.com/index.php)
-   The Ryzom Ring (http://forums.ryzom.com/forumdisplay.php?f=99)
-   -   Off-line Ring editor? (http://forums.ryzom.com/showthread.php?t=27618)

nephy13 December 1st, 2006 05:33 PM

Off-line Ring editor?
 
**EDIT** As I suspected, even breathing on the ring file will get you killed/banned/excommunicated. Badly! Ah well, it was an interesting thought experiment...Perhaps Ryzom will consider making a tool based on these ideas? Maybe not.

Several people have suggested the idea of an off-line editor for Ring scenarios. I have two questions regarding this:
  1. Is one even being considered, even as a remote possibility, by the Ring devs?
  2. If it weren't being considered, and should someone develop their own off-line editor, for personal or public use, then would it be considered "hacking the game", thus presumably leading to an account ban?

OK, assume for a minute that I, or someone like me, were even allowed, if not actaully supported, to create a simple offline editor. What then would be the advantage of this over use of the integrated editor?
  • You wouldn't be tying up a SoR account just to edit things.
  • You could edit on any machine, even one on which does not, or could not, run Saga of Ryzom, e.g. A laptop which was not connected to the Internet.
  • You could incorporate a more advanced text-editor with integrated spell-checker (Please! A spell-checker!).
  • You could change an npc/creatures's level after its creation, possibly even changing its type too.
  • You could change manual/automatic seasons mode.
  • You could change the order of acts.
  • You could see all events at once.
  • Make copies of events and non-NPC entities.
  • You could have more than one window open at a time.
  • Allow simple scripts to be written, which would then be parsed and converted into the "accessible" components (Personally, as a coder, I find text editing a lot faster than the "accessible" drag-and-drop/menu-driven approach).
  • You could produce a more easily navigable/linked tree structure for a scenario, e.g.
    • +Entities
      • +Creatures
        • +Fred
          • -Properties
          • -Sequences
          • +Events
            • WHEN Fred.is_targetted
              AND Dialog: Fred.is_not_running
              THEN Dialog: Fred.start()
            • WHEN Fred.is_killed
              THEN Fred's Killer Guard Yubo.spawn()
        • +Fred's Killer Guard Yubo
          • +Properties
            • Autospawned: No
          • -Sequences
          • +Events
            • WHEN Fred.is_killed
              THEN Fred's Killer Guard Yubo.spawn()
      • +Dialogs
        • -Dialog: Fred
    • -Objects
    • -Events
Some of the reasons for making such an editor are already on the wish-list, but with no idea of the road-map for the Ring, we have no idea if they are planned for the future or even about to be added.

The disadvantages?
  • You'd still need to make most of the scenario in the on-line editor. This would be for completing/changing/updating scenarios only.
  • Testing would be impossible. Even an official off-line editor would need to incorporate a lot of the server code to achieve this, which is unlikely to happen (though I expect that an official off-line editor could show you your scenario, even if it couldn't run it for testing).
  • No map, so new objects/entities probably couldn't be added (but could be changed). Well, this isn't strictly true, since the XY coordinates of all items would be known - one just wouldn't know the maximum extent of the map or its features. One could, for example, allow new Dialog entities to be placed "near" to an NPC without a lot of trouble.
  • High probability for mistakes entering the file, especially if file-format is backwards engineered...but, if the Ring has been developed properly, it should find these errors and refuse to run the file, rather than producing a crash (on loading or during play). Limitation on what editing features were provided would seriously reduce this risk.
  • Anyone could edit a file, even if they lack the requisite Knowledge of Atys. They couldn't create a new one though.

Oh, and I do know that I couldn't edit the file without recalculating the MD5 values, but they are there to prevent transmission errors (or casual, notepad editing). They aren't there, or rather shouldn't be there, to prove to the Ring server that the file format is correct.

Ultimately though, I'm really not sure the effort to create an editor would be worthwhile; it is just an idea that I am ruminating on. I am aware that I've just scratched the surface with my pros and cons list above. Certainly, it does seem to be a lot of work to re-invent the wheel, especially if the Ring devs have any any remote posibility of creating such a tool (or indeed, of improving the current tool, which is more likely).

(My resume, in case you think this is entirely pie-in-the-sky (Though from this, you may still have your doubts): 12 months commercial C++/C# experience (though currently unemployed); Developed a Javascript interpreter as a major academic project at University).

**EDIT** Oh, and I don't consider this a task worth starting until the current insecurity is resolved, before anyone reminds me of that ;P

seawe December 4th, 2006 04:34 AM

Re: Off-line Ring editor?
 
I like this idea :) upload times can make tweeking an act a long proccess...

kaetemi January 12th, 2007 04:17 PM

Re: Off-line Ring editor?
 
Quote:

Originally Posted by nephy13
Oh, and I do know that I couldn't edit the file without recalculating the MD5 values, but they are there to prevent transmission errors (or casual, notepad editing). They aren't there, or rather shouldn't be there, to prove to the Ring server that the file format is correct.

I had an editing tool kind of like you are describing in your post back in the old days, but since they added the signature stuff in the header thing it can't be used anymore. Basically, the MD5 values (2 if i remember correctly) are indeed to check the file, but there's also the "Signature", which they put in there to check if the file was not externally modified, because else you could just edit scenarios which people made read-only, or put your name as original creator, and all that.



All times are GMT +2. The time now is 04:09 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Ryzom forums are part of the SoR service and subject to the EULA and Code of Conduct.