PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Finished Scripts => Topic started by: bastya_elvtars on 25 May, 2008, 01:17:41

Title: PostMan 0.9 beta2
Post by: bastya_elvtars on 25 May, 2008, 01:17:41
Nothing new, just adapted to the 0.4.x API. It's beta, so it is likely that there are bugs. Please test it.
For new users: this is an offline message sending script that encodes messages into an unreadable format and allows features like sending one message to many users, mass deletion, advanced inbox management etc.
Title: Re: PostMan 0.9 beta1
Post by: bastya_elvtars on 25 May, 2008, 12:15:44
Just a sidenote: 1.0 will come soon and will be rewritten the same way as FreshStuff works now.
Title: PostMan 0.9 beta2
Post by: bastya_elvtars on 25 May, 2008, 17:16:11
Here is another update. Changelog follows:
    PostMan:
    Changed: new base64 library (also written by Alex Kloss)
    Changed: PtokaX's script error logging is enabled on startup
    Fixed: PM command parsing was broken
    Added: the project is licensed under the Microsoft Reciprocal License (Ms-RL) from now on
Title: Re: PostMan 0.9 beta2
Post by: kammikaze on 11 June, 2012, 19:16:40
Where can i make changes in the rightclickmenu? Can somebody help me out? thx already ;)
Title: Re: PostMan 0.9 beta2
Post by: the-master on 12 June, 2012, 20:16:41
behind "local RC" under user connected
Title: Re: PostMan 0.9 beta2
Post by: nightcrawler on 01 July, 2012, 20:38:53
Hey
     Is this script now in beta version or full version??????
Title: Re: PostMan 0.9 beta2
Post by: Dessamator on 03 July, 2012, 16:49:31
For lack of a better word, that script, at least the one posted is Archaic, it was posted in 2008.

Title: Re: PostMan 0.9 beta2
Post by: bastya_elvtars on 04 July, 2012, 09:54:35
Actually nobody asked for conversion. :-)
Title: Re: PostMan 0.9 beta2
Post by: Azazel on 06 August, 2014, 20:56:46
Please Someone convert it..

I am not able to use it in ptokax version 0.5.0.2 with lua 5.1.5

I am getting error related to path..May be it can not find the files which are under postman folder

Thanks.. :)
Title: Re: PostMan 0.9 beta2
Post by: the-master on 10 August, 2014, 21:31:37
error related to path has nothing to do with Lua, plz post errors or stop whining  :P
Title: Re: PostMan 0.9 beta2
Post by: PPK on 10 August, 2014, 22:00:40
Here is nothing to convert and that error is self explaining. Wrong paths in script...
Change
Code (lua) Select
require "scripts.postman.base64"
require "scripts.postman.tables"

to
Code (lua) Select
require "postman.base64"
require "postman.tables"
Title: Re: PostMan 0.9 beta2
Post by: Azazel on 11 August, 2014, 01:56:46
It worked.. Thanks to PPK and also to the-master..

And to the-master..from next time i will surely post errors or at least won't whine..  :)
Title: Re: PostMan 0.9 beta2
Post by: Sir_BadEnglish on 16 January, 2017, 11:07:13
i get the following error:
...lua5.2.3_Chathub\scripts\postman\base64.lua:71: attempt to call a nil value (global 'module')

this is the part of the file "base64.lua". Z71 is the line before the last "end":
-- command line if not called as library
if (arg ~= nil) then
   local func = 'enc'
   for n,v in ipairs(arg) do
      if (n > 0) then
         if (v == "-h") then print "base64.lua [-e] [-d] text/data" break
         elseif (v == "-e") then func = 'enc'
         elseif (v == "-d") then func = 'dec'
         else print(_G[func](v)) end
      end
   end
else
   module('base64',package.seeall)
end

What can i do?
Title: Re: PostMan 0.9 beta2
Post by: PPK on 16 January, 2017, 17:52:35
Quote from: Sir_BadEnglish on 16 January, 2017, 11:07:13
...lua5.2.3_Chathub\scripts\postman\base64.lua:71: attempt to call a nil value (global 'module')
If i remember correctly "module" was in lua 5.1 and was removed to 5.2. You can't run this on PtokaX with lua 5.2.3  :rolleyes: