50 cookies to the first person who can implement chilli...

50 cookies to the first person who can implement chilli...

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

50 cookies to the first person who can implement chilli...

Post by Forboding Angel »

In Evo.

Many of the CA devs have been after me for some time to implement chilli in evo, and carrepairer informs me that making a custom skin for it isn't an impossible feat, so today I checked in ca and all my requirements were met (meaning, it has resource bar, chat, buildmenu/command menu, and tooltip replacements).

I spent a very very long time tonight working on it. Copied all the code that was necessary for it (according to jk), and was still getting some errors. Car repairer was trying to help me, but quite honestly, without more intimate knowledge of what chilli needs, it's sort of a non-starter. The code is not commented at all which makes it 50x more difficult to figure out exactly what is needed.

Anyone care to lend a hand?
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: 50 cookies to the first person who can implement chilli...

Post by Google_Frog »

Do you need help with chilli dependencies (as in getting it to work) or specific widget implementations?

I know a bit about use chilli in widgets and I know some CA specific things that are part of the CA UI if you want to port any widgets.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: 50 cookies to the first person who can implement chilli...

Post by Forboding Angel »

Just getting it to work tbh :-/
I have 3 errors that constantly pop up:

[ 0] Error in Shutdown()
[ 0] false
[ 0] Error in Shutdown(): [string "LuaUI/Widgets/gui_chili_resource_boxes.lua"]:121: attempt to index upvalue 'screen0' (a nil value)
[ 0] Removed widget: Chili Resource Boxes
[ 0] false
[ 0] Error in Initialize(): [string "LuaUI/Widgets/gui_chili_resource_boxes.lua"]:398: attempt to index upvalue 'Chili' (a nil value)
[ 0] Removed widget: Chili Resource Boxes
[ 0] false
[ 0] Error in Initialize(): [string "LuaUI/Widgets/chili/Headers/links.lua"]:70: attempt to call global 'newproxy' (a nil value)
[ 0] Removed widget: Chili Framework

system.lua is there, and the widget handler is including it.

in system.lua there is: newproxy = newproxy,
in the widgethandler: includeZIPFirst("system.lua")
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: 50 cookies to the first person who can implement chilli...

Post by CarRepairer »

Firstly, don't use chili resource boxes, it's old and unmaintained.

Second, just give me some time please and I'll fix it for you. I've been busy lately with obj models (spring's newest model format, it's awesome). When latest Spring got released there was much to do.
User avatar
KaiserJ
Community Representative
Posts: 3113
Joined: 08 Sep 2008, 22:59

Re: 50 cookies to the first person who can implement chilli...

Post by KaiserJ »

schpanks car
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: 50 cookies to the first person who can implement chilli...

Post by Neddie »

Why Chili?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: 50 cookies to the first person who can implement chilli...

Post by Forboding Angel »

Because this: Image

is effing nice. And we can reskin the hell out of it.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: 50 cookies to the first person who can implement chilli...

Post by AF »

This is an injunction against the unlawful distribution of conterfeit cookies. The Bank of Cookie has not authorized the distribution or reward of 50 cookies, and as a result, a fine of 200 cookies has been incurred. Further claims and bounties will result in a 900 cookie fine and freezing of cookie assets. You have 10 days to comply with this notice or face further action.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: 50 cookies to the first person who can implement chilli...

Post by CarRepairer »

Deal's off. I don't want any of your dirty money.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: 50 cookies to the first person who can implement chilli...

Post by Forboding Angel »

They're banana cookies.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: 50 cookies to the first person who can implement chilli...

Post by AF »

That's even worse, evil bannana imposters!
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: 50 cookies to the first person who can implement chilli...

Post by smoth »

forb, post the full infolog. I cannot help you with that little information. I think something broker higher up in the chain.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: 50 cookies to the first person who can implement chilli...

Post by lurker »

Hey, some of us hung on to cookies and didn't squander them. Forb may be an imposter, but you shouldn't jump to assume that.
Regret
Posts: 2086
Joined: 18 Aug 2007, 19:04

Re: 50 cookies to the first person who can implement chilli...

Post by Regret »

Did you ever succeed in implementing chili?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: 50 cookies to the first person who can implement chilli...

Post by Forboding Angel »

Nope, however, car said he would implement it. Hasn't done it yet, but yeah.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: 50 cookies to the first person who can implement chilli...

Post by CarRepairer »

It wasn't quite ready at the time but now I think it is.

You'll have to make your mod take over local LuaUI. Do you comply?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: 50 cookies to the first person who can implement chilli...

Post by smoth »

CarRepairer wrote:You'll have to make your mod take over local LuaUI. Do you comply?
What does that mean?
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: 50 cookies to the first person who can implement chilli...

Post by CarRepairer »

smoth wrote:
CarRepairer wrote:You'll have to make your mod take over local LuaUI. Do you comply?
What does that mean?
It means I copy files with important sounding names from CA until Chili finally works.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: 50 cookies to the first person who can implement chilli...

Post by lurker »

...you know what, I'll just take care of any weirdness when you're done.
luckywaldo7
Posts: 1398
Joined: 17 Sep 2008, 04:36

Re: 50 cookies to the first person who can implement chilli...

Post by luckywaldo7 »

CarRepairer wrote:
smoth wrote:
CarRepairer wrote:You'll have to make your mod take over local LuaUI. Do you comply?
What does that mean?
It means I copy files with important sounding names from CA until Chili finally works.
Evo already blocks local widgets, er at least the last time I played around with it.
Post Reply

Return to “Lua Scripts”