Custom Icons
Moderator: Moderators
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Custom Icons
ITfactor
post your ingame.req and the part of you lua where you are calling for the ingame.lvl
post your ingame.req and the part of you lua where you are calling for the ingame.lvl
-
theITfactor
- Chief Warrant Officer

- Posts: 327
- Joined: Wed Jun 28, 2006 12:56 pm
- Projects :: The Pwnfest and Games Complex
- xbox live or psn: You and I Know
- Location: The Old Republic
- Contact:
Re: Custom Icons
ingame.req (data_PWN/Common)FragMe! wrote:ITfactor
post your ingame.req and the part of you lua where you are calling for the ingame.lvl
Hidden/Spoiler:
Hidden/Spoiler:
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Custom Icons
how big is you ingame.lvl file? You may have to do a clean and remunge. Or you could just go into the _lvl_PC folder of your map and delete the one there then remunge.
The original ingame.lvl is about 14 Meg your ingame should be about 1 meg (depending on how many Icons you changed)
The original ingame.lvl is about 14 Meg your ingame should be about 1 meg (depending on how many Icons you changed)
-
theITfactor
- Chief Warrant Officer

- Posts: 327
- Joined: Wed Jun 28, 2006 12:56 pm
- Projects :: The Pwnfest and Games Complex
- xbox live or psn: You and I Know
- Location: The Old Republic
- Contact:
Re: Custom Icons
hmm didn't work, I'm starting to think it might be a separate problem, but I'm still not sure.FragMe! wrote:how big is you ingame.lvl file? You may have to do a clean and remunge. Or you could just go into the _lvl_PC folder of your map and delete the one there then remunge.
The original ingame.lvl is about 14 Meg your ingame should be about 1 meg (depending on how many Icons you changed)
This came up a lot in the error log:
Hidden/Spoiler:
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Custom Icons
I'm guessing the error is talking about the 'table' on line 243 of ifutil_mouse.lua. I remember looking at ifutil_mouse, but I didn't change anything (at least not on purpose, and it will be a few hours till I can get home to check). ifutil_mouse is part of common.lvl, and thus shouldn't be changed by the custom ingame.lvl...
By any chance, are you using the common.lvl from FreeCam_Jan-19-2008?
What was the pop-up that was popping up when you got the error?
Are you willing to package up your map, so others can download it and test the error?
Can you post the rest of your lua?
What happens when you delete your custom ingame.lvl (leave your lua alone, just delete it from the addon/data_PWN/data/_LVL_PC/)?
By any chance, are you using the common.lvl from FreeCam_Jan-19-2008?
What was the pop-up that was popping up when you got the error?
Are you willing to package up your map, so others can download it and test the error?
Can you post the rest of your lua?
What happens when you delete your custom ingame.lvl (leave your lua alone, just delete it from the addon/data_PWN/data/_LVL_PC/)?
-
theITfactor
- Chief Warrant Officer

