uo.SetJournal() does not replace the text
Posted: 2008-05-11 17:07:04
Hello,
I have trouble with uo.SetJournalLine(linenum,text)
Just to demonstrate:
Results afer running the script:
It does delete the original journal line but never replaces it with the new text - just leaves empty string.
Maybe i have old version of injection ? :
YokoInjection 505.18 VenD0r
Script parser version 0.3, Yoko Build 212.11
I have trouble with uo.SetJournalLine(linenum,text)
Just to demonstrate:
Code: Select all
sub fakejournal()
var d = 5
uo.textprint("##Journal at the begining:")
uo.showjournal(d + 1)
var i
for i = 0 to d
uo.setjournalline(i,"--changed--")
next
uo.textprint("##After writing to the journal:")
uo.showjournal(i + 1)
end sub
Results afer running the script:
Code: Select all
##Journal at the begining:
------Journal [6]------
Sewer Rat: Sewer Rat
Monroe: Monroe
Kirby: Kirby
Seward: Seward
Mugawe: Mugawe
Melva: Melva
##After writing to the journal:
------Journal [6]------
It does delete the original journal line but never replaces it with the new text - just leaves empty string.
Maybe i have old version of injection ? :
YokoInjection 505.18 VenD0r
Script parser version 0.3, Yoko Build 212.11