Search found 111 matches

by peceha
Wed Sep 27, 2017 8:43 pm
Forum: Hollywood bugs
Topic: setSpriteZPos() - gives error when using 0/1
Replies: 5
Views: 7284

Re: setSpriteZPos() - gives error when using 0/1

Thanks. Didn't think of it.
by peceha
Wed Sep 27, 2017 7:56 pm
Forum: Hollywood bugs
Topic: setSpriteZPos() - gives error when using 0/1
Replies: 5
Views: 7284

Re: setSpriteZPos() - gives error when using 0/1

But is the error message necessary in that case ? I do not want my program to be stopped because of something that is ... not an error (in my opinion) ;)

Thanks
by peceha
Mon Sep 25, 2017 10:59 pm
Forum: Hollywood bugs
Topic: setSpriteZPos() - gives error when using 0/1
Replies: 5
Views: 7284

setSpriteZPos() - gives error when using 0/1

Hi, setSpriteZPos() throws an error: Wrong usage/parameters for this command! Read the documentation! whenever I'm trying to bring to front (0) the sprite which is already in front or moving to the back (1) when the sprite is already at the back. For example: SetFillStyle(#FILLCOLOR) CreateBrush(0,1...
by peceha
Sat Sep 23, 2017 1:32 pm
Forum: Hollywood bugs
Topic: HaveItem() - maybe needs more explanation in manual
Replies: 1
Views: 2980

HaveItem() - maybe needs more explanation in manual

Hi please check this out: t={["One"]=1} DebugPrint(HaveItem(t,"One")) it prints 0 !! - but it should be 1 The thing is, HaveItem() probably converts its second argument to lowercase and cannot find a match if there is a match (and opposite): t={["one"]=1} DebugPrint(Hav...
by peceha
Mon Sep 18, 2017 5:26 pm
Forum: Hollywood bugs
Topic: question about #LEFT, #RIGHT
Replies: 1
Views: 3054

question about #LEFT, #RIGHT

Hi, please try this: TextOut(#CENTER,#TOP,"top") TextOut(#CENTER,#TOP+8,"top+8") TextOut(#RIGHT,#CENTER,"right") TextOut(#RIGHT-80,#CENTER,"right-80") ;shows nothing TextOut(#CENTER,#BOTTOM-8,"bottom-8") TextOut(#CENTER,#BOTTOM,"bottom") Te...
by peceha
Mon Sep 18, 2017 4:22 pm
Forum: Newbie questions
Topic: sanding a table with SendData()
Replies: 6
Views: 8444

Re: sanding a table with SendData()

Looks like following sequence works just fine:

Code: Select all

...
saveBrush()
fileToString()
sendData()
stringToFile()
loadBrush()
...
Thanks
by peceha
Sun Sep 17, 2017 9:30 am
Forum: Hollywood bugs
Topic: writeTable() - text mode not working?
Replies: 2
Views: 3635

Re: writeTable() - text mode not working?

:oops:
Thanks !!! - now the resulting file looks much different.
by peceha
Sat Sep 16, 2017 11:31 pm
Forum: Hollywood bugs
Topic: writeTable() - text mode not working?
Replies: 2
Views: 3635

writeTable() - text mode not working?

Hi,

Code: Select all

myTable={
	portNo	=5912,
	serverIP	= "192.168.1.4"
}
WriteTable(1,myTable,txtmode=True,nobrk=False)
gives me such file:
HWT0 serverip 192.168.1.4 portno@·
and:

Code: Select all

WriteTable(1,myTable)
gives exactly the same result.

Am I doing anything wrong?
by peceha
Fri Sep 15, 2017 9:12 am
Forum: Newbie questions
Topic: sanding a table with SendData()
Replies: 6
Views: 8444

Re: sanding a table with SendData()

Just one more :D How to change a brush into the string (or better - send it using the SendData() command) ? I have a 16x16 pxl avatar that needs to be sent over the network to the rest of the computers. I have found SaveBrush() command to make a file out of it and then FileToString()... is that corr...
by peceha
Fri Sep 15, 2017 8:57 am
Forum: Hollywood bugs
Topic: ToIP(GetHostName()) - could be a bug ?
Replies: 1
Views: 2571

ToIP(GetHostName()) - could be a bug ?

Hello,
during some experiments :D I found out that:

Code: Select all

ip=ToIP(GetHostName())
DebugPrint(ip)
prints IP address

and:

Code: Select all

DebugPrint(ToIP(GetHostName()))
prints IP address + some more info (table details)

Is it a bug?