PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Finished Scripts => Topic started by: UwV on 12 November, 2007, 20:37:01

Title: Ascii-Talk (new api)
Post by: UwV on 12 November, 2007, 20:37:01
-=Ascii-Talk=- for 3.0.6i NEW API
--// Idea taken from aDe's SAY SCRIPT, many thx //--

--// ASCII TALK  0.3 //--

--[[
CHANGELOG:
-----------------------
V 0.3i -        UwV          nov. 13 2007   @ 00:58:05
    changed to new px api

V 0.2 -   15/11/2006:    
Added more SingleWords support (second argument), check file (UwV)
Fixed linebreaks this time...
Changed UserCommands, deleted submenu for single words

V 0.1  -  7/11/2006:
Changed Ascii File Layout
Added Support for Emotions, Phrases
Added SingleWord support and SingleWordFile (UwV)
Optimised Loading of Fonts
Fixed linebreaks, can now be used in all commands
Added [name] support in Single Words
Added formatmode for Single Words
Made Tabstops and linbreaks c conform e.g. \n, \t
Added SingleWord Menu Support (UwV)


--]]--

--// All Fonts optimised for Microssoft Sans Serif Size 8

Title: Re: Ascii-Talk (new api)
Post by: kammikaze on 02 October, 2010, 14:58:26
hello, a few weeks ago i start to try the new hubsoft ptokax 4.12 with dx bot included. For weeks the script runs good, but now, i didn`t change anything, but after a reboot i got this message: asciitalk_i.lua:388: attempt to index local 'file' (a nil value). It`s still vissible in the hubtab but is not working anymore, can somebody help me out? thx already
Title: Re: Ascii-Talk (new api)
Post by: kammikaze on 03 October, 2010, 14:10:06
Oke, but what can i do about it? In the scriptfolder where the ascii folder is, there are 4 txt files where the fonts are, they are not missing there. But if i delete the "old" script, and i replace it for the original, still the same error.
Title: Re: Ascii-Talk (new api)
Post by: kammikaze on 03 October, 2010, 14:26:51
I deleted the script and ascii folder complete and replaced it for the original, but still the same. The script and ascii folder are in my script folder. It worked for a few weeks here but after reboot my pc it started to crash. But when ptokax check the script it says no errors, but when i start the script i got this error.
Title: Re: Ascii-Talk (new api)
Post by: kammikaze on 03 October, 2010, 17:12:27
thx Mutor, it runs perfect again, i go and make a backup of the script. Thank you verry verry much, bless ;)
Title: Re: Ascii-Talk (new api)
Post by: sky202_how89 on 04 October, 2010, 11:39:55
Can you write another one for all users include unregistered users.
Appreciate a lots  ;)

Regards,
SKy
Title: Re: Ascii-Talk (new api)
Post by: sky202_how89 on 05 October, 2010, 10:15:48
Quote from: Mutor on 04 October, 2010, 19:10:19
There is already an option in the script.Set this to 0

But.. when I change the value to 0, an error occur

[16:14] Syntax C:\PtokaX0412\scripts\asciitalk_i.lua:400: unfinished string near '"? )'

And ya.. I was using Ptolax 0.4.1.2.
Title: Re: Ascii-Talk (new api)
Post by: Dessamator on 06 October, 2010, 16:49:34
Quote from: Mutor on 05 October, 2010, 16:02:38
That error is coincidental and unrelated to that setting.
Let's wait for the author to reply, as is proper protocol.

While I generally agree with that protocol, I'm not so sure its valid for (ex-)scripters(absent) like me and probably Jiten. Which have pretty much "retired" and will probably never update or even check the forum for a long time.

In these cases I think it is better for other people(scripters) to post patches or updates.

Anyway it depends on the authors, in my case at least you have my permission to mod or update or even rewrite any of my scripts.
Assuming they even exist anymore or are even used.

Title: Re: Ascii-Talk (new api)
Post by: Dessamator on 07 October, 2010, 13:24:48
Quote from: Mutor on 06 October, 2010, 23:35:45
It's difficult at best, to know who is active on the board or not.
Aside from I think it best to give authors a fair opportunity to
reply, I'm not a fan of modding the work of others. Rather, I'd
prefer to rewrite my own. That provided I have interest in same.

Indeed, I was just commenting on the fact that waiting is not always the best option. Besides, a quick fix is not really a "mod" its more like a tiny patch(in some cases). Anyway I was just stating it for the sake of helping those who might never get a response from the "scripter".

Personally, I don't even think my scripts are used so that's a "moot" point.