PtokaX forum

Archive => Archived 5.1 boards => Finished Scripts => Topic started by: st0ne-db on 30 August, 2006, 23:10:36

Title: Hang-Man.v1.0.LUA5.X-PtokaX
Post by: st0ne-db on 30 August, 2006, 23:10:36
Hang-Man.v1.0.LUA5.X-PtokaX

A Hang-Man game for LUA 5.0.2 and 5.1
Import ability allows you to build a database
of 1000's of words in seconds.

[v1.0 Features/Notes]
   
Download:

http://the-westside.no-ip.info (http://the-westside.no-ip.info)
Title: Re: Hang-Man.v1.0.LUA5.X-PtokaX
Post by: JueLz on 31 August, 2006, 06:39:42
Nice 1 stoned
Title: Re: Hang-Man.v1.0.LUA5.X-PtokaX
Post by: ??']['??l? on 31 August, 2006, 10:36:34
Thanks for tha great script... ;)
Title: Re: Hang-Man.v1.0.LUA5.X-PtokaX
Post by: st0ne-db on 31 August, 2006, 16:43:10
Quote from: ??']['??l??S on 31 August, 2006, 10:36:34
Thanks for tha great script... ;)


You are welcome... hope that you enjoy it :)
Title: Re: Hang-Man.v1.0.LUA5.X-PtokaX
Post by: imb on 31 August, 2006, 18:14:07
Seem to be having problems installing the script. Put UK.dic from the site provided in scripts\Hangman. Then tried !import w UK.dic, and in theory it seems to work.

Word.list is created

It starts with

tWord = {
   [1] = "aa",

and finishes with

   [153220] = "zyogodactylies",
}


However the script continues to report the error: [2006-08-31 15:35] <?Hang-Man?> *** You have no word database, use the !import command to create one

In ptokax is says [15:36] Syntax constant table overflow

Not sure what i'm doing wrong
Am using ptokax 0.3.3.21 debug.

Title: Re: Hang-Man.v1.0.LUA5.X-PtokaX
Post by: st0ne-db on 31 August, 2006, 18:26:12
Quote from: imb on 31 August, 2006, 18:14:07
Seem to be having problems installing the script. Put UK.dic from the site provided in scripts\Hangman. Then tried !import w UK.dic, and in theory it seems to work.

Word.list is created

It starts with

tWord = {
   [1] = "aa",

and finishes with

   [153220] = "zyogodactylies",
}


However the script continues to report the error: [2006-08-31 15:35] <?Hang-Man?> *** You have no word database, use the !import command to create one

In ptokax is says [15:36] Syntax constant table overflow

Not sure what i'm doing wrong
Am using ptokax 0.3.3.21 debug.




I have been able to recreate this as you explained.... my advice is to keep your database under
100,000 words. You are trying to import a 1.5mb file... and seems to be causeing an overflow.
Try to break the file down into small lists. File sizes of about 500k or less seem to work the best.

-St0ne db
Title: Re: Hang-Man.v1.0.LUA5.X-PtokaX
Post by: Stormbringer on 31 August, 2006, 19:45:19
I've imported 120 000 words in one time, no problem here ;-)
Title: Re: Hang-Man.v1.0.LUA5.X-PtokaX
Post by: JueLz on 01 September, 2006, 18:24:45
I loved hangman IT WORKS Super Fine!
Title: Re: Hang-Man.v1.0.LUA5.X-PtokaX
Post by: NRJ on 04 September, 2006, 08:30:42
Now availible Hang-Man v. 1.1

Enjoy!