![wow client handler error wow client handler error](https://cdn.appuals.com/wp-content/uploads/2020/12/Accessing-the-Propertiees-screen.jpg)
You should call this function only on startup to ensure everyone gets the same - addons and no addon is duplicate.
![wow client handler error wow client handler error](https://i.ytimg.com/vi/8JUcbOGGSCg/maxresdefault.jpg)
The function only exists on server side. Do note that short names are - better since they are sent back and forth to indentify files. 'name' is an unique name for the addon, usually - you can use the file name or addon name there. The addon is cached on client side and will - be updated only when needed.
Wow client handler error code#
The code is trimmed - according to settings in AIO.lua. AddAddon() then return end - Similar to AddAddon - Adds 'code' to the addons sent to players. The way this is designed to be used is at the top of an addon file so that the - file is added and not run if we are on server, and just run if we are on client: if AIO. By default the - path is the current file's path and name is the file's name - 'path' is relative to worldserver.exe but an absolute path can also be given. Returns false on client side and true on server side. The addon is cached on client side and will be updated only when needed. The addon code is trimmed according to settings in AIO.lua. Adds the file at given path to files to send to players if called on server side. Returns AIO version - note the type is not guaranteed to be a number Returns true if we are on server side, false if we are on client side AIO is required this way due to server and client differences with require function local AIO = AIO or require( "AIO ") See AIO.RegisterEvent(name, func) and AIO.AddHandlers(name, handlertable) You can also code your own handlers and add them to AIO with the functions described in API section. This is important to fend off bad users and make things work better with your setup.ĪIO has a few handlers by default that are used for the internal codes and you can Do check the AIO.lua settings and tweak them to your needs for both client and server respectively.There is a tweakable timeout in AIO.lua just to be sure that the server will not hang if you happen to write bad or abusable code or if a bad user finds a way to hang the system make sure your code has asserts in place and is fast.(example: math.huge is a number type, but not a real number)
![wow client handler error wow client handler error](https://appuals.com/wp-content/uploads/2020/12/cas-system-unable-to-initialize.jpg)
In your own codes make sure all data the client sends to server and you use is the type you expect it to be and is in the range you expect it to be in.
![wow client handler error wow client handler error](https://cdn.windowsreport.com/wp-content/uploads/2020/06/lua-errors-disable-display-lua-errors.jpg)
serialization library is not using loadstring to make deserialization safe.data received from client is only deserialized - no compressions etc.you can limit the cache sizes, delays and other in AIO.lua.The messaging between server and client is coded to be safe On client side use /aio help to see a list of them. There are some commands that may be useful. It holds and manages the data to send over. The client-server messaging is handled with an AIO message helper class.
Wow client handler error full#
The code has full access to the client side addon API. The full addon code sent to client is executed on client as is. The user can also clear his local AIO cache in which case the addons will be sent again. Only if an addon is changed or added the new addon is sent again. When an addon added to AIO as an addon to send to the client, it will be processed (depending on settings, obfuscated and compressed) and stored in memory to wait for sending to players.Īll addons that are added are executed on client side in the order they were added to AIO.ĪIO is using a cache system to cache the addon codes to client side so they dont need to be sent on every login. When developing an addon it is recommended to have AIO_ENABLE_PCALL off and sometimes you may need AIO_ENABLE_DEBUG_MSGS on to see some information about what is going on.ĪIO works so that the server and client have their own lua scripts that handle sending and receiving messages from and to eachother.You can tweak both the server and client file respectively See configuration settings on AIO.lua file.Copy the AIO_Server to your server_root/lua_scripts/.Copy the AIO_Client to your WoW_installation_folder/Interface/AddOns/.It allows you to use AIO without requiring Eluna. Third party C++ support is made by SaiFi0102. Tested on 3.3.5a and should work on other patches. AIO is a pure lua server-client communication system for Eluna and WoW.ĪIO is designed for sending lua addons and data to player from server and data from player to server.