Author Topic: Lua Error: attempt to index global 'SetMan'[a nil value]  (Read 3981 times)

0 Members and 1 Guest are viewing this topic.

Offline P_pan

  • Fulll Member
  • ****
  • Posts: 71
  • Karma: +1/-3
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 >>
Code: [Select]
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>
Code: [Select]
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 >
Code: [Select]
Syntax [string" --[[..."]:20: attempt to index global 'SetMan'[a nil value] 6. > FreshStuff3 v5 < faulty on>
Code: [Select]
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 >
Code: [Select]
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
« Last Edit: 22 March, 2008, 10:59:47 by P_pan »

PtokaX forum


Offline P_pan

  • Fulll Member
  • ****
  • Posts: 71
  • Karma: +1/-3
Lua Error: attempt to index global 'SetMan'[a nil value]
« Reply #1 on: 22 March, 2008, 14:29:42 »
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...

Offline P_pan

  • Fulll Member
  • ****
  • Posts: 71
  • Karma: +1/-3
Lua Error: attempt to index global 'SetMan'[a nil value]
« Reply #2 on: 22 March, 2008, 18:49:02 »
thanks for clearing this issue up Mutor...
apprciated...

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 749
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
Re: Lua Error: attempt to index global 'SetMan'[a nil value]
« Reply #3 on: 25 March, 2008, 16:59:23 »
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.

PtokaX forum

Re: Lua Error: attempt to index global 'SetMan'[a nil value]
« Reply #3 on: 25 March, 2008, 16:59:23 »