Lua Error: attempt to index global 'SetMan'[a nil value]
 

Lua Error: attempt to index global 'SetMan'[a nil value]

Started by P_pan, 22 March, 2008, 09:22:49

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

P_pan

names are set correctly guess i missed something?
but indeed its working fine
but it doesnt get a botname at all

update : i found out i have this kind of error on a few new scripts
but it seems they do run fine...
all releated to this same line >>
SetMan.GetString(21),

im lost..
1. > ChatBot 1.0 LUA 5.11 [Strict][API 2] < works correct no errors..
2. > TopTen 1.0 LUA 5.1x [Strict][API 2]  < works correct no errors..
3. > NoPubHub 1.0f LUA 5.1x [Strict][API 2] < faulty on>
Syntax [string" --[[..."]:21: attempt to index global 'SetMan'[a nil value]

4. > ConnectStats 1.0c LUA 5.1x [API 2]  < works correct no errors..
5. > ShoutStats 2.0 LUA 5.1x [Strict][API 2] < faulty on >
Syntax [string" --[[..."]:20: attempt to index global 'SetMan'[a nil value]

6. > FreshStuff3 v5 < faulty on>
Syntax [string" --[[..."]:30: FATAL: This script does not support your host application :-{

7. > Multi-IP Log 1.0b LUA 5.1x [Strict][API 2] < faulty on >
Syntax [string" --[[..."]:21: attempt to index global 'SetMan'[a nil value]

maybe this  will help...

although all scripts are working fine though
but those errors ill get only when i hit check Syntax in scripts...
ill hope someone has a clue?
thnx

P_pan

im sorry if i undermisstood You Mutor..
but the hub is running...
but i think its the character i use for the bots?
cause i use (example) #Opchat#
for the bot names ...
forgave a noob...

P_pan

thanks for clearing this issue up Mutor...
apprciated...

bastya_elvtars

FreshStuff does a hostapp detection routine in its core lua file and complains if certain namespaces don't exist. Currently it works with PtokaX only and throws an error with the standard Lua interpreter but in general, end users should only feed that code to the non-PtokaX Lua syntax check if they know what they are doing. :)
Everything could have been anything else and it would have just as much meaning.

SMF spam blocked by CleanTalk