Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - gamingir_rpg

1
Interesting. Ultima-style is a genre RPG Maker has never handled out of the box, so a dedicated tool makes sense. Read through the itch page: no-code event editor with 100+ commands (NPC scheduling, branching dialogue, global variables, inventory logic), Ultima VI to VIII styles, free, currently alpha. A few things I'd want to know before investing time in it, from the perspective of someone who tests this kind of thing on mid-range hardware:

1. The devlog mentions Z for stats and S to load/save, with the overwrite prompt still pending. Is a normal slot/prompt system planned, or is keyboard-only save the intended design?
2. Are items, spells and enemies plain data files (text/JSON/CSV) that can be bulk-edited outside the editor? With 200+ items that's the difference between an afternoon and a week.
3. What does the cross-platform compilation target concretely for now (Windows only?), and how does a finished game run on an old laptop with integrated graphics? Tile-based games usually get played on exactly that kind of machine.

Will keep an eye on the devlog.
2
Since you're comparing with == 'door', two things that can bite with a name method in Game_Event:

- @event.name is the RPG::Event's own string, not a copy. == and downcase are fine, but if you ever use a bang method on it (name.downcase!, name.strip!, name[0] = '') you're editing the map data for the rest of the session, and every other event that reads that name afterwards gets the mutated value. Do name = @event.name.dup first if you need to change it.

- In RMXP the editor stores event names that start with a space with a special character (byte 0xA1, shows as ยก) instead of a normal space, so the leading space doesn't get trimmed. A name like " Door" comes out as "\xA1Door", which neither strip nor downcase removes, and the comparison in KK20's conditional branch quietly fails. A cheap guard:
def name
  @event.name.sub(/\A\xA1/, '')
end
or just never start these names with a space. If a "door" event ever doesn't react, that's the first thing I'd check.
3
A few weeks late, but in case you're still stuck on this:

1. The eval permissions are not a client setting. They come from your account's permission group on the server. In the server's src/Misc.rb the groups are PLAYER = 0, MOD = 8, 2NDADMIN = 9, ADMIN = 10, and /eval, /geval, /seval and /sql all need 2nd admin or higher. /admin <name> (only a group-10 account can use that one) promotes someone to 2nd admin, /mod <name> (needs group 9) to moderator. The very first admin has to be made by hand: set the usergroup column of your account in the users table to 10, log in again, then /admin your test account. can_use_command? is just usergroup >= group, nothing more.

2. /geval is not a global-state tool anyway. try_global_eval only does send_to_all('EVA', script), i.e. it pushes your code to the clients that are connected at that moment. Nothing is stored, so anyone who logs in a minute later never sees the change. Fine for a quick two-client test, not for shared switches/variables.

3. Exchange variables won't get you there either. Those are per player: Game_Player#get_exchange_variable_names returns [] by default, and if you override it with instance-variable paths the values just ride along with your MEV update so other players on the same map can read them. They're for "let people near me see some of my player's data", not for server-side storage.

4. What you want is Blizzard's Global Switches and Variables for RMX-OS (topic 5328 on this forum). It's a client script plus a server extension. You list the IDs that become global in both places: GLOBAL_SWITCHES = [1, 2] and GLOBAL_VARIABLES = [1, 2] in the script, and the same arrays in the extension configuration (GlobalSwitchesVariables module); the script comment explicitly says they have to match the extension. The listed IDs are saved on the server in gswitches.dat / gvariables.dat and synced to every client, so when one player flips switch 1 everyone else sees it, and it survives a server restart. I'd give them a dedicated high range (900+ or so) so none of your per-map or per-player switches turn shared by accident.

It needs RMX-OS 2.0 or newer, and if you drop the extension into a server that has already run once, restart the server so it gets loaded.