-
I feel like an idiot, but the image on the guide is cut off just a bit, I can't seem to find any information on this even in the NPC_Util or other Luas. Everytime I try to use the !exec print function to pop an ID for Nuria in Ru'lude Gardens It kicks back [string "local player = GetPlayerByName ('Myname'); ..."] :1: '=' expected near 'Nuria'. Could someone just provide a better example of this? I don't need hers specifically she was just my test npc for the function. placing the = anywhere in it literally does nothing XD |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 20 replies
-
What commands are you trying to use inside of exec? We can't debug anything without information. Exec: https://github.com/LandSandBoat/server/blob/base/scripts/commands/exec.lua
(untested, but should be) ->
^ The same logic as you'd use in any Lua script around the codebase. If you're trying to do a lookup by name, the main function for that is based on
|
Beta Was this translation helpful? Give feedback.
-
That's what I've been trying to do. |
Beta Was this translation helpful? Give feedback.
-
No spaces for function calls, copy what I wrote _exactly_
…On Mon, 1 Jul 2024, 00:00 AidennXI, ***@***.***> wrote:
Icrie.JPG (view on web)
<https://github.com/LandSandBoat/server/assets/123876296/98705df8-f6aa-4ec7-bc96-1e90fcdaeee3>
That's what I've been trying to do.
—
Reply to this email directly, view it on GitHub
<#5976 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKTJIKD5TVVQKLAACKEYM3ZKCEXRAVCNFSM6AAAAABKEOPILSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSMJZGYZDO>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
It won't turn off jobs. It depends on how you plan on letting people access
things. If you lock to COP and below, but the NPCs who take you to TOAU are
turned off, how are people meant to get BLU and PUP and COR, etc. Same with
the WOTG and SOA jobs etc.
…On Tue, Jul 2, 2024 at 11:20 PM AidennXI ***@***.***> wrote:
Okay, I was just trying to follow the tutorials in order. My experience
with Lua is pretty limited to Gearswap or other FFXI player scripts. We
were just trying to hide specific Expansion NPCS until we bothered to test
and integrate some balancing stuff, and get off the ground as a 75/75 COP
server, while also just learning more about what's possible. Not trying to
sideload in anything. Wanted it to work on server start so we didn't have
to run around and manually disappear them every time.
There is already a system in place ot do this based on "content tag", see
https://github.com/LandSandBoat/server/blob/77a1cae26f51ccb0c1b59b422c0c9148281a4c91/settings/default/main.lua#L29
you can disable expansions and it will remove NPCs and other things (note
that the list is not 100% accurate for each expansion)
Yes but that will remove the expansion jobs too yes? We're trying to set
it up so it's 75/75 COP but still has all job access, at least for the time
being.
—
Reply to this email directly, view it on GitHub
<#5976 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKTJIOWKP5LO4D3NXAWG6DZKMRTHAVCNFSM6AAAAABKEOPILSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSNBRGY4DA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
If you unlock all jobs for everyone out of the gate; the point is moot
…On Wed, Jul 3, 2024 at 12:59 PM Zach Toogood ***@***.***> wrote:
It won't turn off jobs. It depends on how you plan on letting people
access things. If you lock to COP and below, but the NPCs who take you to
TOAU are turned off, how are people meant to get BLU and PUP and COR, etc.
Same with the WOTG and SOA jobs etc.
On Tue, Jul 2, 2024 at 11:20 PM AidennXI ***@***.***> wrote:
> Okay, I was just trying to follow the tutorials in order. My experience
> with Lua is pretty limited to Gearswap or other FFXI player scripts. We
> were just trying to hide specific Expansion NPCS until we bothered to test
> and integrate some balancing stuff, and get off the ground as a 75/75 COP
> server, while also just learning more about what's possible. Not trying to
> sideload in anything. Wanted it to work on server start so we didn't have
> to run around and manually disappear them every time.
>
> There is already a system in place ot do this based on "content tag", see
>
>
> https://github.com/LandSandBoat/server/blob/77a1cae26f51ccb0c1b59b422c0c9148281a4c91/settings/default/main.lua#L29
>
> you can disable expansions and it will remove NPCs and other things (note
> that the list is not 100% accurate for each expansion)
>
> Yes but that will remove the expansion jobs too yes? We're trying to set
> it up so it's 75/75 COP but still has all job access, at least for the time
> being.
>
> —
> Reply to this email directly, view it on GitHub
> <#5976 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAKTJIOWKP5LO4D3NXAWG6DZKMRTHAVCNFSM6AAAAABKEOPILSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSNBRGY4DA>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
It's not a configuration we really consider, or support, so best of luck to
you! FFXI isn't really built for customisation, so you'll be fighting a lot
of things you don't have power over.
Having 75/75 or 99/99 is hard too because the client limits what you can
do. If you're 75DRK/75BLM, you can't equip 75BLM gear. It's why servers
that have equal subjobs make a `!swap` command available for you to
temporarily swap your main and subjob, or something, without triggering
gear changes. I don't know the details, I just know that if you try to do
too much outside of what the client wants the client will fight back.
Disabling these sorts of checks in the client isn't currently possible
unless you're a very good reverse engineer.
…On Wed, Jul 3, 2024 at 1:14 PM AidennXI ***@***.***> wrote:
If you unlock all jobs for everyone out of the gate; the point is moot
We had considered this and you're mostly right, but in our experiments,
specifically mine with Rune Fencer, if you disable the Expac then all of
it's Job Abilities disappear. not spells though, and interestingly Foil
works.
I know I'm going against the grain trying to have my cake and eat it too.
TOAU doesn't work that way, as BLU is fine with it's expac turned off. but
even with subjobs set 75/75 can still only equip up to level 37 blue spells
/blu.
—
Reply to this email directly, view it on GitHub
<#5976 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKTJIKDAGYNS3TCD6YC6PDZKPTJFAVCNFSM6AAAAABKEOPILSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSNBXGUYDK>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Suggest restarting, rolling back any changes you've made until it works as intended