Yoko
http://forum.yoko.com.ua/

uo.SetJournal() does not replace the text
http://forum.yoko.com.ua/viewtopic.php?f=3&t=13585
Page 1 of 1

Author:  Vermitras [ 2008-05-11 17:07:04 ]
Post subject:  uo.SetJournal() does not replace the text

Hello,
I have trouble with uo.SetJournalLine(linenum,text)

Just to demonstrate:
Code:
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:
##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

Author:  Vermitras [ 2008-06-06 13:18:35 ]
Post subject: 

So no ideas why it does not work??
I've tried also some other injection.dll ... bud it did not help.

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/