View previous topic :: View next topic |
Author |
Message |
MateeJr GT Advanced Cheater
Reputation: 0
Joined: 24 Dec 2017 Posts: 66
|
|
Back to top |
|
 |
DaVinci69 How do I cheat?
Reputation: 0
Joined: 18 Feb 2019 Posts: 6
|
Posted: Sat Jul 06, 2019 11:04 pm Post subject: Re: i need help ., im on a big project |
|
|
something like this?
Code: | UDF1.CEImage1.Stretch = true
UDF1.CEEdit1.CharCase = 'ecLowerCase'
createNativeThread(function()
function createPictureFromURL(url)
local http = getInternet()
local file = http.getURL(url)
http.destroy()
local picture = createPicture()
local stream = createStringStream(file)
picture.loadFromStream(stream)
return picture
end
url = 'First part of link here'..UDF1.CEEdit1.Text..'.png'
CPFU = createPictureFromURL(url)
picture = CPFU
UDF1.CEImage1.SetPicture(picture)
end)
UDF1.show() |
idk if thats what you wanted
|
|
Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Sat Jul 06, 2019 11:42 pm Post subject: |
|
|
This is example as you want:
Code: | form = createForm()
form.setSize(700,700)
edit = createEdit(form)
edit.setPosition(10,10)
edit.width = 100
edit.CharCase = 'ecLowerCase'
edit.Text=''
image = createImage(form)
image.setSize(680,640)
image.setPosition(10,50)
image.Stretch = true
function createPictureFromURL(url)
local http = getInternet()
local file = http.getURL(url)
http.destroy()
local picture = createPicture()
local stream = createStringStream(file)
picture.loadFromStream(stream)
return picture
end
function getImageFromEditText()
local txt,url,MateeJrPic
txt = edit.Text
if txt == nil then return nil end
if txt == 'parkour' then
url = 'http://www.growtopiagame.com/worlds/parkour.png'
elseif txt == 'growtopia' then
url = 'http://www.growtopiagame.com/worlds/growtopia.png'
else
return nil
end
MateeJrPic = createPictureFromURL(url)
image.setPicture(MateeJrPic)
end
form.show()
edit.OnChange = getImageFromEditText |
just type 'parkour' or 'growtopia' on Edit Box and press Enter.
If you want to call the image via a button click, then just change:
Code: | edit.OnChange = getImageFromEditText
-- change to:
[your button name].OnClick = getImageFromEditText
|
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
 |
MateeJr GT Advanced Cheater
Reputation: 0
Joined: 24 Dec 2017 Posts: 66
|
Posted: Sun Jul 07, 2019 12:21 am Post subject: |
|
|
Code: |
form = createForm()
form.setSize(700,700)
edit = createEdit(form)
edit.setPosition(10,10)
edit.width = 100
edit.CharCase = 'ecLowerCase'
edit.Text=''
image = createImage(form)
image.setSize(680,640)
image.setPosition(10,50)
image.Stretch = true
function createPictureFromURL(url)
local http = getInternet()
local file = http.getURL(url)
http.destroy()
local picture = createPicture()
local stream = createStringStream(file)
picture.loadFromStream(stream)
return picture
end
function getImageFromEditText()
local txt,url,MateeJrPic
txt = edit.Text
if txt == nil then return nil end
if txt == 'parkour' then
url = 'http://www.growtopiagame.com/worlds/parkour.png'
elseif txt == 'growtopia' then
url = 'http://www.growtopiagame.com/worlds/growtopia.png'
else
return nil
end
MateeJrPic = createPictureFromURL(url)
image.setPicture(MateeJrPic)
end
form.show()
edit.OnChange = getImageFromEditText
|
noooo
i dont want create new UDF_1 form
/fpp
i already have CEImage , CEEdit, button
if i click on button
so the button will check what text in ceedit
then it will be show up on The CE IMAGE
NOT SHOW UP IN NEW FORMMM[/quote]
why IM GET STREAM ERROR ? help pls
_________________
Hi Lynxz Gaming |
|
Back to top |
|
 |