- Posts: 327
- Joined: Wed Jun 28, 2006 12:56 pm
- Projects :: The Pwnfest and Games Complex
- xbox live or psn: You and I Know
- Location: The Old Republic
- Contact:
Re: Custom Icons
Well I removed the custom icons + uninstalled the old freecam i was using (june 2006 edition i think lol) Still had the problem, looked in my lua and found this:[RDH]Zerted wrote:I'm guessing the error is talking about the 'table' on line 243 of ifutil_mouse.lua. I remember looking at ifutil_mouse, but I didn't change anything (at least not on purpose, and it will be a few hours till I can get home to check). ifutil_mouse is part of common.lvl, and thus shouldn't be changed by the custom ingame.lvl...
By any chance, are you using the common.lvl from FreeCam_Jan-19-2008?
What was the pop-up that was popping up when you got the error?
Are you willing to package up your map, so others can download it and test the error?
Can you post the rest of your lua?
What happens when you delete your custom ingame.lvl (leave your lua alone, just delete it from the addon/data_PWN/data/_LVL_PC/)?
Hidden/Spoiler:
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Custom Icons
The global 'table' is used by Lua for table/array/matrix functions. Examples:
table.remove()
table.insert()
table.foreach()
By doing table = OnEnterRegion... you replaced's Lua table functions with OnEnterRegion. When the mouse handling code attempted to access a table of GUI components, it accessed your OnEnterRegion instead.
You should be able to fix it by renaming your table to something else or changing your line to local table = OnEnterRegion(
Check my website if you want the FreeCam Jan_19_2008 version.
table.remove()
table.insert()
table.foreach()
By doing table = OnEnterRegion... you replaced's Lua table functions with OnEnterRegion. When the mouse handling code attempted to access a table of GUI components, it accessed your OnEnterRegion instead.
You should be able to fix it by renaming your table to something else or changing your line to local table = OnEnterRegion(
Check my website if you want the FreeCam Jan_19_2008 version.
-
theITfactor
- Chief Warrant Officer

- Posts: 327
- Joined: Wed Jun 28, 2006 12:56 pm
- Projects :: The Pwnfest and Games Complex
- xbox live or psn: You and I Know
- Location: The Old Republic
- Contact:
Re: Custom Icons
Thanks Zerted, it is all working now. I suppose all the posts on this topic about my issue can be deleted, they weren't relevant after all.[RDH]Zerted wrote:The global 'table' is used by Lua for table/array/matrix functions. Examples:
table.remove()
table.insert()
table.foreach()
By doing table = OnEnterRegion... you replaced's Lua table functions with OnEnterRegion. When the mouse handling code attempted to access a table of GUI components, it accessed your OnEnterRegion instead.
You should be able to fix it by renaming your table to something else or changing your line to local table = OnEnterRegion(
Check my website if you want the FreeCam Jan_19_2008 version.
I'll leave it up to FragMe!. These posts show the importance of using the lua keyword: local, a bit of info on SWBF2 mouse handling, info about another FreeCam release 3 days ago, and another example lua and req overriding ingame.lvl. Its up to you... ~[RDH]Zerted
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Custom Icons
We shall leave it all as is. I am just happy it wasn't my mod that was buggering you up
at least I don't think it was.
Oh another note since I believe you were doing this forr assault mode the untakeable command post by default doesn't show Icons. There may be a way but have to experiment first but it shouldn't be anymore than adding a couple of lines to the ODF.
Oh another note since I believe you were doing this forr assault mode the untakeable command post by default doesn't show Icons. There may be a way but have to experiment first but it shouldn't be anymore than adding a couple of lines to the ODF.
-
EGG_GUTS
- Master Bounty Hunter

- Posts: 1626
- Joined: Thu Dec 07, 2006 7:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: CANADA!
Re: Custom Icons
Wait a go FragMe! those are Sweet! 
-
Achronos-117
- Rebel Colonel

- Posts: 610
- Joined: Fri Jan 19, 2007 10:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Home
- Contact:
Re: Custom Icons
Dual Wielded Pistols!? WHERE?!(Edwinator) wrote:My lord! This is great!
What, with duel wielded pistols just developed, and now custom side icons, the community just took a huuuuge leap.
Anyway nice CP stuff you created, even though it won't serve me much use since im not a modder.
-
Darth_Z13
- Jedi High Council

- Posts: 2275
- Joined: Sat Jun 17, 2006 9:51 am
- xbox live or psn: Xanthius Wylon
- Location: Canada
Re: Custom Icons
Wow terrific job! 
Thanks a bunch FragMe and Zerted.
Thanks a bunch FragMe and Zerted.
-
(Edwinator)
- Private Third Class
- Posts: 56
- Joined: Sun Dec 02, 2007 2:53 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Behind you. Go ahead, look.
Re: Custom Icons
Dual Pistols, I believe are going to be incorporated in the latest convo pack.Achronos-117 wrote:Dual Wielded Pistols!? WHERE?!(Edwinator) wrote:My lord! This is great!
What, with duel wielded pistols just developed, and now custom side icons, the community just took a huuuuge leap.
Anyway nice CP stuff you created, even though it won't serve me much use since im not a modder.
-
wazmol
- High General

- Posts: 892
- Joined: Sat Sep 02, 2006 6:47 pm
- Projects :: Thinking...
- Location: London
- Contact:
Re: Custom Icons
Thats amazing, no wonder your a Moderator!
