Comments (4)
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.
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.
Got an answer in discord, these are in windower core which is closed source.
from lua.
For anyone that finds this later -- functions are documented here:
https://github.com/Windower/Lua/wiki/FFXI-Functions
from lua.
Related Issues (20)
- Allow Saving of BLU spell Sets when BlueMage is subjob HOT 3
- Strange Lua syntax in addons/libs/resources.lua HOT 4
- ROE addon exploit. HOT 5
- Battlemod: color codes should not breakup ability names (chatmon incompatibility) HOT 3
- Lue Core: target_index is always 0 HOT 10
- [Barfiller] Able to set y position in xml but not x position. HOT 5
- Returning true from `keyboard` event does not block input
- PointWatch Suggestion
- [Addon] [DistancePlus] Lua runtime error: DistancePlus/DistancePlus.lua:337: attempt to index local 'command'
- [AddOn] [JobChange] //jc RDM/WHM not recognized because uppercase isn't allowed in dual-job operand
- scoreboard crashes game. HOT 2
- 🤷♂️
- [Addon][Gearswap] Faulty file_unload() function prevents unloading/changing profile. HOT 6
- Lua code HOT 1
- [Addon] [findAll] Server-specific files HOT 3
- [AddOn][BLUAlert] BLUAlert going off when it sees Drakesbane in the chat log. HOT 3
- [SpellCheck] needs to be updated to use the unlearnable spells resource flag instead of having it's own exceptions list
- Itemizer doesnt see all bags as enabled, but they are. (Private Server) HOT 2
- [Addon][Treasury] - Auto-Drop unintended consequences with Auto-Pass HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lua.