Jump to content




LUA [ERROR] bios:267: Attempt to write global


  • You cannot reply to this topic
13 replies to this topic

#1 tom2018

  • Members
  • 135 posts

Posted 07 November 2012 - 12:11 PM

http://pastebin.com/3emVUXH7
how do i fix?

#2 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 07 November 2012 - 12:24 PM

On line 2, try changing
os.pullevent = os.pullEventRaw
to
os.pullEvent = os.pullEventRaw


#3 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 07 November 2012 - 12:32 PM

View PostKingdaro, on 07 November 2012 - 12:24 PM, said:

On line 2, try changing
os.pullevent = os.pullEventRaw
to
os.pullEvent = os.pullEventRaw
yea, the OS table is protected, that sould work

#4 Espen

    Curious Explorer

  • Members
  • 708 posts

Posted 07 November 2012 - 01:21 PM

View Posttom2018, on 07 November 2012 - 12:11 PM, said:

If I run your code I don't get any error, everything seems to work fine.
What exactly doesn't work? Did you maybe just forget to enable http?

View PostPixelToast, on 07 November 2012 - 12:32 PM, said:

View PostKingdaro, on 07 November 2012 - 12:24 PM, said:

On line 2, try changing
os.pullevent = os.pullEventRaw
to
os.pullEvent = os.pullEventRaw
yea, the OS table is protected, that sould work
That typo wouldn't produce an error though.
It's just that if he'd use the correct spelling for the rest of his program, then he'd be using the original pullEvent instead of the one he defined at the top (the one with the typo), i.e. it'd just get ignored.

#5 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 07 November 2012 - 01:38 PM

In earlier CC versions, an error would pop up if you tried to write to a global table or overwrite a global variable/function. I assume he's using tekkit, because if he weren't, it wouldn't be erroring, like you said.

#6 tom2018

  • Members
  • 135 posts

Posted 07 November 2012 - 01:39 PM

View PostKingdaro, on 07 November 2012 - 12:24 PM, said:

On line 2, try changing
os.pullevent = os.pullEventRaw
to
os.pullEvent = os.pullEventRaw
fixed it

yes this is on tekkit but I play on both tekkit and 1.3.2 version(i hate update 1.4)

#7 Espen

    Curious Explorer

  • Members
  • 708 posts

Posted 07 November 2012 - 01:51 PM

Oh right, Tekkit. I always forget that, sorry. :P/>
Don't hate 1.4 though, there are a lot of nice things in there and you'll want to update eventually, hehe.

#8 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 07 November 2012 - 02:39 PM

View PostEspen, on 07 November 2012 - 01:51 PM, said:

Oh right, Tekkit. I always forget that, sorry. :P/>
Don't hate 1.4 though, there are a lot of nice things in there and you'll want to update eventually, hehe.
Seconded.

@tom, You're lucky 1.46 is only a version compatibility change, but wait 'till dan makes diamond computers. :D/>

#9 ElvishJerricco

  • Members
  • 803 posts

Posted 07 November 2012 - 03:29 PM

View Posttom2018, on 07 November 2012 - 01:39 PM, said:

View PostKingdaro, on 07 November 2012 - 12:24 PM, said:

On line 2, try changing
os.pullevent = os.pullEventRaw
to
os.pullEvent = os.pullEventRaw
fixed it

yes this is on tekkit but I play on both tekkit and 1.3.2 version(i hate update 1.4)

I'm curious as to what there is to hate about 1.4

#10 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 07 November 2012 - 07:22 PM

View PostElvishJerricco, on 07 November 2012 - 03:29 PM, said:

View Posttom2018, on 07 November 2012 - 01:39 PM, said:

View PostKingdaro, on 07 November 2012 - 12:24 PM, said:

On line 2, try changing
os.pullevent = os.pullEventRaw
to
os.pullEvent = os.pullEventRaw
fixed it

yes this is on tekkit but I play on both tekkit and 1.3.2 version(i hate update 1.4)

I'm curious as to what there is to hate about 1.4
i hated updating to everything above 1.7 beta, after that i just quit updating all together and now i use technic p_p
back then aether and BTW were compatable and it was so fun, then they changed the terrain generation and the maps corrupted
i miss beta ;(

#11 tom2018

  • Members
  • 135 posts

Posted 08 November 2012 - 08:43 AM

I would rather keep to minecraft 1.3.2 and not have mod updates because mine craft is not really the game I bought(or hoped for) back in alpha.
now can this thread be closed its getting off topic.

#12 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 08 November 2012 - 08:56 AM

report it, or just let it collect dust

and my favorite minecraft version is 1.7 ;( le good ol days

#13 ElvishJerricco

  • Members
  • 803 posts

Posted 08 November 2012 - 11:11 AM

View PostPixelToast, on 08 November 2012 - 08:56 AM, said:

report it, or just let it collect dust

and my favorite minecraft version is 1.7 ;( le good ol days

I'm still not understanding what's bad about the newer stuff.

#14 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 08 November 2012 - 11:20 AM

View PostElvishJerricco, on 08 November 2012 - 11:11 AM, said:

View PostPixelToast, on 08 November 2012 - 08:56 AM, said:

report it, or just let it collect dust

and my favorite minecraft version is 1.7 ;( le good ol days

I'm still not understanding what's bad about the newer stuff.
[offtopic]
things being incompatable and getting more complicated (specifically Aether and BTW)
[/offtopic]





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users