Git Product home page Git Product logo

Comments (4)

lili-ffxi avatar lili-ffxi commented on September 6, 2024 1

The code generated by chatgpt barely qualifies as pseudocode - the logic is sound, if a bit unoptimal, for example you wouldn't want to run this in prerender at all ever, but the functions it spews out are often not real, like in this case. You would need to write most of these functions by yourself. Specifically, there's no is_leader field anywhere, there's an entry in the table returned by windower.ffxi.get_party() called party1_leader (or 2, or 3 for alliances) that contains the ID of the player who is the leader, but you'd have to compare the two fields manually, etc etc etc.

I recommend you forego chatgpt entirely and instead come to discord for help with development.

from lua.

gdborton avatar gdborton commented on September 6, 2024

I can hop in discord, and realize that chatgpt is wrong, but I'm still curious about the original question.

Where are these functions defined? Is there any chance at all that the docs are out of date?

from lua.

gdborton avatar gdborton commented on September 6, 2024

Got an answer in discord, these are in windower core which is closed source.

from lua.

RubenatorX avatar RubenatorX commented on September 6, 2024

For anyone that finds this later -- functions are documented here:
https://github.com/Windower/Lua/wiki/FFXI-Functions

from lua.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.