Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plugin behavior issues
Author Message
Simiac Offline
Expired VIP Member
**

Posts: 4
Joined: Aug 2013
Reputation: 4
Version: 1.4.1.128
Post: #1
Plugin behavior issues
Hi,

I cannot get this to work (will not append to file):

local file = io.open(GetDir() .. "\\plugins\\Drops.txt", "a");
file:write("TOI");
file:flush();

I know that one uses file;close() to close the file, but flush should save things to the file, but it does not.

I do use file:close() later in the same block.
I tried creating Drops.txt in path because am not sure if append function will create a file if it does not already exist.

I recently updated L2 retail to get the game patches and since then have seen issues with some NPC's not responding, etc.
11-09-2013 06:47 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Interlude Augment script/plugin - l2mid anheoo 3 3,805 02-06-2018 23:49 PM
Last Post: canaldextiger
  Healer Fix plugin problem aa300598 1 925 02-20-2016 13:21 PM
Last Post: Vinter
  Craft plugin? aa300598 4 1,089 02-13-2016 11:32 AM
Last Post: TheQQmaster
  3 issues. ekin 2 720 10-29-2015 00:34 AM
Last Post: ekin
WTB WTB SCRIPT OR PLUGIN ON CC khialove 0 509 08-26-2015 16:01 PM
Last Post: khialove
  Newbie Buff script/plugin Firemoth 1 1,209 05-22-2015 22:59 PM
Last Post: akimata
  cant see unstuck plugin on /cfg plugins after infinite odysey drake182 0 890 05-13-2015 16:23 PM
Last Post: drake182
  script or plugin for speak lord_knox 3 1,100 04-02-2015 23:12 PM
Last Post: fender
  Best performance with code in Plugin than Script? rORUMI 2 917 09-14-2014 02:24 AM
Last Post: rORUMI
  feature for batch script/plugin encryption kerberos464 4 1,958 08-16-2014 23:40 PM
Last Post: kerberos464



User(s) browsing this thread: 1 Guest(s)