PtokaX forum

Development Section => Your Developing Problems => Topic started by: Stravides on 29 March, 2005, 19:50:47

Title: Ammend own intro etc TAKE 2.. (lua 5)
Post by: Stravides on 29 March, 2005, 19:50:47
Many thanks for all your help in the past... I hope that this can be resolved asap as I want to migrate to PtokaX 0.3.3.0...  

referring back to a script that Plop Helped me with over a year ago Original Thread (LUA 4) (http://board.univ-angers.fr/thread.php?threadid=1064&boardid=4&page=2)
I would like this converted into Lua 5..

The bot has "evolved" somewhat, but the main is principally the same

Now I have managed to work the majority of it into LUA 5, but I still cannot get the tables or files to work correctly.

Currently changed code is as follows..
SmeagolBot (http://rpgbooks-cymru.no-ip.org/smeagol.rar)

It does not do any of the table loads so all I get upon login is [OPS] Stravides has joined the hub
so it is going thru the code and the table is obv. empty and therefore omits the rest of the code.

It therefore does not give the welcome or exit messages, nor can any of them be changed..

The commands that are still not working are
changelogin
changelogout
changebot
addnewuser

which is a bit of a bummer really...

Help would be grateful - perchance in a way that I can learn would be grateful, but working would also be good hehe... Many thanks in Advance...
Stravides
Title:
Post by: Stravides on 03 April, 2005, 18:54:05
Solved it - dont worry....
Title:
Post by: plop on 03 April, 2005, 21:06:50
QuoteOriginally posted by Stravides
Solved it - dont worry....
np. lol
good 2 hear you solved it by yourself.
go on boy.

plop
Title:
Post by: Stravides on 03 April, 2005, 22:21:27
I was slightly confused by the new tables/file usage - but upon thinking it thru and endless printing out of texts I managed to get it... Next problem is the search for files.... Whatever happened to EnableSearchData and how is that done now...
I have tried SRArrival
SearchArrival
UnknownArrival
SupportArrival

Just lost now....

i'm using the Searchkicker by OpiumVolage (http://board.univ-angers.fr/thread.php?threadid=5&boardid=12)

and I have (i think converted the main, but it doesnt work :(