PtokaX forum

Archive => Archived 4.0 boards => Finished Lua 4 scripts => Topic started by: biggam on 29 March, 2005, 22:43:01

Title: A Release Bot For New Ptokax
Post by: biggam on 29 March, 2005, 22:43:01
Hi i tried using a release bot i had always used and when i come to load my hub up in ptokax in scrpit editor it says    Syntax ...0My New Hub\final\newnew hub\scripts\Release_Bot.lua:7: attempt to call global `date' (a nil value)    i guessed it was because i got a new ptokax or am i wrong.

can someone help me. thank you
Title:
Post by: Stravides on 29 March, 2005, 22:51:24
if you got PtokaX 0.3.3.0 then that uses LUA 5, the testdrive 4 version uses Lua 4... there are quite a few changes..

I suggest that you browse for FreshStuff for LUA 5 on this hub - try that- any problems - try looking for 4-5 convertor
then doing some manuakl checking to remove the incorrect replacements

FYI

time = date("%H:%M")

now becomes

time = os.date("%H:%M")

kind regards
Stravides
Title:
Post by: bastya_elvtars on 29 March, 2005, 22:56:05
- click - (http://lawmaker.no-ip.org/download.php?get=Li91cGxvYWRzL290aGVyL2ZyZXNoc3R1ZmYzLjQuMHByZTEuemlw)

Also in the finished scripts section for lua5 there is freshstuff topic.
Title:
Post by: biggam on 29 March, 2005, 23:10:12
Hey easy on me i'm not that good at this stuff if any of you have msn can u give it to me so i can ask u about it
if not then can someone just upload the release bot .lua file that will work for 0.3.3.0 . thank you
Title:
Post by: biggam on 29 March, 2005, 23:22:22
.....anyone
Title:
Post by: bastya_elvtars on 30 March, 2005, 00:13:33
Ask your questions here (http://board.univ-angers.fr/thread.php?threadid=3893&boardid=26&styleid=1&sid=9925b5496eec54a9f96992e59cff5f02).