PtokaX forum

Archive => Archived 5.0 boards => Finished Scripts => Topic started by: Sarpanch on 16 August, 2005, 21:29:15

Title: FreshStuff 3 - 4.2
Post by: Sarpanch on 16 August, 2005, 21:29:15
ive tried the script but each time the hub restarts it looses all the catagories and restores it to the defalut settings wats wrong? ?(  
Title:
Post by: bastya_elvtars on 16 August, 2005, 22:40:37
Sorry, this is a little bug. Find this line:

 local f=io.open("lawmaker/components/metafiles/fresh_categories.dat","w+")
and replace to:

local f=io.open("freshstuff/categories.dat","w+")
Sorry.
Title:
Post by: Sarpanch on 17 August, 2005, 18:10:54
Thanks alot mate!! and by the way no need to say sorry its all good :))  thanks again
Title:
Post by: cryptonic on 08 October, 2005, 16:44:24
Hi

i use ptokax 0.3.3.21 and cant get this script to work. Noting happends when i run the commands except when i set the userlevel to 0, then i get the response that the command is disabled. otherwise no response from the commands.

Whats wrong?
Title:
Post by: cryptonic on 08 October, 2005, 17:06:24
i get this message under scripts in ptokax:
Syntax C:\PtokaX\scripts\freshstuff3.4.2.lua:198: attempt to compare number with nil