Jump to content
Sign in to follow this  
Minikori

ini read help

Recommended Posts

Minikori

Hello, I've been trying to download a .ini file, but I've tried INetGet and IniRead both to the url. INetGet gives the html code, and IniRead just doesn't work, any help?


For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

Share this post


Link to post
Share on other sites
Vindicator209

Do you have anyscript to show? Perhaps you did something wrong:

$URL = "my ini location"

INetGet($URL,"myini.ini")

IniRead("myini.ini","section","key","default")

it that baisically does what you just said, without specifics... if it returned HTML then you might have downloaded the wrong file


[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites
Minikori

Do you have anyscript to show? Perhaps you did something wrong:

$URL = "my ini location"

INetGet($URL,"myini.ini")

IniRead("myini.ini","section","key","default")

it that baisically does what you just said, without specifics... if it returned HTML then you might have downloaded the wrong file

I just tried exactly your code and it didn't work.

For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

Share this post


Link to post
Share on other sites
TehWhale

Is your location, an actual .ini that when you go there, it prompts you for download?

Share this post


Link to post
Share on other sites
Minikori

Is your location, an actual .ini that when you go there, it prompts you for download?

Yes.

For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

Share this post


Link to post
Share on other sites
TehWhale

If you wouldn't mind, could I have the actual link to do some testing, and then give you a working script back?

Share this post


Link to post
Share on other sites
Vindicator209

perhaps the url location of your ini?

or perhaps the section / key that your reading from it?


[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.