iUtilities trouble

More
20 years 3 weeks ago #18270 by Second Chance
Anyone ever get anything like this when using iUtilities?
Code:
\include\iUtilities.h(31) : Error: Undeclared identifier ("hinifile") \ship_battle..pog(29) : Error: The imported header file contained errors
I tried putting iUtilities last in the uses list, but it didn't help. I've never had this problem before. But my hard drive replacement meant reinstalling everything.

Can't create waypoints without iUtilities. :(!

mailto:second_chance@cox.net
The Ultimate Guide To Modding: I-War 2 - Edge Of Chaos (on hold during SW MP mod)
cartoons.sev.com.au/index.php?catid=4
.

Please Log in or Create an account to join the conversation.

More
20 years 3 weeks ago #11807 by GrandpaTrout
Replied by GrandpaTrout on topic iUtilities trouble
Creating waypoints:
waypoint = sim.create("ini:/sims/nav/waypoint","my waypoint name");

Error:
To remove the error, you need to place the INIFile package in your uses list, somewhere above iUtilities.

-Gtrout

Please Log in or Create an account to join the conversation.

More
20 years 3 weeks ago #11809 by Second Chance
Replied by Second Chance on topic iUtilities trouble
Cool, thanks. :)

mailto:second_chance@cox.net
The Ultimate Guide To Modding: I-War 2 - Edge Of Chaos (on hold during SW MP mod)
cartoons.sev.com.au/index.php?catid=4
.

Please Log in or Create an account to join the conversation.

More
20 years 3 weeks ago #11822 by EricMan64
Replied by EricMan64 on topic iUtilities trouble
My suggestion would be to simply put the INIFile package in the uses list of the iUtilities header. That way, it will automatically be used every time you use the iUtilities package. You'll never have to worry about this difficulty again!

Please Log in or Create an account to join the conversation.

More
20 years 3 weeks ago #11824 by Second Chance
Replied by Second Chance on topic iUtilities trouble
Thanks EricMan, that was the plan. I had this problem once before with iGui, and that was how it was suggested I solve it (probably by you). Sadly, I tried doing this earlier and it didn't work. So I got mad and stopped playing with it. Of course, I just realized now that I did it completely wrong. I tried #including it instead of putting it in the uses section. Duh.

Thanks again.

mailto:second_chance@cox.net
The Ultimate Guide To Modding: I-War 2 - Edge Of Chaos (on hold during SW MP mod)
cartoons.sev.com.au/index.php?catid=4
.

Please Log in or Create an account to join the conversation.