Lynxz Gaming Expert Cheater
Reputation: 4
Joined: 01 Jul 2017 Posts: 208 Location: help
|
Posted: Sun Jul 07, 2019 12:37 am Post subject: Re: i need help ., im on a big project |
|
|
put this on top of your script
Code: | function createPictureFromURL(url)
local http = getInternet()
local file = http.getURL(url)
http.destroy()
local picture = createPicture()
local stream = createStringStream(file)
picture.loadFromStream(stream)
return picture
end |
to change the image
Code: | UDF1.CEImage1.setPicture(createPictureFromURL("https://s3.amazonaws.com/world.growtopiagame.com/"..string.lower(UDF1.CEEdit1.text)..".png")) |
u can stretch the image on properties
_________________
my english is bad
discord : rynx#9828 |
|
Back to top |
|
 |
MateeJr GT Advanced Cheater
Reputation: 0
Joined: 24 Dec 2017 Posts: 66
|
Posted: Sun Jul 07, 2019 1:42 am Post subject: |
|
|
omg lynxz you are back
Thanks! worked!
THAT WHAT I WANT! fp fp
bye lynxz
_________________
Hi Lynxz Gaming |
|
Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Sun Jul 07, 2019 3:31 am Post subject: |
|
|
MateeJr GT wrote: |
noooo
i dont want create new UDF_1 form
/fpp
i already have CEImage , CEEdit, button
if i click on button
so the button will check what text in ceedit
then it will be show up on The CE IMAGE
NOT SHOW UP IN NEW FORMMM |
Who ask you to make a new form/UDF1, etc?. Did you see I said 'THIS IS EXAMPLE...' ?.
The script has made which mean to show you how to do what you want.
But seem you are not want to learn. So, next, good luck to you.
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
 |
exohaxor Expert Cheater
Reputation: 1
Joined: 02 Sep 2018 Posts: 101
|
Posted: Sun Jul 07, 2019 1:09 pm Post subject: |
|
|
davinci69 literally gave what u needed...
_________________
hi |
|
Back to top |
|
 |
Lynxz Gaming Expert Cheater
Reputation: 4
Joined: 01 Jul 2017 Posts: 208 Location: help
|
Posted: Sun Jul 07, 2019 3:15 pm Post subject: |
|
|
exohaxor wrote: | davinci69 literally gave what u needed... |
maybe my explanation is easy to understand for a newbie xD
_________________
my english is bad
discord : rynx#9828 |
|
Back to top |
|
 |
MateeJr GT Advanced Cheater
Reputation: 0
Joined: 24 Dec 2017 Posts: 66
|
Posted: Sun Jul 07, 2019 7:37 pm Post subject: |
|
|
i mean , Lynxz script is Working!
Your Corroder script is not working anything!!!!!
STREAM error!!
what it is? wkwkkwkkk
and im sorry davinci
your script get Stream error too
_________________
Hi Lynxz Gaming |
|
Back to top |
|
 |
Lynxz Gaming Expert Cheater
Reputation: 4
Joined: 01 Jul 2017 Posts: 208 Location: help
|
Posted: Sun Jul 07, 2019 8:41 pm Post subject: |
|
|
corroder script are working fine
and davinci69 working fine too
i tested it
_________________
my english is bad
discord : rynx#9828 |
|
Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
|
Back to top |
|
 |
MateeJr GT Advanced Cheater
Reputation: 0
Joined: 24 Dec 2017 Posts: 66
|
Posted: Mon Jul 08, 2019 8:16 pm Post subject: |
|
|
u guys 64bit , me 32bit , idk when i click on button (Stream read error)
_________________
Hi Lynxz Gaming |
|
Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Tue Jul 09, 2019 9:13 am Post subject: |
|
|
Begitu jadi kah?
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
 |
Lynxz Gaming Expert Cheater
Reputation: 4
Joined: 01 Jul 2017 Posts: 208 Location: help
|
Posted: Tue Jul 09, 2019 1:28 pm Post subject: |
|
|
Corroder wrote: | Begitu jadi kah? |
lawl
_________________
my english is bad
discord : rynx#9828 |
|
Back to top |
|
 |
|