Search

Last Downloaded

zip-0Location Finder / Locali
zip-1Mission81 (Ross One)

Login

iUtilities trouble

Second Chance's Avatar Topic Author
King of Space King of Space
  • Posts: 1152
  • Thanks: 0

iUtilities trouble

21 years 1 month ago
#18270
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.

GrandpaTrout's Avatar
King of Space King of Space
  • Posts: 1135
  • Thanks: 0

Re:

21 years 1 month ago
#11807
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.

Second Chance's Avatar Topic Author
King of Space King of Space
  • Posts: 1152
  • Thanks: 0

Re:

21 years 1 month ago
#11809
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.

EricMan64's Avatar
Junkie Junkie
  • Posts: 381
  • Thanks: 0

Re:

21 years 1 month ago
#11822
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.

Second Chance's Avatar Topic Author
King of Space King of Space
  • Posts: 1152
  • Thanks: 0

Re:

21 years 1 month ago
#11824
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.