Confused widget

Confused widget

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

Confused widget

Post by Forboding Angel »

Why does a widget think it is in spring/luaui when it is actually in modname.sdd/luaui?

Is there any way to fix this behavior?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Confused widget

Post by FLOZi »

Because when it is loaded, it is?

(Well, atleast the VFS makes it appear so)

What is your problem with the behaviour?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Confused widget

Post by Forboding Angel »

becauswe I need to tell it to access something in the mod .sdd

Unfortunately because of dev brilliance, simply telling it to look for mods/modname.sdd/music isn't going to work in .77

I need a solution to this.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Confused widget

Post by jK »

Forboding Angel wrote:Unfortunately because of dev brilliance...
instead of make a fool of the devs, you should use your brain ...

step one (use memory):
there was someone how spend a lot of time to document the the API

step two (use eyes and read):
Lua_VFS (used to access files in the virtual filesystem, e.g. modfiles)

PS: If you want to play ogg-files, there was already a discussion about that. see here.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Confused widget

Post by Forboding Angel »

I'm not trying to make a fool out of the devs. I'm extremely pissed off about the fact that for those of us that want to do neat things, the devs keep making it harder and harder for us. It wasn't broken, yet they fixed it anyway.

Yeah you bet your ass I'm pissed off about it. And now I find out that if I implement music in 76 I'm also screwed no matter which way I turn when 77 comes out. ffs

So I'm fucked. Nevermind the hours and hours that I spent getting this working semi-correctly. No matter the amount of time and trouble and the hackery that is going to go into getting my update system working with .77

Nevermind the fact that as far as the devs are concerned, ta in spring is good enough.

Fuck this. Maybe one day we'll have devs that understand how NOT to make our lives as hard as possible for the sake of conforming to an non-existent standard.

GIVE US CONTROL OVER OUR OWN GAMES FOR FUCKS SAKE!

But hell, I guess if that game isn't CA or BA it doesn't matter does it?
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: Confused widget

Post by REVENGE »

Forboding Angel wrote:But hell, I guess if that game isn't CA or BA it doesn't matter does it?
Image

What? Didn't you get the memo? :lol:
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Confused widget

Post by Forboding Angel »

Board warning for that? Please. I was speaking the truth.

And yes I got that memo, I have a copy right he-- "I'll make sure you get another copy of that memo" bu--

Great movie :-)
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Confused widget

Post by FLOZi »

What are you on about, Forb?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Confused widget

Post by smoth »

They have been more then accomodating, there were at least 3 patches for gundam gameplay elements... one of which was mine but still, that means 2 other patches were made at my request and I am happy that others found them useful. I know there were more but I just got back from the beach and I am not going to let this drama kill my buzz.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Confused widget

Post by Forboding Angel »

FLOZi wrote:What are you on about, Forb?

TBH if you don't understand, I doubt you ever will.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Confused widget

Post by FLOZi »

Well, I don't really understand 'talkoutofmyarseish'. Only English and a little german. 8)
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Re: Confused widget

Post by SwiftSpear »

Forboding Angel wrote:I'm not trying to make a fool out of the devs. I'm extremely pissed off about the fact that for those of us that want to do neat things, the devs keep making it harder and harder for us. It wasn't broken, yet they fixed it anyway.

Yeah you bet your ass I'm pissed off about it. And now I find out that if I implement music in 76 I'm also screwed no matter which way I turn when 77 comes out. ffs

So I'm fucked. Nevermind the hours and hours that I spent getting this working semi-correctly. No matter the amount of time and trouble and the hackery that is going to go into getting my update system working with .77

Nevermind the fact that as far as the devs are concerned, ta in spring is good enough.

Fuck this. Maybe one day we'll have devs that understand how NOT to make our lives as hard as possible for the sake of conforming to an non-existent standard.

GIVE US CONTROL OVER OUR OWN GAMES FOR FUCKS SAKE!

But hell, I guess if that game isn't CA or BA it doesn't matter does it?
FFS, development can't take responsibility for scripts breaking in version releases. That's just the nature of a flowing dev cycle. It will get fixed again at some point.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Confused widget

Post by Forboding Angel »

All this could have been avoided if the structure had been left at spring/mods

But no, MOVING THE MODS FOLDER TO HERE THERE AND EVERYWHERE IS A GREAT FUCKING IDEA!
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Confused widget

Post by FLOZi »

Mods folder hasn't moved, ever.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Confused widget

Post by Forboding Angel »

FLOZi wrote:Mods folder hasn't moved, ever.
ORLY?

Read this entire thread. viewtopic.php?f=12&t=15185
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Confused widget

Post by FLOZi »

Forgot about that nonsense. Even so, VFS means that it shouldn't make any difference to lua scripts whatsoever.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Confused widget

Post by Forboding Angel »

well, fair enough.

I apologize guys for losing my temper over this, but the changes in this area cause me a lot of very large headaches. :-/
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Confused widget

Post by Peet »

It's perfectly reasonable, I'm sure you know better than them.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Confused widget

Post by Forboding Angel »

If you notice, me and smoth and quite a few other people opposed it for a lot of good reasons, and were summarily ignored.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: Confused widget

Post by REVENGE »

Forboding Angel wrote:...good reasons...ignored.
WHAT?! BLASPHEMY. I thought that never happens around here! :lol:
Post Reply

Return to “Lua Scripts”